GET GDS/Accounting/{recordLocator}

Get itinerary information for a given PNR record locator which includes passenger profile, payment,sSegments (flights, hotel and ground booking) and remarks.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
recordLocator

Unique identifer for the passenger name record (PNR) in global distribution system.

string

Required

Body Parameters

None.

Response Information

Resource Description

AccountingData
NameDescriptionTypeAdditional information
AccountingFields

Collection of AccountingField

None.

Response Formats

application/json, text/json

Sample:
{
  "AccountingFields": [
    {
      "FieldId": "sample string 1",
      "Value": "sample string 2",
      "DirectBillingField": 3,
      "DirectBillingOnly": true
    },
    {
      "FieldId": "sample string 1",
      "Value": "sample string 2",
      "DirectBillingField": 3,
      "DirectBillingOnly": true
    }
  ]
}

application/xml, text/xml

Sample:
<AccountingData xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <AccountingFields>
    <AccountingField>
      <FieldId>sample string 1</FieldId>
      <Value>sample string 2</Value>
      <DirectBillingField>3</DirectBillingField>
      <DirectBillingOnly>true</DirectBillingOnly>
    </AccountingField>
    <AccountingField>
      <FieldId>sample string 1</FieldId>
      <Value>sample string 2</Value>
      <DirectBillingField>3</DirectBillingField>
      <DirectBillingOnly>true</DirectBillingOnly>
    </AccountingField>
  </AccountingFields>
</AccountingData>