GET Api/TimeRegistration/V3/GetGpsForDuty?duty={duty}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
duty

integer

Required

Body Parameters

None.

Response Information

Resource Description

Coordinates
NameDescriptionTypeAdditional information
Longitude

decimal number

None.

Latitude

decimal number

None.

Response Formats

application/json, text/json

Sample:
{
  "Longitude": 1.1,
  "Latitude": 2.1
}

application/xml, text/xml

Sample:
<Coordinates xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Paralax.Cas.Utils">
  <Latitude>2.1</Latitude>
  <Longitude>1.1</Longitude>
</Coordinates>