POST api/UserLocation/StartSharing

Request Information

URI Parameters

None.

Body Parameters

AppUserLiveLocationModel
NameDescriptionTypeAdditional information
Id

integer

None.

UserId

integer

None.

Login

string

None.

Latitude

decimal number

None.

Longitude

decimal number

None.

Accuracy

decimal number

None.

LocationAddress

string

None.

IsSharing

boolean

None.

VisitStatus

string

None.

CustomerAccountNo

string

None.

CustomerName

string

None.

LocationDate

date

None.

CreatedDate

date

None.

UpdatedDate

date

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "UserId": 2,
  "Login": "sample string 3",
  "Latitude": 1.0,
  "Longitude": 1.0,
  "Accuracy": 1.0,
  "LocationAddress": "sample string 4",
  "IsSharing": true,
  "VisitStatus": "sample string 6",
  "CustomerAccountNo": "sample string 7",
  "CustomerName": "sample string 8",
  "LocationDate": "2026-09-11T14:30:33.1332183+05:30",
  "CreatedDate": "2026-09-11T14:30:33.1332183+05:30",
  "UpdatedDate": "2026-09-11T14:30:33.1332183+05:30"
}

application/xml, text/xml

Sample:
<AppUserLiveLocationModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebService.Models">
  <Accuracy>1</Accuracy>
  <CreatedDate>2026-09-11T14:30:33.1332183+05:30</CreatedDate>
  <CustomerAccountNo>sample string 7</CustomerAccountNo>
  <CustomerName>sample string 8</CustomerName>
  <Id>1</Id>
  <IsSharing>true</IsSharing>
  <Latitude>1</Latitude>
  <LocationAddress>sample string 4</LocationAddress>
  <LocationDate>2026-09-11T14:30:33.1332183+05:30</LocationDate>
  <Login>sample string 3</Login>
  <Longitude>1</Longitude>
  <UpdatedDate>2026-09-11T14:30:33.1332183+05:30</UpdatedDate>
  <UserId>2</UserId>
  <VisitStatus>sample string 6</VisitStatus>
</AppUserLiveLocationModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.