GET Api/POIZone/GetPoiZoneCenterById?clientID={clientID}&poiZoneID={poiZoneID}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| clientID | globally unique identifier |
Required |
|
| poiZoneID | globally unique identifier |
Required |
Body Parameters
None.
Response Information
Resource Description
POIZone| Name | Description | Type | Additional information |
|---|---|---|---|
| POIZoneID | globally unique identifier |
None. |
|
| Name | string |
None. |
|
| Description | string |
None. |
|
| Color | string |
None. |
|
| Radius | integer |
None. |
|
| Points | Collection of TupleOfDoubleAndDouble |
None. |
|
| CenterPoint | TupleOfDoubleAndDouble |
None. |
|
| ClientID | globally unique identifier |
None. |
|
| POICategoryType | POICategoryType |
None. |
|
| PointsString | Collection of string |
None. |
|
| LatList | Collection of decimal number |
None. |
|
| LanList | Collection of decimal number |
None. |
|
| CurrentLat | decimal number |
None. |
|
| CurrentLon | decimal number |
None. |
|
| POIType | POIType |
None. |
|
| Distance | decimal number |
None. |
|
| POIZoneIDs | Collection of globally unique identifier |
None. |
|
| POIGroup | POIGroup |
None. |
Response Formats
application/json, text/json
Sample:
{
"POIZoneID": "f30c9dbb-3e00-4456-bfda-61244277931b",
"Name": "sample string 2",
"Description": "sample string 3",
"Color": "sample string 4",
"Radius": 5,
"Points": [
{
"m_Item1": 1.1,
"m_Item2": 2.1
},
{
"m_Item1": 1.1,
"m_Item2": 2.1
}
],
"CenterPoint": {
"m_Item1": 1.1,
"m_Item2": 2.1
},
"ClientID": "b569aad6-2c49-4261-8039-e6e603c78edd",
"POICategoryType": 0,
"PointsString": [
"sample string 1",
"sample string 2"
],
"LatList": [
1.1,
2.1
],
"LanList": [
1.1,
2.1
],
"CurrentLat": 7.1,
"CurrentLon": 8.1,
"POIType": 0,
"Distance": 9.1,
"POIZoneIDs": [
"e6b9a696-bd1e-4b90-ba6d-54176468bd24",
"9e6400fb-93bc-4524-a650-12c0760579ef"
],
"POIGroup": {
"POIGroupID": "36dc3d60-7541-4d38-92ea-b94f6e79e0f5",
"Name": "sample string 2",
"ClientID": "b5a1b968-46b4-47b6-b37b-e451a0f7b4c4",
"PartnerID": "cae8544d-a230-40fa-b5d5-0ac0d11b52fe"
}
}
application/xml, text/xml
Sample:
<POIZone xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Fleetroot.Entity">
<CenterPoint xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
<d2p1:m_Item1>1.1</d2p1:m_Item1>
<d2p1:m_Item2>2.1</d2p1:m_Item2>
</CenterPoint>
<ClientID>b569aad6-2c49-4261-8039-e6e603c78edd</ClientID>
<Color>sample string 4</Color>
<CurrentLat>7.1</CurrentLat>
<CurrentLon>8.1</CurrentLon>
<Description>sample string 3</Description>
<Distance>9.1</Distance>
<LanList xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:double>1.1</d2p1:double>
<d2p1:double>2.1</d2p1:double>
</LanList>
<LatList xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:double>1.1</d2p1:double>
<d2p1:double>2.1</d2p1:double>
</LatList>
<Name>sample string 2</Name>
<POICategoryType>None</POICategoryType>
<POIGroup>
<ClientID>b5a1b968-46b4-47b6-b37b-e451a0f7b4c4</ClientID>
<Name>sample string 2</Name>
<POIGroupID>36dc3d60-7541-4d38-92ea-b94f6e79e0f5</POIGroupID>
<PartnerID>cae8544d-a230-40fa-b5d5-0ac0d11b52fe</PartnerID>
</POIGroup>
<POIType>None</POIType>
<POIZoneID>f30c9dbb-3e00-4456-bfda-61244277931b</POIZoneID>
<POIZoneIDs xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>e6b9a696-bd1e-4b90-ba6d-54176468bd24</d2p1:guid>
<d2p1:guid>9e6400fb-93bc-4524-a650-12c0760579ef</d2p1:guid>
</POIZoneIDs>
<Points xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
<d2p1:TupleOfdoubledouble>
<d2p1:m_Item1>1.1</d2p1:m_Item1>
<d2p1:m_Item2>2.1</d2p1:m_Item2>
</d2p1:TupleOfdoubledouble>
<d2p1:TupleOfdoubledouble>
<d2p1:m_Item1>1.1</d2p1:m_Item1>
<d2p1:m_Item2>2.1</d2p1:m_Item2>
</d2p1:TupleOfdoubledouble>
</Points>
<PointsString xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:string>sample string 1</d2p1:string>
<d2p1:string>sample string 2</d2p1:string>
</PointsString>
<Radius>5</Radius>
</POIZone>