GET GetOta
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
ResponseOfListOfOTAName | Description | Type | Additional information |
---|---|---|---|
Message | string |
None. |
|
Status | boolean |
None. |
|
Body | Collection of OTA |
None. |
Response Formats
application/json, text/json
Sample:
{ "Message": "sample string 1", "Status": true, "Body": [ { "Id": 1, "OtaName": "sample string 2", "OtaBaseUrl": "sample string 3", "ASSEMBLY_PATH": "sample string 4", "CMDOtaId": 5, "ASSEMBLY_NAME": "sample string 6", "Currency": "sample string 7", "IsExpedia": true }, { "Id": 1, "OtaName": "sample string 2", "OtaBaseUrl": "sample string 3", "ASSEMBLY_PATH": "sample string 4", "CMDOtaId": 5, "ASSEMBLY_NAME": "sample string 6", "Currency": "sample string 7", "IsExpedia": true } ] }
text/html
Sample:
{"Message":"sample string 1","Status":true,"Body":[{"Id":1,"OtaName":"sample string 2","OtaBaseUrl":"sample string 3","ASSEMBLY_PATH":"sample string 4","CMDOtaId":5,"ASSEMBLY_NAME":"sample string 6","Currency":"sample string 7","IsExpedia":true},{"Id":1,"OtaName":"sample string 2","OtaBaseUrl":"sample string 3","ASSEMBLY_PATH":"sample string 4","CMDOtaId":5,"ASSEMBLY_NAME":"sample string 6","Currency":"sample string 7","IsExpedia":true}]}
application/xml, text/xml
Sample:
<ResponseOfArrayOfOTAFcKF1E10 xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PGH.NxtGN.BO.Common"> <Body xmlns:d2p1="http://schemas.datacontract.org/2004/07/PGH.NxtGN.BO.OTARank"> <d2p1:OTA> <d2p1:ASSEMBLY_NAME>sample string 6</d2p1:ASSEMBLY_NAME> <d2p1:ASSEMBLY_PATH>sample string 4</d2p1:ASSEMBLY_PATH> <d2p1:CMDOtaId>5</d2p1:CMDOtaId> <d2p1:Currency>sample string 7</d2p1:Currency> <d2p1:Id>1</d2p1:Id> <d2p1:IsExpedia>true</d2p1:IsExpedia> <d2p1:OtaBaseUrl>sample string 3</d2p1:OtaBaseUrl> <d2p1:OtaName>sample string 2</d2p1:OtaName> </d2p1:OTA> <d2p1:OTA> <d2p1:ASSEMBLY_NAME>sample string 6</d2p1:ASSEMBLY_NAME> <d2p1:ASSEMBLY_PATH>sample string 4</d2p1:ASSEMBLY_PATH> <d2p1:CMDOtaId>5</d2p1:CMDOtaId> <d2p1:Currency>sample string 7</d2p1:Currency> <d2p1:Id>1</d2p1:Id> <d2p1:IsExpedia>true</d2p1:IsExpedia> <d2p1:OtaBaseUrl>sample string 3</d2p1:OtaBaseUrl> <d2p1:OtaName>sample string 2</d2p1:OtaName> </d2p1:OTA> </Body> <Message>sample string 1</Message> <Status>true</Status> </ResponseOfArrayOfOTAFcKF1E10>