POST api/all/landmarkbycustomer
Request Information
URI Parameters
None.
Body Parameters
GetLandmarksByCustomerInput| Name | Description | Type | Additional information |
|---|---|---|---|
| CustomerCode | string |
None. |
|
| Username | string |
None. |
|
| Password | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"CustomerCode": "sample string 1",
"Username": "sample string 2",
"Password": "sample string 3"
}
application/xml, text/xml
Sample:
<GetLandmarksByCustomerInput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API.Model"> <Password xmlns="http://schemas.datacontract.org/2004/07/Entities.Common">sample string 3</Password> <Username xmlns="http://schemas.datacontract.org/2004/07/Entities.Common">sample string 2</Username> <CustomerCode>sample string 1</CustomerCode> </GetLandmarksByCustomerInput>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
GetLandmarksByCustomerRs| Name | Description | Type | Additional information |
|---|---|---|---|
| Data | Collection of Landmark |
None. |
|
| MessageResult | string |
None. |
|
| IsSucceed | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{
"Data": [
{
"Name": "sample string 1",
"PrivateName": "sample string 2",
"Address": "sample string 3",
"Longitude": 4.1,
"Latitude": 5.1,
"Radius": 6,
"Polygon": "sample string 7",
"PK_LandmarkID": 8
},
{
"Name": "sample string 1",
"PrivateName": "sample string 2",
"Address": "sample string 3",
"Longitude": 4.1,
"Latitude": 5.1,
"Radius": 6,
"Polygon": "sample string 7",
"PK_LandmarkID": 8
}
],
"MessageResult": "sample string 1",
"IsSucceed": true
}
application/xml, text/xml
Sample:
<GetLandmarksByCustomerRs xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API.Model">
<IsSucceed>true</IsSucceed>
<MessageResult>sample string 1</MessageResult>
<Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/Entities.Common">
<d2p1:Landmark>
<d2p1:Address>sample string 3</d2p1:Address>
<d2p1:Latitude>5.1</d2p1:Latitude>
<d2p1:Longitude>4.1</d2p1:Longitude>
<d2p1:Name>sample string 1</d2p1:Name>
<d2p1:PK_LandmarkID>8</d2p1:PK_LandmarkID>
<d2p1:Polygon>sample string 7</d2p1:Polygon>
<d2p1:PrivateName>sample string 2</d2p1:PrivateName>
<d2p1:Radius>6</d2p1:Radius>
</d2p1:Landmark>
<d2p1:Landmark>
<d2p1:Address>sample string 3</d2p1:Address>
<d2p1:Latitude>5.1</d2p1:Latitude>
<d2p1:Longitude>4.1</d2p1:Longitude>
<d2p1:Name>sample string 1</d2p1:Name>
<d2p1:PK_LandmarkID>8</d2p1:PK_LandmarkID>
<d2p1:Polygon>sample string 7</d2p1:Polygon>
<d2p1:PrivateName>sample string 2</d2p1:PrivateName>
<d2p1:Radius>6</d2p1:Radius>
</d2p1:Landmark>
</Data>
</GetLandmarksByCustomerRs>