Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

Request Body - Emit RS


NAME

DESCRIPTION

FORMAT

ALLOWED VALUES

Emit Response

success

Bool

  • True

token

String

so63458244ca1fb

_doc_version

Integer

1

booking

Object

booking/id

Booking ID: necessary for post-booking actions

String

b9ac001b-bbe

booking/created

Booking created date

Date-time

2022-10-11T16:50:45

booking/modified

Booking last modified date

Date-time

2022-10-11T16:50:45

booking/timezone

Time zone

String

Europe/Madrid

booking/lines

Array of different booking lines

Array[Object]

lines/id

BookingLine ID

String

8d0439a6-9f9

lines/created

BookingLine created date

Date-time

2022-10-11T16:50:45

lines/timezone

Time zone

String

Europe/Madrid

lines/issued

Date time of ticketing

Date-time

2022-10-11T16:50:45

lines/last_void_date

Last date to void if the booking is emitted

Date-time

2022-10-11T16:50:45

lines/booking_reference

Object

booking_reference/locator

External provider booking line identifier

String

M7LN1

booking_reference/ghost_locator

Ghost booking locator

String

P4VRJ7

booking_reference/status

Booking line status

String

CNFD

booking_reference/external_view

Link externo con la información de reserva

String

https://www.iberia.com/web/retrievePNR.do?apellido=Lleego+Adulto&localizador=M7LN1&market=ES&language=es&mmb=true

booking_reference/source_i_d

Source ID

String

IBc7efa4fdb2a74b6da60ef895b99857a9OC

lines/holder

Object

holder/name

Traveller Name

String

Miguel

holder/surnames

Traveller surnames

Array[String]

Perezuno

holder/contact

Object

contact/type

Contact data type, Passenger or Emergency

String

Passenger

contact/name

Contact name (Emergency)

String

Miguel

contact/surnames

Contact surname (Emergency)

String

Perezuno

contact/mails

List of contact mails

Array[String]

ag@lleego.com

contact/phones

List of contact phones

Array[Object]

phones/country_pref

Country prefix

String

34

phones/number

Phone number without prefix

String

666666666

holder/in_booking

Lo utilizaremos para comprobar si un pasajero sigue estando en una reserva o no

Bool

  • True

  • False

holder/index

Indice del pasajero en la petición de reserva.Nos permite asignar los datos del corporate a cada pasajero

Integer

0

lines/travellers

List of travellers of the booking

Array[Object]

travellers/code

Traveller id

String

704692

travellers/source_i_d

Traveler id in provider system

String

T1

travellers/type

Traveller type [ADT, CHD, INF, YCD, YTH]

String

ADT

travellers/gender

Traveller genter [ Male, Female ]

Enum

  • Male

  • Female

travellers/title

Traveller title [ Mr, Mrs, Ms, Miss ]

Enum

  • Mr

  • Mrs

  • Ms

  • Miss

travellers/name

Traveller Name

String

Juan

travellers/surnames

Traveller surnames

Array[String]

Lleego Adulto

travellers/birth_date

Birth date

Date

2015-12-12

travellers/age

Age

Integer

6

travellers/contact

Object

contact/type

Contact data type, Passenger or Emergency

String

Passenger

contact/name

Contact name (Emergency)

String

Miguel

contact/surnames

Contact surname (Emergency)

String

Perezuno

contact/mails

List of contact mails

Array[String]

ag@lleego.com

contact/phones

List of contact phones

Array[Object]

phones/country_pref

Country prefix

String

34

phones/number

Phone number without prefix

String

666666666

travellers/documents

Array[Object]

documents/type

Document Type - PP: Passport - NI: National identity document - TR: Resident Card - FF: Frequent Flyer - CE: Census (for Spanish residents) - DL: Driving license (for rental car bookings)

Enum

  • PP

  • NI

  • TR

  • FF

  • CE

  • DL

documents/number

Document Number

String

GPT002314R

documents/nationality

Document nationality

String

ES

documents/issue_date

Document issue date

Date-time

2021-11-11

documents/expiry_date

Document expiration date

Date-time

2125-11-11

documents/country

Document emission country

String

ES

travellers/responsibles

Array[Object]

responsibles/location

Location

String

AGP

responsibles/name

Name

String

Jose

responsibles/address

Address

String

c/ de la alegria

responsibles/phone

Phone

String

722345678

responsibles/origin_destination_ref

Origin destination reference

Integer

0

travellers/in_booking

Lo utilizaremos para comprobar si un pasajero sigue estando en una reserva o no

Bool

  • True

  • False

travellers/index

Indice del pasajero en la petición de reserva.Nos permite asignar los datos del corporate a cada pasajero

Integer

0

lines/travel

Object

travel/id

Identificador interno del producto

String

Jo6347c4d747d260000

travel/source_i_d

Identificador del producto en el conector externo

String

UDgxRTAwRTMyLUY0RDgtNDAzQS1BOTM5IyQlUG9QODFFMDBFMzItRjREOC00MDNBLUE5MzktMQ==

travel/services_groups

Array[Object]

services_groups/id

ID

String

services_groups/source_i_d

Source ID

String

O1

services_groups/services

Array[Object]

services/id

ID

String

SN373820221115@SN210320221115

services/source_i_d

Source ID

String

F1

services/segments

Array[Object]

segments/source_i_d

Source ID

String

S2

segments/extensions

Object

extensions/serviceID

Service ID

String

FLIGHT_IB303420221114_T1

segments/origin

Object

origin/iata

IATA Code

String

MAD

origin/terminal

Terminal code

String

4

segments/destination

destination/iata

IATA Code

String

BCN

destination/terminal

Terminal code

String

1

segments/departure_date_time

Departure date time

Date time

2022-11-15T15:30:00

segments/arrival_date_time

Arrival date time

Date time

2022-11-15T18:20:00

segments/origin_terminal

Origin terminal

String

1

segments/destinations_terminal

Destination terminal

String

S

segments/transport_type

Transport type

String

  • Flight

  • Train

  • Bus

  • Car

segments/duration

Duration

Integer

10200

segments/company

Object

company/iata

IATA Code

String

IB

segments/operating_company

Object

operating_company/iata

IATA Code

String

IB

segments/transport_number

Transport number

String

3738

segments/class_of_service

Class of service

String

A

segments/fare_basis_code

Fare basis code or fare identifier in the connector

String

AOU0B5

segments/cabin

Object

cabin/id

Cabin ID

String

R

cabin/short_name

Short name

String

ECONOMY

cabin/long_name

Long name

String

ECONOMY

segments/equipment

Identifica el transporte/avión en el que se realiza el viaje

String

321

segments/baggage

Object

baggage/quantity

Baggage quantity

Integer

0

baggage/unit

Baggage unit

String

Units

segments/weight

Peso permitido para la maleta

String

services_groups/context

Context

Integer

1

travel/price

Object

price/currency

Moneda en la que se muestran los precios del viaje

String

EUR

price/base

Precio base del viaje

Double

27

price/total_taxes

Suma total de tasas

Double

130.02

price/total_external_fees

Suma total de fees de proveedor

Double

0

price/fee

Gastos de gestión

Double

13

price/commission_percentage

Comisión aplicada (porcentaje)

Double

0

price/commission_amount

Comisión aplicada en cantidad (no porcentaje)

Double

0

price/amount

Precio total del viaje sin fees: $base + $totalTaxes + $externalFees

Double

157.02

price/total

Precio total del viaje: $base + $totalTaxes + $externalFees + $fee + $globalFee

Double

170.02

price/fares

Tarifas asociadas al precio

Array[Object]

fares/source_i_d

Identificador de la tarifa en el proveedor

String

PoIP81E00E32-F4D8-403A-A939-1-1

fares/type

Fare type

String

RU

fares/tags

Array[Object]

tags/source_i_d

Source ID

String

RU

fares/context

Fare Context

Integer

0

fares/passenger_type

Tipo de pasajero asociado a la tarifa

String

CHD

fares/passenger_refs

Passenger references

Array[String]

T1

fares/quantity

Cantidad de tarifas de este tipo en el precio final

Integer

1

fares/currency

Moneda en la que se muestran los precios de la tarifa

String

EUR

fares/base

Precio unitario base de la tarifa

Double

27

fares/total_taxes

Suma total de tasas de la tarifa

Double

130.01999999999998

fares/taxes

Array[Object]

taxes/tax_code

Código identificador de la tasa

String

YQ

taxes/amount

Cantidad de la tasa

Double

13

fares/total_external_fees

Suma total de fees externos de proveedor

Double

0

fares/fee

Suplemento adicional a la tarifa

Double

13

fares/emission_fee

Emission fee

Double

2

fares/markup

Markup aplicado sobre la tarifa

Double

0

fares/opaque

Precio base de la tarifa opacado => $base + $markup

Double

27

fares/amount

Precio total de la tarifa sin fees: $base + $totalTaxes + $totalExternalFees

Double

157.01999999999998

fares/total

Precio total de la tarifa: $base + $totalTaxes + $totalExternalFees + $fee

Double

170.01999999999998

fares/validating_company

Object

validating_company/iata

IATA code

String

IB

fares/last_ticket_date

Última fecha de emisión

Date-time

2022-10-14T10:00:00

fares/last_date

LD de la máscara

Date-time

2022-10-13T23:59:00

fares/timezone

Time zone

String

UTC

fares/public

Identifica si una tarifa es pública

Bool

  • True

fares/refundable

Is refundable

Integer

1

price/payment_supplements

Lista de cargos por pagar con tarjeta

Array

price/fuel_tax

Tasa de carburante

0

price/other_taxes

Suma de todas las tasas excepto la de carburante

Double

0

price/markup

Markup aplicado sobre la tarifa

Double

0

price/opaque

Precio base de la tarifa opacado => $base + $markup

Double

27

price/mandatory

Is mandatory

Bool

  • True

  • False

price/refundable

Identifica si una tarifa es o no reembolsable

Integer

1

price/fare_type

Fare type

String

PRIVATE

price/valid

Is valid

Bool

  • True

  • False

price/fee_upgrade

Fee upgrade

Float

0

price/fee_changes

Fee upgrade

Float

2

price/fee_refund

Fee refund

Float

50

price/total_emission_fee

Agregate of Emission Fee and Ancillaries fee

Float

0

travel/provider

provider/id

Connector ID

String

LH

provider/short_name

Short name

String

Lufthansa

provider/long_name

Long name

String

Lufthansa NDC

provider/type

Connector type

String

TRANSPORT

provider/subtype

Connector sub type

String

FLIGHT

provider/active

Is provider Active or not

Bool

  • True

  • False

provider/default_priority

Default sort index

Integer

5

travel/supplements

supplements/short_name

Short name

String

1 CABIN BAGS UP TO 8KG

supplements/long_name

Long name

String

1 CABIN BAGS UP TO 8KG

supplements/currency

Currency

Double

EUR

supplements/fee

Supplement fee

Double

0

supplements/total

Supplement total price

Double

0

supplements/included

Is supplement included

Bool

  • True

  • False

supplements/category

Supplement category

String

1 CABIN BAGS UP TO 8KG

supplements/indicator

Indica si el servicio se incluye, se ofrece (con cargo) o no se ofrece

String

INC

supplements/pax_references

Pax references

Array[String]

T1

supplements/seg_references

Segment references

Array[String]

  • Isgm590099647c4d3

  • Isgm5a0099647c4d3

  • Isgmae0099647c4d3

  • Isgmaf0099647c4d3

travel/multi_fare

Indica si existe posibilidad de multi tarifa o no

Bool

  • True

  • False

travel/notes

Client and Agency Notes

Array[Object]

notes/short_name

Short name

String

Malaga Airport, ES (AGP) - Brussels Airport, BE (BRU) Change - CHD (BEFORE DEPARTURE)

notes/description

Description

String

MAX 70 EUR\nMIN 70 EUR

notes/type

Notes types

String

PROVIDER

notes/category

Category

String

BEFORE DEPARTURE

travel/payment_in_booking

Bool

  • True

  • False

travel/need_card_payment_in_booking

Indica si es necesario pagar con tarjeta a la hora de reservar.

Bool

  • True

  • False

travel/using_special_office

Using special office

Bool

  • True

  • False

travel/parameters_booking

Array[Object]

parameters_booking/context

Parameters Booking Context

String

pax

parameters_booking/type

Parameters Booking Type

String

passenger

parameters_booking/fields

Array[Object]

fields/name

Parameter name

String

gender

fields/mandatory

Is mandatory

Bool

  • True

  • False

fields/editable

Is editable

Bool

  • False

fields/pax_refs

Passenger references

Array[String]

T1

parameters_booking/info

Object

info/range

Object

range/INF

Range age INF

Array[Integer]

  • 0

  • 2

range/CHD

Range age CHD

Array[Integer]

  • 2

  • 12

range/YTH

Range age YTH

Array[Integer]

  • 12

  • 16

range/ADT

Range age ADT

Array[Integer]

  • 12

  • 150

range/YCD

Range age YCD

Array[Integer]

  • 60

  • 150

range/UMN

Range age UMN

Array[Integer]

  • 12

  • 16

travel/timezone

String

Europe/Madrid

travel/solution_i_d

Solution ID

String

Jo6347c4d747d260000

travel/resident

Is resident

Bool

  • True

  • False

travel/large_family

Is large family

Bool

  • True

  • False

travel/large_family_discount_type

Resident type

String

F2

travel/last_ticket_date

Última fecha de emisión

Date-time

2022-10-14T10:00:00

travel/last_ticket_date_data

Object

last_ticket_date_data/title

Title

Sting

Emitir ma\u00f1ana

last_ticket_date_data/tag

Tag

String

TL MA\u00d1ANA

last_ticket_date_data/locale

Locale

String

es

travel/last_date

Last date

Date-time

2022-10-13T23:59:00

travel/need_doc_apis

Need doc apis

Bool

  • True

  • False

travel/need_ruc

Need ruc

Bool

  • True

  • False

travel/need_ctcl

Object

need_ctcl/show

Is show

Bool

  • True

  • False

need_ctcl/require

Is require

Bool

  • True

  • False

travel/accept_national_document

Indica si aún necesitando SSR DOCS, se permite enviar documento nacional de identidad en lugar de pasaporte

Bool

  • True

  • False

travel/need_address

Indica si es necesario enviar la dirección para cerrar la reserva

Bool

  • True

  • False

travel/emit_on_booking_detail

Object

emit_on_booking_detail/emit_on_booking

Emit on booking

Bool

  • True

  • False

emit_on_booking_detail/emit_on_ancillary_add

Emit on ancillary add

Bool

  • True

  • False

travel/extra_services

Array

travel/multi_family

Is multy family

Bool

  • True

  • False

travel/allow_multi_family

Indica si se permite lanzar la petición de multi-family sobre la oferta actual

Bool

  • True

  • False

travel/owner

Propietario del transport, necesario para los ndc

String

SNA

travel/validating_company

Validating company

String

BA

travel/catalogue

Flag to indicate if catalogue is available

Bool

  • True

  • False

travel/allow_seat_selection_pre

Determines if this instance is allowed to list baggage offers

Bool

  • True

  • False

travel/allow_baggage_pre

Determines if this instance is allowed to list baggage offers

Bool

  • True

  • False

travel/seats

Seats

Bool

  • True

  • False

travel/is_umnr

Is umnr

Bool

  • True

  • False

travel/need_expedient_validation

Need expedient validation

Bool

  • True

  • False

travel/max_name_chars_modify

Max name chars modify

Integer

3

lines/provider

Object

provider/id

Connector ID

String

LH

provider/short_name

Short name

String

Lufthansa

provider/long_name

Long name

String

Lufthansa NDC

provider/type

Connector type

String

TRANSPORT

provider/subtype

Connector sub type

String

FLIGHT

provider/active

Is provider active or not

Bool

  • True

  • False

provider/default_priority

Default sort index

Integer

5

lines/tickets

List of tickets

Array[Object]

tickets/type

Tickets type

String

PAX

tickets/number

Ticket Number

075-2102906592

tickets/status

Ticket status - CNFD: Confirmed

String

  • CNFD

tickets/price

Object

price/currency

Moneda en la que se muestran los precios del viaje

String

EUR

price/base

Precio base del viaje

Double

25

price/total_taxes

Suma total de tasas

Double

39.38

price/taxes

Array[Object]

taxes/tax_code

Código identificador de la tasa

String

JD

taxes/amount

Cantidad de la tasa

Double

7.62

price/fee

Gastos de gestión

Double

3

price/emission_fee

Gastos de gestión

Double

0

price/amount

Precio total del viaje sin fees: $base + $totalTaxes + $externalFees

Double

64.38

price/total

Precio total del viaje: $base + $totalTaxes + $externalFees + $fee + $globalFee

Double

64.38

price/mandatory

Is mandatory

Bool

  • False

price/refundable

Is refundable

Integer

1

price/fare_type

Fare type

String

PUBLIC

price/valid

Is valid

Bool

  • True

price/total_emission_fee

Agregate of Emission Fee and Ancillaries fee

Double

0

tickets/passenger_ref

Passenger reference

String

T1

tickets/services_refs

Servicios a los que hace referencia la tarifa

Array[String]

  • IB391320221120

  • IB301520221116

tickets/category

Ticket category

String

BAG

tickets/issued

BookingLine issued date

Date-time

2022-10-18T11:28:17

tickets/all_coupons_status

Coupon status

Array[String]

OPEN_FOR_USE

tickets/author

Author

Integer

1365

tickets/agency_author

Agency author

Integer

1295

tickets/refund_price

Refund price

Float

0

tickets/pending_to_manage

Pending to manage

Bool

  • False

lines/seats

Array[Object]

seats/number

Número de asiento

String

17D

seats/passenger_ref

Pasajero al que pertenece el billete

String

2

seats/service_ref

Servicio a los que hace referencia la tarifa

String

1

seats/selected

Seats selected

Bool

  • True

  • False

seats/included

Seats included

Bool

  • True

  • False

lines/notes

Array[Object]

notes/id

ID

String

22

notes/description

Notes description

String

BY:NUEVO OPERADOR LLEEGO

notes/source_i_d

Source ID

String

8

notes/type

Notes type

String

RM

notes/extensions

Object

extensions/needs_clear

Is need clear

Bool

  • True

  • False

lines/penalties

Array

penalties/short_name

Short name

String

Malaga Airport, ES (AGP) - Brussels Airport, BE (BRU) Change - CHD (BEFORE DEPARTURE)

penalties/type

Penalties type

String

BEFORE DEPARTURE

penalties/from_date

From date

Date-time

2022-10-13T10:00:48

penalties/to_date

To date

Date-time

2022-11-15T15:30:00

penalties/message

Message

String

MAX 70 EUR\nMIN 70 EUR

lines/agency

Object

agency/id

Agency ID

String

1295

agency/short_name

Short name

String

Bidane Travel

agency/long_name

Long name

String

Bidane Travel

agency/source_i_d

Source ID

String

-

agency/extensions

Object

extensions/cif

Agency Cif

String

1234567890

extensions/iata

Agency IATA

String

888888

extensions/timeZone

Time zone

String

Europe/Madrid

extensions/isConsolidatorIata

Is Consolidator IATA

Bool

  • True

extensions/isConsolidatorRp

Is Consolidator Rp

Bool

  • False

agency/warnings

Array[Object]

warnings/description

Description warnings

String

Base amount guaranteed until 2022-10-13 23:59:59

lines/payments

Array[Object]

payments/type

Type of payment.

  • 1: credit

  • 2: transfer

  • 3: deposit

  • 4: uatp / card

  • 5: cash

  • 8: picard

  • 11: voucher
    Please, keep in mind which payment options you have availables

Integer

1

payments/card_apply

Payment by card to all or only lowcost. ["ALL", "LC"] by default "LC"

String

LC

payments/card

Payment card

Object

card/card_type

Credit card type code
Please, check the card types returned by pricing method.
If no types are returned, you can user ["VI" | "CA" | "AX" | "DC"]

String

VI

card/number

Credit card number

Integer

************7774

card/expire_month

Credit card month as string of 2 digits

Integer

10

card/expire_year

Credit card year as string of 4 digits

Integer

2025

card/cvv

Credit card security code

Integer

***

card/id_v_card

Credit card id virtualCard

String

YToyOntzOjg6IkV4dGVybmFsIjtzOjI1OiIwUkFDbEd4TUdMQ3dQS3FxVDJHNlJkeEt1IjtzOjc6IkFtYWRldXMiO3M6ODoiMjIyMkVRV1kiO30=

card/source

Source / connector ID (for virtual cards)

String

1AW

card/lleego_pay

Flag lleego pay

Bool

  • True

payments/amount

Precio total

Double

64.38

lines/info_is_complete

Indica si toda la información de documentación está completa

Bool

  • True

  • False

lines/is_transferred

Marca que indica si la reserva se ha transferido con la funcionalidad de traer reserva

Bool

  • True

  • False

lines/is_accesible

Para checkear si tengo SECURED PNR y la reserva es accesible o no

Bool

  • True

  • False

lines/is_disney

Reserva Disney

Bool

  • True

  • False

lines/allow_booking_changes

Indicates if this booking is changeable and upgradeable

Bool

  • True

lines/avail_seat_selection

Indicates if this booking has seat availability selection

Bool

  • True

lines/booking_options

Object

booking_options/allow_pax_name

Allow pax name

Bool

  • True

booking_options/allow_pax_docs

Allow pax docs

Bool

  • False

booking_options/allow_baggage_post

Allow baggage post

Bool

  • True

booking_options/allow_seat_selection

Allow seat selection

Bool

  • True

booking_options/allow_booking_changes

Allow booking changes

Bool

  • True

booking_options/allow_booking_upgrades

Allow booking upgrades

Bool

  • True

booking_options/allow_partial_booking_changes

Allow partial booking changes

Bool

  • True

booking_options/allow_booking_refund

Allow booking refund

Bool

  • True

booking_options/allow_emergency_contact_modify

Allow emergy contact modify

Bool

  • False

lines/avail_cryptic

Determine if this BL can use the cryptic request

Bool

  • True

  • False

lines/avail_repolicy

Determine if this BL can use the repolicy request

Bool

  • True

lines/avail_repricing

Determine if this BL can use the repricing request

Bool

  • True

  • False

lines/avail_comment_pnr

Determine if this BL can use comment PNR

Bool

  • True

  • False

lines/avail_action_comment_pnr

Determine if this BL can use Action comment PNR

Bool

  • True

  • False

lines/need_inteligence_status

Indicates if is necessary to pass through setIntelligenceStatus method

Bool

  • True

  • False

lines/pricing_creation_date

Indicates if the PNR have to reprice with the last creation date

Bool

  • True

  • False

lines/is_susceptible_covid19

Checks if it is susceptible to be anulable for covid19

Bool

  • True

  • False

lines/is_requested_covid19

Checks if it is requested to be anulable for covid19

Bool

  • True

  • False

lines/count_summary

Object

count_summary/segments

Segments

Integer

2

count_summary/travellers

Travellers

Integer

1

booking/consolidator

Consolidator ID

Integer

10

booking/agency

Agency ID

Integer

1295

booking/agent

Agent ID

Integer

1365

booking/is_surface

Is surface

Bool

  • False

booking/email

Email

String

ag@lleego.com

booking/contact

Contact name

String

Jesus Lleego Test

payment_redirect_type

Payment Redirect type: Ex. GET or POST

String

  • GET

  • POST

  • No labels