POST Location

Posts a location for an examiner

Request Information

URI Parameters

None.

Body Parameters

A location log object.

LocationLog
NameDescriptionTypeAdditional information
LocationLogID

integer

None.

ExaminerID

integer

None.

Latitude

decimal number

None.

Longitude

decimal number

None.

RecordingDate

date

None.

Name

string

None.

Email

string

None.

Phone

string

None.

Request Formats

application/json, text/json

Sample:
{
  "LocationLogID": 1,
  "ExaminerID": 1,
  "Latitude": 1.0,
  "Longitude": 2.0,
  "RecordingDate": "2024-11-22T21:33:00.7004612-06:00",
  "Name": "sample string 4",
  "Email": "sample string 5",
  "Phone": "sample string 6"
}

application/xml, text/xml

Sample:
<LocationLog xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <LocationLogID>1</LocationLogID>
  <ExaminerID>1</ExaminerID>
  <Latitude>1</Latitude>
  <Longitude>2</Longitude>
  <RecordingDate>2024-11-22T21:33:00.7004612-06:00</RecordingDate>
  <Name>sample string 4</Name>
  <Email>sample string 5</Email>
  <Phone>sample string 6</Phone>
</LocationLog>

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 'LocationLog'.

Response Information

Resource Description

None.