Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

KIU SNAPSHOTS (PNR) is a service for PNRs that will allow allows keep synchronized the status of all PNRs with the PSS in real-time. Every time a PNR is created, modified, splited, or purged, a JSON file will be sent with the affected PNR(s).

...

Internally, the file contains an “event_details” object that provides details about the event that triggered the change, and a list of affected PNRs [1..n]. Each object in the array represents a PNR, and its structure is represented in the schema of the get_booking_information API (with the exception of the purge event).

Example File

Code Block
{
  “event_details”: {...},
  "pnr_list": [
                {     
                  "record_locator_version_information": {},
                  "record_locator_information": {},
                  "passengers_information": {},
                  "flights_segment_information": {},
                  "flights_origin_destination_information": {},
                  "contacts_list": [],
                  ...
                },
                {...}
              ]
}

...

The event_details object has the following structure:

Key

Type Data type

Possibles Possible values

Description

Example

Observations

system_from

string(2:3)

C1 or airline operator code, depending on whether it is if its a PSS terminal or Kiu GDS terminal

Z8

company

string(4)

Unique code of the company, airline, or agency within Kiu

00Z8

channel

string

HOST, GDS

HOST

subchannel

string

In the case of GDS, it’s the own GDS code (C1, 1A, etc.). For HOST, is the value configured in the office table, command DNO / BI STAT.SUB-CHANNEL.

SALES OFFICE

device

string(0:10)

Kiu device that generated the transaction

LPB00Z8205

agent

string(0:9)

Kiu device that generated the transaction

HDQ00Z8SM

pnr_action

string

CREATE, MODIFY, SPLIT, DELETE

Identifies whether the event is a creation, modification, or split

CREATE

The SPLIT will apply to both PNRs (the newly created and the modified ones in that process).

transaction_type

string

DIRECT, INDIRECT

Identifies if the modification to the PNR is a direct intervention by a user/API or an indirect one related to another process.

origin

string

  • AGENT

  • WEBSERVICES

  • FROM_EXTERNAL_MESSAGE

  • INTERNAL_PROCESS

Identifies the origin that triggers the modification Related to the transaction_type.

If it's DIRECT, this field could be:

  • AGENT → change from KiuCommand/some click scenarios

  • WEBSERVICES → change from WS/APIS/some click scenarios

  • FROM_EXTERNAL_MESSAGE → processing of TTY Type B/Type A messaging

If it’s INDIRECT, this field could be:

  • INTERNAL_PROCESS → change affecting the booking due to an internal system process, such as robot time limit adjustments, service cancellations, etc.

  • FROM_EXTERNAL_MESSAGE → processing of TTY Type B messaging

application

string

  • KIU_COMMAND

  • OTHER

  • PRL_PROCESS

  • PFS_PROCESS

  • CONFIRM_WAITLIST_PROCESS

Detailed in "Source and Applications"

timestamp

datetime

2023-04-20T22:02:32.750Z

...