Skip to content

Instantly share code, notes, and snippets.

@olaysco
Last active May 10, 2019 15:45
Show Gist options
  • Save olaysco/fc326e5ef61198fd5302a6e1a27a6d54 to your computer and use it in GitHub Desktop.
Save olaysco/fc326e5ef61198fd5302a6e1a27a6d54 to your computer and use it in GitHub Desktop.
POST /v1/flight/create-affiliate-booking HTTP/1.1
Host: 139.162.210.123:8086
Authorization: eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiI3NjkyODc4IiwiaXNzIjoiMTA1LjExMi4yMy4yMCIsImV4cCI6MTU1NjE1NjQzMSwiaWF0IjoxNTU2MTM0ODMxfQ.BxnECT7923KRSHczlq8PbkDNEf_JOeTARS4p0URWedc
accept: application/json
Content-Type: application/json
User-Agent: PostmanRuntime/7.11.0
Cache-Control: no-cache
Postman-Token: 834025c7-2234-4102-ae0f-d2c525e4dc59,6af60a6c-d268-4f65-b3b0-ca025abc7ff9
Host: 139.162.210.123:8086
cookie: NINJA_SESSION=ee4d224607697d4a3be05e505e12fcab85c10e91-___TS=1557500346677&___ID=decccc38-7136-4977-b370-10156a53448b
accept-encoding: gzip, deflate
content-length: 3384
Connection: keep-alive
cache-control: no-cache
{
"pricedItinerary": {
"sequencyNumber": 1,
"totalFare": 62067000,
"fareBreakDown": {
"numberOfAdults": 1,
"numberOfChildren": 0,
"numberOfInfant": 0,
"numberOfTravellers": 1,
"totalFareInKobo": 62067000,
"totalTaxInKobo": 20370600,
"baseFareInKobo": 41696400,
"adultTotalFareInKobo": 62067000,
"adultTotalTaxInKobo": 20370600,
"adultBaseFareInKobo": 41696400,
"childTotalFareInKobo": 0,
"childTotalTaxInKobo": 0,
"childBaseFareInKobo": 0,
"infantTotalFareInKobo": 0,
"infantTotalTaxInKobo": 0,
"infantBaseFareInKobo": 0
},
"currencyCode": "NGN",
"ticketLimitTime": "16/05/2019 23:59",
"signature": "Da8mbGvYljjT2FPaWfBm1RHR1VoVSfg8q4/5Dkx8pBk6w2BFwsFD2OrAF6qzhSzJu2f2+lmszlQCpbgEM8abL4J++6N7vHotdeZcsJVc3tlVzMbUOmnrCFMVWI+9izj1bNfoKetHmAHRhdFIJKQbYTIHow/mYEhEcmks90hAqYGMrl9BlWpOjw09Mq9sknV4n2ybZtDf4xTmmq3YsO8mKhzv3Zl0cRSlkmFIFfGmARpsDYqWHeUBnHaxtkDBHmtRjkc9bVvTeC6YedoVkKhDj9RRDAPgVIEwcyA+Ho5jdpurX6qk83IbiNIRQU2+NOOxvYKDp1Lf/MBhL4Ea2LSUC7ff/GRO5e3cQOxVfWYYGwXuBxhuxXx66xHVG1gNhvZe8DvImjdTHkA1elgv/OuTfH2ePggDzr8z5CdUoVN6ppReOyHqRGoRkTSJ4UstfOpBIkRVbkyOBex5/iwEaPnUjhHz0r1U6t+dJ708aKQe6TDBZi/8oZkur4PExuTWl2tAMCEFzxf9fmt+WdwqObwrJI30hlUD61dYpuBBa7geb3ZuTfT9NXFWBTrRkUQQqOYaJEISylYFHAgvsexwaICE0xJ9ZvM7jwprZ3Dix3x/fMBOtbJWmoq0thhvKtQhtkBTt1D90NVseDpmnrj0Xv4dpw==",
"originDestinationOptions": [
{
"stops": 1,
"flightSegments": [
{
"departureTime": "16/05/2019 18:10",
"arrivalTime": "17/05/2019 05:00",
"departureAirportCode": "LOS",
"departureAirportName": "Lagos-Murtala Muhammed Intl, Nigeria",
"arrivalAirportCode": "DXB",
"arrivalAirportName": "Dubai-Dubai Intl, United Arab Emirates",
"operatingAirlineCode": "EK",
"airlineName": "Emirates",
"airlineCode": "EK",
"bookingClass": "R",
"journeyDuration": "07:50",
"flightNumber": "784",
"resBookDesigCode": "R",
"numberInParty": 1,
"rph": "1"
},
{
"departureTime": "17/05/2019 12:00",
"arrivalTime": "17/05/2019 16:20",
"departureAirportCode": "DXB",
"departureAirportName": "Dubai-Dubai Intl, United Arab Emirates",
"arrivalAirportCode": "ABV",
"arrivalAirportName": "Abuja-Nnamdi Azikiwe Intl, Nigeria",
"operatingAirlineCode": "EK",
"airlineName": "Emirates",
"airlineCode": "EK",
"bookingClass": "R",
"journeyDuration": "07:20",
"flightNumber": "785",
"resBookDesigCode": "R",
"numberInParty": 1,
"rph": "1"
}
]
}
]
},
"contactInformation": {
"title": "4",
"firstName": "emmanuel",
"lastName": "joshua",
"dateOfBirth": null,
"email": "[email protected]",
"phoneNumber": "08113344556",
"address": "35 Oba Ijaolu street",
"city": "Ikorodu",
"countryCode": "NG"
},
"travellers": [
{
"firstName": "ola",
"lastName": "sam",
"dateOfBirth": "2019-05-07",
"title": "4",
"ageGroup": "3"
}
]
}
POST /v1/hotel/get-locations HTTP/1.1
Host: 139.162.210.123:8086
Authorization: eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiI3NjkyODc4IiwiaXNzIjoiMTA1LjExMi4yMy4yMCIsImV4cCI6MTU1NjE1NjQzMSwiaWF0IjoxNTU2MTM0ODMxfQ.BxnECT7923KRSHczlq8PbkDNEf_JOeTARS4p0URWedc
accept: application/json
Content-Type: application/json
User-Agent: PostmanRuntime/7.11.0
Cache-Control: no-cache
Postman-Token: 5c719476-c0b0-4c1e-9594-1dbf79c1e7e6,8fcfff84-0586-4e7d-b6e7-ac3171ec85c3
Host: 139.162.210.123:8086
cookie: NINJA_SESSION=ee4d224607697d4a3be05e505e12fcab85c10e91-___TS=1557500346677&___ID=decccc38-7136-4977-b370-10156a53448b
accept-encoding: gzip, deflate
content-length: 32
Connection: keep-alive
cache-control: no-cache
{"searchTerm":"la","maxLimit":5}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment