POST api/Integration/Geolocation

Request Information

URI Parameters

None.

Body Parameters

GeolocationParm
NameDescriptionTypeAdditional information
UserGUID

string

None.

TrackingNumber

string

None.

Request Formats

application/json, text/json

Sample:
{
  "UserGUID": "sample string 1",
  "TrackingNumber": "sample string 2"
}

application/xml, text/xml

Sample:
<GeolocationParm xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ParcelLogic.WebApi.Transportation.Models">
  <TrackingNumber>sample string 2</TrackingNumber>
  <UserGUID>sample string 1</UserGUID>
</GeolocationParm>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

GeolocationResp
NameDescriptionTypeAdditional information
IsSuccessful

boolean

None.

ErrorMessage

string

None.

Latitude

decimal number

None.

Longitude

decimal number

None.

AirOrGround

string

None.

Response Formats

application/json, text/json

Sample:
{
  "IsSuccessful": true,
  "ErrorMessage": "sample string 2",
  "Latitude": 1.0,
  "Longitude": 1.0,
  "AirOrGround": "sample string 3"
}

application/xml, text/xml

Sample:
<GeolocationResp xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ParcelLogic.WebApi.Transportation.Models">
  <AirOrGround>sample string 3</AirOrGround>
  <ErrorMessage>sample string 2</ErrorMessage>
  <IsSuccessful>true</IsSuccessful>
  <Latitude>1</Latitude>
  <Longitude>1</Longitude>
</GeolocationResp>