v1

latestOpenAPI 3.1.02026-08-0630894634.3 KB
Trips

Create trip

This endpoint creates a trip object. A trip is a container object for all related PNRs associated with a trip.

post/v2/trips

Request body

tripNamestring required

Name of the trip.

tripDescriptionstring

Description of the trip.

Example request

{
  "startDate": {
    "iso8601": "2017-07-21"
  },
  "endDate": {
    "iso8601": "2017-07-21"
  }
}

Response

Created

idstring