POST Cities
Get all Assets.
Request Information
URI Parameters
None.
Body Parameters
ObjectNone.
Request Formats
application/json, text/json
Sample:
{}
application/xml, text/xml
Sample:
<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
A enumeration of AssetRestItem objects.
CityRestResult| Name | Description | Type | Additional information |
|---|---|---|---|
| RestItems |
Collection of RestItem objects. |
Collection of CityRestItem |
None. |
Response Formats
application/json, text/json
Sample:
{
"RestItems": [
{
"AssetId": 1,
"City": "sample string 2",
"Address": "sample string 3"
},
{
"AssetId": 1,
"City": "sample string 2",
"Address": "sample string 3"
}
]
}
application/xml, text/xml
Sample:
<CityRestResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Api360.Models">
<RestItems>
<CityRestItem>
<Address>sample string 3</Address>
<AssetId>1</AssetId>
<City>sample string 2</City>
</CityRestItem>
<CityRestItem>
<Address>sample string 3</Address>
<AssetId>1</AssetId>
<City>sample string 2</City>
</CityRestItem>
</RestItems>
</CityRestResult>