Skip to content
Navigation

List every agency's Sabre connection

GET
https://api.nicer.travel/booking/sabre/connections

For Nicer staff only: every agency's Sabre connection in one list, on or off, with the office it works in, where and with which credential Nicer signs in, every agency that shares that credential, the products bound to it, live or mock, its agents and the last sign-in test. It reads across agencies, so it takes no x-nicer-company; to change one agency's connection, call the settings routes with that agency in x-nicer-company. No credential is ever returned, only the secret's name. Errors: 403 ERROR_DO_NOT_HAVE_PERMISSION for anyone who is not Nicer staff.

Authorization

  • bearerAuth
    HTTP Bearer (JWT)
    required

    Authorization: Bearer <token>

Returns

200

OK

JSON
  • connections
    array of
    object
    required
    • agents
      object
      required
      • enabled
        integer
        required
        maximum: 9007199254740991 · minimum: 0
      • unclaimed
        integer
        required
        maximum: 9007199254740991 · minimum: 0
    • companyName
      string
      required
      minLength: 1
    • configVersion
      string
      required
      minLength: 1
    • defaultAgentDkNumber
      required

      Any of the following:

      • string
      • null
    • enabled
      boolean
      required
    • executionMode
      required

      Any of the following:

      • SabreExecutionMode
      • null
    • homePcc
      required

      Any of the following:

      • string
      • null
    • lastTest
      required

      Any of the following:

      • SabreConnectionTest
        • errorCode
          required

          Any of the following:

          • string
          • null
        • success
          boolean
          required
        • testedAt
          string
          required
          format: date-time · pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$
      • null
    • products
      array of
      CAR_RENTAL
      or
      FLIGHT
      or
      HOTEL
      or
      INSURANCE
      required
    • providerConfigId
      string
      required
      minLength: 1
    • secretName
      required

      Any of the following:

      • string
      • null
    • sessionPcc
      required

      Any of the following:

      • string
      • null
    • sharedWith
      array of
      string
      required
      minLength: 1
    • ticketsFromQueue
      boolean
      required
    • updatedAt
      string
      required
      format: date-time · pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$

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