POST api/Contact/UpdateLocation

Request Information

URI Parameters

None.

Body Parameters

ContactLocationUpdateRequest
NameDescriptionTypeAdditional information
PersonID

integer

None.

Latitude

decimal number

None.

Longitude

decimal number

None.

IsRiding

boolean

None.

SharingEnabled

boolean

None.

Timestamp

date

None.

Request Formats

application/json, text/json

Sample:
{
  "PersonID": 1,
  "Latitude": 2.0,
  "Longitude": 3.0,
  "IsRiding": true,
  "SharingEnabled": true,
  "Timestamp": "2026-06-20T11:34:10.4731021-07:00"
}

application/xml, text/xml

Sample:
<ContactLocationUpdateRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Equestrian.Entities">
  <IsRiding>true</IsRiding>
  <Latitude>2</Latitude>
  <Longitude>3</Longitude>
  <PersonID>1</PersonID>
  <SharingEnabled>true</SharingEnabled>
  <Timestamp>2026-06-20T11:34:10.4731021-07:00</Timestamp>
</ContactLocationUpdateRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.