GET api/PDL/GetLocationsByRoute?routeId={routeId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| routeId | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
PDLocationListResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| a | integer |
None. |
|
| lst | Collection of JsonPDLocation |
None. |
Response Formats
application/json, text/json
Sample:
{
"a": 1,
"lst": [
{
"a": 1,
"b": 2,
"c": 3,
"d": "sample string 4",
"e": "sample string 5",
"f": true,
"g": "sample string 7"
},
{
"a": 1,
"b": 2,
"c": 3,
"d": "sample string 4",
"e": "sample string 5",
"f": true,
"g": "sample string 7"
}
]
}
application/xml, text/xml
Sample:
<PDLocationListResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ttadmin.Common.Request">
<a>1</a>
<lst>
<JsonPDLocation>
<a>1</a>
<b>2</b>
<c>3</c>
<d>sample string 4</d>
<e>sample string 5</e>
<f>true</f>
<g>sample string 7</g>
</JsonPDLocation>
<JsonPDLocation>
<a>1</a>
<b>2</b>
<c>3</c>
<d>sample string 4</d>
<e>sample string 5</e>
<f>true</f>
<g>sample string 7</g>
</JsonPDLocation>
</lst>
</PDLocationListResponse>