Skip to content
Navigation

Compact itinerary with lock reasons

GET
https://api.nicer.travel/trip-itinerary/{tripItineraryId}/agent-view

A compact view of one trip: its dates, destinations and travellers, plus one line per segment with the reason it is frozen when it is. A frozen segment has been paid for, held or booked — plan around it, never change or remove it. Carries no prices, commissions or provider payloads.

Authorization

  • bearerAuth
    HTTP Bearer (JWT)
    required

    Authorization: Bearer <token>

Path parameters

  • tripItineraryId
    string
    required

Returns

200

OK

JSON
  • lockedSegmentIds
    array of
    string
    required
  • segments
    array of
    object
    required
    • attachmentCount
      integer
      required
      maximum: 9007199254740991 · minimum: 0
    • endDateTime
      required

      Any of the following:

      • string
      • null
    • id
      string
      required
    • imageCount
      integer
      required
      maximum: 9007199254740991 · minimum: 0
    • lockedReason
      required

      Any of the following:

      • string
      • null
    • sourceDocumentKey
      required

      Any of the following:

      • string
      • null
    • startDateTime
      required

      Any of the following:

      • string
      • null
    • title
      required

      Any of the following:

      • string
      • null
    • type
      string
      required
  • trip
    object
    required
    • destinations
      array of
      string
      required
    • endDate
      required

      Any of the following:

      • string
      • null
    • startDate
      required

      Any of the following:

      • string
      • null
    • title
      required

      Any of the following:

      • string
      • null
    • travelers
      object
      required
      • adults
        required

        Any of the following:

        • integer
        • null
      • children
        required

        Any of the following:

        • integer
        • null

400

Request failed. errorCode is stable; errorMessage is for humans.
JSON
  • errorCode
    string
    required
  • errorMessage
    string
    required

401

Request failed. errorCode is stable; errorMessage is for humans.
JSON
  • errorCode
    string
    required
  • errorMessage
    string
    required

403

Request failed. errorCode is stable; errorMessage is for humans.
JSON
  • errorCode
    string
    required
  • errorMessage
    string
    required

Type to search…

↑↓ navigate↵ selectEsc close