{
"info": {
"_postman_id": "0e0ce7a3-e1ad-48dd-9d87-c219eb3d7daf",
"name": "NDC Gateway API - Sample Requests",
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
"_exporter_id": "23791522",
"_collection_link": "https://go.postman.co/collection/23791522-0e0ce7a3-e1ad-48dd-9d87-c219eb3d7daf?source=collection_link",
"description": "Sample requests for the TUI NDC Gateway API (Navitaire NDC v21.3). Each folder is a complete end-to-end flow - run the requests in order, starting with Auth. Set the collection variables before you begin (see the Variables tab)."
},
"item": [
{
"name": "Flows",
"item": [
{
"name": "OW",
"item": [
{
"name": "Auth",
"event": [
{
"listen": "test",
"script": {
"exec": [
"// Cleanup of the session token collection value\r",
"if(pm.collectionVariables.has(\"Newskies.Session.AccessToken\")){\r",
" pm.collectionVariables.unset(\"Newskies.Session.AccessToken\");\r",
"}\r",
"\r",
"pm.test(\"Status code is 200\", function () {\r",
" pm.response.to.have.status(200);\r",
"});\r",
"\r",
"let jsonData = pm.response.json();\r",
"pm.collectionVariables.set(\"Newskies.Session.AccessToken\", jsonData.access_token);\r",
"\r",
""
],
"type": "text/javascript",
"packages": {},
"requests": {}
}
}
],
"protocolProfileBehavior": {
"protocolVersion": "auto",
"disableUrlEncoding": false
},
"request": {
"auth": {
"type": "basic",
"basic": [
{
"key": "password",
"value": "{{Newskies.Agent.Password}}",
"type": "string"
},
{
"key": "username",
"value": "{{Newskies.Agent.Username}}",
"type": "string"
}
]
},
"method": "POST",
"header": [
{
"key": "Accept",
"value": "application/json",
"type": "text"
},
{
"key": "x-apikey",
"value": "{{Tui.NDC.ApiKey}}",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "{\r\n \"grant_type\":\"client_credentials\"\r\n}",
"options": {
"raw": {
"headerFamily": "json",
"language": "json"
}
}
},
"url": {
"raw": "{{Tui.NDC.BaseUrl}}/x3/ndc/api/Selling/r3.x/Auth",
"host": [
"{{Tui.NDC.BaseUrl}}"
],
"path": [
"x3",
"ndc",
"api",
"Selling",
"r3.x",
"Auth"
],
"query": [
{
"key": "loc",
"value": "{{Newskies.Agent.Location}}",
"disabled": true
},
{
"key": "role",
"value": "{{Newskies.Agent.Role}}",
"disabled": false
}
]
}
},
"response": []
},
{
"name": "AirShopping OW",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{Newskies.Session.AccessToken}}",
"type": "string"
}
]
},
"method": "POST",
"header": [
{
"key": "Accept",
"value": "application/xml"
},
{
"key": "x-apikey",
"value": "{{Tui.NDC.ApiKey}}",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "\n\t\n\t\t\n\t\t\t1\n\t\t\tSeller\n\t\t\t\n\t\t\t\t{{Newskies.Organization}}\n\t\t\t\n\t\t\n\t\n\t\n\t\t21.3\n\t\n\t\n\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t{{Flight.ArrivalAirport}}\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t{{Flight.OutboundDate}}\n\t\t\t\t\t\t{{Flight.DepartureAirport}}\n\t\t\t\t\t\n\t\t\t\t\n \n\t\t\t\n\t\t\n\t\t\n\t\t\t\n\t\t\t\tADT0\n\t\t\t\tADT\n\t\t\t\n\t\t\n\n\t\n",
"options": {
"raw": {
"headerFamily": "json",
"language": "xml"
}
}
},
"url": {
"raw": "{{Tui.NDC.BaseUrl}}/x3/ndc/api/Shopping/r3.x/v21.3/AirShopping",
"host": [
"{{Tui.NDC.BaseUrl}}"
],
"path": [
"x3",
"ndc",
"api",
"Shopping",
"r3.x",
"v21.3",
"AirShopping"
]
}
},
"response": []
},
{
"name": "OfferPrice OW",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{Newskies.Session.AccessToken}}",
"type": "string"
}
]
},
"method": "POST",
"header": [
{
"key": "Accept",
"value": "application/xml"
},
{
"key": "x-apikey",
"value": "{{Tui.NDC.ApiKey}}",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "\n \n \n 1\n Seller\n \n {{Newskies.Organization}}\n \n \n \n \n 21.3\n \n \n \n \n \n id-v2-7c9d70d6-62c7-4059-9683-18060174e686-o-2\n X3\n \n\t\t\t\tid-v2-7c9d70d6-62c7-4059-9683-18060174e686-o-2-1\n\t\t\t\tADT0\n\t\t\t\n\t\t\n \n \n \n",
"options": {
"raw": {
"headerFamily": "json",
"language": "xml"
}
}
},
"url": {
"raw": "{{Tui.NDC.BaseUrl}}/x3/ndc/api/Selling/r3.x/v21.3/OfferPrice",
"host": [
"{{Tui.NDC.BaseUrl}}"
],
"path": [
"x3",
"ndc",
"api",
"Selling",
"r3.x",
"v21.3",
"OfferPrice"
]
}
},
"response": []
},
{
"name": "OrderCreate OW",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{Newskies.Session.AccessToken}}",
"type": "string"
}
]
},
"method": "POST",
"header": [
{
"key": "Accept",
"value": "application/xml"
},
{
"key": "x-apikey",
"value": "{{Tui.NDC.ApiKey}}",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "\n \n \n 1\n Seller\n \n {{Newskies.Organization}}\n \n \n \n \n 21.3\n \n \n \n \n \n\t\tsid-v2-3343cd54-7df0-44c8-a268-9fcca11ce71f\n\t\tX3\n\t\t\n\t\t\tsid-v2-3343cd54-7df0-44c8-a268-9fcca11ce71f-1\n\t\t\tADT0\n\t\t\n\t\n \n \n \n \n \n\t\t\t\tADT0ContactYoda\n\t\t\t\tNTF\n\t\t\t\t\n\t\t\t\t\temailyoda@email.com\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\t1223334444\n\t\t\t\t\n\t\t \n\t\t HAJ\n\t\t DE\n\t\t HAJ\n\t\t 30539 \n\t\t 143 Street\n\t\t \n\t\t\t \n \n \n\t\t\n\t\t\t\tDE\n\t\t\t\tADT0ContactYoda\n\t\t\t\t\n\t\t\t\t\t1986-12-24\n\t\t\t\t\tF\n\t\t\t\t\tYODANAME\n\t\t\t\t\tYODASURNAME\n MR\n\t\t\t\tADT0\n\t\t\t\t\n\t\t\t\tADT\n\t\t\t\tDE\n\t\t\t\n\t \n \n \n\t\t\t\n\t\t\t\t164.99\n\t\t\t\t\n\t \t\t\t\n\t \t\t\t\t1 \n\t \t\t\t\tAGT\n\t \t\t\t\n \t\t\t\n\t\t\t\n\t\t\n \n",
"options": {
"raw": {
"headerFamily": "json",
"language": "xml"
}
}
},
"url": {
"raw": "{{Tui.NDC.BaseUrl}}/x3/ndc/api/Selling/r3.x/v21.3/OrderCreate",
"host": [
"{{Tui.NDC.BaseUrl}}"
],
"path": [
"x3",
"ndc",
"api",
"Selling",
"r3.x",
"v21.3",
"OrderCreate"
]
}
},
"response": []
},
{
"name": "OrderRetrieve OW",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{Newskies.Session.AccessToken}}",
"type": "string"
}
]
},
"method": "POST",
"header": [
{
"key": "Accept",
"value": "application/xml"
},
{
"key": "x-apikey",
"value": "{{Tui.NDC.ApiKey}}",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "\n \n \n 1\n Seller\n \n {{Newskies.Organization}}\n \n \n \n \n 21.3\n \n \n \n \n I3M9TF\n X3\n \n \n \n",
"options": {
"raw": {
"headerFamily": "json",
"language": "xml"
}
}
},
"url": {
"raw": "{{Tui.NDC.BaseUrl}}/x3/ndc/api/Servicing/r3.x/v21.3/OrderRetrieve",
"host": [
"{{Tui.NDC.BaseUrl}}"
],
"path": [
"x3",
"ndc",
"api",
"Servicing",
"r3.x",
"v21.3",
"OrderRetrieve"
]
}
},
"response": []
}
],
"description": "One-way booking, 1 adult. The basic happy path: shop, price, book, retrieve."
},
{
"name": "OW 2 ADT",
"item": [
{
"name": "Auth",
"event": [
{
"listen": "test",
"script": {
"exec": [
"// Cleanup of the session token collection value\r",
"if(pm.collectionVariables.has(\"Newskies.Session.AccessToken\")){\r",
" pm.collectionVariables.unset(\"Newskies.Session.AccessToken\");\r",
"}\r",
"\r",
"pm.test(\"Status code is 200\", function () {\r",
" pm.response.to.have.status(200);\r",
"});\r",
"\r",
"let jsonData = pm.response.json();\r",
"pm.collectionVariables.set(\"Newskies.Session.AccessToken\", jsonData.access_token);\r",
"\r",
""
],
"type": "text/javascript",
"packages": {},
"requests": {}
}
}
],
"protocolProfileBehavior": {
"protocolVersion": "auto",
"disableUrlEncoding": false
},
"request": {
"auth": {
"type": "basic",
"basic": [
{
"key": "password",
"value": "{{Newskies.Agent.Password}}",
"type": "string"
},
{
"key": "username",
"value": "{{Newskies.Agent.Username}}",
"type": "string"
}
]
},
"method": "POST",
"header": [
{
"key": "Accept",
"value": "application/json",
"type": "text"
},
{
"key": "x-apikey",
"value": "{{Tui.NDC.ApiKey}}",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "{\r\n \"grant_type\":\"client_credentials\"\r\n}",
"options": {
"raw": {
"headerFamily": "json",
"language": "json"
}
}
},
"url": {
"raw": "{{Tui.NDC.BaseUrl}}/x3/ndc/api/Selling/r3.x/Auth",
"host": [
"{{Tui.NDC.BaseUrl}}"
],
"path": [
"x3",
"ndc",
"api",
"Selling",
"r3.x",
"Auth"
],
"query": [
{
"key": "loc",
"value": "{{Newskies.Agent.Location}}",
"disabled": true
},
{
"key": "role",
"value": "{{Newskies.Agent.Role}}",
"disabled": false
}
]
}
},
"response": []
},
{
"name": "AirShopping OW",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{Newskies.Session.AccessToken}}",
"type": "string"
}
]
},
"method": "POST",
"header": [
{
"key": "Accept",
"value": "application/xml"
},
{
"key": "x-apikey",
"value": "{{Tui.NDC.ApiKey}}",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "\n\t\n\t\t\n\t\t\t1\n\t\t\tSeller\n\t\t\t\n\t\t\t\t\n\t\t\t\t{{Newskies.Organization}}\n\t\t\t\n\t\t\n\t\n\t\n\t\t21.3\n\t\n\t\n\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t{{Flight.ArrivalAirport}}\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t{{Flight.OutboundDate}}\n\t\t\t\t\t\t{{Flight.DepartureAirport}}\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\n\t\t\n\t\t\n\t\t\t\n\t\t\t\tADT0\n\t\t\t\tADT\n\t\t\t\n\n \n\t\t\t\tADT1\n\t\t\t\tADT\n\t\t\t\n\t\t\t\t\n \n\n\n\n\t\t\n\n\t\n",
"options": {
"raw": {
"headerFamily": "json",
"language": "xml"
}
}
},
"url": {
"raw": "{{Tui.NDC.BaseUrl}}/x3/ndc/api/Shopping/r3.x/v21.3/AirShopping",
"host": [
"{{Tui.NDC.BaseUrl}}"
],
"path": [
"x3",
"ndc",
"api",
"Shopping",
"r3.x",
"v21.3",
"AirShopping"
]
}
},
"response": []
},
{
"name": "OfferPrice OW",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{Newskies.Session.AccessToken}}",
"type": "string"
}
]
},
"method": "POST",
"header": [
{
"key": "Accept",
"value": "application/xml"
},
{
"key": "x-apikey",
"value": "{{Tui.NDC.ApiKey}}",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "\n \n \n 1\n Seller\n \n {{Newskies.Organization}}\n \n \n \n \n 21.3\n \n \n \n \n \n id-v2-8703190b-f337-4867-87f6-201ea2a0acfc-o-2\n X3\n \n\t\t\t\tid-v2-8703190b-f337-4867-87f6-201ea2a0acfc-o-2-1\n\t\t\t\tADT0\n ADT1\n\t\t\t\n\n\n\t\t\n \n \n \n",
"options": {
"raw": {
"headerFamily": "json",
"language": "xml"
}
}
},
"url": {
"raw": "{{Tui.NDC.BaseUrl}}/x3/ndc/api/Selling/r3.x/v21.3/OfferPrice",
"host": [
"{{Tui.NDC.BaseUrl}}"
],
"path": [
"x3",
"ndc",
"api",
"Selling",
"r3.x",
"v21.3",
"OfferPrice"
]
}
},
"response": []
},
{
"name": "OrderCreate OW",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{Newskies.Session.AccessToken}}",
"type": "string"
}
]
},
"method": "POST",
"header": [
{
"key": "Accept",
"value": "application/xml"
},
{
"key": "x-apikey",
"value": "{{Tui.NDC.ApiKey}}",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "\n \n \n 1\n Seller\n \n {{Newskies.Organization}}\n \n \n \n \n 21.3\n \n \n \n \n \n\t\tsid-v2-9a21b514-27b8-446e-a73c-eb96354fee6e\n\t\tX3\n\t\t\n\t\t\tsid-v2-9a21b514-27b8-446e-a73c-eb96354fee6e-1\n\t\t\tADT0\n ADT1\n\t\t\n\t\n \n \n \n \n \n\t\t\t\tADT0ContactYoda\n\t\t\t\tNTF\n\t\t\t\t\n\t\t\t\t\temailyoda@email.com\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\t1223334444\n\t\t\t\t\n\t\t \n\t\t HAJ\n\t\t DE\n\t\t HAJ\n\t\t 30539 \n\t\t 143 Street\n\t\t \n\t\t\t \n \n \n\t\t\n\t\t\t\tDE\n\t\t\t\tADT0ContactYoda\n\t\t\t\t\n\t\t\t\t\t1986-12-24\n\t\t\t\t\tF\n\t\t\t\t\tYODANAME\n\t\t\t\t\tYODASURNAME\n MR\n\t\t\t\tADT0\n\t\t\t\t\n\t\t\t\tADT\n\t\t\t\tDE\n\t\t\t\n\n\n \n\t\t\t\tDE\n\t\t\t\tADT0ContactYoda\n\t\t\t\t\n\t\t\t\t\t1986-11-24\n\t\t\t\t\tF\n\t\t\t\t\tYODANDC\n\t\t\t\t\tYODASURNDC\n MS\n\t\t\t\tADT1\n\t\t\t\t\n\t\t\t\tADT\n\t\t\t\tDE\n\t\t\t\n\n\n\n\t \n \n \n\t\t\t\n\t\t\t\t679.98\n\t\t\t\t\n\t \t\t\t\n\t \t\t\t\t1 \n\t \t\t\t\tAGT\n\t \t\t\t\n \t\t\t\n\t\t\t\n\t\t\n \n",
"options": {
"raw": {
"headerFamily": "json",
"language": "xml"
}
}
},
"url": {
"raw": "{{Tui.NDC.BaseUrl}}/x3/ndc/api/Selling/r3.x/v21.3/OrderCreate",
"host": [
"{{Tui.NDC.BaseUrl}}"
],
"path": [
"x3",
"ndc",
"api",
"Selling",
"r3.x",
"v21.3",
"OrderCreate"
]
}
},
"response": []
}
],
"description": "One-way booking, 2 adults."
},
{
"name": "OW 1 ADT + 1 CHD + 1 INF",
"item": [
{
"name": "Auth",
"event": [
{
"listen": "test",
"script": {
"exec": [
"// Cleanup of the session token collection value\r",
"if(pm.collectionVariables.has(\"Newskies.Session.AccessToken\")){\r",
" pm.collectionVariables.unset(\"Newskies.Session.AccessToken\");\r",
"}\r",
"\r",
"pm.test(\"Status code is 200\", function () {\r",
" pm.response.to.have.status(200);\r",
"});\r",
"\r",
"let jsonData = pm.response.json();\r",
"pm.collectionVariables.set(\"Newskies.Session.AccessToken\", jsonData.access_token);\r",
"\r",
""
],
"type": "text/javascript",
"packages": {},
"requests": {}
}
}
],
"protocolProfileBehavior": {
"protocolVersion": "auto",
"disableUrlEncoding": false
},
"request": {
"auth": {
"type": "basic",
"basic": [
{
"key": "username",
"value": "{{Newskies.Agent.Username}}",
"type": "string"
},
{
"key": "password",
"value": "{{Newskies.Agent.Password}}",
"type": "string"
}
]
},
"method": "POST",
"header": [
{
"key": "Accept",
"value": "application/json",
"type": "text"
},
{
"key": "x-apikey",
"value": "{{Tui.NDC.ApiKey}}",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "{\r\n \"grant_type\":\"client_credentials\"\r\n}",
"options": {
"raw": {
"headerFamily": "json",
"language": "json"
}
}
},
"url": {
"raw": "{{Tui.NDC.BaseUrl}}/x3/ndc/api/Selling/r3.x/Auth",
"host": [
"{{Tui.NDC.BaseUrl}}"
],
"path": [
"x3",
"ndc",
"api",
"Selling",
"r3.x",
"Auth"
],
"query": [
{
"key": "loc",
"value": "{{Newskies.Agent.Location}}",
"disabled": true
},
{
"key": "role",
"value": "{{Newskies.Agent.Role}}",
"disabled": false
}
]
}
},
"response": []
},
{
"name": "AirShopping OW v21.3",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{Newskies.Session.AccessToken}}",
"type": "string"
}
]
},
"method": "POST",
"header": [
{
"key": "Accept",
"value": "application/xml"
},
{
"key": "x-apikey",
"value": "{{Tui.NDC.ApiKey}}",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "\n\t\n\t\t\n\t\t\t1\n\t\t\tSeller\n\t\t\t\n\t\t\t\t{{Newskies.Organization}}\n\t\t\t\n\t\t\n\t\n\t\n\t\t21.3\n\t\n\t\n\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t{{Flight.ArrivalAirport}}\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t{{Flight.OutboundDate}}\n\t\t\t\t\t\t{{Flight.DepartureAirport}}\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\n\t\t\n\t\t\n\t\t\t\n\t\t\t\tADT0\n\t\t\t\tADT\n\t\t\t\n\n\t\t\t\t\n \n\t\t\t\tCHD2\n\t\t\t\tCHD\n\t\t\t\n\n \n\t\t\t\tINF3\n\t\t\t\tINF\n\t\t\t\n\n\n\n\t\t\n\t\n",
"options": {
"raw": {
"headerFamily": "json",
"language": "xml"
}
}
},
"url": {
"raw": "{{Tui.NDC.BaseUrl}}/x3/ndc/api/Shopping/r3.x/v21.3/AirShopping",
"host": [
"{{Tui.NDC.BaseUrl}}"
],
"path": [
"x3",
"ndc",
"api",
"Shopping",
"r3.x",
"v21.3",
"AirShopping"
]
}
},
"response": []
},
{
"name": "OfferPrice OW v21.3",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{Newskies.Session.AccessToken}}",
"type": "string"
}
]
},
"method": "POST",
"header": [
{
"key": "Accept",
"value": "application/xml"
},
{
"key": "x-apikey",
"value": "{{Tui.NDC.ApiKey}}",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "\n \n \n 1\n Seller\n \n {{Newskies.Organization}}\n \n \n \n \n 21.3\n \n \n \n \n \n id-v2-4c7b8402-a6e2-4960-a755-6ed2de51546f-o-3\n X3\n \n\t\t\t\tid-v2-4c7b8402-a6e2-4960-a755-6ed2de51546f-o-3-1\n\t\t\t\tADT0\n \n\t\t\t\n\n\n \n\t\t\t\tid-v2-4c7b8402-a6e2-4960-a755-6ed2de51546f-o-3-2\n\t\t\t\tCHD2\n\t\t\t\n\n \n\t\t\t\tid-v2-4c7b8402-a6e2-4960-a755-6ed2de51546f-o-3-3\n\t\t\t\tINF3\n\t\t\t\n\n\n\t\t\n \n \n \n",
"options": {
"raw": {
"headerFamily": "json",
"language": "xml"
}
}
},
"url": {
"raw": "{{Tui.NDC.BaseUrl}}/x3/ndc/api/Selling/r3.x/v21.3/OfferPrice",
"host": [
"{{Tui.NDC.BaseUrl}}"
],
"path": [
"x3",
"ndc",
"api",
"Selling",
"r3.x",
"v21.3",
"OfferPrice"
]
}
},
"response": []
},
{
"name": "OrderCreate OW v21.3",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{Newskies.Session.AccessToken}}",
"type": "string"
}
]
},
"method": "POST",
"header": [
{
"key": "Accept",
"value": "application/xml"
},
{
"key": "x-apikey",
"value": "{{Tui.NDC.ApiKey}}",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "\n \n \n 1\n Seller\n \n {{Newskies.Organization}}\n \n \n \n \n 21.3\n \n \n \n \n \n\t\tsid-v2-fbf388e5-8411-40a3-ba09-0f22019e2a89\n\t\tX3\n\t\t\n\t\t\tsid-v2-fbf388e5-8411-40a3-ba09-0f22019e2a89-1\n\t\t\tADT0\n\t\t\n\n\n\t\t\tsid-v2-fbf388e5-8411-40a3-ba09-0f22019e2a89-2\n\t\t\tCHD2\n\t\t\n\n \n\t\t\tsid-v2-fbf388e5-8411-40a3-ba09-0f22019e2a89-3\n\t\t\tINF3\n\t\t\n\n\t\n \n \n \n \n \n\t\t\t\tADT0ContactYoda\n\t\t\t\tNTF\n\t\t\t\t\n\t\t\t\t\temailyoda@email.com\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\t1223334444\n\t\t\t\t\n\t\t \n\t\t HAJ\n\t\t DE\n\t\t HAJ\n\t\t 30539 \n\t\t 143 Street\n\t\t \n\t\t\t \n \n \n\t\t\n\t\t\t\tDE\n\t\t\t\tADT0ContactYoda\n\t\t\t\t\n\t\t\t\t\t1986-12-24\n\t\t\t\t\tF\n\t\t\t\t\tYODANAME\n\t\t\t\t\tYODASURNAME\n MR\n\t\t\t\tADT0\n\t\t\t\tADT\n\t\t\t\tDE\n\t\t\t\n\n\n \n\t\t\t\tDE\n\t\t\t\tCHD2ContactYoda\n\t\t\t\t\n\t\t\t\t\t2020-11-24\n\t\t\t\t\tF\n\t\t\t\t\tYODACHD\n\t\t\t\t\tYODASURCHD\n MS\n\t\t\t\tCHD2\n\t\t\t\tCHD\n\t\t\t\tDE\n\t\t\t\n\n\n\n \n\t\t\t\tDE\n\t\t\t\tINF3ContactYoda\n\t\t\t\t\n\t\t\t\t\t2024-11-24\n\t\t\t\t\tF\n\t\t\t\t\tYODAINF\n\t\t\t\t\tYODASURINF\n MS\n\t\t\t\tINF3\n\t\t\t\tINF\n\t\t\t\tDE\n ADT0 \n\t\t\t\n\n\n\t \n \n \n\t\t\t\n\t\t\t\t369.98\n\t\t\t\t\n\t \t\t\t\n\t \t\t\t\t1 \n\t \t\t\t\tAGT\n\t \t\t\t\n \t\t\t\n\t\t\t\n\t\t\n \n",
"options": {
"raw": {
"headerFamily": "json",
"language": "xml"
}
}
},
"url": {
"raw": "{{Tui.NDC.BaseUrl}}/x3/ndc/api/Selling/r3.x/v21.3/OrderCreate",
"host": [
"{{Tui.NDC.BaseUrl}}"
],
"path": [
"x3",
"ndc",
"api",
"Selling",
"r3.x",
"v21.3",
"OrderCreate"
]
}
},
"response": []
}
],
"description": "One-way booking with mixed passenger types: 1 adult, 1 child, 1 infant."
},
{
"name": "RT",
"item": [
{
"name": "Auth",
"event": [
{
"listen": "test",
"script": {
"exec": [
"// Cleanup of the session token collection value\r",
"if(pm.collectionVariables.has(\"Newskies.Session.AccessToken\")){\r",
" pm.collectionVariables.unset(\"Newskies.Session.AccessToken\");\r",
"}\r",
"\r",
"pm.test(\"Status code is 200\", function () {\r",
" pm.response.to.have.status(200);\r",
"});\r",
"\r",
"let jsonData = pm.response.json();\r",
"pm.collectionVariables.set(\"Newskies.Session.AccessToken\", jsonData.access_token);\r",
"\r",
""
],
"type": "text/javascript",
"packages": {},
"requests": {}
}
}
],
"protocolProfileBehavior": {
"protocolVersion": "auto",
"disableUrlEncoding": false
},
"request": {
"auth": {
"type": "basic",
"basic": [
{
"key": "password",
"value": "{{Newskies.Agent.Password}}",
"type": "string"
},
{
"key": "username",
"value": "{{Newskies.Agent.Username}}",
"type": "string"
}
]
},
"method": "POST",
"header": [
{
"key": "Accept",
"value": "application/json",
"type": "text"
},
{
"key": "x-apikey",
"value": "{{Tui.NDC.ApiKey}}",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "{\r\n \"grant_type\":\"client_credentials\"\r\n}",
"options": {
"raw": {
"headerFamily": "json",
"language": "json"
}
}
},
"url": {
"raw": "{{Tui.NDC.BaseUrl}}/x3/ndc/api/Selling/r3.x/Auth",
"host": [
"{{Tui.NDC.BaseUrl}}"
],
"path": [
"x3",
"ndc",
"api",
"Selling",
"r3.x",
"Auth"
],
"query": [
{
"key": "loc",
"value": "{{Newskies.Agent.Location}}",
"disabled": true
},
{
"key": "role",
"value": "{{Newskies.Agent.Role}}",
"disabled": false
}
]
}
},
"response": []
},
{
"name": "AirShopping RT v21.3",
"event": [
{
"listen": "test",
"script": {
"exec": [
"\r",
"const response = pm.response.json();\r",
"pm.environment.set(\"offerId\", response.offers[0].offerId); // Asegúrate de ajustar la ruta según tu respuesta\r",
"\r",
""
],
"type": "text/javascript",
"packages": {},
"requests": {}
}
}
],
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{Newskies.Session.AccessToken}}",
"type": "string"
}
]
},
"method": "POST",
"header": [
{
"key": "Accept",
"value": "application/xml"
},
{
"key": "x-apikey",
"value": "{{Tui.NDC.ApiKey}}",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "\n\t\n\t\t\n\t\t\t1\n\t\t\tSeller\n\t\t\t\n\t\t\t\t{{Newskies.Organization}}\n\t\t\t\n\t\t\n\t\n\t\n\t\t21.3\n\t\n\t\n\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t{{Flight.ArrivalAirport}}\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t{{Flight.OutboundDate}}\n\t\t\t\t\t\t{{Flight.DepartureAirport}}\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t{{Flight.DepartureAirport}}\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t{{Flight.InboundDate}}\n\t\t\t\t\t\t{{Flight.ArrivalAirport}}\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t\n\t\t\n\t\t\n\t\t\t\n\t\t\t\tADT0\n\t\t\t\tADT\n\t\t\t\n\t\t\n\n\t\n",
"options": {
"raw": {
"headerFamily": "json",
"language": "xml"
}
}
},
"url": {
"raw": "{{Tui.NDC.BaseUrl}}/x3/ndc/api/Shopping/r3.x/v21.3/AirShopping",
"host": [
"{{Tui.NDC.BaseUrl}}"
],
"path": [
"x3",
"ndc",
"api",
"Shopping",
"r3.x",
"v21.3",
"AirShopping"
]
}
},
"response": []
},
{
"name": "OfferPrice RT v21.3",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{Newskies.Session.AccessToken}}",
"type": "string"
}
]
},
"method": "POST",
"header": [
{
"key": "Accept",
"value": "application/xml"
},
{
"key": "x-apikey",
"value": "{{Tui.NDC.ApiKey}}",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "\n \n \n 1\n Seller\n \n {{Newskies.Organization}}\n \n \n \n \n 21.3\n \n \n \n \n \n \n id-v2-85d8112b-5ade-4da4-8ae7-ab632154bc33-o-1\n X3\n \n\t\t\t\tid-v2-85d8112b-5ade-4da4-8ae7-ab632154bc33-o-1-1\n\t\t\t\tADT0\n\t\t\t\n\t\t\n\n \n id-v2-85d8112b-5ade-4da4-8ae7-ab632154bc33-o-4\n X3\n \n\t\t\t\tid-v2-85d8112b-5ade-4da4-8ae7-ab632154bc33-o-4-1\n\t\t\t\tADT0\n\t\t\t\n\t\t\n\n\n\n \n \n \n",
"options": {
"raw": {
"headerFamily": "json",
"language": "xml"
}
}
},
"url": {
"raw": "{{Tui.NDC.BaseUrl}}/x3/ndc/api/Selling/r3.x/v21.3/OfferPrice",
"host": [
"{{Tui.NDC.BaseUrl}}"
],
"path": [
"x3",
"ndc",
"api",
"Selling",
"r3.x",
"v21.3",
"OfferPrice"
]
}
},
"response": []
},
{
"name": "OrderCreate RT v21.3",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{Newskies.Session.AccessToken}}",
"type": "string"
}
]
},
"method": "POST",
"header": [
{
"key": "Accept",
"value": "application/xml"
},
{
"key": "x-apikey",
"value": "{{Tui.NDC.ApiKey}}",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "\n \n \n 1\n Seller\n \n {{Newskies.Organization}}\n \n \n \n \n 21.3\n \n \n \n \n \n\t\tsid-v2-9504890e-c30c-4643-89d4-3e5869520623\n\t\tX3\n\t\t\n\t\t\tsid-v2-9504890e-c30c-4643-89d4-3e5869520623-1\n\t\t\tADT0\n \n \n\n \n\t\t\tsid-v2-9504890e-c30c-4643-89d4-3e5869520623-2\n\t\t\tADT0\n \n \n \n\n\n\t\n\n\n\n \n \n \n \n \n\t\t\t\tADT0ContactYoda\n\t\t\t\tNTF\n\t\t\t\t\n\t\t\t\t\temailyoda@email.com\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\t1223334444\n\t\t\t\t\n\t\t \n\t\t HAJ\n\t\t DE\n\t\t HAJ\n\t\t 30539 \n\t\t 143 Street\n\t\t \n\t\t\t \n \n \n\t\t\n\t\t\t\tDE\n\t\t\t\tADT0ContactYoda\n\t\t\t\t\n\t\t\t\t\t1986-12-24\n\t\t\t\t\tF\n\t\t\t\t\tYODANAME\n\t\t\t\t\tYODASURNAME\n MR\n\t\t\t\tADT0\n\t\t\t\t\n\t\t\t\tADT\n\t\t\t\tDE\n\t\t\t\n\t \n \n \n\t\t\t\n\t\t\t\t509.98\n\t\t\t\t\n\t \t\t\t\n\t \t\t\t\t1 \n\t \t\t\t\tAGT\n\t \t\t\t\n \t\t\t\n\t\t\t\n\t\t\n \n",
"options": {
"raw": {
"headerFamily": "json",
"language": "xml"
}
}
},
"url": {
"raw": "{{Tui.NDC.BaseUrl}}/x3/ndc/api/Selling/r3.x/v21.3/OrderCreate",
"host": [
"{{Tui.NDC.BaseUrl}}"
],
"path": [
"x3",
"ndc",
"api",
"Selling",
"r3.x",
"v21.3",
"OrderCreate"
]
}
},
"response": []
},
{
"name": "OrderRetrieve RT",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{Newskies.Session.AccessToken}}",
"type": "string"
}
]
},
"method": "POST",
"header": [
{
"key": "Accept",
"value": "application/xml"
},
{
"key": "x-apikey",
"value": "{{Tui.NDC.ApiKey}}",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "\n \n \n 1\n Seller\n \n {{Newskies.Organization}}\n \n \n \n \n 21.3\n \n \n \n \n J7BKWJ\n X3\n \n \n \n",
"options": {
"raw": {
"headerFamily": "json",
"language": "xml"
}
}
},
"url": {
"raw": "{{Tui.NDC.BaseUrl}}/x3/ndc/api/Servicing/r3.x/v21.3/OrderRetrieve",
"host": [
"{{Tui.NDC.BaseUrl}}"
],
"path": [
"x3",
"ndc",
"api",
"Servicing",
"r3.x",
"v21.3",
"OrderRetrieve"
]
}
},
"response": []
}
],
"description": "Round-trip booking, 1 adult."
},
{
"name": "RT 2 ADT + 1 CHD + 1 INF",
"item": [
{
"name": "Auth",
"event": [
{
"listen": "test",
"script": {
"exec": [
"// Cleanup of the session token collection value\r",
"if(pm.collectionVariables.has(\"Newskies.Session.AccessToken\")){\r",
" pm.collectionVariables.unset(\"Newskies.Session.AccessToken\");\r",
"}\r",
"\r",
"pm.test(\"Status code is 200\", function () {\r",
" pm.response.to.have.status(200);\r",
"});\r",
"\r",
"let jsonData = pm.response.json();\r",
"pm.collectionVariables.set(\"Newskies.Session.AccessToken\", jsonData.access_token);\r",
"\r",
""
],
"type": "text/javascript",
"packages": {},
"requests": {}
}
}
],
"protocolProfileBehavior": {
"protocolVersion": "auto",
"disableUrlEncoding": false
},
"request": {
"auth": {
"type": "basic",
"basic": [
{
"key": "password",
"value": "{{Newskies.Agent.Password}}",
"type": "string"
},
{
"key": "username",
"value": "{{Newskies.Agent.Username}}",
"type": "string"
}
]
},
"method": "POST",
"header": [
{
"key": "Accept",
"value": "application/json",
"type": "text"
},
{
"key": "x-apikey",
"value": "{{Tui.NDC.ApiKey}}",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "{\r\n \"grant_type\":\"client_credentials\"\r\n}",
"options": {
"raw": {
"headerFamily": "json",
"language": "json"
}
}
},
"url": {
"raw": "{{Tui.NDC.BaseUrl}}/x3/ndc/api/Selling/r3.x/Auth",
"host": [
"{{Tui.NDC.BaseUrl}}"
],
"path": [
"x3",
"ndc",
"api",
"Selling",
"r3.x",
"Auth"
],
"query": [
{
"key": "loc",
"value": "{{Newskies.Agent.Location}}",
"disabled": true
},
{
"key": "role",
"value": "{{Newskies.Agent.Role}}",
"disabled": false
}
]
}
},
"response": []
},
{
"name": "AirShopping RT v21.3",
"event": [
{
"listen": "test",
"script": {
"exec": [
"\r",
"const response = pm.response.json();\r",
"pm.environment.set(\"offerId\", response.offers[0].offerId); // Asegúrate de ajustar la ruta según tu respuesta\r",
"\r",
""
],
"type": "text/javascript",
"packages": {},
"requests": {}
}
}
],
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{Newskies.Session.AccessToken}}",
"type": "string"
}
]
},
"method": "POST",
"header": [
{
"key": "Accept",
"value": "application/xml"
},
{
"key": "x-apikey",
"value": "{{Tui.NDC.ApiKey}}",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "\n\t\n\t\t\n\t\t\t1\n\t\t\tSeller\n\t\t\t\n\t\t\t\t\n\t\t\t\t{{Newskies.Organization}}\n\t\t\t\n\t\t\n\t\n\t\n\t\t21.3\n\t\n\t\n\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t{{Flight.ArrivalAirport}}\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t{{Flight.OutboundDate}}\n\t\t\t\t\t\t{{Flight.DepartureAirport}}\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t{{Flight.DepartureAirport}}\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t{{Flight.InboundDate}}\n\t\t\t\t\t\t{{Flight.ArrivalAirport}}\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t\n\t\t\n\t\n\t\t\t\n\t\t\t\tADT0\n\t\t\t\tADT\n\t\t\t\n\n \t\n\t\t\t\tADT1\n\t\t\t\tADT\n\t\t\t\n\n \n\t\t\t\t\n \n\t\t\t\tCHD2\n\t\t\t\tCHD\n\t\t\t\n\n \n\t\t\t\tINF3\n\t\t\t\tINF\n\t\t\t\n\n\n\n\t\t\n\n\t\n",
"options": {
"raw": {
"headerFamily": "json",
"language": "xml"
}
}
},
"url": {
"raw": "{{Tui.NDC.BaseUrl}}/x3/ndc/api/Shopping/r3.x/v21.3/AirShopping",
"host": [
"{{Tui.NDC.BaseUrl}}"
],
"path": [
"x3",
"ndc",
"api",
"Shopping",
"r3.x",
"v21.3",
"AirShopping"
]
}
},
"response": []
},
{
"name": "OfferPrice RT v21.3",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{Newskies.Session.AccessToken}}",
"type": "string"
}
]
},
"method": "POST",
"header": [
{
"key": "Accept",
"value": "application/xml"
},
{
"key": "x-apikey",
"value": "{{Tui.NDC.ApiKey}}",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "\n \n \n 1\n Seller\n \n {{Newskies.Organization}}\n \n \n \n \n 21.3\n \n \n \n \n \n \n id-v2-fce98fb4-d5cd-48bd-aa05-4c1a3cd0e9d7-o-1\n X3\n \n \n\t\t\t\tid-v2-fce98fb4-d5cd-48bd-aa05-4c1a3cd0e9d7-o-1-1\n\t\t\t\tADT0\n ADT1\n\t\t\t\n\n \n\n \n\t\t\t\tid-v2-fce98fb4-d5cd-48bd-aa05-4c1a3cd0e9d7-o-1-2\n\t\t\t\tCHD2\n\t\t\t\n\n\n \n\t\t\t\tid-v2-fce98fb4-d5cd-48bd-aa05-4c1a3cd0e9d7-o-1-3\n\t\t\t\tINF3\n\t\t\t\n\n\n\t\t\n\n\n\n\n\n \n id-v2-fce98fb4-d5cd-48bd-aa05-4c1a3cd0e9d7-o-4\n X3\n \n \n\t\t\t\tid-v2-fce98fb4-d5cd-48bd-aa05-4c1a3cd0e9d7-o-4-1\n\t\t\t\tADT0\n ADT1\n\t\t\t\n\n \n\n \n\t\t\t\tid-v2-fce98fb4-d5cd-48bd-aa05-4c1a3cd0e9d7-o-4-2\n\t\t\t\tCHD2\n\t\t\t\n\n\n \n\t\t\t\tid-v2-fce98fb4-d5cd-48bd-aa05-4c1a3cd0e9d7-o-4-3\n\t\t\t\tINF3\n\t\t\t\n\n\n\t\t\n\n\n\n \n \n \n",
"options": {
"raw": {
"headerFamily": "json",
"language": "xml"
}
}
},
"url": {
"raw": "{{Tui.NDC.BaseUrl}}/x3/ndc/api/Selling/r3.x/v21.3/OfferPrice",
"host": [
"{{Tui.NDC.BaseUrl}}"
],
"path": [
"x3",
"ndc",
"api",
"Selling",
"r3.x",
"v21.3",
"OfferPrice"
]
}
},
"response": []
},
{
"name": "OrderCreate RT v21.3",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{Newskies.Session.AccessToken}}",
"type": "string"
}
]
},
"method": "POST",
"header": [
{
"key": "Accept",
"value": "application/xml"
},
{
"key": "x-apikey",
"value": "{{Tui.NDC.ApiKey}}",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "\n \n \n 1\n Seller\n \n {{Newskies.Organization}}\n \n \n \n \n 21.3\n \n \n \n \n \n \n\t\tsid-v2-e973d106-2343-47a3-bb91-3b4c7724d35a\n\t\tX3\n\t\t\n\t\t\tsid-v2-e973d106-2343-47a3-bb91-3b4c7724d35a-1\n\t\t\tADT0\n ADT1\n \n\n \t\n\t\t\tsid-v2-e973d106-2343-47a3-bb91-3b4c7724d35a-2\n\t\t\tCHD2\n \n\n \n\t\t\tsid-v2-e973d106-2343-47a3-bb91-3b4c7724d35a-3\n\t\t\tINF3\n \n \n\n\n \n\t\t\tsid-v2-e973d106-2343-47a3-bb91-3b4c7724d35a-4\n\t\t\tADT0\n ADT1\n \n\n \n\t\t\tsid-v2-e973d106-2343-47a3-bb91-3b4c7724d35a-5\n\t\t\tCHD2\n \n\n \n\t\t\tsid-v2-e973d106-2343-47a3-bb91-3b4c7724d35a-6\n\t\t\tINF3\n \n \n \n\n\n\t\n\n\n\n \n \n \n \n \n\t\t\t\tADT0ContactYoda\n\t\t\t\tNTF\n\t\t\t\t\n\t\t\t\t\temailyoda@email.com\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\t1223334444\n\t\t\t\t\n\t\t \n\t\t HAJ\n\t\t DE\n\t\t HAJ\n\t\t 30539 \n\t\t 143 Street\n\t\t \n\t\t\t \n \n \n\t\t\n\t\t\t\tDE\n\t\t\t\tADT0ContactYoda\n\t\t\t\t\n\t\t\t\t\t1986-12-24\n\t\t\t\t\tF\n\t\t\t\t\tYODANAME\n\t\t\t\t\tYODASURNAME\n MR\n\t\t\t\tADT0\n\t\t\t\tADT\n\t\t\t\tDE\n\t\t\t\n\n\n \t\n\t\t\t\tDE\n\t\t\t\tADT1ContactYoda\n\t\t\t\t\n\t\t\t\t\t1986-12-24\n\t\t\t\t\tF\n\t\t\t\t\tYODANAMEONE\n\t\t\t\t\tYODASURNAMEONE\n MR\n\t\t\t\tADT1\n\t\t\t\tADT\n\t\t\t\tDE\n\t\t\t\n\n\n\n \n\t\t\t\tDE\n\t\t\t\tCHD2ContactYoda\n\t\t\t\t\n\t\t\t\t\t2020-11-24\n\t\t\t\t\tF\n\t\t\t\t\tYODACHD\n\t\t\t\t\tYODASURCHD\n MS\n\t\t\t\tCHD2\n\t\t\t\tCHD\n\t\t\t\tDE\n\t\t\t\n\n\n\n \n\t\t\t\tDE\n\t\t\t\tINF3ContactYoda\n\t\t\t\t\n\t\t\t\t\t2024-11-24\n\t\t\t\t\tF\n\t\t\t\t\tYODAINF\n\t\t\t\t\tYODASURINF\n MS\n\t\t\t\tINF3\n\t\t\t\tINF\n\t\t\t\tDE\n ADT0 \n\t\t\t\n\n\n\n\n\t \n \n \n\t\t\t\n\t\t\t\t830.44\n\t\t\t\t\n\t \t\t\t\n\t \t\t\t\t1 \n\t \t\t\t\tAGT\n\t \t\t\t\n \t\t\t\n\t\t\t\n\t\t\n \n",
"options": {
"raw": {
"headerFamily": "json",
"language": "xml"
}
}
},
"url": {
"raw": "{{Tui.NDC.BaseUrl}}/x3/ndc/api/Selling/r3.x/v21.3/OrderCreate",
"host": [
"{{Tui.NDC.BaseUrl}}"
],
"path": [
"x3",
"ndc",
"api",
"Selling",
"r3.x",
"v21.3",
"OrderCreate"
]
}
},
"response": []
},
{
"name": "OrderRetrieve RT",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{Newskies.Session.AccessToken}}",
"type": "string"
}
]
},
"method": "POST",
"header": [
{
"key": "Accept",
"value": "application/xml"
},
{
"key": "x-apikey",
"value": "{{Tui.NDC.ApiKey}}",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "\n \n \n 1\n Seller\n \n {{Newskies.Organization}}\n \n \n \n \n 21.3\n \n \n \n \n J7BKWJ\n X3\n \n \n \n",
"options": {
"raw": {
"headerFamily": "json",
"language": "xml"
}
}
},
"url": {
"raw": "{{Tui.NDC.BaseUrl}}/x3/ndc/api/Servicing/r3.x/v21.3/OrderRetrieve",
"host": [
"{{Tui.NDC.BaseUrl}}"
],
"path": [
"x3",
"ndc",
"api",
"Servicing",
"r3.x",
"v21.3",
"OrderRetrieve"
]
}
},
"response": []
}
],
"description": "Round-trip booking with mixed passenger types: 2 adults, 1 child, 1 infant."
},
{
"name": "Order Retrieve",
"item": [
{
"name": "Auth",
"event": [
{
"listen": "test",
"script": {
"exec": [
"// Cleanup of the session token collection value\r",
"if(pm.collectionVariables.has(\"Newskies.Session.AccessToken\")){\r",
" pm.collectionVariables.unset(\"Newskies.Session.AccessToken\");\r",
"}\r",
"\r",
"pm.test(\"Status code is 200\", function () {\r",
" pm.response.to.have.status(200);\r",
"});\r",
"\r",
"let jsonData = pm.response.json();\r",
"pm.collectionVariables.set(\"Newskies.Session.AccessToken\", jsonData.access_token);\r",
"\r",
""
],
"type": "text/javascript",
"packages": {},
"requests": {}
}
}
],
"protocolProfileBehavior": {
"protocolVersion": "auto",
"disableUrlEncoding": false
},
"request": {
"auth": {
"type": "basic",
"basic": [
{
"key": "password",
"value": "{{Newskies.Agent.Password}}",
"type": "string"
},
{
"key": "username",
"value": "{{Newskies.Agent.Username}}",
"type": "string"
}
]
},
"method": "POST",
"header": [
{
"key": "Accept",
"value": "application/json",
"type": "text"
},
{
"key": "x-apikey",
"value": "{{Tui.NDC.ApiKey}}",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "{\r\n \"grant_type\":\"client_credentials\"\r\n}",
"options": {
"raw": {
"headerFamily": "json",
"language": "json"
}
}
},
"url": {
"raw": "{{Tui.NDC.BaseUrl}}/x3/ndc/api/Selling/r3.x/Auth",
"host": [
"{{Tui.NDC.BaseUrl}}"
],
"path": [
"x3",
"ndc",
"api",
"Selling",
"r3.x",
"Auth"
],
"query": [
{
"key": "loc",
"value": "{{Newskies.Agent.Location}}",
"disabled": true
},
{
"key": "role",
"value": "{{Newskies.Agent.Role}}",
"disabled": false
}
]
}
},
"response": []
},
{
"name": "OrderRetrieve OW",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{Newskies.Session.AccessToken}}",
"type": "string"
}
]
},
"method": "POST",
"header": [
{
"key": "Accept",
"value": "application/xml"
},
{
"key": "x-apikey",
"value": "{{Tui.NDC.ApiKey}}",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "\n \n \n 1\n Seller\n \n {{Newskies.Organization}}\n \n \n \n \n 21.3\n \n \n \n \n \n X3\n \n \n \n",
"options": {
"raw": {
"headerFamily": "json",
"language": "xml"
}
}
},
"url": {
"raw": "{{Tui.NDC.BaseUrl}}/x3/ndc/api/Servicing/r3.x/v21.3/OrderRetrieve",
"host": [
"{{Tui.NDC.BaseUrl}}"
],
"path": [
"x3",
"ndc",
"api",
"Servicing",
"r3.x",
"v21.3",
"OrderRetrieve"
]
}
},
"response": []
}
],
"description": "Retrieve an existing booking by order ID."
},
{
"name": "OW OrderCreate & Change-full cancel",
"item": [
{
"name": "Auth",
"event": [
{
"listen": "test",
"script": {
"exec": [
"// Cleanup of the session token collection value\r",
"if(pm.collectionVariables.has(\"Newskies.Session.AccessToken\")){\r",
" pm.collectionVariables.unset(\"Newskies.Session.AccessToken\");\r",
"}\r",
"\r",
"pm.test(\"Status code is 200\", function () {\r",
" pm.response.to.have.status(200);\r",
"});\r",
"\r",
"let jsonData = pm.response.json();\r",
"pm.collectionVariables.set(\"Newskies.Session.AccessToken\", jsonData.access_token);\r",
"\r",
""
],
"type": "text/javascript",
"packages": {},
"requests": {}
}
}
],
"protocolProfileBehavior": {
"protocolVersion": "auto",
"disableUrlEncoding": false
},
"request": {
"auth": {
"type": "basic",
"basic": [
{
"key": "password",
"value": "{{Newskies.Agent.Password}}",
"type": "string"
},
{
"key": "username",
"value": "{{Newskies.Agent.Username}}",
"type": "string"
}
]
},
"method": "POST",
"header": [
{
"key": "Accept",
"value": "application/json",
"type": "text"
},
{
"key": "x-apikey",
"value": "{{Tui.NDC.ApiKey}}",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "{\r\n \"grant_type\":\"client_credentials\"\r\n}",
"options": {
"raw": {
"headerFamily": "json",
"language": "json"
}
}
},
"url": {
"raw": "{{Tui.NDC.BaseUrl}}/x3/ndc/api/Selling/r3.x/Auth",
"host": [
"{{Tui.NDC.BaseUrl}}"
],
"path": [
"x3",
"ndc",
"api",
"Selling",
"r3.x",
"Auth"
],
"query": [
{
"key": "loc",
"value": "{{Newskies.Agent.Location}}",
"disabled": true
},
{
"key": "role",
"value": "{{Newskies.Agent.Role}}",
"disabled": false
}
]
}
},
"response": []
},
{
"name": "AirShopping OW v21.3",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{Newskies.Session.AccessToken}}",
"type": "string"
}
]
},
"method": "POST",
"header": [
{
"key": "Accept",
"value": "application/xml"
},
{
"key": "x-apikey",
"value": "{{Tui.NDC.ApiKey}}",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "\n\t\n\t\t\n\t\t\t1\n\t\t\tSeller\n\t\t\t\n\t\t\t\t\n\t\t\t\t{{Newskies.Organization}}\n\t\t\t\n\t\t\n\t\n\t\n\t\t21.3\n\t\n\t\n\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t{{Flight.ArrivalAirport}}\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t{{Flight.OutboundDate}}\n\t\t\t\t\t\t{{Flight.DepartureAirport}}\n\t\t\t\t\t\n\t\t\t\t\n \n\t\t\t\n\t\t\n\t\t\n\t\t\t\n\t\t\t\tADT0\n\t\t\t\tADT\n\t\t\t\n\t\t\n\n\t\n",
"options": {
"raw": {
"headerFamily": "json",
"language": "xml"
}
}
},
"url": {
"raw": "{{Tui.NDC.BaseUrl}}/x3/ndc/api/Shopping/r3.x/v21.3/AirShopping",
"host": [
"{{Tui.NDC.BaseUrl}}"
],
"path": [
"x3",
"ndc",
"api",
"Shopping",
"r3.x",
"v21.3",
"AirShopping"
]
}
},
"response": []
},
{
"name": "OfferPrice OW v21.3",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{Newskies.Session.AccessToken}}",
"type": "string"
}
]
},
"method": "POST",
"header": [
{
"key": "Accept",
"value": "application/xml"
},
{
"key": "x-apikey",
"value": "{{Tui.NDC.ApiKey}}",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "\n \n \n 1\n Seller\n \n {{Newskies.Organization}}\n \n \n \n \n 21.3\n \n \n \n \n \n id-v2-d854aeeb-9b01-41b8-af83-8298fe32b184-o-1\n X3\n \n\t\t\t\tid-v2-d854aeeb-9b01-41b8-af83-8298fe32b184-o-1-1\n\t\t\t\tADT0\n\t\t\t\n\t\t\n \n \n \n",
"options": {
"raw": {
"headerFamily": "json",
"language": "xml"
}
}
},
"url": {
"raw": "{{Tui.NDC.BaseUrl}}/x3/ndc/api/Selling/r3.x/v21.3/OfferPrice",
"host": [
"{{Tui.NDC.BaseUrl}}"
],
"path": [
"x3",
"ndc",
"api",
"Selling",
"r3.x",
"v21.3",
"OfferPrice"
]
}
},
"response": []
},
{
"name": "OrderCreate OW v21.3",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{Newskies.Session.AccessToken}}",
"type": "string"
}
]
},
"method": "POST",
"header": [
{
"key": "Accept",
"value": "application/xml"
},
{
"key": "x-apikey",
"value": "{{Tui.NDC.ApiKey}}",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "\n \n \n 1\n Seller\n \n {{Newskies.Organization}}\n \n \n \n \n 21.3\n \n \n \n \n \n\t\tsid-v2-32f34519-2d12-4c03-a1b9-a38f0c1ef935\n\t\tX3\n\t\t\n\t\t\tsid-v2-32f34519-2d12-4c03-a1b9-a38f0c1ef935-1\n\t\t\tADT0\n\t\t\n\t\n \n \n \n \n \n\t\t\t\tADT0ContactYoda\n\t\t\t\tNTF\n\t\t\t\t\n\t\t\t\t\temailyoda@email.com\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\t1223334444\n\t\t\t\t\n\t\t \n\t\t HAJ\n\t\t DE\n\t\t HAJ\n\t\t 30539 \n\t\t 143 Street\n\t\t \n\t\t\t \n \n \n\t\t\n\t\t\t\tDE\n\t\t\t\tADT0ContactYoda\n\t\t\t\t\n\t\t\t\t\t1986-12-24\n\t\t\t\t\tF\n\t\t\t\t\tYODANAME\n\t\t\t\t\tYODASURNAME\n MR\n\t\t\t\tADT0\n\t\t\t\t\n\t\t\t\tADT\n\t\t\t\tDE\n\t\t\t\n\t \n \n \n\t\t\t\n\t\t\t\t117.49\n\t\t\t\t\n\t \t\t\t\n\t \t\t\t\t1 \n\t \t\t\t\tAGT\n\t \t\t\t\n \t\t\t\n\t\t\t\n\t\t\n \n",
"options": {
"raw": {
"headerFamily": "json",
"language": "xml"
}
}
},
"url": {
"raw": "{{Tui.NDC.BaseUrl}}/x3/ndc/api/Selling/r3.x/v21.3/OrderCreate",
"host": [
"{{Tui.NDC.BaseUrl}}"
],
"path": [
"x3",
"ndc",
"api",
"Selling",
"r3.x",
"v21.3",
"OrderCreate"
]
}
},
"response": []
},
{
"name": "OrderRetrieve OW v21.3",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{Newskies.Session.AccessToken}}",
"type": "string"
}
]
},
"method": "POST",
"header": [
{
"key": "Accept",
"value": "application/xml"
},
{
"key": "x-apikey",
"value": "{{Tui.NDC.ApiKey}}",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "\n \n \n 1\n Seller\n \n X3\n \n \n \n \n 21.3\n \n \n \n \n T1HC7L\n X3\n \n \n \n",
"options": {
"raw": {
"headerFamily": "json",
"language": "xml"
}
}
},
"url": {
"raw": "{{Tui.NDC.BaseUrl}}/x3/ndc/api/Servicing/r3.x/v21.3/OrderRetrieve",
"host": [
"{{Tui.NDC.BaseUrl}}"
],
"path": [
"x3",
"ndc",
"api",
"Servicing",
"r3.x",
"v21.3",
"OrderRetrieve"
]
}
},
"response": []
},
{
"name": "OrderReshop OW v21.3",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{Newskies.Session.AccessToken}}",
"type": "string"
}
]
},
"method": "POST",
"header": [
{
"key": "Accept",
"value": "application/xml"
},
{
"key": "x-apikey",
"value": "{{Tui.NDC.ApiKey}}",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "\n \n \n 1\n Seller\n \n X3\n \n \n \n \n 21.3\n \n \n T1HC7L\n \n \n T1HC7L\n \n \n \n",
"options": {
"raw": {
"headerFamily": "json",
"language": "xml"
}
}
},
"url": {
"raw": "{{Tui.NDC.BaseUrl}}/x3/ndc/api/Servicing/r3.x/v21.3/OrderReshop",
"host": [
"{{Tui.NDC.BaseUrl}}"
],
"path": [
"x3",
"ndc",
"api",
"Servicing",
"r3.x",
"v21.3",
"OrderReshop"
]
}
},
"response": []
},
{
"name": "OrderChange cancel booking OW",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{Newskies.Session.AccessToken}}",
"type": "string"
}
]
},
"method": "POST",
"header": [
{
"key": "Accept",
"value": "application/xml"
},
{
"key": "x-apikey",
"value": "{{Tui.NDC.ApiKey}}",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "\n\t\n\t\t\n\t\t\t1\n\t\t\tSeller\n\t\t\t\n \t\t\tX3\n\t\t\t\n\t\t\n\t\n\t\n\t\t21.3\n\t\n\t\n\t\t\n\t\t\t\n\t\t\t\tid-VDFIQzdM-o-1\n\t \t\tX3\n\t\t\t\n\t\t\n\t\t\n\t T1HC7L\n\t X3\n\t\t\n\n\t\n\t\n",
"options": {
"raw": {
"headerFamily": "json",
"language": "xml"
}
}
},
"url": {
"raw": "{{Tui.NDC.BaseUrl}}/x3/ndc/api/Servicing/r3.x/v21.3/OrderChange",
"host": [
"{{Tui.NDC.BaseUrl}}"
],
"path": [
"x3",
"ndc",
"api",
"Servicing",
"r3.x",
"v21.3",
"OrderChange"
]
}
},
"response": []
}
],
"description": "Full booking lifecycle: shop, book, retrieve, reshop, then cancel the order."
},
{
"name": "RT OrderCreate & Change-full cancel",
"item": [
{
"name": "Auth",
"event": [
{
"listen": "test",
"script": {
"exec": [
"// Cleanup of the session token collection value\r",
"if(pm.collectionVariables.has(\"Newskies.Session.AccessToken\")){\r",
" pm.collectionVariables.unset(\"Newskies.Session.AccessToken\");\r",
"}\r",
"\r",
"pm.test(\"Status code is 200\", function () {\r",
" pm.response.to.have.status(200);\r",
"});\r",
"\r",
"let jsonData = pm.response.json();\r",
"pm.collectionVariables.set(\"Newskies.Session.AccessToken\", jsonData.access_token);\r",
"\r",
""
],
"type": "text/javascript",
"packages": {},
"requests": {}
}
}
],
"protocolProfileBehavior": {
"protocolVersion": "auto",
"disableUrlEncoding": false
},
"request": {
"auth": {
"type": "basic",
"basic": [
{
"key": "password",
"value": "{{Newskies.Agent.Password}}",
"type": "string"
},
{
"key": "username",
"value": "{{Newskies.Agent.Username}}",
"type": "string"
}
]
},
"method": "POST",
"header": [
{
"key": "Accept",
"value": "application/json",
"type": "text"
},
{
"key": "x-apikey",
"value": "{{Tui.NDC.ApiKey}}",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "{\r\n \"grant_type\":\"client_credentials\"\r\n}",
"options": {
"raw": {
"headerFamily": "json",
"language": "json"
}
}
},
"url": {
"raw": "{{Tui.NDC.BaseUrl}}/x3/ndc/api/Selling/r3.x/Auth",
"host": [
"{{Tui.NDC.BaseUrl}}"
],
"path": [
"x3",
"ndc",
"api",
"Selling",
"r3.x",
"Auth"
],
"query": [
{
"key": "loc",
"value": "{{Newskies.Agent.Location}}",
"disabled": true
},
{
"key": "role",
"value": "{{Newskies.Agent.Role}}",
"disabled": false
}
]
}
},
"response": []
},
{
"name": "AirShopping RT",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{Newskies.Session.AccessToken}}",
"type": "string"
}
]
},
"method": "POST",
"header": [
{
"key": "Accept",
"value": "application/xml"
},
{
"key": "x-apikey",
"value": "{{Tui.NDC.ApiKey}}",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "\n\t\n\t\t\n\t\t\t1\n\t\t\tSeller\n\t\t\t\n\t\t\t\t\n\t\t\t\t{{Newskies.Organization}}\n\t\t\t\n\t\t\n\t\n\t\n\t\t21.3\n\t\n\t\n\t\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t{{Flight.ArrivalAirport}}\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t{{Flight.OutboundDate}}\n\t\t\t\t\t\t{{Flight.DepartureAirport}}\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t{{Flight.DepartureAirport}}\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t{{Flight.InboundDate}}\n\t\t\t\t\t\t{{Flight.ArrivalAirport}}\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t\n\t\t\n\t\t\n\t\t\t\n\t\t\t\tADT0\n\t\t\t\tADT\n\t\t\t\n\t\t\n\n\t\n",
"options": {
"raw": {
"headerFamily": "json",
"language": "xml"
}
}
},
"url": {
"raw": "{{Tui.NDC.BaseUrl}}/x3/ndc/api/Shopping/r3.x/v21.3/AirShopping",
"host": [
"{{Tui.NDC.BaseUrl}}"
],
"path": [
"x3",
"ndc",
"api",
"Shopping",
"r3.x",
"v21.3",
"AirShopping"
]
}
},
"response": []
},
{
"name": "OfferPrice RT",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{Newskies.Session.AccessToken}}",
"type": "string"
}
]
},
"method": "POST",
"header": [
{
"key": "Accept",
"value": "application/xml"
},
{
"key": "x-apikey",
"value": "{{Tui.NDC.ApiKey}}",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "\n \n \n 1\n Seller\n \n {{Newskies.Organization}}\n \n \n \n \n 21.3\n \n \n \n \n \n \n id-v2-c4ab4eca-d63a-4055-b695-2ea117908d00-o-1\n X3\n \n\t\t\t\tid-v2-c4ab4eca-d63a-4055-b695-2ea117908d00-o-1-1\n\t\t\t\tADT0\n\t\t\t\n\t\t\n\n \n id-v2-c4ab4eca-d63a-4055-b695-2ea117908d00-o-4\n X3\n \n\t\t\t\tid-v2-c4ab4eca-d63a-4055-b695-2ea117908d00-o-4-1\n\t\t\t\tADT0\n\t\t\t\n\t\t\n\n\n\n \n \n \n",
"options": {
"raw": {
"headerFamily": "json",
"language": "xml"
}
}
},
"url": {
"raw": "{{Tui.NDC.BaseUrl}}/x3/ndc/api/Selling/r3.x/v21.3/OfferPrice",
"host": [
"{{Tui.NDC.BaseUrl}}"
],
"path": [
"x3",
"ndc",
"api",
"Selling",
"r3.x",
"v21.3",
"OfferPrice"
]
}
},
"response": []
},
{
"name": "OrderCreate RT",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{Newskies.Session.AccessToken}}",
"type": "string"
}
]
},
"method": "POST",
"header": [
{
"key": "Accept",
"value": "application/xml"
},
{
"key": "x-apikey",
"value": "{{Tui.NDC.ApiKey}}",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "\n \n \n 1\n Seller\n \n {{Newskies.Organization}}\n \n \n \n \n 21.3\n \n \n \n \n \n\t\tsid-v2-3ee0164f-ae9d-4989-864c-22fb2d6173c8\n\t\tX3\n\t\t\n\t\t\tsid-v2-3ee0164f-ae9d-4989-864c-22fb2d6173c8-1\n\t\t\tADT0\n \n \n\n \n\t\t\tsid-v2-3ee0164f-ae9d-4989-864c-22fb2d6173c8-2\n\t\t\tADT0\n \n \n \n\n\n\t\n\n\n\n \n \n \n \n \n\t\t\t\tADT0ContactYoda\n\t\t\t\tNTF\n\t\t\t\t\n\t\t\t\t\temailyoda@email.com\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\t1223334444\n\t\t\t\t\n\t\t \n\t\t HAJ\n\t\t DE\n\t\t HAJ\n\t\t 30539 \n\t\t 143 Street\n\t\t \n\t\t\t \n \n \n\t\t\n\t\t\t\tDE\n\t\t\t\tADT0ContactYoda\n\t\t\t\t\n\t\t\t\t\t1986-12-24\n\t\t\t\t\tF\n\t\t\t\t\tYODANAME\n\t\t\t\t\tYODASURNAME\n MR\n\t\t\t\tADT0\n\t\t\t\t\n\t\t\t\tADT\n\t\t\t\tDE\n\t\t\t\n\t \n \n \n\t\t\t\n\t\t\t\t281.48\n\t\t\t\t\n\t \t\t\t\n\t \t\t\t\t1 \n\t \t\t\t\tAGT\n\t \t\t\t\n \t\t\t\n\t\t\t\n\t\t\n \n",
"options": {
"raw": {
"headerFamily": "json",
"language": "xml"
}
}
},
"url": {
"raw": "{{Tui.NDC.BaseUrl}}/x3/ndc/api/Selling/r3.x/v21.3/OrderCreate",
"host": [
"{{Tui.NDC.BaseUrl}}"
],
"path": [
"x3",
"ndc",
"api",
"Selling",
"r3.x",
"v21.3",
"OrderCreate"
]
}
},
"response": []
},
{
"name": "OrderRetrieve RT",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{Newskies.Session.AccessToken}}",
"type": "string"
}
]
},
"method": "POST",
"header": [
{
"key": "Accept",
"value": "application/xml"
},
{
"key": "x-apikey",
"value": "{{Tui.NDC.ApiKey}}",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "\n \n \n 1\n Seller\n \n {{Newskies.Organization}}\n \n \n \n \n 21.3\n \n \n \n \n \n X3\n \n \n \n",
"options": {
"raw": {
"headerFamily": "json",
"language": "xml"
}
}
},
"url": {
"raw": "{{Tui.NDC.BaseUrl}}/x3/ndc/api/Servicing/r3.x/v21.3/OrderRetrieve",
"host": [
"{{Tui.NDC.BaseUrl}}"
],
"path": [
"x3",
"ndc",
"api",
"Servicing",
"r3.x",
"v21.3",
"OrderRetrieve"
]
}
},
"response": []
},
{
"name": "OrderReshop RT",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{Newskies.Session.AccessToken}}",
"type": "string"
}
]
},
"method": "POST",
"header": [
{
"key": "Accept",
"value": "application/xml"
},
{
"key": "x-apikey",
"value": "{{Tui.NDC.ApiKey}}",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "\n \n \n 1\n Seller\n \n {{Newskies.Organization}}\n \n \n \n \n 21.3\n \n \n HCBPHH\n \n \n HCBPHH\n \n \n \n",
"options": {
"raw": {
"headerFamily": "json",
"language": "xml"
}
}
},
"url": {
"raw": "{{Tui.NDC.BaseUrl}}/x3/ndc/api/Servicing/r3.x/v21.3/OrderReshop",
"host": [
"{{Tui.NDC.BaseUrl}}"
],
"path": [
"x3",
"ndc",
"api",
"Servicing",
"r3.x",
"v21.3",
"OrderReshop"
]
}
},
"response": []
},
{
"name": "OrderChange cancel booking RT",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{Newskies.Session.AccessToken}}",
"type": "string"
}
]
},
"method": "POST",
"header": [
{
"key": "Accept",
"value": "application/xml"
},
{
"key": "x-apikey",
"value": "{{Tui.NDC.ApiKey}}",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "\n\t\n\t\t\n\t\t\t1\n\t\t\tSeller\n\t\t\t\n \t\t\t{{Newskies.Organization}}\n\t\t\t\n\t\t\n\t\n\t\n\t\t21.3\n\t\n\t\n\t\t\n\t\t\t\n\t\t\t\tid-SENCUEhI-o-1\n\t \t\tX3\n\t\t\t\n\t\t\n\t\t\n\t HCBPHH\n\t X3\n\t\t\n\n\t\n\t\n",
"options": {
"raw": {
"headerFamily": "json",
"language": "xml"
}
}
},
"url": {
"raw": "{{Tui.NDC.BaseUrl}}/x3/ndc/api/Servicing/r3.x/v21.3/OrderChange",
"host": [
"{{Tui.NDC.BaseUrl}}"
],
"path": [
"x3",
"ndc",
"api",
"Servicing",
"r3.x",
"v21.3",
"OrderChange"
]
}
},
"response": []
}
],
"description": "Round-trip full lifecycle: shop, book, retrieve, reshop, then cancel."
},
{
"name": "OW & SSRs by OfferID",
"item": [
{
"name": "Auth",
"event": [
{
"listen": "test",
"script": {
"exec": [
"// Cleanup of the session token collection value\r",
"if(pm.collectionVariables.has(\"Newskies.Session.AccessToken\")){\r",
" pm.collectionVariables.unset(\"Newskies.Session.AccessToken\");\r",
"}\r",
"\r",
"pm.test(\"Status code is 200\", function () {\r",
" pm.response.to.have.status(200);\r",
"});\r",
"\r",
"let jsonData = pm.response.json();\r",
"pm.collectionVariables.set(\"Newskies.Session.AccessToken\", jsonData.access_token);\r",
"\r",
""
],
"type": "text/javascript",
"packages": {},
"requests": {}
}
}
],
"protocolProfileBehavior": {
"protocolVersion": "auto",
"disableUrlEncoding": false
},
"request": {
"auth": {
"type": "basic",
"basic": [
{
"key": "password",
"value": "{{Newskies.Agent.Password}}",
"type": "string"
},
{
"key": "username",
"value": "{{Newskies.Agent.Username}}",
"type": "string"
}
]
},
"method": "POST",
"header": [
{
"key": "Accept",
"value": "application/json",
"type": "text"
},
{
"key": "x-apikey",
"value": "{{Tui.NDC.ApiKey}}",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "{\r\n \"grant_type\":\"client_credentials\"\r\n}",
"options": {
"raw": {
"headerFamily": "json",
"language": "json"
}
}
},
"url": {
"raw": "{{Tui.NDC.BaseUrl}}/x3/ndc/api/Selling/r3.x/Auth",
"host": [
"{{Tui.NDC.BaseUrl}}"
],
"path": [
"x3",
"ndc",
"api",
"Selling",
"r3.x",
"Auth"
],
"query": [
{
"key": "loc",
"value": "{{Newskies.Agent.Location}}",
"disabled": true
},
{
"key": "role",
"value": "{{Newskies.Agent.Role}}",
"disabled": false
}
]
}
},
"response": []
},
{
"name": "AirShopping OW v21.3",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{Newskies.Session.AccessToken}}",
"type": "string"
}
]
},
"method": "POST",
"header": [
{
"key": "Accept",
"value": "application/xml"
},
{
"key": "x-apikey",
"value": "{{Tui.NDC.ApiKey}}",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "\n\t\n\t\t\n\t\t\t1\n\t\t\tSeller\n\t\t\t\n\t\t\t\t\n\t\t\t\t{{Newskies.Organization}}\n\t\t\t\n\t\t\n\t\n\t\n\t\t21.3\n\t\n\t\n\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t{{Flight.ArrivalAirport}}\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t{{Flight.OutboundDate}}\n\t\t\t\t\t\t{{Flight.DepartureAirport}}\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\n\t\t\n\t\t\n\t\t\t\n\t\t\t\tADT0\n\t\t\t\tADT\n\t\t\t\n\t\t\n\n\t\n",
"options": {
"raw": {
"headerFamily": "json",
"language": "xml"
}
}
},
"url": {
"raw": "{{Tui.NDC.BaseUrl}}/x3/ndc/api/Shopping/r3.x/v21.3/AirShopping",
"host": [
"{{Tui.NDC.BaseUrl}}"
],
"path": [
"x3",
"ndc",
"api",
"Shopping",
"r3.x",
"v21.3",
"AirShopping"
]
}
},
"response": []
},
{
"name": "ServiceList OW v21.3",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{Newskies.Session.AccessToken}}",
"type": "string"
}
]
},
"method": "POST",
"header": [
{
"key": "Accept",
"value": "application/xml"
},
{
"key": "x-apikey",
"value": "{{Tui.NDC.ApiKey}}",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "\n\t\n\t\t\n\t\t\t1\n\t\t\tSeller\n\t\t\t\n\t\t\t\t\n\t\t\t\t{{Newskies.Organization}}\n\t\t\t\n\t\t\n\t\n\t\n\t\t21.3\n\t\n \n \n \n \n id-fe97e2f8-081d-426e-a5b7-d1d1b0e9bd41-o-2\n X3\n \n \n \n \n",
"options": {
"raw": {
"headerFamily": "json",
"language": "xml"
}
}
},
"url": {
"raw": "{{Tui.NDC.BaseUrl}}/x3/ndc/api/Selling/r3.x/v21.3/ServiceList",
"host": [
"{{Tui.NDC.BaseUrl}}"
],
"path": [
"x3",
"ndc",
"api",
"Selling",
"r3.x",
"v21.3",
"ServiceList"
]
}
},
"response": []
},
{
"name": "OfferPrice flight&SSR OW v21.3",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{Newskies.Session.AccessToken}}",
"type": "string"
}
]
},
"method": "POST",
"header": [
{
"key": "Accept",
"value": "application/xml"
},
{
"key": "x-apikey",
"value": "{{Tui.NDC.ApiKey}}",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "\n \n \n 1\n Seller\n \n {{Newskies.Organization}}\n \n \n \n \n 21.3\n \n \n \n \n \n \n \n \t\n \n id-352a67a0-90e7-4022-90a7-e8d06fc33f9e-o-1\n X3\n \n\t\t\t\tid-352a67a0-90e7-4022-90a7-e8d06fc33f9e-o-1-1\n\t\t\t\tADT0\n\t\t\t\n\t\t\n \n \n \n\t\t\tid-c38be98c-76b3-4aa9-a2b6-de6c1cdacf3e\n\t\t\tX3\n\t\t\t\n\t\t\tid-c38be98c-76b3-4aa9-a2b6-de6c1cdacf3e-1\n\t\t\tADT0\n\t\t\t\n\t\t\t\n\t\t\t\n\t\t\tseg0867622280\n\t\t\t\n\t\t\t\n\t\t\t1\n\t\t\t\n\t\t\t\n\t\t\t\n\n \n \n \n",
"options": {
"raw": {
"headerFamily": "json",
"language": "xml"
}
}
},
"url": {
"raw": "{{Tui.NDC.BaseUrl}}/x3/ndc/api/Selling/r3.x/v21.3/OfferPrice",
"host": [
"{{Tui.NDC.BaseUrl}}"
],
"path": [
"x3",
"ndc",
"api",
"Selling",
"r3.x",
"v21.3",
"OfferPrice"
]
}
},
"response": []
},
{
"name": "OrderCreate OW v21.3",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{Newskies.Session.AccessToken}}",
"type": "string"
}
]
},
"method": "POST",
"header": [
{
"key": "Accept",
"value": "application/xml"
},
{
"key": "x-apikey",
"value": "{{Tui.NDC.ApiKey}}",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "\n \n \n 1\n Seller\n \n {{Newskies.Organization}}\n \n \n \n \n 21.3\n \n \n \n \n \n\t\tsid-19c925ca-4531-49b9-83b1-e1eb58b6e0f8\n\t\tX3\n\t\t\n\t\t\tsid-19c925ca-4531-49b9-83b1-e1eb58b6e0f8-1\n\t\t\tADT0\n\t\t\n\n\n\t\t\tsid-19c925ca-4531-49b9-83b1-e1eb58b6e0f8-2\n\t\t\tADT0\n\t\t\n\n\n\n\t\n \n\n\n \n \n\n\n\n\n\n\n \n \n \n\t\t\t\tADT0ContactYoda\n\t\t\t\tNTF\n\t\t\t\t\n\t\t\t\t\temailyoda@email.com\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\t1223334444\n\t\t\t\t\n\t\t \n\t\t HAJ\n\t\t DE\n\t\t HAJ\n\t\t 30539 \n\t\t 143 Street\n\t\t \n\t\t\t \n \n \n\t\t\n\t\t\t\tDE\n\t\t\t\tADT0ContactYoda\n\t\t\t\t\n\t\t\t\t\t1986-12-24\n\t\t\t\t\tF\n\t\t\t\t\tYODANAME\n\t\t\t\t\tYODASURNAME\n MR\n\t\t\t\tADT0\n\t\t\t\t\n\t\t\t\tADT\n\t\t\t\tDE\n\t\t\t\n\t \n \n \n\t\t\t\n\t\t\t\t79.99\n\t\t\t\t\n\t \t\t\t\n\t \t\t\t\t1 \n\t \t\t\t\tAGT\n\t \t\t\t\n \t\t\t\n\t\t\t\n\t\t\n \n",
"options": {
"raw": {
"headerFamily": "json",
"language": "xml"
}
}
},
"url": {
"raw": "{{Tui.NDC.BaseUrl}}/x3/ndc/api/Selling/r3.x/v21.3/OrderCreate",
"host": [
"{{Tui.NDC.BaseUrl}}"
],
"path": [
"x3",
"ndc",
"api",
"Selling",
"r3.x",
"v21.3",
"OrderCreate"
]
}
},
"response": []
}
],
"description": "One-way booking with ancillary services (SSRs) added via ServiceList before pricing."
},
{
"name": "OW & Seat by OfferID",
"item": [
{
"name": "Auth",
"event": [
{
"listen": "test",
"script": {
"exec": [
"// Cleanup of the session token collection value\r",
"if(pm.collectionVariables.has(\"Newskies.Session.AccessToken\")){\r",
" pm.collectionVariables.unset(\"Newskies.Session.AccessToken\");\r",
"}\r",
"\r",
"pm.test(\"Status code is 200\", function () {\r",
" pm.response.to.have.status(200);\r",
"});\r",
"\r",
"let jsonData = pm.response.json();\r",
"pm.collectionVariables.set(\"Newskies.Session.AccessToken\", jsonData.access_token);\r",
"\r",
""
],
"type": "text/javascript",
"packages": {},
"requests": {}
}
}
],
"protocolProfileBehavior": {
"protocolVersion": "auto",
"disableUrlEncoding": false
},
"request": {
"auth": {
"type": "basic",
"basic": [
{
"key": "password",
"value": "{{Newskies.Agent.Password}}",
"type": "string"
},
{
"key": "username",
"value": "{{Newskies.Agent.Username}}",
"type": "string"
}
]
},
"method": "POST",
"header": [
{
"key": "Accept",
"value": "application/json",
"type": "text"
},
{
"key": "x-apikey",
"value": "{{Tui.NDC.ApiKey}}",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "{\r\n \"grant_type\":\"client_credentials\"\r\n}",
"options": {
"raw": {
"headerFamily": "json",
"language": "json"
}
}
},
"url": {
"raw": "{{Tui.NDC.BaseUrl}}/x3/ndc/api/Selling/r3.x/Auth",
"host": [
"{{Tui.NDC.BaseUrl}}"
],
"path": [
"x3",
"ndc",
"api",
"Selling",
"r3.x",
"Auth"
],
"query": [
{
"key": "loc",
"value": "{{Newskies.Agent.Location}}",
"disabled": true
},
{
"key": "role",
"value": "{{Newskies.Agent.Role}}",
"disabled": false
}
]
}
},
"response": []
},
{
"name": "AirShopping OW v21.3",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{Newskies.Session.AccessToken}}",
"type": "string"
}
]
},
"method": "POST",
"header": [
{
"key": "Accept",
"value": "application/xml"
},
{
"key": "x-apikey",
"value": "{{Tui.NDC.ApiKey}}",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "\n\t\n\t\t\n\t\t\t1\n\t\t\tSeller\n\t\t\t\n\t\t\t\t\n\t\t\t\t{{Newskies.Organization}}\n\t\t\t\n\t\t\n\t\n\t\n\t\t21.3\n\t\n\t\n\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t{{Flight.ArrivalAirport}}\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t{{Flight.OutboundDate}}\n\t\t\t\t\t\t{{Flight.DepartureAirport}}\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\n\t\t\n\t\t\n\t\t\t\n\t\t\t\tADT0\n\t\t\t\tADT\n\t\t\t\n\t\t\n\n\t\n",
"options": {
"raw": {
"headerFamily": "json",
"language": "xml"
}
}
},
"url": {
"raw": "{{Tui.NDC.BaseUrl}}/x3/ndc/api/Shopping/r3.x/v21.3/AirShopping",
"host": [
"{{Tui.NDC.BaseUrl}}"
],
"path": [
"x3",
"ndc",
"api",
"Shopping",
"r3.x",
"v21.3",
"AirShopping"
]
}
},
"response": []
},
{
"name": "SeatAvailability OW v21.3",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{Newskies.Session.AccessToken}}",
"type": "string"
}
]
},
"method": "POST",
"header": [
{
"key": "Accept",
"value": "application/xml"
},
{
"key": "x-apikey",
"value": "{{Tui.NDC.ApiKey}}",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "\n \n \n 1\n Seller\n \n {{Newskies.Organization}}\n \n \n \n \n 21.3\n \n \n \n \n \n id-6124d7b9-ba03-4da5-9136-d705893eda60-o-3\n X3\n\t\t\n \n \n \n",
"options": {
"raw": {
"headerFamily": "json",
"language": "xml"
}
}
},
"url": {
"raw": "{{Tui.NDC.BaseUrl}}/x3/ndc/api/Selling/r3.x/v21.3/SeatAvailability",
"host": [
"{{Tui.NDC.BaseUrl}}"
],
"path": [
"x3",
"ndc",
"api",
"Selling",
"r3.x",
"v21.3",
"SeatAvailability"
]
}
},
"response": []
},
{
"name": "OfferPrice flight&SSR OW v21.3",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{Newskies.Session.AccessToken}}",
"type": "string"
}
]
},
"method": "POST",
"header": [
{
"key": "Accept",
"value": "application/xml"
},
{
"key": "x-apikey",
"value": "{{Tui.NDC.ApiKey}}",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "\n \n \n 1\n Seller\n \n {{Newskies.Organization}}\n \n \n \n \n 21.3\n \n \n \n \n \n \n \n \t\n \n id-6124d7b9-ba03-4da5-9136-d705893eda60-o-3\n X3\n \n\t\t\t\tid-6124d7b9-ba03-4da5-9136-d705893eda60-o-3-1\n\t\t\t\tADT0\n\t\t\t\n\t\t\n \n \n \t\n\t\tid-24bb593e-43e5-4095-8e35-d0365e8328be\n\t\tX3\n\t\t\n\t\t\t\t\tid-24bb593e-43e5-4095-8e35-d0365e8328be-1\n\t\t\t\t\tADT0\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\tseg2012515793\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t11\n\t\t\t\t\t\tC\n\t\t\t\t\t\n\t\t\t\t\n\t\n\n\n \n \n \n \n \n \n \n",
"options": {
"raw": {
"headerFamily": "json",
"language": "xml"
}
}
},
"url": {
"raw": "{{Tui.NDC.BaseUrl}}/x3/ndc/api/Selling/r3.x/v21.3/OfferPrice",
"host": [
"{{Tui.NDC.BaseUrl}}"
],
"path": [
"x3",
"ndc",
"api",
"Selling",
"r3.x",
"v21.3",
"OfferPrice"
]
}
},
"response": []
},
{
"name": "OrderCreate OW v21.3",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{Newskies.Session.AccessToken}}",
"type": "string"
}
]
},
"method": "POST",
"header": [
{
"key": "Accept",
"value": "application/xml"
},
{
"key": "x-apikey",
"value": "{{Tui.NDC.ApiKey}}",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "\n \n \n 1\n Seller\n \n {{Newskies.Organization}}\n \n \n \n \n 21.3\n \n \n \n \n \n\t\tsid-03ad9146-40ca-44a6-81f0-2d9dc48d94a4\n\t\tX3\n\t\t\n\t\t\tsid-03ad9146-40ca-44a6-81f0-2d9dc48d94a4-1\n\t\t\tADT0\n\t\t\n\n\n\t\t\tsid-03ad9146-40ca-44a6-81f0-2d9dc48d94a4-2\n\t\t\tADT0\n\t\t\n\n\n\n\t\n \n\n\n \n \n\n\n\n\n\n\n \n \n \n\t\t\t\tADT0ContactYoda\n\t\t\t\tNTF\n\t\t\t\t\n\t\t\t\t\temailyoda@email.com\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\t1223334444\n\t\t\t\t\n\t\t \n\t\t HAJ\n\t\t DE\n\t\t HAJ\n\t\t 30539 \n\t\t 143 Street\n\t\t \n\t\t\t \n \n \n\t\t\n\t\t\t\tDE\n\t\t\t\tADT0ContactYoda\n\t\t\t\t\n\t\t\t\t\t1986-12-24\n\t\t\t\t\tF\n\t\t\t\t\tYODANAME\n\t\t\t\t\tYODASURNAME\n MR\n\t\t\t\tADT0\n\t\t\t\t\n\t\t\t\tADT\n\t\t\t\tDE\n\t\t\t\n\t \n \n \n\t\t\t\n\t\t\t\t1015.99\n\t\t\t\t\n\t \t\t\t\n\t \t\t\t\t1 \n\t \t\t\t\tAGT\n\t \t\t\t\n \t\t\t\n\t\t\t\n\t\t\n \n",
"options": {
"raw": {
"headerFamily": "json",
"language": "xml"
}
}
},
"url": {
"raw": "{{Tui.NDC.BaseUrl}}/x3/ndc/api/Selling/r3.x/v21.3/OrderCreate",
"host": [
"{{Tui.NDC.BaseUrl}}"
],
"path": [
"x3",
"ndc",
"api",
"Selling",
"r3.x",
"v21.3",
"OrderCreate"
]
}
},
"response": []
}
],
"description": "One-way booking with seat selection via SeatAvailability before pricing."
},
{
"name": "OW CC Approved",
"item": [
{
"name": "Auth",
"event": [
{
"listen": "test",
"script": {
"exec": [
"// Cleanup of the session token collection value\r",
"if(pm.collectionVariables.has(\"Newskies.Session.AccessToken\")){\r",
" pm.collectionVariables.unset(\"Newskies.Session.AccessToken\");\r",
"}\r",
"\r",
"pm.test(\"Status code is 200\", function () {\r",
" pm.response.to.have.status(200);\r",
"});\r",
"\r",
"let jsonData = pm.response.json();\r",
"pm.collectionVariables.set(\"Newskies.Session.AccessToken\", jsonData.access_token);\r",
"\r",
""
],
"type": "text/javascript",
"packages": {},
"requests": {}
}
}
],
"protocolProfileBehavior": {
"protocolVersion": "auto",
"disableUrlEncoding": false
},
"request": {
"auth": {
"type": "basic",
"basic": [
{
"key": "password",
"value": "{{Newskies.Agent.Password}}",
"type": "string"
},
{
"key": "username",
"value": "{{Newskies.Agent.Username}}",
"type": "string"
}
]
},
"method": "POST",
"header": [
{
"key": "Accept",
"value": "application/json",
"type": "text"
},
{
"key": "x-apikey",
"value": "{{Tui.NDC.ApiKey}}",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "{\r\n \"grant_type\":\"client_credentials\"\r\n}",
"options": {
"raw": {
"headerFamily": "json",
"language": "json"
}
}
},
"url": {
"raw": "{{Tui.NDC.BaseUrl}}/x3/ndc/api/Selling/r3.x/Auth",
"host": [
"{{Tui.NDC.BaseUrl}}"
],
"path": [
"x3",
"ndc",
"api",
"Selling",
"r3.x",
"Auth"
],
"query": [
{
"key": "loc",
"value": "{{Newskies.Agent.Location}}",
"disabled": true
},
{
"key": "role",
"value": "{{Newskies.Agent.Role}}",
"disabled": false
}
]
}
},
"response": []
},
{
"name": "AirShopping OW v21.3",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{Newskies.Session.AccessToken}}",
"type": "string"
}
]
},
"method": "POST",
"header": [
{
"key": "Accept",
"value": "application/xml"
},
{
"key": "x-apikey",
"value": "{{Tui.NDC.ApiKey}}",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "\n\t\n\t\t\n\t\t\t1\n\t\t\tSeller\n\t\t\t\n\t\t\t\t\n\t\t\t\t{{Newskies.Organization}}\n\t\t\t\n\t\t\n\t\n\t\n\t\t21.3\n\t\n\t\n\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t{{Flight.ArrivalAirport}}\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t{{Flight.OutboundDate}}\n\t\t\t\t\t\t{{Flight.DepartureAirport}}\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\n\t\t\n\t\t\n\t\t\t\n\t\t\t\tADT0\n\t\t\t\tADT\n\t\t\t\n\t\t\n\n\t\n",
"options": {
"raw": {
"headerFamily": "json",
"language": "xml"
}
}
},
"url": {
"raw": "{{Tui.NDC.BaseUrl}}/x3/ndc/api/Shopping/r3.x/v21.3/AirShopping",
"host": [
"{{Tui.NDC.BaseUrl}}"
],
"path": [
"x3",
"ndc",
"api",
"Shopping",
"r3.x",
"v21.3",
"AirShopping"
]
}
},
"response": []
},
{
"name": "OfferPrice OW v21.3",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{Newskies.Session.AccessToken}}",
"type": "string"
}
]
},
"method": "POST",
"header": [
{
"key": "Accept",
"value": "application/xml"
},
{
"key": "x-apikey",
"value": "{{Tui.NDC.ApiKey}}",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "\n \n \n 1\n Seller\n \n {{Newskies.Organization}}\n \n \n \n \n 21.3\n \n \n \n \n \n id-v2-897700f6-bd11-4023-b640-bae142c38a2b-o-1\n X3\n \n\t\t\t\tid-v2-897700f6-bd11-4023-b640-bae142c38a2b-o-1-1\n\t\t\t\tADT0\n\t\t\t\n\t\t\n \n \n \n",
"options": {
"raw": {
"headerFamily": "json",
"language": "xml"
}
}
},
"url": {
"raw": "{{Tui.NDC.BaseUrl}}/x3/ndc/api/Selling/r3.x/v21.3/OfferPrice",
"host": [
"{{Tui.NDC.BaseUrl}}"
],
"path": [
"x3",
"ndc",
"api",
"Selling",
"r3.x",
"v21.3",
"OfferPrice"
]
}
},
"response": []
},
{
"name": "OrderCreate OW v21.3",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{Newskies.Session.AccessToken}}",
"type": "string"
}
]
},
"method": "POST",
"header": [
{
"key": "Accept",
"value": "application/xml"
},
{
"key": "x-apikey",
"value": "{{Tui.NDC.ApiKey}}",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "\n \n \n 1\n Seller\n \n {{Newskies.Organization}}\n \n \n \n \n 21.3\n \n \n \n \n \n\t\tsid-v2-abb55731-8c2a-46b1-83a0-d016f950ac67\n\t\tX3\n\t\t\n\t\t\tsid-v2-abb55731-8c2a-46b1-83a0-d016f950ac67-1\n\t\t\tADT0\n\t\t\n\t\n \n \n \n \n \n\t\t\t\tADT0ContactYoda\n\t\t\t\tNTF\n\t\t\t\t\n\t\t\t\t\temailyoda@email.com\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\t1223334444\n\t\t\t\t\n\t\t \n\t\t HAJ\n\t\t DE\n\t\t HAJ\n\t\t 30539 \n\t\t 143 Street\n\t\t \n\t\t\t \n \n \n\t\t\n\t\t\t\tDE\n\t\t\t\tADT0ContactYoda\n\t\t\t\t\n\t\t\t\t\t1986-12-24\n\t\t\t\t\tF\n\t\t\t\t\tYODANAME\n\t\t\t\t\tYODASURNAME\n MR\n\t\t\t\tADT0\n\t\t\t\t\n\t\t\t\tADT\n\t\t\t\tDE\n\t\t\t\n\t \n \n \n\t\t \n CC\n \n \n 59.99\n \n \n \n YODANAME\n YODASURNAME\n \n \n \n \n \n MC\n 5210000010001001\n 123\n 0130\n \n \n \n\t\t\n \n",
"options": {
"raw": {
"headerFamily": "json",
"language": "xml"
}
}
},
"url": {
"raw": "{{Tui.NDC.BaseUrl}}/x3/ndc/api/Selling/r3.x/v21.3/OrderCreate",
"host": [
"{{Tui.NDC.BaseUrl}}"
],
"path": [
"x3",
"ndc",
"api",
"Selling",
"r3.x",
"v21.3",
"OrderCreate"
]
}
},
"response": []
}
],
"description": "One-way booking with credit card payment (approved scenario)."
},
{
"name": "OW CC Declined",
"item": [
{
"name": "Auth",
"event": [
{
"listen": "test",
"script": {
"exec": [
"// Cleanup of the session token collection value\r",
"if(pm.collectionVariables.has(\"Newskies.Session.AccessToken\")){\r",
" pm.collectionVariables.unset(\"Newskies.Session.AccessToken\");\r",
"}\r",
"\r",
"pm.test(\"Status code is 200\", function () {\r",
" pm.response.to.have.status(200);\r",
"});\r",
"\r",
"let jsonData = pm.response.json();\r",
"pm.collectionVariables.set(\"Newskies.Session.AccessToken\", jsonData.access_token);\r",
"\r",
""
],
"type": "text/javascript",
"packages": {},
"requests": {}
}
}
],
"protocolProfileBehavior": {
"protocolVersion": "auto",
"disableUrlEncoding": false
},
"request": {
"auth": {
"type": "basic",
"basic": [
{
"key": "password",
"value": "{{Newskies.Agent.Password}}",
"type": "string"
},
{
"key": "username",
"value": "{{Newskies.Agent.Username}}",
"type": "string"
}
]
},
"method": "POST",
"header": [
{
"key": "Accept",
"value": "application/json",
"type": "text"
},
{
"key": "x-apikey",
"value": "{{Tui.NDC.ApiKey}}",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "{\r\n \"grant_type\":\"client_credentials\"\r\n}",
"options": {
"raw": {
"headerFamily": "json",
"language": "json"
}
}
},
"url": {
"raw": "{{Tui.NDC.BaseUrl}}/x3/ndc/api/Selling/r3.x/Auth",
"host": [
"{{Tui.NDC.BaseUrl}}"
],
"path": [
"x3",
"ndc",
"api",
"Selling",
"r3.x",
"Auth"
],
"query": [
{
"key": "loc",
"value": "{{Newskies.Agent.Location}}",
"disabled": true
},
{
"key": "role",
"value": "{{Newskies.Agent.Role}}",
"disabled": false
}
]
}
},
"response": []
},
{
"name": "AirShopping OW v21.3",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{Newskies.Session.AccessToken}}",
"type": "string"
}
]
},
"method": "POST",
"header": [
{
"key": "Accept",
"value": "application/xml"
},
{
"key": "x-apikey",
"value": "{{Tui.NDC.ApiKey}}",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "\n\t\n\t\t\n\t\t\t1\n\t\t\tSeller\n\t\t\t\n\t\t\t\t\n\t\t\t\t{{Newskies.Organization}}\n\t\t\t\n\t\t\n\t\n\t\n\t\t21.3\n\t\n\t\n\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t{{Flight.ArrivalAirport}}\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t{{Flight.OutboundDate}}\n\t\t\t\t\t\t{{Flight.DepartureAirport}}\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\n\t\t\n\t\t\n\t\t\t\n\t\t\t\tADT0\n\t\t\t\tADT\n\t\t\t\n\t\t\n\n\t\n",
"options": {
"raw": {
"headerFamily": "json",
"language": "xml"
}
}
},
"url": {
"raw": "{{Tui.NDC.BaseUrl}}/x3/ndc/api/Shopping/r3.x/v21.3/AirShopping",
"host": [
"{{Tui.NDC.BaseUrl}}"
],
"path": [
"x3",
"ndc",
"api",
"Shopping",
"r3.x",
"v21.3",
"AirShopping"
]
}
},
"response": []
},
{
"name": "OfferPrice OW v21.3",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{Newskies.Session.AccessToken}}",
"type": "string"
}
]
},
"method": "POST",
"header": [
{
"key": "Accept",
"value": "application/xml"
},
{
"key": "x-apikey",
"value": "{{Tui.NDC.ApiKey}}",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "\n \n \n 1\n Seller\n \n {{Newskies.Organization}}\n \n \n \n \n 21.3\n \n \n \n \n \n id-v2-897700f6-bd11-4023-b640-bae142c38a2b-o-1\n X3\n \n\t\t\t\tid-v2-897700f6-bd11-4023-b640-bae142c38a2b-o-1-1\n\t\t\t\tADT0\n\t\t\t\n\t\t\n \n \n \n",
"options": {
"raw": {
"headerFamily": "json",
"language": "xml"
}
}
},
"url": {
"raw": "{{Tui.NDC.BaseUrl}}/x3/ndc/api/Selling/r3.x/v21.3/OfferPrice",
"host": [
"{{Tui.NDC.BaseUrl}}"
],
"path": [
"x3",
"ndc",
"api",
"Selling",
"r3.x",
"v21.3",
"OfferPrice"
]
}
},
"response": []
},
{
"name": "OrderCreate OW v21.3",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{Newskies.Session.AccessToken}}",
"type": "string"
}
]
},
"method": "POST",
"header": [
{
"key": "Accept",
"value": "application/xml"
},
{
"key": "x-apikey",
"value": "{{Tui.NDC.ApiKey}}",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "\n \n \n 1\n Seller\n \n {{Newskies.Organization}}\n \n \n \n \n 21.3\n \n \n \n \n \n\t\tsid-v2-abb55731-8c2a-46b1-83a0-d016f950ac67\n\t\tX3\n\t\t\n\t\t\tsid-v2-abb55731-8c2a-46b1-83a0-d016f950ac67-1\n\t\t\tADT0\n\t\t\n\t\n \n \n \n \n \n\t\t\t\tADT0ContactYoda\n\t\t\t\tNTF\n\t\t\t\t\n\t\t\t\t\temailyoda@email.com\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\t1223334444\n\t\t\t\t\n\t\t \n\t\t HAJ\n\t\t DE\n\t\t HAJ\n\t\t 30539 \n\t\t 143 Street\n\t\t \n\t\t\t \n \n \n\t\t\n\t\t\t\tDE\n\t\t\t\tADT0ContactYoda\n\t\t\t\t\n\t\t\t\t\t1986-12-24\n\t\t\t\t\tF\n\t\t\t\t\tYODANAME\n\t\t\t\t\tYODASURNAME\n MR\n\t\t\t\tADT0\n\t\t\t\t\n\t\t\t\tADT\n\t\t\t\tDE\n\t\t\t\n\t \n \n \n\t\t \n CC\n \n \n 59.99\n \n \n \n YODANAME\n YODASURNAME\n \n \n \n \n \n MC\n 5210000010001001\n 123\n 0130\n \n \n \n\t\t\n \n",
"options": {
"raw": {
"headerFamily": "json",
"language": "xml"
}
}
},
"url": {
"raw": "{{Tui.NDC.BaseUrl}}/x3/ndc/api/Selling/r3.x/v21.3/OrderCreate",
"host": [
"{{Tui.NDC.BaseUrl}}"
],
"path": [
"x3",
"ndc",
"api",
"Selling",
"r3.x",
"v21.3",
"OrderCreate"
]
}
},
"response": []
}
],
"description": "One-way booking with credit card payment (declined scenario)."
},
{
"name": "OW Specific flight LongSell",
"item": [
{
"name": "Auth",
"event": [
{
"listen": "test",
"script": {
"exec": [
"// Cleanup of the session token collection value\r",
"if(pm.collectionVariables.has(\"Newskies.Session.AccessToken\")){\r",
" pm.collectionVariables.unset(\"Newskies.Session.AccessToken\");\r",
"}\r",
"\r",
"pm.test(\"Status code is 200\", function () {\r",
" pm.response.to.have.status(200);\r",
"});\r",
"\r",
"let jsonData = pm.response.json();\r",
"pm.collectionVariables.set(\"Newskies.Session.AccessToken\", jsonData.access_token);\r",
"\r",
""
],
"type": "text/javascript",
"packages": {},
"requests": {}
}
}
],
"protocolProfileBehavior": {
"protocolVersion": "auto",
"disableUrlEncoding": false
},
"request": {
"auth": {
"type": "basic",
"basic": [
{
"key": "password",
"value": "{{Newskies.Agent.Password}}",
"type": "string"
},
{
"key": "username",
"value": "{{Newskies.Agent.Username}}",
"type": "string"
}
]
},
"method": "POST",
"header": [
{
"key": "Accept",
"value": "application/json",
"type": "text"
},
{
"key": "x-apikey",
"value": "{{Tui.NDC.ApiKey}}",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "{\r\n \"grant_type\":\"client_credentials\"\r\n}",
"options": {
"raw": {
"headerFamily": "json",
"language": "json"
}
}
},
"url": {
"raw": "{{Tui.NDC.BaseUrl}}/x3/ndc/api/Selling/r3.x/Auth",
"host": [
"{{Tui.NDC.BaseUrl}}"
],
"path": [
"x3",
"ndc",
"api",
"Selling",
"r3.x",
"Auth"
],
"query": [
{
"key": "loc",
"value": "{{Newskies.Agent.Location}}",
"disabled": true
},
{
"key": "role",
"value": "{{Newskies.Agent.Role}}",
"disabled": false
}
]
}
},
"response": []
},
{
"name": "OfferPrice OW v21.3 Navitaire",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{Newskies.Session.AccessToken}}",
"type": "string"
}
]
},
"method": "POST",
"header": [
{
"key": "Accept",
"value": "application/xml"
},
{
"key": "x-apikey",
"value": "{{Tui.NDC.ApiKey}}",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "\n \n \n 1\n Seller\n \n {{Newskies.Organization}}\n \n \n \n \n 21.3\n \n \n \n \n \n \n {{Flight.ArrivalAirport}}\n \n Mkt-seg000000001\n Opr-seg000000001\n \n {{Flight.OutboundDate}}\n {{Flight.DepartureAirport}}\n \n {{Flight.CarrierCode}}\n {{Flight.OutboundNumber}} \n \n \n \n \n OriginDestID1\n fl000000001\n {{Flight.DepartureAirport}}\n {{Flight.ArrivalAirport}}\n \n \n \n \n fl000000001\n seg000000001\n \n \n \n \n PaxID1\n ADT\n \n \n \n \n \n \n 5\n \n \n Mkt-seg000000001\n seg000000001\n \n \n \n \n \n \n \n \n OriginDestID1 \n \n \n X3\n \n \n \n \n",
"options": {
"raw": {
"headerFamily": "json",
"language": "xml"
}
}
},
"url": {
"raw": "{{Tui.NDC.BaseUrl}}/x3/ndc/api/Selling/r3.x/v21.3/OfferPrice",
"host": [
"{{Tui.NDC.BaseUrl}}"
],
"path": [
"x3",
"ndc",
"api",
"Selling",
"r3.x",
"v21.3",
"OfferPrice"
]
}
},
"response": []
},
{
"name": "OrderCreate OW v21.3",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{Newskies.Session.AccessToken}}",
"type": "string"
}
]
},
"method": "POST",
"header": [
{
"key": "Accept",
"value": "application/xml"
},
{
"key": "x-apikey",
"value": "{{Tui.NDC.ApiKey}}",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "\n \n \n 1\n Seller\n \n {{Newskies.Organization}}\n \n \n \n \n 21.3\n \n \n \n \n \n\t\tsid-2eed1253-549e-44ea-94c3-39b13c4b71c1\n\t\tX3\n\t\t\n\t\t\tsid-2eed1253-549e-44ea-94c3-39b13c4b71c1-1\n\t\t\tPaxID1\n\t\t\n\t\n \n \n \n \n \n\t\t\t\tADT0ContactYoda\n\t\t\t\tNTF\n\t\t\t\t\n\t\t\t\t\temailyoda@email.com\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\t1223334444\n\t\t\t\t\n\t\t \n\t\t HAJ\n\t\t DE\n\t\t HAJ\n\t\t 30539 \n\t\t 143 Street\n\t\t \n\t\t\t \n \n \n\t\t\n\t\t\t\tDE\n\t\t\t\tADT0ContactYoda\n\t\t\t\t\n\t\t\t\t\t1986-12-24\n\t\t\t\t\tF\n\t\t\t\t\tYODANAME\n\t\t\t\t\tYODASURNAME\n MR\n\t\t\t\tPaxID1\n\t\t\t\t\n\t\t\t\tADT\n\t\t\t\tDE\n\t\t\t\n\t \n \n \n\t\t\t\n\t\t\t\t59.99\n\t\t\t\t\n\t \t\t\t\n\t \t\t\t\t1 \n\t \t\t\t\tAGT\n\t \t\t\t\n \t\t\t\n\t\t\t\n\t\t\n \n",
"options": {
"raw": {
"headerFamily": "json",
"language": "xml"
}
}
},
"url": {
"raw": "{{Tui.NDC.BaseUrl}}/x3/ndc/api/Selling/r3.x/v21.3/OrderCreate",
"host": [
"{{Tui.NDC.BaseUrl}}"
],
"path": [
"x3",
"ndc",
"api",
"Selling",
"r3.x",
"v21.3",
"OrderCreate"
]
}
},
"response": []
}
],
"description": "Direct booking of a specific flight without shopping. Requires OutboundFlight and CarrierCode variables."
},
{
"name": "RT Specific flight LongSell",
"item": [
{
"name": "Auth",
"event": [
{
"listen": "test",
"script": {
"exec": [
"// Cleanup of the session token collection value\r",
"if(pm.collectionVariables.has(\"Newskies.Session.AccessToken\")){\r",
" pm.collectionVariables.unset(\"Newskies.Session.AccessToken\");\r",
"}\r",
"\r",
"pm.test(\"Status code is 200\", function () {\r",
" pm.response.to.have.status(200);\r",
"});\r",
"\r",
"let jsonData = pm.response.json();\r",
"pm.collectionVariables.set(\"Newskies.Session.AccessToken\", jsonData.access_token);\r",
"\r",
""
],
"type": "text/javascript",
"packages": {},
"requests": {}
}
}
],
"protocolProfileBehavior": {
"protocolVersion": "auto",
"disableUrlEncoding": false
},
"request": {
"auth": {
"type": "basic",
"basic": [
{
"key": "password",
"value": "{{Newskies.Agent.Password}}",
"type": "string"
},
{
"key": "username",
"value": "{{Newskies.Agent.Username}}",
"type": "string"
}
]
},
"method": "POST",
"header": [
{
"key": "Accept",
"value": "application/json",
"type": "text"
},
{
"key": "x-apikey",
"value": "{{Tui.NDC.ApiKey}}",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "{\r\n \"grant_type\":\"client_credentials\"\r\n}",
"options": {
"raw": {
"headerFamily": "json",
"language": "json"
}
}
},
"url": {
"raw": "{{Tui.NDC.BaseUrl}}/x3/ndc/api/Selling/r3.x/Auth",
"host": [
"{{Tui.NDC.BaseUrl}}"
],
"path": [
"x3",
"ndc",
"api",
"Selling",
"r3.x",
"Auth"
],
"query": [
{
"key": "loc",
"value": "{{Newskies.Agent.Location}}",
"disabled": true
},
{
"key": "role",
"value": "{{Newskies.Agent.Role}}",
"disabled": false
}
]
}
},
"response": []
},
{
"name": "OfferPrice OW v21.3 Navitaire",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{Newskies.Session.AccessToken}}",
"type": "string"
}
]
},
"method": "POST",
"header": [
{
"key": "Accept",
"value": "application/xml"
},
{
"key": "x-apikey",
"value": "{{Tui.NDC.ApiKey}}",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "\n \n \n 1\n Seller\n \n {{Newskies.Organization}}\n \n \n \n \n 21.3\n \n \n \n \n \n \n \n \n {{Flight.ArrivalAirport}}\n \n Mkt-seg000000001\n Opr-seg000000001\n \n {{Flight.OutboundDate}}\n {{Flight.DepartureAirport}}\n \n {{Flight.CarrierCode}}\n {{Flight.OutboundNumber}} \n \n \n \n \n {{Flight.DepartureAirport}}\n \n Mkt-seg000000002\n Opr-seg000000002\n \n {{Flight.InboundDate}}\n {{Flight.ArrivalAirport}}\n \n {{Flight.CarrierCode}}\n {{Flight.InboundNumber}}\n \n \n \n \n \n OriginDestID1\n fl000000001\n {{Flight.DepartureAirport}}\n {{Flight.ArrivalAirport}}\n \n \n OriginDestID2\n fl000000002\n {{Flight.ArrivalAirport}}\n {{Flight.DepartureAirport}}\n \n \n\n \n \n \n fl000000001\n seg000000001\n \n \n fl000000002\n seg000000002\n \n \n \n \n \n PaxID1\n ADT\n \n \n\n \n \n \n \n \n 5\n \n \n Mkt-seg000000001\n seg000000001\n \n \n \n \n 5\n \n \n Mkt-seg000000002\n seg000000002\n \n \n \n \n \n \n \n \n \n \n OriginDestID1\n \n \n X3\n \n \n \n \n OriginDestID2\n \n \n X3\n \n \n \n \n",
"options": {
"raw": {
"headerFamily": "json",
"language": "xml"
}
}
},
"url": {
"raw": "{{Tui.NDC.BaseUrl}}/x3/ndc/api/Selling/r3.x/v21.3/OfferPrice",
"host": [
"{{Tui.NDC.BaseUrl}}"
],
"path": [
"x3",
"ndc",
"api",
"Selling",
"r3.x",
"v21.3",
"OfferPrice"
]
}
},
"response": []
},
{
"name": "OrderCreate OW v21.3",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{Newskies.Session.AccessToken}}",
"type": "string"
}
]
},
"method": "POST",
"header": [
{
"key": "Accept",
"value": "application/xml"
},
{
"key": "x-apikey",
"value": "{{Tui.NDC.ApiKey}}",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "\n \n \n 1\n Seller\n \n {{Newskies.Organization}}\n \n \n \n \n 21.3\n \n \n \n \n \n\t\tsid-2eed1253-549e-44ea-94c3-39b13c4b71c1\n\t\tX3\n\t\t\n\t\t\tsid-2eed1253-549e-44ea-94c3-39b13c4b71c1-1\n\t\t\tPaxID1\n\t\t\n\t\n \n \n \n \n \n\t\t\t\tADT0ContactYoda\n\t\t\t\tNTF\n\t\t\t\t\n\t\t\t\t\temailyoda@email.com\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\t1223334444\n\t\t\t\t\n\t\t \n\t\t HAJ\n\t\t DE\n\t\t HAJ\n\t\t 30539 \n\t\t 143 Street\n\t\t \n\t\t\t \n \n \n\t\t\n\t\t\t\tDE\n\t\t\t\tADT0ContactYoda\n\t\t\t\t\n\t\t\t\t\t1986-12-24\n\t\t\t\t\tF\n\t\t\t\t\tYODANAME\n\t\t\t\t\tYODASURNAME\n MR\n\t\t\t\tPaxID1\n\t\t\t\t\n\t\t\t\tADT\n\t\t\t\tDE\n\t\t\t\n\t \n \n \n\t\t\t\n\t\t\t\t59.99\n\t\t\t\t\n\t \t\t\t\n\t \t\t\t\t1 \n\t \t\t\t\tAGT\n\t \t\t\t\n \t\t\t\n\t\t\t\n\t\t\n \n",
"options": {
"raw": {
"headerFamily": "json",
"language": "xml"
}
}
},
"url": {
"raw": "{{Tui.NDC.BaseUrl}}/x3/ndc/api/Selling/r3.x/v21.3/OrderCreate",
"host": [
"{{Tui.NDC.BaseUrl}}"
],
"path": [
"x3",
"ndc",
"api",
"Selling",
"r3.x",
"v21.3",
"OrderCreate"
]
}
},
"response": []
}
],
"description": "Round-trip direct booking without shopping. Requires OutboundFlight, InboundFlight, and CarrierCode."
},
{
"name": "OW Credit File OT",
"item": [
{
"name": "Auth",
"event": [
{
"listen": "test",
"script": {
"exec": [
"// Cleanup of the session token collection value\r",
"if(pm.collectionVariables.has(\"Newskies.Session.AccessToken\")){\r",
" pm.collectionVariables.unset(\"Newskies.Session.AccessToken\");\r",
"}\r",
"\r",
"pm.test(\"Status code is 200\", function () {\r",
" pm.response.to.have.status(200);\r",
"});\r",
"\r",
"let jsonData = pm.response.json();\r",
"pm.collectionVariables.set(\"Newskies.Session.AccessToken\", jsonData.access_token);\r",
"\r",
""
],
"type": "text/javascript",
"packages": {},
"requests": {}
}
}
],
"protocolProfileBehavior": {
"protocolVersion": "auto",
"disableUrlEncoding": false
},
"request": {
"auth": {
"type": "basic",
"basic": [
{
"key": "password",
"value": "{{Newskies.Agent.Password}}",
"type": "string"
},
{
"key": "username",
"value": "{{Newskies.Agent.Username}}",
"type": "string"
}
]
},
"method": "POST",
"header": [
{
"key": "Accept",
"value": "application/json",
"type": "text"
},
{
"key": "x-apikey",
"value": "{{Tui.NDC.ApiKey}}",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "{\r\n \"grant_type\":\"client_credentials\"\r\n}",
"options": {
"raw": {
"headerFamily": "json",
"language": "json"
}
}
},
"url": {
"raw": "{{Tui.NDC.BaseUrl}}/x3/ndc/api/Selling/r3.x/Auth",
"host": [
"{{Tui.NDC.BaseUrl}}"
],
"path": [
"x3",
"ndc",
"api",
"Selling",
"r3.x",
"Auth"
],
"query": [
{
"key": "loc",
"value": "{{Newskies.Agent.Location}}",
"disabled": true
},
{
"key": "role",
"value": "{{Newskies.Agent.Role}}",
"disabled": false
}
]
}
},
"response": []
},
{
"name": "AirShopping OW v21.3",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{Newskies.Session.AccessToken}}",
"type": "string"
}
]
},
"method": "POST",
"header": [
{
"key": "Accept",
"value": "application/xml"
},
{
"key": "x-apikey",
"value": "{{Tui.NDC.ApiKey}}",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "\n\t\n\t\t\n\t\t\t1\n\t\t\tSeller\n\t\t\t\n\t\t\t\t\n\t\t\t\t{{Newskies.Organization}}\n\t\t\t\n\t\t\n\t\n\t\n\t\t21.3\n\t\n\t\n\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t{{Flight.ArrivalAirport}}\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t{{Flight.OutboundDate}}\n\t\t\t\t\t\t{{Flight.DepartureAirport}}\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\n\t\t\n\t\t\n\t\t\t\n\t\t\t\tADT0\n\t\t\t\tADT\n\t\t\t\n\t\t\n\n\t\n",
"options": {
"raw": {
"headerFamily": "json",
"language": "xml"
}
}
},
"url": {
"raw": "{{Tui.NDC.BaseUrl}}/x3/ndc/api/Shopping/r3.x/v21.3/AirShopping",
"host": [
"{{Tui.NDC.BaseUrl}}"
],
"path": [
"x3",
"ndc",
"api",
"Shopping",
"r3.x",
"v21.3",
"AirShopping"
]
}
},
"response": []
},
{
"name": "OfferPrice OW v21.3",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{Newskies.Session.AccessToken}}",
"type": "string"
}
]
},
"method": "POST",
"header": [
{
"key": "Accept",
"value": "application/xml"
},
{
"key": "x-apikey",
"value": "{{Tui.NDC.ApiKey}}",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "\n \n \n 1\n Seller\n \n {{Newskies.Organization}}\n \n \n \n \n 21.3\n \n \n \n \n \n id-v2-36c4e8eb-9cdf-4ce7-967e-b74f84813a46-o-2\n X3\n \n\t\t\t\tid-v2-36c4e8eb-9cdf-4ce7-967e-b74f84813a46-o-2-1\n\t\t\t\tADT0\n\t\t\t\n\t\t\n \n \n \n",
"options": {
"raw": {
"headerFamily": "json",
"language": "xml"
}
}
},
"url": {
"raw": "{{Tui.NDC.BaseUrl}}/x3/ndc/api/Selling/r3.x/v21.3/OfferPrice",
"host": [
"{{Tui.NDC.BaseUrl}}"
],
"path": [
"x3",
"ndc",
"api",
"Selling",
"r3.x",
"v21.3",
"OfferPrice"
]
}
},
"response": []
},
{
"name": "OrderCreate OW v21.3",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{Newskies.Session.AccessToken}}",
"type": "string"
}
]
},
"method": "POST",
"header": [
{
"key": "Accept",
"value": "application/xml"
},
{
"key": "x-apikey",
"value": "{{Tui.NDC.ApiKey}}",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "\n \n \n 1\n Seller\n \n {{Newskies.Organization}}\n \n \n \n \n 21.3\n \n \n \n \n \n\t\tsid-v2-f696ec7c-4faa-416e-842b-594ede3a7c26\n\t\tX3\n\t\t\n\t\t\tsid-v2-f696ec7c-4faa-416e-842b-594ede3a7c26-1\n\t\t\tADT0\n\t\t\n\t\n \n \n \n \n \n\t\t\t\tADT0ContactYoda\n\t\t\t\tNTF\n\t\t\t\t\n\t\t\t\t\temailyoda@email.com\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\t1223334444\n\t\t\t\t\n\t\t \n\t\t HAJ\n\t\t DE\n\t\t HAJ\n\t\t 30539 \n\t\t 143 Street\n\t\t \n\t\t\t \n \n \n\t\t\n\t\t\t\tDE\n\t\t\t\tADT0ContactYoda\n\t\t\t\t\n\t\t\t\t\t1986-12-24\n\t\t\t\t\tF\n\t\t\t\t\tYODANAME\n\t\t\t\t\tYODASURNAME\n MR\n\t\t\t\tADT0\n\t\t\t\t\n\t\t\t\tADT\n\t\t\t\tDE\n\t\t\t\n\t \n \n \n\t\t\t\n\t\t\t\t369.99\n\t\t\t\t\n \n \n OT\n \n J9H1KQ \n \n \n \n\n\t\t\t\n\t\t\n \n",
"options": {
"raw": {
"headerFamily": "json",
"language": "xml"
}
}
},
"url": {
"raw": "{{Tui.NDC.BaseUrl}}/x3/ndc/api/Selling/r3.x/v21.3/OrderCreate",
"host": [
"{{Tui.NDC.BaseUrl}}"
],
"path": [
"x3",
"ndc",
"api",
"Selling",
"r3.x",
"v21.3",
"OrderCreate"
]
}
},
"response": []
}
],
"description": "One-way booking paid with an OT (other) credit file."
},
{
"name": "OW Shop with Promo Code",
"item": [
{
"name": "Auth",
"event": [
{
"listen": "test",
"script": {
"exec": [
"// Cleanup of the session token collection value\r",
"if(pm.collectionVariables.has(\"Newskies.Session.AccessToken\")){\r",
" pm.collectionVariables.unset(\"Newskies.Session.AccessToken\");\r",
"}\r",
"\r",
"pm.test(\"Status code is 200\", function () {\r",
" pm.response.to.have.status(200);\r",
"});\r",
"\r",
"let jsonData = pm.response.json();\r",
"pm.collectionVariables.set(\"Newskies.Session.AccessToken\", jsonData.access_token);\r",
"\r",
""
],
"type": "text/javascript",
"packages": {},
"requests": {}
}
}
],
"protocolProfileBehavior": {
"protocolVersion": "auto",
"disableUrlEncoding": false
},
"request": {
"auth": {
"type": "basic",
"basic": [
{
"key": "password",
"value": "{{Newskies.Agent.Password}}",
"type": "string"
},
{
"key": "username",
"value": "{{Newskies.Agent.Username}}",
"type": "string"
}
]
},
"method": "POST",
"header": [
{
"key": "Accept",
"value": "application/json",
"type": "text"
},
{
"key": "x-apikey",
"value": "{{Tui.NDC.ApiKey}}",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "{\r\n \"grant_type\":\"client_credentials\"\r\n}",
"options": {
"raw": {
"headerFamily": "json",
"language": "json"
}
}
},
"url": {
"raw": "{{Tui.NDC.BaseUrl}}/x3/ndc/api/Selling/r3.x/Auth",
"host": [
"{{Tui.NDC.BaseUrl}}"
],
"path": [
"x3",
"ndc",
"api",
"Selling",
"r3.x",
"Auth"
],
"query": [
{
"key": "loc",
"value": "{{Newskies.Agent.Location}}",
"disabled": true
},
{
"key": "role",
"value": "{{Newskies.Agent.Role}}",
"disabled": false
}
]
}
},
"response": []
},
{
"name": "AirShopping OW v21.3",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{Newskies.Session.AccessToken}}",
"type": "string"
}
]
},
"method": "POST",
"header": [
{
"key": "Accept",
"value": "application/xml"
},
{
"key": "x-apikey",
"value": "{{Tui.NDC.ApiKey}}",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "\n\t\n\t\t\n\t\t\t1\n\t\t\tSeller\n\t\t\t\n\t\t\t\n\t\t\t\t{{Newskies.Organization}}\n\t\t\t\n\t\t\n\t\n\t\n\t\t21.3\n\t\n\t\n\t\t \n\t\t\n\t\t\t\t\tNDC10 \n\t\t\t\t \n \n \n \n\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t{{Flight.ArrivalAirport}}\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t{{Flight.OutboundDate}}\n\t\t\t\t\t\t{{Flight.DepartureAirport}}\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\n\t\t\n\n\n\n\t\t\n\t\t\t\n\t\t\t\tADT0\n\t\t\t\tADT\n\t\t\t\n\t\t\n\n\t\n",
"options": {
"raw": {
"headerFamily": "json",
"language": "xml"
}
}
},
"url": {
"raw": "{{Tui.NDC.BaseUrl}}/x3/ndc/api/Shopping/r3.x/v21.3/AirShopping",
"host": [
"{{Tui.NDC.BaseUrl}}"
],
"path": [
"x3",
"ndc",
"api",
"Shopping",
"r3.x",
"v21.3",
"AirShopping"
]
}
},
"response": []
},
{
"name": "OfferPrice OW v21.3",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{Newskies.Session.AccessToken}}",
"type": "string"
}
]
},
"method": "POST",
"header": [
{
"key": "Accept",
"value": "application/xml"
},
{
"key": "x-apikey",
"value": "{{Tui.NDC.ApiKey}}",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "\n \n \n 1\n Seller\n \n {{Newskies.Organization}}\n \n \n \n \n 21.3\n \n \n \n \n \n \n id-v2-60ad0b8f-5faa-4748-93a6-38b0f35e57c1-o-2\n X3\n \n\t\t\t\tid-v2-60ad0b8f-5faa-4748-93a6-38b0f35e57c1-o-2-1\n\t\t\t\tADT0\n\t\t\t\n\t\t\n \n \n \n",
"options": {
"raw": {
"headerFamily": "json",
"language": "xml"
}
}
},
"url": {
"raw": "{{Tui.NDC.BaseUrl}}/x3/ndc/api/Selling/r3.x/v21.3/OfferPrice",
"host": [
"{{Tui.NDC.BaseUrl}}"
],
"path": [
"x3",
"ndc",
"api",
"Selling",
"r3.x",
"v21.3",
"OfferPrice"
]
}
},
"response": []
},
{
"name": "OrderCreate OW v21.3",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{Newskies.Session.AccessToken}}",
"type": "string"
}
]
},
"method": "POST",
"header": [
{
"key": "Accept",
"value": "application/xml"
},
{
"key": "x-apikey",
"value": "{{Tui.NDC.ApiKey}}",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "\n \n \n 1\n Seller\n \n {{Newskies.Organization}}\n \n \n \n \n 21.3\n \n \n \n \n \n\t\tsid-v2-32a3eb97-9726-4598-8f87-e5485838456c\n\t\tX3\n\t\t\n\t\t\tsid-v2-32a3eb97-9726-4598-8f87-e5485838456c-1\n\t\t\tADT0\n\t\t\n\t\n \n \n \n \n \n\t\t\t\tADT0ContactYoda\n\t\t\t\tNTF\n\t\t\t\t\n\t\t\t\t\temailyoda@email.com\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\t1223334444\n\t\t\t\t\n\t\t \n\t\t HAJ\n\t\t DE\n\t\t HAJ\n\t\t 30539 \n\t\t 143 Street\n\t\t \n\t\t\t \n \n \n\t\t\n\t\t\t\tDE\n\t\t\t\tADT0ContactYoda\n\t\t\t\t\n\t\t\t\t\t1986-12-24\n\t\t\t\t\tF\n\t\t\t\t\tYODANAME\n\t\t\t\t\tYODASURNAME\n MR\n\t\t\t\tADT0\n\t\t\t\t\n\t\t\t\tADT\n\t\t\t\tDE\n\t\t\t\n\t \n \n \n\t\t\t\n\t\t\t\t117.49\n\t\t\t\t\n\t \t\t\t\n\t \t\t\t\t1 \n\t \t\t\t\tAGT\n\t \t\t\t\n \t\t\t\n\t\t\t\n\t\t\n \n",
"options": {
"raw": {
"headerFamily": "json",
"language": "xml"
}
}
},
"url": {
"raw": "{{Tui.NDC.BaseUrl}}/x3/ndc/api/Selling/r3.x/v21.3/OrderCreate",
"host": [
"{{Tui.NDC.BaseUrl}}"
],
"path": [
"x3",
"ndc",
"api",
"Selling",
"r3.x",
"v21.3",
"OrderCreate"
]
}
},
"response": []
}
],
"description": "One-way booking with a promotion code applied at AirShopping."
},
{
"name": "OW Re-Price with Promo Code (offerid from OfferPrice)",
"item": [
{
"name": "Auth",
"event": [
{
"listen": "test",
"script": {
"exec": [
"// Cleanup of the session token collection value\r",
"if(pm.collectionVariables.has(\"Newskies.Session.AccessToken\")){\r",
" pm.collectionVariables.unset(\"Newskies.Session.AccessToken\");\r",
"}\r",
"\r",
"pm.test(\"Status code is 200\", function () {\r",
" pm.response.to.have.status(200);\r",
"});\r",
"\r",
"let jsonData = pm.response.json();\r",
"pm.collectionVariables.set(\"Newskies.Session.AccessToken\", jsonData.access_token);\r",
"\r",
""
],
"type": "text/javascript",
"packages": {},
"requests": {}
}
}
],
"protocolProfileBehavior": {
"protocolVersion": "auto",
"disableUrlEncoding": false
},
"request": {
"auth": {
"type": "basic",
"basic": [
{
"key": "password",
"value": "{{Newskies.Agent.Password}}",
"type": "string"
},
{
"key": "username",
"value": "{{Newskies.Agent.Username}}",
"type": "string"
}
]
},
"method": "POST",
"header": [
{
"key": "Accept",
"value": "application/json",
"type": "text"
},
{
"key": "x-apikey",
"value": "{{Tui.NDC.ApiKey}}",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "{\r\n \"grant_type\":\"client_credentials\"\r\n}",
"options": {
"raw": {
"headerFamily": "json",
"language": "json"
}
}
},
"url": {
"raw": "{{Tui.NDC.BaseUrl}}/x3/ndc/api/Selling/r3.x/Auth",
"host": [
"{{Tui.NDC.BaseUrl}}"
],
"path": [
"x3",
"ndc",
"api",
"Selling",
"r3.x",
"Auth"
],
"query": [
{
"key": "loc",
"value": "{{Newskies.Agent.Location}}",
"disabled": true
},
{
"key": "role",
"value": "{{Newskies.Agent.Role}}",
"disabled": false
}
]
}
},
"response": []
},
{
"name": "AirShopping (nopromo) OW",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{Newskies.Session.AccessToken}}",
"type": "string"
}
]
},
"method": "POST",
"header": [
{
"key": "Accept",
"value": "application/xml"
},
{
"key": "x-apikey",
"value": "{{Tui.NDC.ApiKey}}",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "\n\t\n\t\t\n\t\t\t1\n\t\t\tSeller\n\t\t\t\n\t\t\t\t{{Newskies.Organization}}\n\t\t\t\n\t\t\n\t\n\t\n\t\t21.3\n\t\n\t\n\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t{{Flight.ArrivalAirport}}\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t{{Flight.OutboundDate}}\n\t\t\t\t\t\t{{Flight.DepartureAirport}}\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\n\t\t\n\n\t \n\t\t\n\t\t\t\n\t\t\t\tADT0\n\t\t\t\tADT\n\t\t\t\n\t\t\n\n\t\n",
"options": {
"raw": {
"headerFamily": "json",
"language": "xml"
}
}
},
"url": {
"raw": "{{Tui.NDC.BaseUrl}}/x3/ndc/api/Shopping/r3.x/v21.3/AirShopping",
"host": [
"{{Tui.NDC.BaseUrl}}"
],
"path": [
"x3",
"ndc",
"api",
"Shopping",
"r3.x",
"v21.3",
"AirShopping"
]
}
},
"response": []
},
{
"name": "OfferPrice1 (nopromo) OW",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{Newskies.Session.AccessToken}}",
"type": "string"
}
]
},
"method": "POST",
"header": [
{
"key": "Accept",
"value": "application/xml"
},
{
"key": "x-apikey",
"value": "{{Tui.NDC.ApiKey}}",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "\n \n \n 1\n Seller\n \n {{Newskies.Organization}}\n \n \n \n \n 21.3\n \n \n\n\n \n \n \n id-v2-42722e33-6b41-434d-abb3-cc4390087d1e-o-2\n X3\n \n\t\t\t\tid-v2-42722e33-6b41-434d-abb3-cc4390087d1e-o-2-1\n\t\t\t\tADT0\n\t\t\t\n\t\t\n \n \n \n",
"options": {
"raw": {
"headerFamily": "json",
"language": "xml"
}
}
},
"url": {
"raw": "{{Tui.NDC.BaseUrl}}/x3/ndc/api/Selling/r3.x/v21.3/OfferPrice",
"host": [
"{{Tui.NDC.BaseUrl}}"
],
"path": [
"x3",
"ndc",
"api",
"Selling",
"r3.x",
"v21.3",
"OfferPrice"
]
}
},
"response": []
},
{
"name": "OfferPrice OW (promo & offerid from OP1)",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{Newskies.Session.AccessToken}}",
"type": "string"
}
]
},
"method": "POST",
"header": [
{
"key": "Accept",
"value": "application/xml"
},
{
"key": "x-apikey",
"value": "{{Tui.NDC.ApiKey}}",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "\n \n \n 1\n Seller\n \n {{Newskies.Organization}}\n \n \n \n \n 21.3\n \n \n \n\t\t\n\t\t\t\t\tNDC10 \n\t\t\t\t \n \n\n \n \n \n sid-v2-23ce59db-9043-48ff-8c99-287915fbcc5e\n X3\n \n\t\t\t\tsid-v2-23ce59db-9043-48ff-8c99-287915fbcc5e-1\n\t\t\t\tADT0\n\t\t\t\n\t\t\n \n \n \n",
"options": {
"raw": {
"headerFamily": "json",
"language": "xml"
}
}
},
"url": {
"raw": "{{Tui.NDC.BaseUrl}}/x3/ndc/api/Selling/r3.x/v21.3/OfferPrice",
"host": [
"{{Tui.NDC.BaseUrl}}"
],
"path": [
"x3",
"ndc",
"api",
"Selling",
"r3.x",
"v21.3",
"OfferPrice"
]
}
},
"response": []
},
{
"name": "OrderCreate OW",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{Newskies.Session.AccessToken}}",
"type": "string"
}
]
},
"method": "POST",
"header": [
{
"key": "Accept",
"value": "application/xml"
},
{
"key": "x-apikey",
"value": "{{Tui.NDC.ApiKey}}",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "\n \n \n 1\n Seller\n \n {{Newskies.Organization}}\n \n \n \n \n 21.3\n \n \n \n \n \n\t\tsid-v2-910dda64-75e1-4b58-bbdc-7b458d9099fe\n\t\tX3\n\t\t\n\t\t\tsid-v2-910dda64-75e1-4b58-bbdc-7b458d9099fe-1\n\t\t\tADT0\n\t\t\n\t\n \n \n \n \n \n\t\t\t\tADT0ContactYoda\n\t\t\t\tNTF\n\t\t\t\t\n\t\t\t\t\temailyoda@email.com\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\t1223334444\n\t\t\t\t\n\t\t \n\t\t HAJ\n\t\t DE\n\t\t HAJ\n\t\t 30539 \n\t\t 143 Street\n\t\t \n\t\t\t \n \n \n\t\t\n\t\t\t\tDE\n\t\t\t\tADT0ContactYoda\n\t\t\t\t\n\t\t\t\t\t1986-12-24\n\t\t\t\t\tF\n\t\t\t\t\tYODANAME\n\t\t\t\t\tYODASURNAME\n MR\n\t\t\t\tADT0\n\t\t\t\t\n\t\t\t\tADT\n\t\t\t\tDE\n\t\t\t\n\t \n \n \n\t\t\t\n\t\t\t\t134.99\n\t\t\t\t\n\t \t\t\t\n\t \t\t\t\t1 \n\t \t\t\t\tAGT\n\t \t\t\t\n \t\t\t\n\t\t\t\n\t\t\n \n",
"options": {
"raw": {
"headerFamily": "json",
"language": "xml"
}
}
},
"url": {
"raw": "{{Tui.NDC.BaseUrl}}/x3/ndc/api/Selling/r3.x/v21.3/OrderCreate",
"host": [
"{{Tui.NDC.BaseUrl}}"
],
"path": [
"x3",
"ndc",
"api",
"Selling",
"r3.x",
"v21.3",
"OrderCreate"
]
}
},
"response": []
}
],
"description": "Shop without promo, price, then re-price with promo code using the OfferPrice offer ID."
},
{
"name": "OW Re-Price with Promo Code (offerid from AirShopping)",
"item": [
{
"name": "Auth",
"event": [
{
"listen": "test",
"script": {
"exec": [
"// Cleanup of the session token collection value\r",
"if(pm.collectionVariables.has(\"Newskies.Session.AccessToken\")){\r",
" pm.collectionVariables.unset(\"Newskies.Session.AccessToken\");\r",
"}\r",
"\r",
"pm.test(\"Status code is 200\", function () {\r",
" pm.response.to.have.status(200);\r",
"});\r",
"\r",
"let jsonData = pm.response.json();\r",
"pm.collectionVariables.set(\"Newskies.Session.AccessToken\", jsonData.access_token);\r",
"\r",
""
],
"type": "text/javascript",
"packages": {},
"requests": {}
}
}
],
"protocolProfileBehavior": {
"protocolVersion": "auto",
"disableUrlEncoding": false
},
"request": {
"auth": {
"type": "basic",
"basic": [
{
"key": "password",
"value": "{{Newskies.Agent.Password}}",
"type": "string"
},
{
"key": "username",
"value": "{{Newskies.Agent.Username}}",
"type": "string"
}
]
},
"method": "POST",
"header": [
{
"key": "Accept",
"value": "application/json",
"type": "text"
},
{
"key": "x-apikey",
"value": "{{Tui.NDC.ApiKey}}",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "{\r\n \"grant_type\":\"client_credentials\"\r\n}",
"options": {
"raw": {
"headerFamily": "json",
"language": "json"
}
}
},
"url": {
"raw": "{{Tui.NDC.BaseUrl}}/x3/ndc/api/Selling/r3.x/Auth",
"host": [
"{{Tui.NDC.BaseUrl}}"
],
"path": [
"x3",
"ndc",
"api",
"Selling",
"r3.x",
"Auth"
],
"query": [
{
"key": "loc",
"value": "{{Newskies.Agent.Location}}",
"disabled": true
},
{
"key": "role",
"value": "{{Newskies.Agent.Role}}",
"disabled": false
}
]
}
},
"response": []
},
{
"name": "AirShopping (nopromo) OW",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{Newskies.Session.AccessToken}}",
"type": "string"
}
]
},
"method": "POST",
"header": [
{
"key": "Accept",
"value": "application/xml"
},
{
"key": "x-apikey",
"value": "{{Tui.NDC.ApiKey}}",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "\n\t\n\t\t\n\t\t\t1\n\t\t\tSeller\n\t\t\t\n\t\t\t\t{{Newskies.Organization}}\n\t\t\t\n\t\t\n\t\n\t\n\t\t21.3\n\t\n\t\n\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t{{Flight.ArrivalAirport}}\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t{{Flight.OutboundDate}}\n\t\t\t\t\t\t{{Flight.DepartureAirport}}\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\n\t\t\n\n\t \n\t\t\n\t\t\t\n\t\t\t\tADT0\n\t\t\t\tADT\n\t\t\t\n\t\t\n\n\t\n",
"options": {
"raw": {
"headerFamily": "json",
"language": "xml"
}
}
},
"url": {
"raw": "{{Tui.NDC.BaseUrl}}/x3/ndc/api/Shopping/r3.x/v21.3/AirShopping",
"host": [
"{{Tui.NDC.BaseUrl}}"
],
"path": [
"x3",
"ndc",
"api",
"Shopping",
"r3.x",
"v21.3",
"AirShopping"
]
}
},
"response": []
},
{
"name": "OfferPrice1 (nopromo) OW",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{Newskies.Session.AccessToken}}",
"type": "string"
}
]
},
"method": "POST",
"header": [
{
"key": "Accept",
"value": "application/xml"
},
{
"key": "x-apikey",
"value": "{{Tui.NDC.ApiKey}}",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "\n \n \n 1\n Seller\n \n {{Newskies.Organization}}\n \n \n \n \n 21.3\n \n \n\n\n \n \n \n id-v2-d7bf4242-179a-4b5a-b8b9-4ea0e66c502e-o-2\n X3\n \n\t\t\t\tid-v2-d7bf4242-179a-4b5a-b8b9-4ea0e66c502e-o-2-1\n\t\t\t\tADT0\n\t\t\t\n\t\t\n \n \n \n",
"options": {
"raw": {
"headerFamily": "json",
"language": "xml"
}
}
},
"url": {
"raw": "{{Tui.NDC.BaseUrl}}/x3/ndc/api/Selling/r3.x/v21.3/OfferPrice",
"host": [
"{{Tui.NDC.BaseUrl}}"
],
"path": [
"x3",
"ndc",
"api",
"Selling",
"r3.x",
"v21.3",
"OfferPrice"
]
}
},
"response": []
},
{
"name": "OfferPrice OW (promo & offerid from AS)",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{Newskies.Session.AccessToken}}",
"type": "string"
}
]
},
"method": "POST",
"header": [
{
"key": "Accept",
"value": "application/xml"
},
{
"key": "x-apikey",
"value": "{{Tui.NDC.ApiKey}}",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "\n \n \n 1\n Seller\n \n {{Newskies.Organization}}\n \n \n \n \n 21.3\n \n \n \n\t\t\n\t\t\t\t\tNDC10 \n\t\t\t\t \n \n\n \n \n \n id-v2-d7bf4242-179a-4b5a-b8b9-4ea0e66c502e-o-2\n X3\n \n\t\t\t\tid-v2-d7bf4242-179a-4b5a-b8b9-4ea0e66c502e-o-2-1\n\t\t\t\tADT0\n\t\t\t\n\t\t\n \n \n \n",
"options": {
"raw": {
"headerFamily": "json",
"language": "xml"
}
}
},
"url": {
"raw": "{{Tui.NDC.BaseUrl}}/x3/ndc/api/Selling/r3.x/v21.3/OfferPrice",
"host": [
"{{Tui.NDC.BaseUrl}}"
],
"path": [
"x3",
"ndc",
"api",
"Selling",
"r3.x",
"v21.3",
"OfferPrice"
]
}
},
"response": []
},
{
"name": "OrderCreate OW",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{Newskies.Session.AccessToken}}",
"type": "string"
}
]
},
"method": "POST",
"header": [
{
"key": "Accept",
"value": "application/xml"
},
{
"key": "x-apikey",
"value": "{{Tui.NDC.ApiKey}}",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "\n \n \n 1\n Seller\n \n {{Newskies.Organization}}\n \n \n \n \n 21.3\n \n \n \n \n \n\t\tsid-v2-572d8abc-a6dd-4237-aa26-1e78d4cb8896\n\t\tX3\n\t\t\n\t\t\tsid-v2-572d8abc-a6dd-4237-aa26-1e78d4cb8896-1\n\t\t\tADT0\n\t\t\n\t\n \n \n \n \n \n\t\t\t\tADT0ContactYoda\n\t\t\t\tNTF\n\t\t\t\t\n\t\t\t\t\temailyoda@email.com\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\t1223334444\n\t\t\t\t\n\t\t \n\t\t HAJ\n\t\t DE\n\t\t HAJ\n\t\t 30539 \n\t\t 143 Street\n\t\t \n\t\t\t \n \n \n\t\t\n\t\t\t\tDE\n\t\t\t\tADT0ContactYoda\n\t\t\t\t\n\t\t\t\t\t1986-12-24\n\t\t\t\t\tF\n\t\t\t\t\tYODANAME\n\t\t\t\t\tYODASURNAME\n MR\n\t\t\t\tADT0\n\t\t\t\t\n\t\t\t\tADT\n\t\t\t\tDE\n\t\t\t\n\t \n \n \n\t\t\t\n\t\t\t\t134.99\n\t\t\t\t\n\t \t\t\t\n\t \t\t\t\t1 \n\t \t\t\t\tAGT\n\t \t\t\t\n \t\t\t\n\t\t\t\n\t\t\n \n",
"options": {
"raw": {
"headerFamily": "json",
"language": "xml"
}
}
},
"url": {
"raw": "{{Tui.NDC.BaseUrl}}/x3/ndc/api/Selling/r3.x/v21.3/OrderCreate",
"host": [
"{{Tui.NDC.BaseUrl}}"
],
"path": [
"x3",
"ndc",
"api",
"Selling",
"r3.x",
"v21.3",
"OrderCreate"
]
}
},
"response": []
}
],
"description": "Shop without promo, price, then re-price with promo code using the AirShopping offer ID."
}
],
"description": "All NDC booking scenarios. Each folder is a self-contained flow - run requests top to bottom."
}
],
"event": [
{
"listen": "prerequest",
"script": {
"type": "text/javascript",
"packages": {},
"requests": {},
"exec": [
""
]
}
},
{
"listen": "test",
"script": {
"type": "text/javascript",
"packages": {},
"requests": {},
"exec": [
""
]
}
}
],
"variable": [
{
"key": "Tui.NDC.BaseUrl",
"value": "https://playground.api.tui/flight/ndc",
"description": "NDC Gateway base URL. Pre-configured to the playground environment."
},
{
"key": "Tui.NDC.ApiKey",
"value": "",
"description": "Your API key (x-apikey header). Obtain from the developer.tui portal after enrollment."
},
{
"key": "Newskies.Agent.Username",
"value": "",
"type": "string",
"description": "NewSkies agent username for authentication (Basic Auth). Format: DOMAIN\\username (e.g. EXT\\YourAgentName)."
},
{
"key": "Newskies.Agent.Password",
"value": "",
"type": "string",
"description": "NewSkies agent password for authentication (Basic Auth)."
},
{
"key": "Newskies.Agent.Role",
"value": "NDCC",
"type": "string",
"description": "Optional. NewSkies agent role (e.g. NDCC, NDCI). Improves response times if set. Defaults per agent profile if omitted."
},
{
"key": "Newskies.Agent.Location",
"value": "",
"type": "string",
"description": "Optional. IATA station code for the agent point-of-sale location (e.g. AMS, BRU). Defaults to the agent profile setting if omitted."
},
{
"key": "Newskies.Organization",
"value": "",
"description": "Navitaire organization code assigned to your company (OrgID in DistributionChain)."
},
{
"key": "Flight.DepartureAirport",
"value": "",
"description": "IATA 3-letter code for the departure airport (e.g. AMS, BRU)."
},
{
"key": "Flight.ArrivalAirport",
"value": "",
"description": "IATA 3-letter code for the arrival airport (e.g. PMI, AGP)."
},
{
"key": "Flight.OutboundDate",
"value": "",
"description": "Outbound departure date in YYYY-MM-DD format."
},
{
"key": "Flight.InboundDate",
"value": "",
"description": "Return departure date in YYYY-MM-DD format. Used in round-trip scenarios."
},
{
"key": "Flight.CarrierCode",
"value": "",
"description": "IATA 2-letter airline designator code for LongSell scenarios (e.g. X3)."
},
{
"key": "Flight.OutboundNumber",
"value": "",
"description": "Outbound flight number for LongSell (direct booking without shopping)."
},
{
"key": "Flight.InboundNumber",
"value": "",
"description": "Return flight number for LongSell round-trip scenarios."
},
{
"key": "Newskies.Session.AccessToken",
"value": "",
"description": "JWT token. Populated automatically by the Auth request test script."
}
]
}