POST v1/Flight/AddRemarks
Request Information
URI Parameters
None.
Body Parameters
RemarkRequestName | Description | Type | Additional information |
---|---|---|---|
PNR | string |
None. |
|
Remarks | Collection of Remark |
None. |
|
Vuserid | string |
None. |
|
PccCode | string |
None. |
|
UserId | integer |
None. |
|
AccountID | string |
None. |
|
UserName | string |
None. |
|
ApplicationDomain | ApplicationDomain |
None. |
|
guid | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "PNR": "sample string 1", "Remarks": [ { "Text": "sample string 1", "RemarkType": 0, "SegmentNumber": 2, "Code": "sample string 3" }, { "Text": "sample string 1", "RemarkType": 0, "SegmentNumber": 2, "Code": "sample string 3" } ], "Vuserid": "sample string 2", "PccCode": "sample string 3", "UserId": 4, "AccountID": "sample string 5", "UserName": "sample string 6", "ApplicationDomain": 0, "guid": "sample string 7" }
application/xml, text/xml
Sample:
<RemarkRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GT.AzrTravelApi.Model.Flight"> <AccountID xmlns="http://schemas.datacontract.org/2004/07/GT.AzrTravelApi.Model">sample string 5</AccountID> <ApplicationDomain xmlns="http://schemas.datacontract.org/2004/07/GT.AzrTravelApi.Model">GTL</ApplicationDomain> <PccCode xmlns="http://schemas.datacontract.org/2004/07/GT.AzrTravelApi.Model">sample string 3</PccCode> <UserId xmlns="http://schemas.datacontract.org/2004/07/GT.AzrTravelApi.Model">4</UserId> <UserName xmlns="http://schemas.datacontract.org/2004/07/GT.AzrTravelApi.Model">sample string 6</UserName> <Vuserid xmlns="http://schemas.datacontract.org/2004/07/GT.AzrTravelApi.Model">sample string 2</Vuserid> <guid xmlns="http://schemas.datacontract.org/2004/07/GT.AzrTravelApi.Model">sample string 7</guid> <PNR>sample string 1</PNR> <Remarks xmlns:d2p1="http://schemas.datacontract.org/2004/07/GT.AzrTravelApi.Model"> <d2p1:Remark> <d2p1:Code>sample string 3</d2p1:Code> <d2p1:RemarkType>ALPHA_CODED</d2p1:RemarkType> <d2p1:SegmentNumber>2</d2p1:SegmentNumber> <d2p1:Text>sample string 1</d2p1:Text> </d2p1:Remark> <d2p1:Remark> <d2p1:Code>sample string 3</d2p1:Code> <d2p1:RemarkType>ALPHA_CODED</d2p1:RemarkType> <d2p1:SegmentNumber>2</d2p1:SegmentNumber> <d2p1:Text>sample string 1</d2p1:Text> </d2p1:Remark> </Remarks> </RemarkRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResponseName | Description | Type | Additional information |
---|---|---|---|
IsSuccess | boolean |
None. |
|
Message | string |
None. |
|
guid | string |
None. |
|
PNR | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "IsSuccess": true, "Message": "sample string 2", "guid": "sample string 3", "PNR": "sample string 4" }
application/xml, text/xml
Sample:
<Response xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GT.AzrTravelApi.Model"> <IsSuccess>true</IsSuccess> <Message>sample string 2</Message> <PNR>sample string 4</PNR> <guid>sample string 3</guid> </Response>