diff --git a/docs/Air.md b/docs/Air.md index 6426ca2b..e791ea98 100644 --- a/docs/Air.md +++ b/docs/Air.md @@ -80,6 +80,7 @@ After searching for air segments and fares, air bookings are created using the r Each search response has `Directions` array which represents different variations of the same trip (with same price), but with the different flight options. Each index of `Directions` array represents leg index. For example if you have IEV-PAR-IEV roundtrip search request it will have IEV-PAR, PAR-IEV legs. And `Directions` array will have length 2. Under `Directions[0]` and `Directions[1]` will be different options for the flight. So under `Directions[0][1]` you will find `Segments` array. This segments are used for booking. +Please specify `transfer` field to mark connection segment. `Segment` object sample. ```json @@ -94,6 +95,7 @@ So under `Directions[0][1]` you will find `Segments` array. This segments are us "serviceClass": "Economy", "plane": "E90", "fareBasisCode": "GSRUA", + "transfer": false } ``` diff --git a/package.json b/package.json index 980dbbe6..0e176a79 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "uapi-json", - "version": "0.4.0", + "version": "0.4.1", "description": "Travelport Universal API", "main": "build/", "files": [ diff --git a/src/Services/Air/templates/AIR_PRICE_REQ.xml b/src/Services/Air/templates/AIR_PRICE_REQ.xml index 73ffab8b..248653c6 100644 --- a/src/Services/Air/templates/AIR_PRICE_REQ.xml +++ b/src/Services/Air/templates/AIR_PRICE_REQ.xml @@ -25,6 +25,9 @@ Key="{{@index}}" Group="0"> + {{#if transfer}} + + {{/if}} {{/segments}} {{#if business}}