GET Api/POIZone/GetIdAndName?poiZone={poiZone}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| poiZone | string |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of 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": "9b034a8b-21f7-49e4-b5b8-7499c9749b9e",
"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": "f13d3c81-b3ee-4ebc-b95c-0cb904614355",
"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": [
"7104ab9d-df86-4ce2-9e99-f3f9bdf1625a",
"c609d594-473e-4eeb-986e-97197dd3f228"
],
"POIGroup": {
"POIGroupID": "55665825-5719-455f-a7c2-30625ba5f836",
"Name": "sample string 2",
"ClientID": "6e2dc7bb-9a4e-4c0a-855d-76503ebbd30a",
"PartnerID": "73d97a82-cff4-4c1a-bd6c-2592a55c5007"
}
},
{
"POIZoneID": "9b034a8b-21f7-49e4-b5b8-7499c9749b9e",
"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": "f13d3c81-b3ee-4ebc-b95c-0cb904614355",
"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": [
"7104ab9d-df86-4ce2-9e99-f3f9bdf1625a",
"c609d594-473e-4eeb-986e-97197dd3f228"
],
"POIGroup": {
"POIGroupID": "55665825-5719-455f-a7c2-30625ba5f836",
"Name": "sample string 2",
"ClientID": "6e2dc7bb-9a4e-4c0a-855d-76503ebbd30a",
"PartnerID": "73d97a82-cff4-4c1a-bd6c-2592a55c5007"
}
}
]
application/xml, text/xml
Sample:
<ArrayOfPOIZone xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Fleetroot.Entity">
<POIZone>
<CenterPoint xmlns:d3p1="http://schemas.datacontract.org/2004/07/System">
<d3p1:m_Item1>1.1</d3p1:m_Item1>
<d3p1:m_Item2>2.1</d3p1:m_Item2>
</CenterPoint>
<ClientID>f13d3c81-b3ee-4ebc-b95c-0cb904614355</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:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d3p1:double>1.1</d3p1:double>
<d3p1:double>2.1</d3p1:double>
</LanList>
<LatList xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d3p1:double>1.1</d3p1:double>
<d3p1:double>2.1</d3p1:double>
</LatList>
<Name>sample string 2</Name>
<POICategoryType>None</POICategoryType>
<POIGroup>
<ClientID>6e2dc7bb-9a4e-4c0a-855d-76503ebbd30a</ClientID>
<Name>sample string 2</Name>
<POIGroupID>55665825-5719-455f-a7c2-30625ba5f836</POIGroupID>
<PartnerID>73d97a82-cff4-4c1a-bd6c-2592a55c5007</PartnerID>
</POIGroup>
<POIType>None</POIType>
<POIZoneID>9b034a8b-21f7-49e4-b5b8-7499c9749b9e</POIZoneID>
<POIZoneIDs xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d3p1:guid>7104ab9d-df86-4ce2-9e99-f3f9bdf1625a</d3p1:guid>
<d3p1:guid>c609d594-473e-4eeb-986e-97197dd3f228</d3p1:guid>
</POIZoneIDs>
<Points xmlns:d3p1="http://schemas.datacontract.org/2004/07/System">
<d3p1:TupleOfdoubledouble>
<d3p1:m_Item1>1.1</d3p1:m_Item1>
<d3p1:m_Item2>2.1</d3p1:m_Item2>
</d3p1:TupleOfdoubledouble>
<d3p1:TupleOfdoubledouble>
<d3p1:m_Item1>1.1</d3p1:m_Item1>
<d3p1:m_Item2>2.1</d3p1:m_Item2>
</d3p1:TupleOfdoubledouble>
</Points>
<PointsString xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d3p1:string>sample string 1</d3p1:string>
<d3p1:string>sample string 2</d3p1:string>
</PointsString>
<Radius>5</Radius>
</POIZone>
<POIZone>
<CenterPoint xmlns:d3p1="http://schemas.datacontract.org/2004/07/System">
<d3p1:m_Item1>1.1</d3p1:m_Item1>
<d3p1:m_Item2>2.1</d3p1:m_Item2>
</CenterPoint>
<ClientID>f13d3c81-b3ee-4ebc-b95c-0cb904614355</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:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d3p1:double>1.1</d3p1:double>
<d3p1:double>2.1</d3p1:double>
</LanList>
<LatList xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d3p1:double>1.1</d3p1:double>
<d3p1:double>2.1</d3p1:double>
</LatList>
<Name>sample string 2</Name>
<POICategoryType>None</POICategoryType>
<POIGroup>
<ClientID>6e2dc7bb-9a4e-4c0a-855d-76503ebbd30a</ClientID>
<Name>sample string 2</Name>
<POIGroupID>55665825-5719-455f-a7c2-30625ba5f836</POIGroupID>
<PartnerID>73d97a82-cff4-4c1a-bd6c-2592a55c5007</PartnerID>
</POIGroup>
<POIType>None</POIType>
<POIZoneID>9b034a8b-21f7-49e4-b5b8-7499c9749b9e</POIZoneID>
<POIZoneIDs xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d3p1:guid>7104ab9d-df86-4ce2-9e99-f3f9bdf1625a</d3p1:guid>
<d3p1:guid>c609d594-473e-4eeb-986e-97197dd3f228</d3p1:guid>
</POIZoneIDs>
<Points xmlns:d3p1="http://schemas.datacontract.org/2004/07/System">
<d3p1:TupleOfdoubledouble>
<d3p1:m_Item1>1.1</d3p1:m_Item1>
<d3p1:m_Item2>2.1</d3p1:m_Item2>
</d3p1:TupleOfdoubledouble>
<d3p1:TupleOfdoubledouble>
<d3p1:m_Item1>1.1</d3p1:m_Item1>
<d3p1:m_Item2>2.1</d3p1:m_Item2>
</d3p1:TupleOfdoubledouble>
</Points>
<PointsString xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d3p1:string>sample string 1</d3p1:string>
<d3p1:string>sample string 2</d3p1:string>
</PointsString>
<Radius>5</Radius>
</POIZone>
</ArrayOfPOIZone>