GET v1/Trams/GetTravelType
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
TramsTravelTypeResponseName | Description | Type | Additional information |
---|---|---|---|
TravelTypes | Collection of TramsTravelType |
None. |
|
IsSuccess | boolean |
None. |
|
Message | string |
None. |
|
guid | string |
None. |
|
PNR | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "TravelTypes": [ { "Id": 1, "TravelType": "sample string 2" }, { "Id": 1, "TravelType": "sample string 2" } ], "IsSuccess": true, "Message": "sample string 2", "guid": "sample string 3", "PNR": "sample string 4" }
application/xml, text/xml
Sample:
<TramsTravelTypeResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GT.AzrTravelApi.Model.Trams"> <IsSuccess xmlns="http://schemas.datacontract.org/2004/07/GT.AzrTravelApi.Model">true</IsSuccess> <Message xmlns="http://schemas.datacontract.org/2004/07/GT.AzrTravelApi.Model">sample string 2</Message> <PNR xmlns="http://schemas.datacontract.org/2004/07/GT.AzrTravelApi.Model">sample string 4</PNR> <guid xmlns="http://schemas.datacontract.org/2004/07/GT.AzrTravelApi.Model">sample string 3</guid> <TravelTypes> <TramsTravelType> <Id>1</Id> <TravelType>sample string 2</TravelType> </TramsTravelType> <TramsTravelType> <Id>1</Id> <TravelType>sample string 2</TravelType> </TramsTravelType> </TravelTypes> </TramsTravelTypeResponse>