POST api/GetStreets
Request Information
URI Parameters
None.
Body Parameters
Jsonparams| Name | Description | Type | Additional information |
|---|---|---|---|
| jsonstring | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"jsonstring": "sample string 1"
}
application/xml, text/xml
Sample:
<Jsonparams xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EmaalWebAPI.Models"> <jsonstring>sample string 1</jsonstring> </Jsonparams>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
GetStreetListResult| Name | Description | Type | Additional information |
|---|---|---|---|
| StreetList | Collection of GetstreetItems |
None. |
Response Formats
application/json, text/json
Sample:
{
"StreetList": [
{
"StreetID": "sample string 1",
"StreetName": "sample string 2"
},
{
"StreetID": "sample string 1",
"StreetName": "sample string 2"
}
]
}
application/xml, text/xml
Sample:
<GetStreetListResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EmaalWebAPI.Models">
<StreetList>
<GetstreetItems>
<StreetID>sample string 1</StreetID>
<StreetName>sample string 2</StreetName>
</GetstreetItems>
<GetstreetItems>
<StreetID>sample string 1</StreetID>
<StreetName>sample string 2</StreetName>
</GetstreetItems>
</StreetList>
</GetStreetListResult>