POST api/route/getall
Request Information
URI Parameters
None.
Body Parameters
RouteFilterInputName | Description | Type | Additional information |
---|---|---|---|
AreaId | integer |
None. |
|
ScheduleId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "AreaId": 1, "ScheduleId": 2 }
application/xml, text/xml
Sample:
<RouteFilterInput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NMU.Dto.Route"> <AreaId>1</AreaId> <ScheduleId>2</ScheduleId> </RouteFilterInput>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Collection of RoutesName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
Name | string |
None. |
Response Formats
application/json, text/json
Sample:
[ { "Id": 1, "Name": "sample string 2" }, { "Id": 1, "Name": "sample string 2" } ]
application/xml, text/xml
Sample:
<ArrayOfRoutes xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NMU.Dto.Route"> <Routes> <Id>1</Id> <Name>sample string 2</Name> </Routes> <Routes> <Id>1</Id> <Name>sample string 2</Name> </Routes> </ArrayOfRoutes>