v1

latestOpenAPI 3.1.02026-08-0630894634.3 KB
Trips

List trips

Retrieves the list of trips associated with an organization. {% admonition type="warning" name="Deprecation notice" %} The List Trips /v2/list-organisation-trips endpoint has been deprecated. Use the new List trip summaries for a company /v3/trips/companies/{companyId}/list endpoint instead. {% /admonition %}

post/v2/list-organisation-trips

Request body

pnrType'AIR' | 'CAR' | 'RAIL' | 'HOTEL' | 'LIMO' | 'ALL' required

Type of PNR

Example request

{
  "updatedAt": {
    "iso8601": "2017-07-21T17:32Z"
  }
}

Response

OK

Example response

{
  "trips": [
    {
      "tripId": "6926658168",
      "pnrInfos": [
        {
          "pnrId": "6789533589",
          "customFields": [
            {
              "description": "GLOBAL OFFSITE 2022"
            }
          ]
        }
      ],
      "tripName": "SFO - DEL Meeting",
      "tripDescription": "SFO-DEL 22-04-2022"
    }
  ]
}