GET api/Transportations?AirlineName={AirlineName}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
AirlineName | string |
Required |
Body Parameters
None.
Response Information
Resource Description
ResponseAirlinesName | Description | Type | Additional information |
---|---|---|---|
Results | Collection of AirlinesInfo |
None. |
|
Type | Attempt_ResponseTypes |
None. |
|
Exception | Exception |
None. |
|
ObjectID | Object |
None. |
|
Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "Type": 0, "Exception": { "ClassName": "System.Exception", "Message": null, "Data": null, "InnerException": null, "HelpURL": "sample string 1", "StackTraceString": null, "RemoteStackTraceString": null, "RemoteStackIndex": 0, "ExceptionMethod": null, "HResult": 3, "Source": "sample string 2", "WatsonBuckets": null }, "ObjectID": {}, "Message": "sample string 2", "Results": [ { "ID": 1, "Name": "sample string 2" }, { "ID": 1, "Name": "sample string 2" } ] }
application/xml, text/xml
Sample:
<ApiModels.ResponseAirlines xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ePlat.Models.ViewModels"> <Exception xmlns:d2p1="http://schemas.datacontract.org/2004/07/System" xmlns="http://schemas.datacontract.org/2004/07/ePlat.Models.Utils"> <ClassName xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:string" xmlns="">System.Exception</ClassName> <Message i:nil="true" xmlns="" /> <Data i:nil="true" xmlns="" /> <InnerException i:nil="true" xmlns="" /> <HelpURL xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:string" xmlns="">sample string 1</HelpURL> <StackTraceString i:nil="true" xmlns="" /> <RemoteStackTraceString i:nil="true" xmlns="" /> <RemoteStackIndex xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:int" xmlns="">0</RemoteStackIndex> <ExceptionMethod i:nil="true" xmlns="" /> <HResult xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:int" xmlns="">3</HResult> <Source xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:string" xmlns="">sample string 2</Source> <WatsonBuckets i:nil="true" xmlns="" /> </Exception> <Message xmlns="http://schemas.datacontract.org/2004/07/ePlat.Models.Utils">sample string 2</Message> <ObjectID xmlns="http://schemas.datacontract.org/2004/07/ePlat.Models.Utils" /> <Type xmlns="http://schemas.datacontract.org/2004/07/ePlat.Models.Utils">Warning</Type> <Results> <ApiModels.AirlinesInfo> <ID>1</ID> <Name>sample string 2</Name> </ApiModels.AirlinesInfo> <ApiModels.AirlinesInfo> <ID>1</ID> <Name>sample string 2</Name> </ApiModels.AirlinesInfo> </Results> </ApiModels.ResponseAirlines>