Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table of Contents
minLevel1
maxLevel6
outlinefalse
typelist
printablefalse

Introduction

KIU SNAPSHOTS Documents is a delivery service for document issuances and cancellations for any type of transaction, including TKT, EMD, RFND. In a second phase, document modifications will also be included.

This service allows for real-time retrieval of a copy of each issuance or void by sending a JSON file to the configured destination.

File Structure

The name of the generated JSON file has the prefix DOCUMENTS and UTC timestamp, resulting in the following pattern: DOCUMENTS_YYYYMMDDTHHMMSSFFFZ.json.

...

Code Block
{
  "event_details": {
    "system_from": "XX",
    "company": "00XX",
    "channel": "HOST",
    "subchannel": "OFFICE SALES",
    "device": "SST00XXG07",
    "agent": "KIUHELPER",
    "transaction_type": "DIRECT",
    "origin": "AGENT",
    "application": "KIU_COMMAND",
    "timestamp": "2023-08-01T13:28:14.947Z",
    "document_action": "ISSUE"
  },
  "document_list": [
    {
      "transaction_code": "TKTT",
      "main_document_number": "9990210004401",
      "plating_carrier": "XX",
      "year_of_issue": 2023
      ....
    }
  ]
}

Structure of event_details

The object event_details has the following structure:

Key

Data type

Possible values

Description

Example

system_from

string(2:3)

 

C1 or airline operator code, depending on whether it is 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 GDS code (C1, 1A, etc.). In the case of HOST, is the value configured in the office table, command DNO / BI STAT.SUB-CHANNEL.

SALES OFFICE

device

string(0:10)

 

Kiu device that has generated the transaction

LPB00Z8205

agent

string(0:9)

 

Kiu device that has generated the transaction

HDQ00Z8SM

transaction_type

string

DIRECT, INDIRECT

Identifies whether the modification to the PNR is due to a direct intervention by a user/API or if the modification is indirect, and related to another process.

 

document_action

string

ISSUE

VOID

SSR_TKNE_NOTIFICATION (pediente)

REVALIDATE (pediente)

STATUS_CHANGED (pediente)

Identify the action of the document

ISSUE

origin

string

  • AGENT

  • WEBSERVICES

  • FROM_EXTERNAL_MESSAGE (pediente)

  • INTERNAL_PROCESS (pediente)

Identifies the origin affecting the document related to the transaction_type.

If it is 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 is INDIRECT, this field could be:

  • INTERNAL_PROCESS → changes in ETS status, automatic involuntary exchange

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

 

application

string

  • KIU_COMMAND

  • OTHER

Detailed in "Source and Applications"

 

timestamp

datetime

 

 Date and time of file generation

2023-04-20T22:02:32.750Z

Source and Applications

Given the different scenarios where the status of document coupons can be issued or modified, they are classified based on the type of transaction - direct or indirect - the origin of the modification, and the application that triggered it.

...