POST api/Place/GetListOfficePeaByLatLng

Request Information

URI Parameters

None.

Body Parameters

RequestLatAndLong
NameDescriptionTypeAdditional information
Lat

string

None.

Long

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Lat": "sample string 1",
  "Long": "sample string 2"
}

application/xml, text/xml

Sample:
<PlaceModels.RequestLatAndLong xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PEASmartPlus.MobileService.Models.PlaceModels">
  <Lat>sample string 1</Lat>
  <Long>sample string 2</Long>
</PlaceModels.RequestLatAndLong>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ResultModelOfOfficePeaByCodeViewModel
NameDescriptionTypeAdditional information
Data

OfficePeaByCodeViewModel

None.

Status

boolean

None.

ErrorMessage

string

None.

Message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Data": {
    "OfficeName": "sample string 1",
    "Address": "sample string 2",
    "Telephone": "sample string 3",
    "Symbol": "sample string 4",
    "PeaMobileType": "sample string 5",
    "Distance": "sample string 6",
    "DistanceNum": 7.1,
    "Lat": "sample string 8",
    "Long": "sample string 9"
  },
  "Status": true,
  "ErrorMessage": "sample string 2",
  "Message": "sample string 3"
}

application/xml, text/xml

Sample:
<ResultModelOfPlaceModels.OfficePeaByCodeViewModelb1Dtgrts xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PEASmartPlus.MobileService.Models">
  <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/PEASmartPlus.MobileService.Models.PlaceModels">
    <d2p1:Address>sample string 2</d2p1:Address>
    <d2p1:Distance>sample string 6</d2p1:Distance>
    <d2p1:DistanceNum>7.1</d2p1:DistanceNum>
    <d2p1:Lat>sample string 8</d2p1:Lat>
    <d2p1:Long>sample string 9</d2p1:Long>
    <d2p1:OfficeName>sample string 1</d2p1:OfficeName>
    <d2p1:PeaMobileType>sample string 5</d2p1:PeaMobileType>
    <d2p1:Symbol>sample string 4</d2p1:Symbol>
    <d2p1:Telephone>sample string 3</d2p1:Telephone>
  </Data>
  <ErrorMessage>sample string 2</ErrorMessage>
  <Message>sample string 3</Message>
  <Status>true</Status>
</ResultModelOfPlaceModels.OfficePeaByCodeViewModelb1Dtgrts>