POST api/locations/sendmylocation
Request Information
URI Parameters
None.
Body Parameters
SendMyLocationParam| Name | Description | Type | Additional information |
|---|---|---|---|
| Language | string |
None. |
|
| LocationName | string |
None. |
|
| Address1 | string |
None. |
|
| Address2 | string |
None. |
|
| Longitude | decimal number |
None. |
|
| Latitude | decimal number |
None. |
Request Formats
application/json, text/json
Sample:
{
"Language": "sample string 1",
"LocationName": "sample string 2",
"Address1": "sample string 3",
"Address2": "sample string 4",
"Longitude": 1.0,
"Latitude": 1.0
}
application/xml, text/xml
Sample:
<SendMyLocationParam xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TicketFleet.Core.ViewModels"> <Address1>sample string 3</Address1> <Address2>sample string 4</Address2> <Language>sample string 1</Language> <Latitude>1</Latitude> <LocationName>sample string 2</LocationName> <Longitude>1</Longitude> </SendMyLocationParam>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
SendMyLocationResultNone.
Response Formats
application/json, text/json
Sample:
{}
application/xml, text/xml
Sample:
<SendMyLocationResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TicketFleet.Core.ViewModels" />