GET route/{routes}/profile
Provide information for the selected route profiles.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| routes |
Comma separated list of routes for which profile needs to be retrieved or 'ALL' to select of the available routes. |
string |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of RouteProfile| Name | Description | Type | Additional information |
|---|---|---|---|
| RouteId |
Name of the route |
string |
None. |
| Profile |
Route description |
string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"RouteId": "sample string 1",
"Profile": "sample string 2"
},
{
"RouteId": "sample string 1",
"Profile": "sample string 2"
}
]
text/html
Sample:
[{"RouteId":"sample string 1","Profile":"sample string 2"},{"RouteId":"sample string 1","Profile":"sample string 2"}]
application/xml, text/xml
Sample:
<ArrayOfRouteProfile xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ACTransit.Transit.Domain.Models">
<RouteProfile>
<Profile>sample string 2</Profile>
<RouteId>sample string 1</RouteId>
</RouteProfile>
<RouteProfile>
<Profile>sample string 2</Profile>
<RouteId>sample string 1</RouteId>
</RouteProfile>
</ArrayOfRouteProfile>
