POST api/record

Request Information

URI Parameters

None.

Body Parameters

UIEventRecordDto
NameDescriptionTypeAdditional information
Id

integer

None.

UserId

globally unique identifier

None.

EventName

string

None.

Path

string

None.

ContentId

integer

None.

LanguageId

integer

None.

EventDate

date

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "UserId": "95472882-a2a1-4310-b26f-9e4120403051",
  "EventName": "sample string 2",
  "Path": "sample string 3",
  "ContentId": 1,
  "LanguageId": 1,
  "EventDate": "2019-10-21T08:23:51.5242535-04:00"
}

application/xml, text/xml

Sample:
<UIEventRecordDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApi.DTO">
  <ContentId>1</ContentId>
  <EventDate>2019-10-21T08:23:51.5242535-04:00</EventDate>
  <EventName>sample string 2</EventName>
  <Id>1</Id>
  <LanguageId>1</LanguageId>
  <Path>sample string 3</Path>
  <UserId>95472882-a2a1-4310-b26f-9e4120403051</UserId>
</UIEventRecordDto>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'UIEventRecordDto'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.