POST Airline/PriceAllAirline

Request Information

URI Parameters

None.

Body Parameters

AirlinePriceAllAirlineRequest
NameDescriptionTypeAdditional information
airlineID

string

None.

origin

string

None.

destination

string

None.

tripType

string

None.

departDate

date

None.

returnDate

date

None.

paxAdult

integer

None.

paxChild

integer

None.

paxInfant

integer

None.

airlineAccessCode

string

None.

journeyDepartReference

string

None.

journeyReturnReference

string

None.

userID

user API

string

None.

accessToken

access code getting from login

string

None.

Request Formats

application/json, text/json

Sample:
{
  "airlineID": "sample string 1",
  "origin": "sample string 2",
  "destination": "sample string 3",
  "tripType": "sample string 4",
  "departDate": "2025-01-22T23:59:15.0331168+07:00",
  "returnDate": "2025-01-22T23:59:15.0331168+07:00",
  "paxAdult": 7,
  "paxChild": 8,
  "paxInfant": 9,
  "airlineAccessCode": "sample string 10",
  "journeyDepartReference": "sample string 11",
  "journeyReturnReference": "sample string 12",
  "userID": "sample string 13",
  "accessToken": "sample string 14"
}

application/xml, text/xml

Sample:
<AirlinePriceAllAirlineRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cebes.DI.H2H.Api.Models">
  <accessToken>sample string 14</accessToken>
  <userID>sample string 13</userID>
  <airlineAccessCode>sample string 10</airlineAccessCode>
  <airlineID>sample string 1</airlineID>
  <departDate>2025-01-22T23:59:15.0331168+07:00</departDate>
  <destination>sample string 3</destination>
  <journeyDepartReference>sample string 11</journeyDepartReference>
  <journeyReturnReference>sample string 12</journeyReturnReference>
  <origin>sample string 2</origin>
  <paxAdult>7</paxAdult>
  <paxChild>8</paxChild>
  <paxInfant>9</paxInfant>
  <returnDate>2025-01-22T23:59:15.0331168+07:00</returnDate>
  <tripType>sample string 4</tripType>
</AirlinePriceAllAirlineRequest>

Response Information

Resource Description

AirlinePriceAllAirlineResponse
NameDescriptionTypeAdditional information
airlineAccessCode

string

None.

journeyDepartReference

string

None.

journeyReturnReference

string

None.

airlineID

ID or code for airlines

string

None.

origin

origin ID

string

None.

destination

destination ID

string

None.

tripType

type of flight trip, OneWay for without return flight, RoundTrip for using return flight

string

None.

departDate

date for flight

date

None.

returnDate

date for return flight

date

None.

paxAdult

amount of adult passanger

integer

None.

paxChild

amount of child passanger

integer

None.

paxInfant

amount of infant passanger

integer

None.

searchKey

searching key, filled in Sriwijaya

string

None.

promoCode

promo code, filled in Sriwijaya

string

None.

priceDepart

Collection of AirlinePriceSegmentModel

None.

priceReturn

Collection of AirlinePriceSegmentModel

None.

sumFare

total value of list totalfare

decimal number

None.

respTime

describe time in sending response

date

None.

userID

user ID to access API

string

None.

accessToken

access token that needed to access API

string

None.

status

SUCCESS or FAILED

string

None.

respMessage

detail message of response status

string

None.

Response Formats

application/json, text/json

Sample:
{
  "airlineAccessCode": "sample string 1",
  "journeyDepartReference": "sample string 2",
  "journeyReturnReference": "sample string 3",
  "airlineID": "sample string 4",
  "origin": "sample string 5",
  "destination": "sample string 6",
  "tripType": "sample string 7",
  "departDate": "2025-01-22T23:59:15.0331168+07:00",
  "returnDate": "2025-01-22T23:59:15.0331168+07:00",
  "paxAdult": 10,
  "paxChild": 11,
  "paxInfant": 12,
  "searchKey": "sample string 13",
  "promoCode": "sample string 14",
  "priceDepart": [
    {
      "flightNumber": "sample string 1",
      "classFare": "sample string 2",
      "psOrigin": "sample string 3",
      "psDestination": "sample string 4",
      "psDate": "2025-01-22T23:59:15.0331168+07:00",
      "currency": "sample string 6",
      "priceDetail": [
        {
          "paxType": "sample string 1",
          "baseFare": 2.0,
          "tax": 3.0,
          "totalFare": 4.0,
          "bagInfo": [
            "sample string 1",
            "sample string 2"
          ],
          "priceInfo": [
            "sample string 1",
            "sample string 2"
          ]
        },
        {
          "paxType": "sample string 1",
          "baseFare": 2.0,
          "tax": 3.0,
          "totalFare": 4.0,
          "bagInfo": [
            "sample string 1",
            "sample string 2"
          ],
          "priceInfo": [
            "sample string 1",
            "sample string 2"
          ]
        }
      ],
      "garudaNumber": "sample string 7",
      "garudaAvailability": "sample string 8",
      "airlineSegmentCode": "sample string 9",
      "classId": "sample string 10",
      "passportRequired": false
    },
    {
      "flightNumber": "sample string 1",
      "classFare": "sample string 2",
      "psOrigin": "sample string 3",
      "psDestination": "sample string 4",
      "psDate": "2025-01-22T23:59:15.0331168+07:00",
      "currency": "sample string 6",
      "priceDetail": [
        {
          "paxType": "sample string 1",
          "baseFare": 2.0,
          "tax": 3.0,
          "totalFare": 4.0,
          "bagInfo": [
            "sample string 1",
            "sample string 2"
          ],
          "priceInfo": [
            "sample string 1",
            "sample string 2"
          ]
        },
        {
          "paxType": "sample string 1",
          "baseFare": 2.0,
          "tax": 3.0,
          "totalFare": 4.0,
          "bagInfo": [
            "sample string 1",
            "sample string 2"
          ],
          "priceInfo": [
            "sample string 1",
            "sample string 2"
          ]
        }
      ],
      "garudaNumber": "sample string 7",
      "garudaAvailability": "sample string 8",
      "airlineSegmentCode": "sample string 9",
      "classId": "sample string 10",
      "passportRequired": false
    }
  ],
  "priceReturn": [
    {
      "flightNumber": "sample string 1",
      "classFare": "sample string 2",
      "psOrigin": "sample string 3",
      "psDestination": "sample string 4",
      "psDate": "2025-01-22T23:59:15.0331168+07:00",
      "currency": "sample string 6",
      "priceDetail": [
        {
          "paxType": "sample string 1",
          "baseFare": 2.0,
          "tax": 3.0,
          "totalFare": 4.0,
          "bagInfo": [
            "sample string 1",
            "sample string 2"
          ],
          "priceInfo": [
            "sample string 1",
            "sample string 2"
          ]
        },
        {
          "paxType": "sample string 1",
          "baseFare": 2.0,
          "tax": 3.0,
          "totalFare": 4.0,
          "bagInfo": [
            "sample string 1",
            "sample string 2"
          ],
          "priceInfo": [
            "sample string 1",
            "sample string 2"
          ]
        }
      ],
      "garudaNumber": "sample string 7",
      "garudaAvailability": "sample string 8",
      "airlineSegmentCode": "sample string 9",
      "classId": "sample string 10",
      "passportRequired": false
    },
    {
      "flightNumber": "sample string 1",
      "classFare": "sample string 2",
      "psOrigin": "sample string 3",
      "psDestination": "sample string 4",
      "psDate": "2025-01-22T23:59:15.0331168+07:00",
      "currency": "sample string 6",
      "priceDetail": [
        {
          "paxType": "sample string 1",
          "baseFare": 2.0,
          "tax": 3.0,
          "totalFare": 4.0,
          "bagInfo": [
            "sample string 1",
            "sample string 2"
          ],
          "priceInfo": [
            "sample string 1",
            "sample string 2"
          ]
        },
        {
          "paxType": "sample string 1",
          "baseFare": 2.0,
          "tax": 3.0,
          "totalFare": 4.0,
          "bagInfo": [
            "sample string 1",
            "sample string 2"
          ],
          "priceInfo": [
            "sample string 1",
            "sample string 2"
          ]
        }
      ],
      "garudaNumber": "sample string 7",
      "garudaAvailability": "sample string 8",
      "airlineSegmentCode": "sample string 9",
      "classId": "sample string 10",
      "passportRequired": false
    }
  ],
  "sumFare": 15.0,
  "respTime": "2025-01-22T23:59:15.0331168+07:00",
  "userID": "sample string 17",
  "accessToken": "sample string 18",
  "status": "sample string 19",
  "respMessage": "sample string 20"
}

application/xml, text/xml

Sample:
<AirlinePriceAllAirlineResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cebes.DI.H2H.Api.Models">
  <accessToken>sample string 18</accessToken>
  <respMessage>sample string 20</respMessage>
  <respTime>2025-01-22T23:59:15.0331168+07:00</respTime>
  <status>sample string 19</status>
  <userID>sample string 17</userID>
  <airlineID>sample string 4</airlineID>
  <departDate>2025-01-22T23:59:15.0331168+07:00</departDate>
  <destination>sample string 6</destination>
  <origin>sample string 5</origin>
  <paxAdult>10</paxAdult>
  <paxChild>11</paxChild>
  <paxInfant>12</paxInfant>
  <priceDepart>
    <AirlinePriceSegmentModel>
      <airlineSegmentCode>sample string 9</airlineSegmentCode>
      <classFare>sample string 2</classFare>
      <classId>sample string 10</classId>
      <currency>sample string 6</currency>
      <flightNumber>sample string 1</flightNumber>
      <garudaAvailability>sample string 8</garudaAvailability>
      <garudaNumber>sample string 7</garudaNumber>
      <priceDetail>
        <AirlinePriceDetailModel>
          <bagInfo xmlns:d6p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
            <d6p1:string>sample string 1</d6p1:string>
            <d6p1:string>sample string 2</d6p1:string>
          </bagInfo>
          <baseFare>2</baseFare>
          <paxType>sample string 1</paxType>
          <priceInfo xmlns:d6p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
            <d6p1:string>sample string 1</d6p1:string>
            <d6p1:string>sample string 2</d6p1:string>
          </priceInfo>
          <tax>3</tax>
          <totalFare>4</totalFare>
        </AirlinePriceDetailModel>
        <AirlinePriceDetailModel>
          <bagInfo xmlns:d6p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
            <d6p1:string>sample string 1</d6p1:string>
            <d6p1:string>sample string 2</d6p1:string>
          </bagInfo>
          <baseFare>2</baseFare>
          <paxType>sample string 1</paxType>
          <priceInfo xmlns:d6p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
            <d6p1:string>sample string 1</d6p1:string>
            <d6p1:string>sample string 2</d6p1:string>
          </priceInfo>
          <tax>3</tax>
          <totalFare>4</totalFare>
        </AirlinePriceDetailModel>
      </priceDetail>
      <psDate>2025-01-22T23:59:15.0331168+07:00</psDate>
      <psDestination>sample string 4</psDestination>
      <psOrigin>sample string 3</psOrigin>
    </AirlinePriceSegmentModel>
    <AirlinePriceSegmentModel>
      <airlineSegmentCode>sample string 9</airlineSegmentCode>
      <classFare>sample string 2</classFare>
      <classId>sample string 10</classId>
      <currency>sample string 6</currency>
      <flightNumber>sample string 1</flightNumber>
      <garudaAvailability>sample string 8</garudaAvailability>
      <garudaNumber>sample string 7</garudaNumber>
      <priceDetail>
        <AirlinePriceDetailModel>
          <bagInfo xmlns:d6p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
            <d6p1:string>sample string 1</d6p1:string>
            <d6p1:string>sample string 2</d6p1:string>
          </bagInfo>
          <baseFare>2</baseFare>
          <paxType>sample string 1</paxType>
          <priceInfo xmlns:d6p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
            <d6p1:string>sample string 1</d6p1:string>
            <d6p1:string>sample string 2</d6p1:string>
          </priceInfo>
          <tax>3</tax>
          <totalFare>4</totalFare>
        </AirlinePriceDetailModel>
        <AirlinePriceDetailModel>
          <bagInfo xmlns:d6p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
            <d6p1:string>sample string 1</d6p1:string>
            <d6p1:string>sample string 2</d6p1:string>
          </bagInfo>
          <baseFare>2</baseFare>
          <paxType>sample string 1</paxType>
          <priceInfo xmlns:d6p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
            <d6p1:string>sample string 1</d6p1:string>
            <d6p1:string>sample string 2</d6p1:string>
          </priceInfo>
          <tax>3</tax>
          <totalFare>4</totalFare>
        </AirlinePriceDetailModel>
      </priceDetail>
      <psDate>2025-01-22T23:59:15.0331168+07:00</psDate>
      <psDestination>sample string 4</psDestination>
      <psOrigin>sample string 3</psOrigin>
    </AirlinePriceSegmentModel>
  </priceDepart>
  <priceReturn>
    <AirlinePriceSegmentModel>
      <airlineSegmentCode>sample string 9</airlineSegmentCode>
      <classFare>sample string 2</classFare>
      <classId>sample string 10</classId>
      <currency>sample string 6</currency>
      <flightNumber>sample string 1</flightNumber>
      <garudaAvailability>sample string 8</garudaAvailability>
      <garudaNumber>sample string 7</garudaNumber>
      <priceDetail>
        <AirlinePriceDetailModel>
          <bagInfo xmlns:d6p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
            <d6p1:string>sample string 1</d6p1:string>
            <d6p1:string>sample string 2</d6p1:string>
          </bagInfo>
          <baseFare>2</baseFare>
          <paxType>sample string 1</paxType>
          <priceInfo xmlns:d6p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
            <d6p1:string>sample string 1</d6p1:string>
            <d6p1:string>sample string 2</d6p1:string>
          </priceInfo>
          <tax>3</tax>
          <totalFare>4</totalFare>
        </AirlinePriceDetailModel>
        <AirlinePriceDetailModel>
          <bagInfo xmlns:d6p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
            <d6p1:string>sample string 1</d6p1:string>
            <d6p1:string>sample string 2</d6p1:string>
          </bagInfo>
          <baseFare>2</baseFare>
          <paxType>sample string 1</paxType>
          <priceInfo xmlns:d6p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
            <d6p1:string>sample string 1</d6p1:string>
            <d6p1:string>sample string 2</d6p1:string>
          </priceInfo>
          <tax>3</tax>
          <totalFare>4</totalFare>
        </AirlinePriceDetailModel>
      </priceDetail>
      <psDate>2025-01-22T23:59:15.0331168+07:00</psDate>
      <psDestination>sample string 4</psDestination>
      <psOrigin>sample string 3</psOrigin>
    </AirlinePriceSegmentModel>
    <AirlinePriceSegmentModel>
      <airlineSegmentCode>sample string 9</airlineSegmentCode>
      <classFare>sample string 2</classFare>
      <classId>sample string 10</classId>
      <currency>sample string 6</currency>
      <flightNumber>sample string 1</flightNumber>
      <garudaAvailability>sample string 8</garudaAvailability>
      <garudaNumber>sample string 7</garudaNumber>
      <priceDetail>
        <AirlinePriceDetailModel>
          <bagInfo xmlns:d6p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
            <d6p1:string>sample string 1</d6p1:string>
            <d6p1:string>sample string 2</d6p1:string>
          </bagInfo>
          <baseFare>2</baseFare>
          <paxType>sample string 1</paxType>
          <priceInfo xmlns:d6p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
            <d6p1:string>sample string 1</d6p1:string>
            <d6p1:string>sample string 2</d6p1:string>
          </priceInfo>
          <tax>3</tax>
          <totalFare>4</totalFare>
        </AirlinePriceDetailModel>
        <AirlinePriceDetailModel>
          <bagInfo xmlns:d6p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
            <d6p1:string>sample string 1</d6p1:string>
            <d6p1:string>sample string 2</d6p1:string>
          </bagInfo>
          <baseFare>2</baseFare>
          <paxType>sample string 1</paxType>
          <priceInfo xmlns:d6p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
            <d6p1:string>sample string 1</d6p1:string>
            <d6p1:string>sample string 2</d6p1:string>
          </priceInfo>
          <tax>3</tax>
          <totalFare>4</totalFare>
        </AirlinePriceDetailModel>
      </priceDetail>
      <psDate>2025-01-22T23:59:15.0331168+07:00</psDate>
      <psDestination>sample string 4</psDestination>
      <psOrigin>sample string 3</psOrigin>
    </AirlinePriceSegmentModel>
  </priceReturn>
  <promoCode>sample string 14</promoCode>
  <returnDate>2025-01-22T23:59:15.0331168+07:00</returnDate>
  <searchKey>sample string 13</searchKey>
  <sumFare>15</sumFare>
  <tripType>sample string 7</tripType>
  <airlineAccessCode>sample string 1</airlineAccessCode>
  <journeyDepartReference>sample string 2</journeyDepartReference>
  <journeyReturnReference>sample string 3</journeyReturnReference>
</AirlinePriceAllAirlineResponse>