AeroCRS

The AeroCRS Developer Hub

Welcome to AeroCRS developer hub. You'll find comprehensive guides and documentation to help you start working with AeroCRS API as quickly as possible.
Should you require support, please contact AeroCRS Support at http://support.aerocrs.com

Get Started    

getAirlines

The method will allow you to receive the list of airlines hosted by AeroCRS.

 
gethttps://api.aerocrs.com/v4/getAirlines
No code samples available
A binary file was returned

You couldn't be authenticated

{
	"aerocrs": {
		"success": true,
		"airlines": {
			"airline": [{
					"companyname": "Northair ltd.",
					"companycode": "NOR",
					"companyiatacode": "",
					"country": "United Kingdom",
					"countryiso": "GB",
					"logourl": "https://storage.aerocrs.com/0/system/ol/system-20.png",
					"mandatoryage": false,
					"mandatoryphone": false,
					"mandatorynationality": false,
					"mandatorydocumentnumber": false,
					"mandatorydocumentexpiry": false,
					"mandatorydocumentissueingcountry": false,
					"mandatoryplaceofbirth": false,
					"mandatorydateofbirth": false,
					"mandatorydateofbirthforchild": false,
					"onlinecheckinavailable": true,
					"airlineacceptsapicreditcardpayments": false
				},
				{
					"companyname": "EverWinter Aviation",
					"companycode": "EW",
					"companyiatacode": "EW",
					"country": "Antarctica",
					"countryiso": "AQ",
					"logourl": "https://storage.aerocrs.com/284/system/logo.png ",
					"mandatoryage": false,
					"mandatoryphone": false,
					"mandatorynationality": false,
					"mandatorydocumentnumber": false,
					"mandatorydocumentexpiry": false,
					"mandatorydocumentissueingcountry": false,
					"mandatoryplaceofbirth": false,
					"mandatorydateofbirth": false,
					"mandatorydateofbirthforchild": false,
					"onlinecheckinavailable": true,
					"airlineacceptsapicreditcardpayments": true
				}
			]
		}
	}
}
<?xml version="1.0" encoding="utf-8"?>
<aerocrs>
    <success>true</success>
    <airlines>
        <airline>
            <companyname>Northair ltd.</companyname>
            <companyINTERNALcode>NOR</companyINTERNALcode>
            <companyIATAcode></companyIATAcode>
            <country>United Kingdom</country>
            <countryiso>GB</countryiso>
            <logourl>https://storage.aerocrs.com/0/system/ol/system-20.png</logourl>
            <AirlineID>20</AirlineID>
            <MandatoryAge>false</MandatoryAge>
            <MandatoryPhone>false</MandatoryPhone>
            <MandatoryNationality>false</MandatoryNationality>
            <MandatoryDocumentNumber>false</MandatoryDocumentNumber>
            <MandatoryDocumentExpiry>false</MandatoryDocumentExpiry>
            <MandatoryDocumentIssueingCountry>false</MandatoryDocumentIssueingCountry>
            <MandatoryPlaceOfBirth>false</MandatoryPlaceOfBirth>
            <MandatoryDateOfBirth>false</MandatoryDateOfBirth>
            <MandatoryDateOfBirthForChild>false</MandatoryDateOfBirthForChild>
            <OnlineCheckinAvailable>true</OnlineCheckinAvailable>
            <AirlineAcceptsAPIcreditcardPayments>false</AirlineAcceptsAPIcreditcardPayments>
        </airline>
        <airline>
            <companyname>EverWinter Aviation</companyname>
            <companyINTERNALcode>EW</companyINTERNALcode>
            <companyIATAcode>EW</companyIATAcode>
            <country>Antarctica</country>
            <countryiso>AQ</countryiso>
            <logourl>https://storage.aerocrs.com/284/system/logo.png </logourl>
            <AirlineID>284</AirlineID>
            <MandatoryAge>false</MandatoryAge>
            <MandatoryPhone>false</MandatoryPhone>
            <MandatoryNationality>false</MandatoryNationality>
            <MandatoryDocumentNumber>false</MandatoryDocumentNumber>
            <MandatoryDocumentExpiry>false</MandatoryDocumentExpiry>
            <MandatoryDocumentIssueingCountry>false</MandatoryDocumentIssueingCountry>
            <MandatoryPlaceOfBirth>false</MandatoryPlaceOfBirth>
            <MandatoryDateOfBirth>false</MandatoryDateOfBirth>
            <MandatoryDateOfBirthForChild>false</MandatoryDateOfBirthForChild>
            <OnlineCheckinAvailable>true</OnlineCheckinAvailable>
            <AirlineAcceptsAPIcreditcardPayments>true</AirlineAcceptsAPIcreditcardPayments>
        </airline>
    </airlines>
</aerocrs>

Headers

auth_id
string
required

ID provided to you by AeroCRS

auth_password
string
required

Password provided to you by AeroCRS

Content-Type
string
required

application/json OR application/xml specifying the format you wish to get the response

 

Response

The method will response with a list of airlines, including country and additional information.

Parameter
Type
Description

companyname

String

Company name

companycode

String

Airline designator, used in getSchedule, getDestinations

companyiatacode

String

IATA code (if exists)

country

String

Country name

countryiso

String

Country ISO code according to ISO 3166-1

logourl

String

Logo URL

mandatoryage

Boolean

Is the passenger age mandatory in the process of confirmBooking

mandatoryphone

Boolean

Is the passenger phone number mandatory in the process of confirmBooking

mandatorynationality

Boolean

Is the passenger nationailty mandatory in the process of confirmBooking

mandatorydocumentnumber

Boolean

Is the passenger document type and number mandatory in the process of confirmBooking

mandatorydocumentexpiry

Boolean

Is the passenger document expiry mandatory in the process of confirmBooking

mandatorydocumentissueingcountry

Boolean

Is the passenger document issuing country mandatory in the process of confirmBooking

mandatoryplaceofbirth

Boolean

Is the passenger place of birth mandatory in the process of confirmBooking

mandatorydateofbirth

Boolean

Is the passenger date of birth mandatory in the process of confirmBooking

mandatorydateofbirthforchild

Boolean

Is the date of birth for child mandatory in the process of confirmBooking

onlinecheckinavailable

Boolean

Does the airline offers online check-in

airlineacceptsapicreditcardpayments

Boolean

Does the airlines enables acceptance of credit cards via the API using makePayment

getTicketTerms

The request will give you a list of all airlines ticket terms

 
gethttps://api.aerocrs.com/v4/getTicketTerms
No code samples available
A binary file was returned

You couldn't be authenticated

{
	"aerocrs": {
		"success": true,
		"ticketTerms": {
			"airline": [{
				"airlineid": 20,
				"ticketterms": "http://northair.aerocrs.net/ticket-terms",
				"name": "Northair ltd.",
				"terms": "%3Cp%3E%26nbsp%3B%3C%2Fp%3E%3Cbr%20%2F%3E%0A%3Cp%3ETicket%20condition%3C%2Fp%3E%3Cbr%20%2F%3E%0A%3Cp%3E-%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20Laoskyway%20Promotion%3C%2Fp%3E%3Cbr%20%2F%3E%0A%3Cp%3EThis%20ticket%20is%20non-refundable%20and%20changes%20not%20permitted.%3C%2Fp%3E%3Cbr%20%2F%3E%0A%3Cp%3E-%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20Laoskyway%20Special%3C%2Fp%3E%3Cbr%20%2F%3E%0A%3Cp%3EThis%20ticket%20is%20non-refundable%20and%20changes%20permitted%20with%20fee%20will%20apply.%20Ticket%20is%20valid%20for%20one%20month%20form%20the%20date%20of%20issue.%3C%2Fp%3E%3Cbr%20%2F%3E%0A%3Cp%3E-%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20Laoskyway%20Standard%3C%2Fp%3E%3Cbr%20%2F%3E%0A%3Cp%3EThis%20ticket%20is%20refundable%20with%20100%2C000kip%20fee%20apply%20per%20passenger%20and%20changes%20permitted%20with%20no%20fee%20apply.%26nbsp%3B%20Ticket%20is%20valid%20for%20three%20months%20from%20the%20date%20of%20issue.%3C%2Fp%3E"
			}]
		}
	}
}
<?xml version="1.0" encoding="utf-8"?>
<aerocrs>
    <success>true</success>
    <ticketTerms>
        <airline>
            <airlineid>20</airlineid>
            <ticketterms>http://northair.aerocrs.net/ticket-terms</ticketterms>
            <name>Northair ltd.</name>
            <terms>%3Cp%3E%26nbsp%3B%3C%2Fp%3E%3Cbr%20%2F%3E%0A%3Cp%3ETicket%20condition%3C%2Fp%3E%3Cbr%20%2F%3E%0A%3Cp%3E-%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20Laoskyway%20Promotion%3C%2Fp%3E%3Cbr%20%2F%3E%0A%3Cp%3EThis%20ticket%20is%20non-refundable%20and%20changes%20not%20permitted.%3C%2Fp%3E%3Cbr%20%2F%3E%0A%3Cp%3E-%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20Laoskyway%20Special%3C%2Fp%3E%3Cbr%20%2F%3E%0A%3Cp%3EThis%20ticket%20is%20non-refundable%20and%20changes%20permitted%20with%20fee%20will%20apply.%20Ticket%20is%20valid%20for%20one%20month%20form%20the%20date%20of%20issue.%3C%2Fp%3E%3Cbr%20%2F%3E%0A%3Cp%3E-%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20Laoskyway%20Standard%3C%2Fp%3E%3Cbr%20%2F%3E%0A%3Cp%3EThis%20ticket%20is%20refundable%20with%20100%2C000kip%20fee%20apply%20per%20passenger%20and%20changes%20permitted%20with%20no%20fee%20apply.%26nbsp%3B%20Ticket%20is%20valid%20for%20three%20months%20from%20the%20date%20of%20issue.%3C%2Fp%3E</terms>
        </airline>
    </ticketTerms>
</aerocrs>

Headers

auth_id
string
required

ID provided to you by AeroCRS

auth_password
string
required

Password provided to you by AeroCRS

Content-Type
string
required

application/json OR application/xml specifying the format you wish to get the response

 

Response

The method will response with all the ticket terms in English.

Parameter
Type
Description

airlineid

Number

Airline number in AeroCRS

ticketterms

URL

URL for full ticket terms in airline's website (where exists)

name

String

The name of the airline

ticketTerms

String

Ticket terms
The ticket terms are formatted in HTML

getDestinations

The method will allow you to receive the list of destinations served by AeroCRS airlines.

 
gethttps://api.aerocrs.com/v4/getDestinations
No code samples available
A binary file was returned

You couldn't be authenticated

{
  "aerocrs": {
    "success": true,
    "destinations": {
      "destination": [
        {
          "name": "Abruzzo - Italy (PSR - Italy)",
          "code": "PSR ",
          "iatacode": "PSR ",
          "icaocode": "LIBP",
          "country": "Italy",
          "countryiso": "IT",
          "dstid": 248
        },
        {
          "name": "Accra- Ghana (ACC - Kotoka International Airport)",
          "code": "ACC",
          "iatacode": "ACC",
          "icaocode": "DGAA",
          "country": "Ghana",
          "countryiso": "GH",
          "dstid": 132 
        }]
    }
  }
<?xml version="1.0" encoding="UTF-8"?>
<aerocrs>
  	<success>true</success>
    <destinations>
        <destination>
            <name>Accra</name>
            <code>ACC</code>
            <iatacode>ACC</iatacode>
            <icaocode />
            <country>Equatorial guinea</country>
            <countryISO>GQ</countryISO>
            <dstid>132</dstid>
        </destination>
        <destination>
            <name>Amboseli</name>
            <code>ASV</code>
            <iatacode>ASV</iatacode>
            <icaocode>HKAM</icaocode>
            <country>Kenya</country>
            <countryISO>KE</countryISO>
            <dstid>2</dstid>
        </destination>
   </destinations>
</aerocrs>

Headers

auth_id
string
required

ID provided to you by AeroCRS

auth_password
string
required

Password provided to you by AeroCRS

Content-Type
string
required

application/json OR application/xml specifying the format you wish to get the response

 

Response

The method will response with a list of destinations, including country and additional information.

Parameter
Type
Description

name

String

Destination name

code

String

Destination code to be used in the method getFlights

iatacode

String

IATA code (if exists)

icaocode

String

ICAO code (if exists)

country

String

Country name

countryiso

String

Country ISO code according to ISO 3166-1

dstid

Numeric

Destination ID

Important

The list might update from time to time and is not related to a specific airline, although might change occasionally due to added/removed destinations.

getSchedule

This method will give you a list of served routes by airline

 
posthttps://api.aerocrs.com/v4/getSchedule
{
	"aerocrs": {
		"parms": {
			"fltsFROMperiod": "2018/05/23",
			"fltsTOperiod": "2018/05/24",
			"codeformat": "IATA",
			"companycode": "NOR"
		}
	}
}
{
	"aerocrs": {
		"parms": {
			"codeformat": "IATA"
		}
	}
}
<?xml version="1.0" encoding="utf-8"?>
<aerocrs>
    <parms>
        <fltsFROMperiod>2018/05/01</fltsFROMperiod>
        <fltsTOperiod>2018/05/02</fltsTOperiod>
        <codeformat>IATA</codeformat>
        <companycode>NOR</companycode>
    </parms>
</aerocrs>
<?xml version="1.0" encoding="utf-8"?>
<aerocrs>
    <parms>
        <codeformat>IATA</codeformat>
    </parms>
</aerocrs>
{
	"aerocrs": {
		"parms": {
			"fltsFROMperiod": "2018/11/20",
			"fltsTOperiod": "2018/11/24",
			"codeformat": "IATA",
			"companycode": "NOR",
			"ssim": 1
		}
	}
}
A binary file was returned

You couldn't be authenticated

{
	"aerocrs": {
		"success": true,
		"flight": [{
				"fltnumber": "100",
				"airlinename": "Northair ltd.",
				"airlineid": 20,
				"fromdestination": "DAR",
				"todestination": "ZNZ",
				"std": "12:00",
				"sta": "15:00",
				"weekdaysun": true,
				"weekdaymon": true,
				"weekdaytue": true,
				"weekdaywed": true,
				"weekdaythu": true,
				"weekdayfri": true,
				"weekdaysat": true,
				"accode": null,
				"fltsfromperiod": "2018/05/01",
				"fltstoperiod": "2018/07/31"
			},
			{
				"fltnumber": "101",
				"airlinename": "Northair ltd.",
				"airlineid": 20,
				"fromdestination": "ZNZ",
				"todestination": "DAR",
				"std": "16:00",
				"sta": "19:00",
				"weekdaysun": true,
				"weekdaymon": true,
				"weekdaytue": true,
				"weekdaywed": true,
				"weekdaythu": true,
				"weekdayfri": true,
				"weekdaysat": true,
				"accode": null,
				"fltsfromperiod": "2018/05/01",
				"fltstoperiod": "2019/05/31"
			}
		]
	}
}
<?xml version="1.0" encoding="utf-8"?>
<aerocrs>
    <success>true</success>
    <flight>
        <fltnumber>100</fltnumber>
        <airlinename>Northair ltd.</airlinename>
        <airlineid>20</airlineid>
        <fromdestination>DAR</fromdestination>
        <todestination>ZNZ</todestination>
        <std>12:00</std>
        <sta>15:00</sta>
        <weekdaysun>true</weekdaysun>
        <weekdaymon>true</weekdaymon>
        <weekdaytue>true</weekdaytue>
        <weekdaywed>true</weekdaywed>
        <weekdaythu>true</weekdaythu>
        <weekdayfri>true</weekdayfri>
        <weekdaysat>true</weekdaysat>
        <accode />
        <fltsfromperiod>2018/05/01</fltsfromperiod>
        <fltstoperiod>2018/07/31</fltstoperiod>
    </flight>
    <flight>
        <fltnumber>101</fltnumber>
        <airlinename>Northair ltd.</airlinename>
        <airlineid>20</airlineid>
        <fromdestination>ZNZ</fromdestination>
        <todestination>DAR</todestination>
        <std>16:00</std>
        <sta>19:00</sta>
        <weekdaysun>true</weekdaysun>
        <weekdaymon>true</weekdaymon>
        <weekdaytue>true</weekdaytue>
        <weekdaywed>true</weekdaywed>
        <weekdaythu>true</weekdaythu>
        <weekdayfri>true</weekdayfri>
        <weekdaysat>true</weekdaysat>
        <accode />
        <fltsfromperiod>2018/05/01</fltsfromperiod>
        <fltstoperiod>2019/05/31</fltstoperiod>
    </flight>
</aerocrs>
{
    "aerocrs": {
        "success": true,
        "flight": [
            {
                "airlinedesignator": "NOR",
                "flightnumber": "9595",
                "variation": "01",
                "legnumber": "01",
                "periodofoperation": "20Nov18",
                "daysofoperation": "24Nov18",
                "frequency": {
                    "day1": "False",
                    "day2": "True",
                    "day3": "True",
                    "day4": "True",
                    "day5": "True",
                    "day6": "True",
                    "day7": "False"
                },
                "departureairport": "TLV",
                "paxdepartureTime": "0700",
                "flightdeparture": "0700",
                "departuregmt": "+0200",
                "arrivalairport": "BCN",
                "paxarrivalTime": "1100",
                "flightarrival": "1100",
                "arrivalgmt": "+0100",
                "aircrafttype": "320",
                "PRBD": "",
                "linecount": "000003"
            },
            {
                "airlinedesignator": "NOR",
                "flightnumber": "2311",
                "variation": "01",
                "legnumber": "01",
                "periodofoperation": "20Nov18",
                "daysofoperation": "24Nov18",
                "frequency": {
                    "day1": "False",
                    "day2": "True",
                    "day3": "True",
                    "day4": "True",
                    "day5": "True",
                    "day6": "True",
                    "day7": "False"
                },
                "departureairport": "BCN",
                "paxdepartureTime": "0900",
                "flightdeparture": "0900",
                "departuregmt": "+0100",
                "arrivalairport": "TLV",
                "paxarrivalTime": "0900",
                "flightarrival": "0900",
                "arrivalgmt": "+0200",
                "aircrafttype": "320",
                "PRBD": "",
                "linecount": "000004"
            },
            {
                "airlinedesignator": "NOR",
                "flightnumber": "101",
                "variation": "01",
                "legnumber": "01",
                "periodofoperation": "20Nov18",
                "daysofoperation": "24Nov18",
                "frequency": {
                    "day1": "False",
                    "day2": "True",
                    "day3": "True",
                    "day4": "True",
                    "day5": "True",
                    "day6": "True",
                    "day7": "False"
                },
                "departureairport": "ZNZ",
                "paxdepartureTime": "1300",
                "flightdeparture": "1300",
                "departuregmt": "+0300",
                "arrivalairport": "DAR",
                "paxarrivalTime": "1600",
                "flightarrival": "1600",
                "arrivalgmt": "+0300",
                "aircrafttype": "AB3",
                "PRBD": "",
                "linecount": "000005"
            },
            {
                "airlinedesignator": "NOR",
                "flightnumber": "123",
                "variation": "01",
                "legnumber": "01",
                "periodofoperation": "20Nov18",
                "daysofoperation": "24Nov18",
                "frequency": {
                    "day1": "False",
                    "day2": "True",
                    "day3": "True",
                    "day4": "True",
                    "day5": "True",
                    "day6": "True",
                    "day7": "False"
                },
                "departureairport": "BCN",
                "paxdepartureTime": "0900",
                "flightdeparture": "0900",
                "departuregmt": "+0100",
                "arrivalairport": "TLV",
                "paxarrivalTime": "0800",
                "flightarrival": "0800",
                "arrivalgmt": "+0200",
                "aircrafttype": "320",
                "PRBD": "",
                "linecount": "000006"
            }
        ]
    }
}

Body Params

json
required

The method accepts the XML / JSON input as POST, response format will be according to the sent format. You can try JSON, put the post in the following input and click "Try It"

Headers

auth_id
string
required

ID provided to you by AeroCRS

auth_password
string
required

Password provided to you by AeroCRS

 

Request parameters

Parameter
Type
Description

fltsFROMperiod

Date

YYYY/MM/DD start period of the required data

fltsTOperiod

Date

YYYY/MM/DD end period of the required data

codeformat

String

IATA / ICAO / INTERNAL / AIRLINE – output of codes
IATA - the system will generate the output only for routes with IATA codes, and the output codes will be IATA
ICAO - the system will generate the output only for routes with ICAO codes, and the output codes will be ICAO
INTERNAL - The system will generate the output with internal assigned codes for non IATA destinations, note that AeroCRS internal codes can conflict with real IATA destinations, the rest of the destinations will be in IATA codes.
AIRLINE - The system will output the destinations in the airline defined codes

companycode

String*

Company short code (as supplied to you by the team) - Adding this element will narrow the search of the data for the specific airline.

soldonline

Boolean

true / false - when set to true will show only flights which are sold online.

ssim

Boolean

1 - when the response should be in an SSIM format, 0 - string SSIM format (for non SSIM results do not send this prameter)

Response

The method will response with the airlines hosted inventory information.

Parameter
Type
Description

fltnumber

String

Flight number

airlinename

String

Airline name

airlineid

Number

Number of airline ID

fromdestination

String

Destination FROM code

todestination

String

Destination TO code

std

String

HH:MM departure time

sta

String

HH:MM arrival time

weekdaysun

Boolean

Sunday operating (true/false)

weekdaymon

Boolean

Monday operating (true/false)

weekdaytue

Boolean

Tuesday operating (true/false)

weekdaywed

Boolean

Wednesday operating (true/false)

weekdaythu

Boolean

Thursday operating (true/false)

weekdayfri

Boolean

Friday operating (true/false)

weekdaysat

Boolean

Saturday operating (true/false)

accode

String

Aircraft code (might not appear to all airlines)

fltsfromperiod

String

Start period of the flight active

fltstoperiod

Number

End period of the flight active

* Mandatory parameters

Cached information

Please note, due to the face that the information from the airlines does not change on an hourly basis, you can pull a cached version of the information from the following links:

NOTE - The information is updated daily up to 00:30 GMT.

getAvailability

This method returns availability of the different classes according to flight number or destination combination

 
posthttps://api.aerocrs.com/v4/getAvailability
{
	"aerocrs": {
		"parms": {
			"fltnum": "M1234",
			"destinations": {
				"from": "DAR",
				"to": "ZNZ"
			},
			"dates": {
				"start": "2018/06/11",
				"end": "2018/12/30"
			}
		}
	}
}
{
	"aerocrs": {
		"parms": {
			"iata": false,
			"destinations": {
				"from": "DAR",
				"to": "ZNZ"
			},
			"dates": {
				"start": "2018/06/11",
				"end": "2018/12/30"
			}
		}
	}
}
{
	"aerocrs": {
		"parms": {
			"dates": {
				"start": "2018/06/11",
				"end": "2018/12/30"
			}
		}
	}
}
A binary file was returned

You couldn't be authenticated

{
    "aerocrs": {
        "success": true,
        "flights": {
            "count": 3,
            "flight": [
                {
                    "airlineDesignator": "NOR",
                    "airlineName": "Northair ltd.",
                    "fltnum": "M1234",
                    "fromcode": "DAR",
                    "tocode": "ZNZ",
                    "STD": "2018/08/15 05:00",
                    "STA": "2018/08/15 17:00",
                    "classes": {
                        "Y": 150,
                        "BB": 10,
                        "P": 150
                    }
                },
                {
                    "airlineDesignator": "NOR",
                    "airlineName": "Northair ltd.",
                    "fltnum": "M1234",
                    "fromcode": "DAR",
                    "tocode": "ZNZ",
                    "STD": "2018/08/16 05:00",
                    "STA": "2018/08/16 17:00",
                    "classes": {
                        "Y": 150,
                        "BB": 10,
                        "P": 150
                    }
                },
                {
                    "airlineDesignator": "NOR",
                    "airlineName": "Northair ltd.",
                    "fltnum": "M1234",
                    "fromcode": "DAR",
                    "tocode": "ZNZ",
                    "STD": "2018/08/17 05:00",
                    "STA": "2018/08/17 17:00",
                    "classes": {
                        "Y": 150,
                        "BB": 10,
                        "P": 150
                    }
                }
            ]
        }
    }
}
{
    "aerocrs": {
        "success": true,
        "flights": {
            "count": 281,
            "flight": [
                {
                    "airlineDesginator": "DS",
                    "airlineName": "DevSandbox",
                    "fromcode": "TLV",
                    "tocode": "CCS",
                    "STD": "2019/01/06 11:00:00.000",
                    "STA": "2019/01/07 08:30:00.000",
                    "numberOfLegs": 2,
                    "flighttype": "Connection",
                    "flights": [
                        {
                            "airlineName": "DevSandbox",
                            "fltnum": "D300",
                            "fromcode": "TLV",
                            "tocode": "MAD",
                            "STD": "2019/01/06 11:00:00.000",
                            "STA": "2019/01/06 14:00:00.000",
                            "legNumber": 1
                        },
                        {
                            "airlineName": "DevSandbox",
                            "fltnum": "split",
                            "fromcode": "MAD",
                            "tocode": "CCS",
                            "STD": "2019/01/07 06:45:00.000",
                            "STA": "2019/01/07 08:30:00.000",
                            "legNumber": 2
                        }
                    ],
                    "classes": {
                        "TLV-MAD-MIQ Y": 20
                    }
                }
              ]
        }
    }
}

Body Params

json
required

The method accepts the XML / JSON input as POST, response format will be according to the sent format. You can try JSON, put the post in the following input and click "Try It"

Headers

auth_id
string
required

ID provided to you by AeroCRS

auth_password
string
required

Password provided to you by AeroCRS

 

Request parameters

Parameter
Type
Description

fltnum

String

(optional)
Flight number to search

from

String

(optional)
destination of departure

to

String

(optional)
destination of arrival

start

Date

YYYY/MM/DD beginning of date range

end

Date

YYYY/MM/DD End of date range

Response

The method will response with a list of available flights, class codes and their respected available seats.

Parameter
Type
Description

count

Number

number of flights found

airlineDesignator

String

Airline Designator

airlinename

String

Airline name

fltnum

Number

Flight number

fromCode

String

Destination FROM code

toCode

String

Destination TO code

std

Date

YYYY/MM/DD HH:MM departure time

sta

Date

YYYY/MM/DD HH:MM arrival time

classes

Array

List of class codes and the quantity available for each one

flighttype

String

Type of Flight (Direct / Connection)

numberOfLegs

Number

Number of legs for this trip for connection flights

flights

Array

For connection flights - array of flights on the trip

Connection Parameters

Parameter
Type
Description

airlineName

String

Name of airline

fltnum

String

Flight number

fromcode

String

Departure airport code

tocode

String

Arrival airport code

STD

String

YYYY/MM/DD HH:MM departure time

STA

String

YYYY/MM/DD HH:MM arrival time

legNumber

Number

Leg number for the trip

Activation

This method will be available starting August 1st, 2018.

getFares

This method will return the current fares for the selected route and date

 
posthttps://api.aerocrs.com/v4/getFares
{
	"aerocrs": {
		"parms": {
			"destinations": {
				"from": "DAR",
				"to": "ZNZ"
			},
			"dates": {
				"start": "2018/06/11",
				"end": "2018/12/30"
			}
		}
	}
}
{
	"aerocrs": {
		"parms": {
			"dates": {
				"start": "2018/06/11",
				"end": "2018/12/30"
			}
		}
	}
}
A binary file was returned

You couldn't be authenticated

{
    "aerocrs": {
        "success": true,
        "fares": {
            "count": 1,
            "fare": [
                {
                    "fromDate": "2018/05/01",
                    "toDate": "2019/03/31",
                    "fromCode": "DAR",
                    "toCode": "ZNZ",
                    "class": "Y",
                    "currency": "USD",
                    "adultFareOW": 100,
                    "childFareOW": 80,
                    "infantFareOW": 0,
                    "tax1OW": 0,
                    "tax2OW": 0,
                    "tax3OW": 0,
                    "tax4OW": 0,
                    "adultFareRT": 160,
                    "childFareRT": 90,
                    "infantFareRT": 0,
                    "tax1RT": 0,
                    "tax2RT": 0,
                    "tax3RT": 0,
                    "tax4RT": 0
                }
            ]
        }
    }
}

Body Params

json
required

The method accepts the XML / JSON input as POST, response format will be according to the sent format. You can try JSON, put the post in the following input and click "Try It"

Headers

auth_id
string
required

ID provided to you by AeroCRS

auth_password
string
required

Password provided to you by AeroCRS

 

Request parameters

Parameter
Type
Description

start

Date

Begging of date range

end

Date

End of date range

from

String

(Optional) - Departure destination code

to

String

(Optional) - Arrival destinaion code

chargetype

String

(Optional)
The iataCode chargetype

currency

String

(optional)
The currency short code. This will force prices to be in this requested currency

Response

The method will response with a list of fares sellable as on the time of the request.

Parameter
Type
Description

count

Number

number of fares found

airlineDesginator

String

Airline Designator

airlinename

String

Airline name

fromCode

String

Destination FROM code

toCode

String

Destination TO code

fromDate

String

Fare flight date range start

toDate

String

Fare flight date range end

classes

Array

List of class codes and the quantity available for each one

adultFareRT

Money

Fare for Adult (Round trip)

childFareRT

Money

Fare for Child (Round trip)

infantFareRT

Money

Fare for Infant (Round trip)

tax1RT

Money

Tax (Round trip)

tax2RT

Money

Tax (Round trip)

tax3RT

Money

Tax (Round trip)

tax4RT

Money

Tax (Round trip)

adultFareOW

Money

Fare for Adult (One Way)

childFareOW

Money

Fare for Child (One Way)

infantFareOW

Money

Fare for Infant (One Way)

tax1OW

Money

Tax (One Way)

tax2OW

Money

Tax (One Way)

tax3OW

Money

Tax (One Way)

tax4OW

Money

Tax (One Way)

Activation

This method will be available starting August 1st, 2018.

getFlight

The method will allow you to validate selling information about a specific flight

 
posthttps://api.aerocrs.com/v4/getFlight
{
	"aerocrs": {
		"parms": {
			"triptype": "RT",
			"fromcode": "DAR",
			"tocode": "ZNZ",
			"adults": 1,
			"child": 0,
			"infant": 0,
			"flightid1": 9137214,
			"flightid2": 8483538,
      "chargetype":""
		}
	}
}
<aerocrs>
    <parms>
        <triptype>RT</triptype>
        <fromcode>DAR</fromcode>
        <tocode>ZNZ</tocode>
        <adults>1</adults>
        <child>0</child>
        <infant>0</infant>
        <flightid1>9137214</flightid1>
        <flightid2>8483538</flightid2>
      	<chargetype></chargetype>
    </parms>
</aerocrs>
A binary file was returned

You couldn't be authenticated

{
    "aerocrs": {
      	"success": true,
        "getFlight": {
            "flight": [
                {
                    "airline": "Northair ltd.",
                    "airlineid": 20,
                    "flightid": 9137214,
                    "fromcode": "DAR",
                    "tocode": "ZNZ",
                    "from": "Dar es Salaam",
                    "to": "Zanzibar",
                  	"via": "",
                    "flightdate": "2018/06/18",
                    "depart": "12:00",
                    "arrive": "15:00",
                    "number": "100",
                    "class": "ECO/Y",
                    "rackfare_adult": "100.00",
                    "rackfare_child": "80.00",
                    "rackfare_infant": "0.00",
                    "agtfare_adult": "90.00",
                    "agtfare_child": "72.00",
                    "agtfare_infant": "0.00",
                    "tax": "0.00",
                    "net_fare": "90.00",
                    "rack_fare": "100.00",
                    "totaltax": "0.00",
                    "currency": "USD",
                    "converttousd": 0,
                    "terms": "%3Cp%3E%26nbsp%3B%3C%2Fp%3E%0A%3Cp%3ETicket%20condition%3C%2Fp%3E%0A%3Cp%3E-%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20Laoskyway%20Promotion%26nbsp%3B%3C%2Fp%3E%0A%3Cp%3EThis%20ticket%20is%20non-refundable%20and%20changes%20not%20permitted.%3C%2Fp%3E%0A%3Cp%3E-%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20Laoskyway%20Special%3C%2Fp%3E%0A%3Cp%3EThis%20ticket%20is%20non-refundable%20and%20changes%20permitted%20with%20fee%20will%20apply.%20Ticket%20is%20valid%20for%20one%20month%20form%20the%20date%20of%20issue.%3C%2Fp%3E%0A%3Cp%3E-%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20Laoskyway%20Standard%3C%2Fp%3E%0A%3Cp%3EThis%20ticket%20is%20refundable%20with%20100%2C000kip%20fee%20apply%20per%20passenger%20and%20changes%20permitted%20with%20no%20fee%20apply.%26nbsp%3B%20Ticket%20is%20valid%20for%20three%20months%20from%20the%20date%20of%20issue.%3C%2Fp%3E"
                },
                {
                    "airline": "Northair ltd.",
                    "airlineid": 20,
                    "flightid": 8483538,
                    "fromcode": "ZNZ",
                    "tocode": "DAR",
                    "from": "Zanzibar",
                    "to": "Dar es Salaam",
                    "flightdate": "2018/06/26",
                    "depart": "05:00",
                    "arrive": "06:30",
                    "number": "M1235",
                    "class": "ECO/Y",
                    "rackfare_adult": "100.00",
                    "rackfare_child": "80.00",
                    "rackfare_infant": "0.00",
                    "agtfare_adult": "90.00",
                    "agtfare_child": "72.00",
                    "agtfare_infant": "0.00",
                    "tax": "0.00",
                    "net_fare": "90.00",
                    "rack_fare": "100.00",
                    "totaltax": "0.00",
                    "currency": "USD",
                    "converttousd": 0,
                    "terms": "%3Cp%3E%26nbsp%3B%3C%2Fp%3E%0A%3Cp%3ETicket%20condition%3C%2Fp%3E%0A%3Cp%3E-%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20Laoskyway%20Promotion%26nbsp%3B%3C%2Fp%3E%0A%3Cp%3EThis%20ticket%20is%20non-refundable%20and%20changes%20not%20permitted.%3C%2Fp%3E%0A%3Cp%3E-%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20Laoskyway%20Special%3C%2Fp%3E%0A%3Cp%3EThis%20ticket%20is%20non-refundable%20and%20changes%20permitted%20with%20fee%20will%20apply.%20Ticket%20is%20valid%20for%20one%20month%20form%20the%20date%20of%20issue.%3C%2Fp%3E%0A%3Cp%3E-%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20Laoskyway%20Standard%3C%2Fp%3E%0A%3Cp%3EThis%20ticket%20is%20refundable%20with%20100%2C000kip%20fee%20apply%20per%20passenger%20and%20changes%20permitted%20with%20no%20fee%20apply.%26nbsp%3B%20Ticket%20is%20valid%20for%20three%20months%20from%20the%20date%20of%20issue.%3C%2Fp%3E"
                }
            ]
        }
    }
}
<?xml version="1.0" encoding="utf-8"?>
<aerocrs>
  	<success>true</success>
    <getFlight>
        <flight>
            <airline>Northair ltd.</airline>
            <airlineid>20</airlineid>
            <flightid>9137214</flightid>
            <fromcode>DAR</fromcode>
            <tocode>ZNZ</tocode>
            <from>Dar es Salaam</from>
            <to>Zanzibar</to>
            <flightdate>2018/06/18</flightdate>
            <depart>12:00</depart>
            <arrive>15:00</arrive>
            <number>100</number>
            <class>ECO/Y</class>
            <rackfare_adult>100.00</rackfare_adult>
            <rackfare_child>80.00</rackfare_child>
            <rackfare_infant>0.00</rackfare_infant>
            <agtfare_adult>90.00</agtfare_adult>
            <agtfare_child>72.00</agtfare_child>
            <agtfare_infant>0.00</agtfare_infant>
            <tax>0.00</tax>
            <net_fare>90.00</net_fare>
            <rack_fare>100.00</rack_fare>
            <totaltax>0.00</totaltax>
            <currency>USD</currency>
            <converttousd>0</converttousd>
            <terms>%3Cp%3E%26nbsp%3B%3C%2Fp%3E%0A%3Cp%3ETicket%20condition%3C%2Fp%3E%0A%3Cp%3E-%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20Laoskyway%20Promotion%26nbsp%3B%3C%2Fp%3E%0A%3Cp%3EThis%20ticket%20is%20non-refundable%20and%20changes%20not%20permitted.%3C%2Fp%3E%0A%3Cp%3E-%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20Laoskyway%20Special%3C%2Fp%3E%0A%3Cp%3EThis%20ticket%20is%20non-refundable%20and%20changes%20permitted%20with%20fee%20will%20apply.%20Ticket%20is%20valid%20for%20one%20month%20form%20the%20date%20of%20issue.%3C%2Fp%3E%0A%3Cp%3E-%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20Laoskyway%20Standard%3C%2Fp%3E%0A%3Cp%3EThis%20ticket%20is%20refundable%20with%20100%2C000kip%20fee%20apply%20per%20passenger%20and%20changes%20permitted%20with%20no%20fee%20apply.%26nbsp%3B%20Ticket%20is%20valid%20for%20three%20months%20from%20the%20date%20of%20issue.%3C%2Fp%3E</terms>
        </flight>
        <flight>
            <airline>Northair ltd.</airline>
            <airlineid>20</airlineid>
            <flightid>8483538</flightid>
            <fromcode>ZNZ</fromcode>
            <tocode>DAR</tocode>
            <from>Zanzibar</from>
            <to>Dar es Salaam</to>
            <flightdate>2018/06/26</flightdate>
            <depart>05:00</depart>
            <arrive>06:30</arrive>
            <number>M1235</number>
            <class>ECO/Y</class>
            <rackfare_adult>100.00</rackfare_adult>
            <rackfare_child>80.00</rackfare_child>
            <rackfare_infant>0.00</rackfare_infant>
            <agtfare_adult>90.00</agtfare_adult>
            <agtfare_child>72.00</agtfare_child>
            <agtfare_infant>0.00</agtfare_infant>
            <tax>0.00</tax>
            <net_fare>90.00</net_fare>
            <rack_fare>100.00</rack_fare>
            <totaltax>0.00</totaltax>
            <currency>USD</currency>
            <converttousd>0</converttousd>
            <terms>%3Cp%3E%26nbsp%3B%3C%2Fp%3E%0A%3Cp%3ETicket%20condition%3C%2Fp%3E%0A%3Cp%3E-%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20Laoskyway%20Promotion%26nbsp%3B%3C%2Fp%3E%0A%3Cp%3EThis%20ticket%20is%20non-refundable%20and%20changes%20not%20permitted.%3C%2Fp%3E%0A%3Cp%3E-%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20Laoskyway%20Special%3C%2Fp%3E%0A%3Cp%3EThis%20ticket%20is%20non-refundable%20and%20changes%20permitted%20with%20fee%20will%20apply.%20Ticket%20is%20valid%20for%20one%20month%20form%20the%20date%20of%20issue.%3C%2Fp%3E%0A%3Cp%3E-%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20Laoskyway%20Standard%3C%2Fp%3E%0A%3Cp%3EThis%20ticket%20is%20refundable%20with%20100%2C000kip%20fee%20apply%20per%20passenger%20and%20changes%20permitted%20with%20no%20fee%20apply.%26nbsp%3B%20Ticket%20is%20valid%20for%20three%20months%20from%20the%20date%20of%20issue.%3C%2Fp%3E</terms>
        </flight>
    </getFlight>
</aerocrs>

Query Params

json
required

The method accepts the XML / JSON input as POST, response format will be according to the sent format. You can try JSON, put the post in the following input and click "Try It"

Headers

auth_id
string
required

ID provided to you by AeroCRS

auth_password
string
required

Password provided to you by AeroCRS

 

Usage

Use this method after retrieving the information from getDestinations, you should enter additional information on dates, number of passengers etc.

Response

The method will reply with the available flights on AeroCRS, note that some of the flights might not be "bookable" according to your agreement type.

Request parameters

Parameter
Type
Description

request

String*

getFlight (method name)

id

String*

Identification token

password

String*

Password

triptype

String*

Type of request:
OW: One-way
RT: Return

fromcode

String*

Destination code received from getDestinations

tocode

String*

Destination code received from getDestinations

adults

Numeric*

Number of adults

child

Numeric*

Number of children

infant

Numeric

Number of infants

flightid1

Numeric*

The flightid of the departure flight

flightid2

Numeric

The flightid of the return flight (if requested)

currency

String

Currency Code ('USD' for example)

chargetype

String

The iataCode chargetype

Response parameters

Parameter
Type
Description

flights

Element

The following elements are within <flight> which represents a flight within <flights>

flight

Element

The following parameters are within flight

airline

String

Name of the airline

airlineid

Number

ID of airline in AeroCRS systems

airlinelogo

Link

Country name

childagefrom

Number

Applicable chid agt start according to airline rules

childageto

Number

Applicable chid age end (inclusive) according to airline rules

chargetaxoninfant

Boolean

Should you charge tax on infant

from

String

Name of destination of departure

to

String

Name of destination of arrival

via

String

Text if the flight is VIA or connecting at a specific location.

fromcode

String

Code of destination of departure

tocode

String

Code of destination of arrival

direction

String

Direction of the flight (outbound/inbound)

flightdate

Date

YYYY/MM/DD date of the flight

depart

Time

HH:MM 24hours time of departure

arrive

Time

HH:MM 24hours time of arrival

number

String

Flight number

bookable

Boolean

Is the flight bookable with this username and password via the API

via

String

Text if the flight is VIA or connecting at a specific location.

totalminutes

Number

The number of minutes of the flight.

flightcode

Number

Flight internal code

linktowebsite

Element

an element within 'flight' which can be built to redirect to the airline website, each element besides the 'url' should be put in GET in the URL line.

url

Link

The link to the airline website

DepartureDateVal

Date

The date in YYYY/MM/DD format

TripType

String

Trip type for the website

FromDSTid

Number

From Destination ID

ToDSTid

Number

To Destination ID

ReturnDateVal

Link

The date in YYYY/MM/DD format

invAdlt

Number

Number of adults flying

invKids

Link

Number of children flying

CompanyWebDiscount

Number

Percentage of discount from RACK FARE below if booked on the website.

Rules

Element

Each rule of a flight will be represented in a <rule>element, all rules per flight are represented within<Rules> element

rule

String

Free text of flight specific rule

Classes

Element

Each class of a flight will be represented in a <class>element, all classes per flight are represented within<Classes> element

classcode

String

Class code

classname

String

Class name

cabinclass

String

Cabin Class

flightid

Number

Flight ID to be used in API for createBooking

rackfare_adult

Money

Rack fare for adult (per passenger)

rackfare_child

Money

Rack fare for child (per passenger)

rackfare_infant

Money

Rack fare for infant (per passenger)

agtfare_adult

Money

Agent’s fare for adult (per passenger)

agtfare_child

Money

Agent’s fare for child (per passenger)

agtfare_infant

Money

Agent's fare for infant (per passenger)

tax

Money

Tax for adult / child (per passenger)

rackfare_adult_no_vat

Money (4 decimals)

Rack fare for adult without VAT (per passenger)

rackfare_child_no_vat

Money (4 decimals)

Rack fare for child without VAT (per passenger)

rackfare_infant_no_vat

Money (4 decimals)

Rack fare for infant without VAT (per passenger)

agtfare_adult_no_vat

Money (4 decimals)

Agent’s fare for adult without VAT (per passenger)

agtfare_child_no_vat

Money (4 decimals)

Agent’s fare for child without VAT(per passenger)

agtfare_infant_no_vat

Money (4 decimals)

Agent's fare for infant without VAT(per passenger)

tax_no_vat

Money (4 decimals)

Tax for adult / child without VAT (per passenger)

vat_on_fare

Number (4 decimals)

VAT percentage on fare

vat_on_tax

Number (4 decimals)

VAT percentage on TAX

currency

String

The currency used in the fare (ISO-4217)

ttl

Date

Ticketing time limit in GMT time zone YYYY/MM/DD HH:MM

baggage

String

Baggage string number and mass unit

classshowonweb

Boolean

If class is show on website.(true/false)

Important

Flight information will be based on number of passengers and availability to book, you will not receive flight information which does not match your query.

* Mandatory parameters

createBooking

This method will create a booking according to one or more flight id.

 
posthttps://api.aerocrs.com/v4/createBooking
{
	"aerocrs": {
		"parms": {
			"triptype": "RT",
			"adults": 1,
			"child": 0,
			"infant": 0,
			"bookflight": [
				{
					"fromcode": "DAR",
					"tocode": "ZNZ",
					"flightid": 9137214
				},
				{
					"fromcode": "ZNZ",
					"tocode": "DAR",
					"flightid": 8483538
				}
			]
		}
	}
}
<?xml version="1.0" encoding="utf-8"?>
<aerocrs>
    <parms>
        <triptype>RT</triptype>
        <adults>1</adults>
        <child>0</child>
        <infant>0</infant>
        <bookflight>
	        <fromcode>DAR</fromcode>
	        <tocode>ZNZ</tocode>
	        <flightid>9137213</flightid>
		</bookflight>
		<bookflight>
	        <fromcode>ZNZ</fromcode>
	        <tocode>DAR</tocode>
	        <flightid>8483535</flightid>
		</bookflight>
    </parms>
</aerocrs>
A binary file was returned

You couldn't be authenticated

{
    "aerocrs": {
      	"success": true,
        "booking": {
            "items": {
                "flight": [
                    {
                        "airline": "Northair ltd.",
                        "airlineid": 20,
                        "from": "Dar es Salaam",
                        "to": "Zanzibar",
                        "fromcode": "DAR",
                        "tocode": "ZNZ",
                        "flightdate": "2018/06/18",
                        "depart": "12:00",
                        "arrive": "15:00",
                        "number": "100",
                        "class": "Y",
                        "invid": 13024436,
                        "invpricing": "90.00",
                        "Adultfare": "100.00",
                        "Childfare": "80.00",
                        "Infantfare": "0.00",
                        "tax": "0.00",
                        "net_fare": "90.00",
                        "rack_fare": "100.00",
                        "totaltax": "0.00",
                        "currency": "USD",
                        "converttousd": 0,
                        "terms": "%3Cp%3E%26nbsp%3B%3C%2Fp%3E%0A%3Cp%3ETicket%20condition%3C%2Fp%3E%0A%3Cp%3E-%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20Laoskyway%20Promotion%26nbsp%3B%3C%2Fp%3E%0A%3Cp%3EThis%20ticket%20is%20non-refundable%20and%20changes%20not%20permitted.%3C%2Fp%3E%0A%3Cp%3E-%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20Laoskyway%20Special%3C%2Fp%3E%0A%3Cp%3EThis%20ticket%20is%20non-refundable%20and%20changes%20permitted%20with%20fee%20will%20apply.%20Ticket%20is%20valid%20for%20one%20month%20form%20the%20date%20of%20issue.%3C%2Fp%3E%0A%3Cp%3E-%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20Laoskyway%20Standard%3C%2Fp%3E%0A%3Cp%3EThis%20ticket%20is%20refundable%20with%20100%2C000kip%20fee%20apply%20per%20passenger%20and%20changes%20permitted%20with%20no%20fee%20apply.%26nbsp%3B%20Ticket%20is%20valid%20for%20three%20months%20from%20the%20date%20of%20issue.%3C%2Fp%3E"
                    },
                    {
                        "airline": "Northair ltd.",
                        "airlineid": 20,
                        "from": "Zanzibar",
                        "to": "Dar es Salaam",
                        "fromcode": "ZNZ",
                        "tocode": "DAR",
                        "flightdate": "2018/06/26",
                        "depart": "05:00",
                        "arrive": "06:30",
                        "number": "M1235",
                        "class": "Y",
                        "invid": 13024437,
                        "invpricing": "90.00",
                        "Adultfare": "100.00",
                        "Childfare": "80.00",
                        "Infantfare": "0.00",
                        "tax": "0.00",
                        "net_fare": "90.00",
                        "rack_fare": "100.00",
                        "totaltax": "0.00",
                        "currency": "USD",
                        "converttousd": 0,
                        "terms": "%3Cp%3E%26nbsp%3B%3C%2Fp%3E%0A%3Cp%3ETicket%20condition%3C%2Fp%3E%0A%3Cp%3E-%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20Laoskyway%20Promotion%26nbsp%3B%3C%2Fp%3E%0A%3Cp%3EThis%20ticket%20is%20non-refundable%20and%20changes%20not%20permitted.%3C%2Fp%3E%0A%3Cp%3E-%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20Laoskyway%20Special%3C%2Fp%3E%0A%3Cp%3EThis%20ticket%20is%20non-refundable%20and%20changes%20permitted%20with%20fee%20will%20apply.%20Ticket%20is%20valid%20for%20one%20month%20form%20the%20date%20of%20issue.%3C%2Fp%3E%0A%3Cp%3E-%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20Laoskyway%20Standard%3C%2Fp%3E%0A%3Cp%3EThis%20ticket%20is%20refundable%20with%20100%2C000kip%20fee%20apply%20per%20passenger%20and%20changes%20permitted%20with%20no%20fee%20apply.%26nbsp%3B%20Ticket%20is%20valid%20for%20three%20months%20from%20the%20date%20of%20issue.%3C%2Fp%3E"
                    }
                ]
            },
            "adults": 1,
            "child": 0,
            "infant": 0,
            "totalprice": "180.00",
            "bookingid": 34229545,
            "pnrref": "20F6C59",
            "pnrptl": "2018/06/17 13:06",
          	"pnrttl": "2018/06/17 14:00"
        },
        "infaspax": 0
    }
}
<?xml version="1.0" encoding="utf-8"?>
<aerocrs>
  	<success>true</success>
    <booking>
        <items>
            <flight>
                <airline>Northair ltd.</airline>
                <airlineid>20</airlineid>
                <from>Dar es Salaam</from>
                <to>Zanzibar</to>
                <fromcode>DAR</fromcode>
                <tocode>ZNZ</tocode>
                <flightdate>2018/06/17</flightdate>
                <depart>12:00</depart>
                <arrive>15:00</arrive>
                <number>100</number>
                <class>Y</class>
                <invid>13024293</invid>
                <invpricing>90.00</invpricing>
                <Adultfare>100.00</Adultfare>
                <Childfare>80.00</Childfare>
                <Infantfare>0.00</Infantfare>
                <tax>0.00</tax>
                <net_fare>90.00</net_fare>
                <rack_fare>100.00</rack_fare>
                <totaltax>0.00</totaltax>
                <currency>USD</currency>
                <converttousd>0</converttousd>
                <terms>%3Cp%3E%26nbsp%3B%3C%2Fp%3E%0A%3Cp%3ETicket%20condition%3C%2Fp%3E%0A%3Cp%3E-%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20Laoskyway%20Promotion%26nbsp%3B%3C%2Fp%3E%0A%3Cp%3EThis%20ticket%20is%20non-refundable%20and%20changes%20not%20permitted.%3C%2Fp%3E%0A%3Cp%3E-%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20Laoskyway%20Special%3C%2Fp%3E%0A%3Cp%3EThis%20ticket%20is%20non-refundable%20and%20changes%20permitted%20with%20fee%20will%20apply.%20Ticket%20is%20valid%20for%20one%20month%20form%20the%20date%20of%20issue.%3C%2Fp%3E%0A%3Cp%3E-%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20Laoskyway%20Standard%3C%2Fp%3E%0A%3Cp%3EThis%20ticket%20is%20refundable%20with%20100%2C000kip%20fee%20apply%20per%20passenger%20and%20changes%20permitted%20with%20no%20fee%20apply.%26nbsp%3B%20Ticket%20is%20valid%20for%20three%20months%20from%20the%20date%20of%20issue.%3C%2Fp%3E</terms>
            </flight>
            <flight>
                <airline>Northair ltd.</airline>
                <airlineid>20</airlineid>
                <from>Zanzibar</from>
                <to>Dar es Salaam</to>
                <fromcode>ZNZ</fromcode>
                <tocode>DAR</tocode>
                <flightdate>2018/06/25</flightdate>
                <depart>05:00</depart>
                <arrive>06:30</arrive>
                <number>M1235</number>
                <class>Y</class>
                <invid>13024294</invid>
                <invpricing>90.00</invpricing>
                <Adultfare>100.00</Adultfare>
                <Childfare>80.00</Childfare>
                <Infantfare>0.00</Infantfare>
                <tax>0.00</tax>
                <net_fare>90.00</net_fare>
                <rack_fare>100.00</rack_fare>
                <totaltax>0.00</totaltax>
                <currency>USD</currency>
                <converttousd>0</converttousd>
                <terms>%3Cp%3E%26nbsp%3B%3C%2Fp%3E%0A%3Cp%3ETicket%20condition%3C%2Fp%3E%0A%3Cp%3E-%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20Laoskyway%20Promotion%26nbsp%3B%3C%2Fp%3E%0A%3Cp%3EThis%20ticket%20is%20non-refundable%20and%20changes%20not%20permitted.%3C%2Fp%3E%0A%3Cp%3E-%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20Laoskyway%20Special%3C%2Fp%3E%0A%3Cp%3EThis%20ticket%20is%20non-refundable%20and%20changes%20permitted%20with%20fee%20will%20apply.%20Ticket%20is%20valid%20for%20one%20month%20form%20the%20date%20of%20issue.%3C%2Fp%3E%0A%3Cp%3E-%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20Laoskyway%20Standard%3C%2Fp%3E%0A%3Cp%3EThis%20ticket%20is%20refundable%20with%20100%2C000kip%20fee%20apply%20per%20passenger%20and%20changes%20permitted%20with%20no%20fee%20apply.%26nbsp%3B%20Ticket%20is%20valid%20for%20three%20months%20from%20the%20date%20of%20issue.%3C%2Fp%3E</terms>
            </flight>
        </items>
        <adults>1</adults>
        <child>0</child>
        <infant>0</infant>
        <totalprice>180.00</totalprice>
        <bookingid>34229501</bookingid>
        <pnrref>20C9187</pnrref>
        <pnrptl>2018/06/17 10:51</pnrptl>
    </booking>
    <infaspax>0</infaspax>
</aerocrs>

Body Params

json
required

The method accepts the XML / JSON input as POST, response format will be according to the sent format. You can try JSON, put the post in the following input and click "Try It"

Headers

auth_id
string
required

ID provided to you by AeroCRS

auth_password
string
required

Password provided to you by AeroCRS

 

Request parameters

Parameter
Type
Description

triptype

String*

Type of request:
OW: One-way
RT: Return

adults

Number*

Number of adults

child

Number*

Number of children

infant

Number

Number of infants (not mandatory)

bookflight

Element*

Include the flight details

fromcode

String*

Origin code from getDestinations

tocode

String*

Destination code from getDestinations

flightid

Number*

flightid received from getFlights

currency

String (Optional)

Requested currency ISO (Example - USD)

chargetype

String*

The iataCode chargetype

Response

The method will response with all the details and a booking ID which you can use in other methods in AeroCRS API.

Parameter
Type
Description

booking

Element

The booking information, Holds items element

items

Element

Holds several other elements e.g. flight, hotel etc.

flight

Element

Holds the following elements:

airline

String

Name of airline

airlineid

Number

ID of airline in AeroCRS systems

from

String

Name of destination of departure

to

String

Name of destination of arrival

flightdate

Date

YYYY/MM/DD date of the flight

depart

Time

HH:MM 24hours time of departure

arrive

Time

HH:MM 24hours time of arrival

number

String

Flight number

class

String

Class code

invid

Number

ID of booked flight (internal use)

invpricing

Money

Total charged in the currency for the flight

Adultfare

Money

Adult RACK fare (per 1 adult)

Childfare

Money

Child RACK fare (per 1 child)

Infantfare

Money

Infant RACK fare (per 1 infant)

tax

Money

Total TAX

net_fare

Money

Total NET fare (charged)

rack_fare

Money

Total rack fare

totaltax

Money

Total TAX for flight

currency

String

The currency used in the fare (ISO-4217)

converttousd

Number

The conversion rate to USD as defined by the airline.

terms

String

Related terms of the fare / booking class.

adults

Number

Number of adults booked

child

Number

Number of children booked

infant

Number

Number of infants booked

totalprice

Money

Total amount for all booking

bookingid

Number

Booking ID to be used in the confirmBooking API

pnrref

String

PNR Reference (Record locator) to show customer

pnrptl

Date

Payment time limit in GMT time zone YYYY/MM/DD HH:MM

pnrttl

Date

Ticketing time limit in GMT time zone YYYY/MM/DD HH:MM

infaspax

Boolean

In case the airline defined infant as passenger

Important

Creating a booking must be actioned on one airline each time, if you wish to book from 2 different airlines, you will need to run createBooking separtly for each airline.

* Mandatory parameters

confirmBooking

This method will confirm a booking according to a booking id.

 
posthttps://api.aerocrs.com/v4/confirmBooking
{
	"aerocrs": {
		"parms": {
			"bookingid": 34229578,
			"agentconfirmation": "apiconnector",
			"confirmationemail": "test@test.com",
			"passenger": [
				{
					"paxtitle": "Mr.",
					"firstname": "John",
					"lastname": "Smith",
					"paxage": null,
					"paxnationailty": "US",
					"paxdoctype": "PP",
					"paxdocnumber": "9919239123",
					"paxdocissuer": "US",
					"paxdocexpiry": "2020/12/31",
					"paxbirthdate": "1979/12/31",
					"paxphone": "939383838383",
					"paxemail": "info@aerocrs.com"
				}
			]
		}
	}
}
<?xml version="1.0" encoding="UTF-8"?>
<aerocrs>
	<parms>
		<bookingid>34229501</bookingid>
		<agentconfirmation>apiconnector</agentconfirmation>
		<confirmationemail>test@test.com</confirmationemail>
		<remarks>test</remarks>
		<passenger>
			<paxtitle>Mr.</paxtitle>
			<firstname>John</firstname>
			<lastname>Smith</lastname>
			<paxage/>
			<paxnationailty>MM</paxnationailty>
			<paxdoctype>ID</paxdoctype>
			<paxdocnumber>test</paxdocnumber>
			<paxdocissuer>MM</paxdocissuer>
			<paxdocexpiry>2020/10/29</paxdocexpiry>
			<paxbirthdate>1990/03/12</paxbirthdate>
			<paxphone>+6012369123432</paxphone>
			<paxemail>test@test.com</paxemail>
		</passenger>
	</parms>
</aerocrs>
A binary file was returned

You couldn't be authenticated

{
    "aerocrs": {
        "success": true,
        "bookingid": 34229578,
        "bookingconfirmation": "A692C7B3-CAAD-4A15-92A2-2FE8FAF7849B",
        "linktobooking": "http://northair.aerocrs.net/booking/A692C7B3-CAAD-4A15-92A2-2FE8FAF7849B",
        "pnrref": "20A692C",
      	"topay": "120.00",
      	"currency": "USD",
      	"pnrptl": "2019/01/31 10:05",
      	"pnrttl": "2019/01/31 11:00",
        "status": "OK"
    }
}
<?xml version="1.0" encoding="utf-8"?>
<aerocrs>
    <success>true</success>
    <bookingid>34229501</bookingid>
    <bookingconfirmation>C9187DC9-A39A-45B1-AB67-D525AA4B7768</bookingconfirmation>
    <linktobooking>http://northair.aerocrs.net/booking/C9187DC9-A39A-45B1-AB67-D525AA4B7768</linktobooking>
    <pnrref>20C9187</pnrref>
	  <topay>120.00</topay>
	  <currency>USD</currency>
    <status>OK</status>
</aerocrs>

Body Params

json
required

The method accepts the XML / JSON input as POST, response format will be according to the sent format. You can try JSON, put the post in the following input and click "Try It"

Headers

auth_id
string
required

ID provided to you by AeroCRS

auth_password
string
required

Password provided to you by AeroCRS

 

Request parameters

Parameter
Type
Description

bookingid

Number*

bookingid taken from createBooking

agentconfirmation

String*

Agent reference

remarks

String

Free text (not mandatory)

passenger

Element*

Include the passenger details to update

paxtitle

String*

Mr./Mrs./Miss./Child/INFANT

firstname

String*

First name of passenger

lastname

String*

Last name of passenger

paxage

Number

Age of passenger – Mandatory only for children

paxnationailty

String

Passenger nationality (ISO country code)

paxdoctype

String

Document type PP- Passport / ID-National ID

paxdocnumber

String

Document number

paxdocissuer

String

Document issuer (ISO country code)

paxdocexpiry

Date

Document expiry (YYYY/MM/DD)

paxbirthdate

Date

Passenger birth date (YYYY/MM/DD)

paxphone

String

Passenger phone

paxemail

E-mail

Passenger e-mail

paxcarringinfant

Boolean

Passenger is caring an infant (1- true, 0- false) (mandatory in case booking has at least one infant)

confirmationemail

E-mail

Confirmation e-mail will be sent to this e-mail, please fill valid e-mail (not mandatory)

Response parameters

Parameter
Type
Description

bookingid

Number

Booking ID used

bookingconfirmation

String

Booking confirmation string

linktobooking

Link

The link to the booking in the airline website

pnrref

String

The PNR ref (record locator)

topay

Money

Amount left to pay

currency

String

Currency of payment

pnrptl

Date

Payment time limit in GMT time zone YYYY/MM/DD hh:mm

pnrttl

Date

Ticketing time limit in GMT time zone YYYY/MM/DD hh:mm

status

String

OK – PNR is OK and approved

* Mandatory parameters

makePayment

This method will allow you to pay a booking using a valid credit card number and details.

 
posthttps://secure.aerocrs.com/v4/makePayment
{
	"aerocrs": {
		"parms": {
			"bookingid": 34148599,
			"creditcardpayer": "test test",
			"creditcardnumber": "5436886269848367",
			"creditcardexpiry": "0220",
			"creditcardcvv": "303"
		}
	}
}
{
	"aerocrs": {
		"parms": {
			"bookingid": 34877322,
			"creditcardpayer": "test test",
			"creditcardnumber": "5436886269848367",
			"creditcardexpiry": "0220",
			"creditcardcvv": "303",
			"transaction3ds": true,
			"params3ds": {
				"eci": "02",
				"xid": "a209ca5d-dc23-494a-b043-c33fa906a018",
				"cavv": "MTIzNDU2Nzg5MDA5ODc2NTQzMjE=",
				"enrolled": "C",
				"status_3d": "Y",
				"version_3d": "2.1.0"
			}
		}
	}
}
{
	"aerocrs": {
		"parms": {
			"bookingid": 34877329,
			"ismobilepayment": true,
			"mobileaction": "options"
		}
	}
}
{
	"aerocrs": {
		"parms": {
			"bookingid": 34877329,
			"ismobilepayment": true,
			"mobileaction": "charge",
			"mobile": {
				"mobiletype": "mpesa",
				"mobilecountry": "Kenya",
				"phonenumber": "012345678"
			}
		}
	}
}
A binary file was returned

You couldn't be authenticated

{
    "aerocrs": {
      	"success": true,
        "bookingid": 34148599,
        "paymentstatus": "OK",
        "paymentstatusexplanation": "Payment received"
    }
}
{
	"aerocrs": {
		"success": true,
		"bookingid": 34877329,
		"paymentstatus": "PN",
		"paymentstatusexplanation": "Mobile payment options",
		"paymentoptions": [{
				"mobiletype": "SafaricomSTKv2",
				"mobilecountry": "Kenya"
			},
			{
				"mobiletype": "TIGOdebitMandate",
				"mobilecountry": "Tanzania"
			},
			{
				"mobiletype": "MTNmobilemoney",
				"mobilecountry": "Uganda"
			},
			{
				"mobiletype": "mpesa",
				"mobilecountry": "Kenya"
			},
			{
				"mobiletype": "MTN",
				"mobilecountry": "Rwanda"
			}
		]
	}
}
{
	"aerocrs": {
		"success": true,
		"bookingid": 34877329,
		"paymentstatus": "PN",
		"paymentstatusexplanation": "Mobile payment instructions",
		"instructions": "Dear Customer, <br> Shortly you will receive an M-PESA prompt on your phone requesting you to enter your M-PESA PIN to complete your payment. Please ensure your phone is on and unlocked to enable you to complete the process. Thank you. <br> <br> You can also pay using Lipa na MPESA by using the following instructions: <br> 1.Go to the M-PESA menu <br> 2. Select Lipa na M-PESA <br> 3. Select the Paybill option <br> 4. Enter business number 927633 <br> 5. Enter your account number 2257FB0D1 <br> 6. Enter the amount 1 <br> 7. Enter PIN and press OK to send <br> 8. You will receive a confirmation SMS with your payment reference number."
	}
}

Body Params

json
required

The method accepts the XML / JSON input as POST, response format will be according to the sent format. You can try JSON, put the post in the following input and click "Try It"

Headers

auth_id
string
required

ID provided to you by AeroCRS

auth_password
string
required

Password provided to you by AeroCRS

 

Usage

You should use it when you wan to pay a booking with the end-customer / agency credit card and when you do not have any deposit on your account.

Response

The method will response with a confirmation / rejection reason, you should ticketBooking once done with this method.

Request parameters

Parameter
Type
Description

bookingid

Number*

The bookingid you got from createBooking

creditcardpayer

String*

The credit card holder name and last name

creditcardnumber

Number*

The credit card number

creditcardexpiry

Number*

The credit card expiry in 4 digits MMYY

creditcardcvv

Number

The credit card CVV

currency

String (Optional)

Currency ISO format (Example - USD)

transaction3ds

Boolean

true/false - 3DS transaction

params3ds

Object

Contain the 3DS parameters

eci

String

ECI - From 3DS Authentication

xid

String

XID - From 3DS Authentication

cavv

String

CAVV - From 3DS Authentication

enrolled

String

Enrolled

status_3d

String

Status 3D

version_3d

String

Version 3D

ismobilepayment

Boolean

true / false

mobileaction

String

Mobile action options/charge

mobile

Object

Contain the mobile parameters

mobiletype

String

MNO - Mobile Network Operator

mobilecountry

String

The country name of MNO

phonenumber

String

The phone number of the customer

Mobile payments (AeroCRS Network)

Contact AeroCRS to provide payment notification URL for your integration in advance.
Mobile money payment notification

Response

The method will response with a confirmation / rejection reason, you should ticketBooking once done with this method.

Parameter
Type
Description

bookingid

Number

The booking ID

paymentstatus

String

The response:

OK - Confirmed

PN - Pending

XX - Rejected

paymentstatusexplanation

String

Free text of explanation

paymentoptions

Element

Include the MNO details

mobiletype

String

MNO - Mobile Network Operator

mobilecountry

String

The country name of MNO

instructions

String

Payment instructions

Important

Not all of AeroCRS hosted airlines support this feature.

Critical

Calling the makePayment with a valid post, will charge the total summary of the booking on the system, there is no option to select the charge amount.

* Mandatory parameters

Testing

For testing use this credit card number: 5326445577889977
You can only test "northair" test company

3DS Integration

Please not that before using 3DS integration, contact AeroCRS support to verify which airlines supported.

createPayment

This method will allow you to enter a payment to the booking.

 
posthttps://api.aerocrs.com/v4/createPayment
{
	"aerocrs": {
		"parms": {
			"bookingconfirmation": "0E7A9C87-1671-4861-A2A4-3DE779D9142D",
			"paymentmethodtoken": "A42EA913-5121-433C-B91A-5666BA5E2C7D",
			"amountpaid": 1,
			"amountcurrency": "USD",
			"paymentref": null
		}
	}
}
<?xml version="1.0" encoding="UTF-8"?>
<aerocrs>
   <parms>
      <bookingconfirmation>0E7A9C87-1671-4861-A2A4-3DE779D9142D</bookingconfirmation>
      <paymentmethodtoken>A42EA913-5121-433C-B91A-5666BA5E2C7D</paymentmethodtoken>
      <amountpaid>1</amountpaid>
      <amountcurrency>USD</amountcurrency>
      <paymentref />
   </parms>
</aerocrs>
A binary file was returned

You couldn't be authenticated

{
    "aerocrs": {
      	"success": true,
        "paymentreceived": 1,
        "receiptnumber": 2109,
        "receiptlink": "https://clients.aerocrs.com/Shared/receipt.asp?ID=AF8FD4BB-843C-456E-AAD6-4CC8963F9810"
    }
}
<?xml version="1.0" encoding="utf-8"?>
<aerocrs>
  	<success>true</success>
    <paymentreceived>1</paymentreceived>
    <receiptnumber>2110</receiptnumber>
    <receiptlink>https://clients.aerocrs.com/Shared/receipt.asp?ID=E594B630-3E13-4CFA-B1FD-19E00C660AA7</receiptlink>
</aerocrs>

Body Params

json
required

The method accepts the XML / JSON input as POST, response format will be according to the sent format. You can try JSON, put the post in the following input and click "Try It"

Headers

auth_id
string
required

ID provided to you by AeroCRS

auth_password
string
required

Password provided to you by AeroCRS

 

Request parameters

Parameter
Type
Description

bookingconfirmation

String*

bookingconfirmation as accepted on confirmBooking or getBooking

paymentmethodtoken

String*

Token received from AeroCRS support.

amountpaid

Money*

Total amount paid

amountcurrency

String*

Currency as allowed by the company

paymentref

String

Payment reference number which will be shown to company and in receipt

Response parameters

The method will response whether the payment was successful and the receipt link if so.

Parameter
Type
Description

paymentreceived

Money

Amount received by the system in the currency of the company

receiptnumber

Number

Receipt number

receiptlink

Link

Receipt link to print to the customer if needed

Important

You must get the Token for your payment method from the airline.

* Mandatory parameters

ticketBooking

The method will allow you to ticket a confirmed booking.

 
posthttps://api.aerocrs.com/v4/ticketBooking
{
	"aerocrs": {
		"parms": {
			"bookingid": 34145752
		}
	}
}
<?xml version="1.0" encoding="utf-8"?>
<aerocrs>
    <parms>
        <bookingid>21733077</bookingid>
    </parms>
</aerocrs>
A binary file was returned

You couldn't be authenticated

{
    "aerocrs": {
        "success": true,
        "bookingid": 34145752,
        "bookingconfirmation": "4BEEA9FE-E8FB-4F3D-A220-16C7176E75D6",
        "pnrref": "204BEEA",
        "ticketnumber": "4218242",
        "invoicenumber": 3814,
        "deposit": 392.15,
        "status": "OK"
    }
}
<?xml version="1.0" encoding="utf-8"?>
<aerocrs>
		<success>true</success>
    <bookingid>34145507</bookingid>
    <bookingconfirmation>0E494526-72DE-4BBE-A02C-6BA8CC75416B</bookingconfirmation>
    <pnrref>200E494</pnrref>
    <ticketnumber>4218214</ticketnumber>
    <invoicenumber>3813</invoicenumber>
    <deposit>392.15</deposit>
    <status>OK</status>
</aerocrs>

Body Params

json
required

The method accepts the XML / JSON input as POST, response format will be according to the sent format. You can try JSON, put the post in the following input and click "Try It"

Headers

auth_id
string
required

ID provided to you by AeroCRS

auth_password
string
required

Password provided to you by AeroCRS

 

Request parameters

Parameter
Type
Description

bookingid

Number*

bookingid taken from createBooking

Response

Parameter
Type
Description

bookingid

Number

Booking ID used

bookingconfirmation

String

Booking confirmation string

pnrref

String

The PNR ref (record locator)

ticketnumber

String

Ticket number ID in AeroCRS system

invoicenumber

Number

Invoice number in airline

deposit

Number

Number of remaining deposit (only valid for AeroCRS Network)

status

String

OK – PNR is OK and approved

* Mandatory parameters

getBooking

This method will give you the booking details according to the booking confirmation

 
posthttps://api.aerocrs.com/v4/getBooking
{
	"aerocrs": {
		"parms": {
			"bookingconfirmation": "1DCDF662-1F2E-4492-9FF2-E47DF2C3EF33"
		}
	}
}
<?xml version="1.0" encoding="utf-8"?>
<aerocrs>
    <parms>
        <bookingconfirmation>1DCDF662-1F2E-4492-9FF2-E47DF2C3EF33</bookingconfirmation>
    </parms>
</aerocrs>
{
	"aerocrs": {
		"parms": {
			"bookingconfirmation": "201DCDF",
			"passengerlastname": "Smith"
		}
	}
}
<?xml version="1.0" encoding="utf-8"?>
<aerocrs>
    <parms>
        <bookingconfirmation>201DCDF</bookingconfirmation>
        <passengerlastname>Smith</passengerlastname>
    </parms>
</aerocrs>
A binary file was returned

You couldn't be authenticated

{
    "aerocrs": {
      	"success": true,
        "booking": {
            "bookingid": 34145949,
            "bookingconfirmation": "1DCDF662-1F2E-4492-9FF2-E47DF2C3EF33",
            "linktobooking": "http://northair.aerocrs.net/booking/1DCDF662-1F2E-4492-9FF2-E47DF2C3EF33",
            "pnrref": "201DCDF",
            "ticketnumber": null,
            "invoicenumber": null,
            "status": "OK",
            "flights": {
                "flight": [
                    {
                        "airline": "Northair ltd.",
                        "airlinedesignator": "NOR",
                        "from": "Dar es Salaam",
                        "fromcode": "DAR",
                        "to": "Zanzibar",
                        "tocode": "ZNZ",
                        "class": "Y",
                        "flightdate": "2018/05/22",
                        "depart": "12:00",
                        "arrive": "15:00",
                        "number": "100",
                        "invid": 12607511,
                        "invpricing": "90.00"
                    },
                    {
                        "airline": "Northair ltd.",
                        "airlinedesignator": "NOR",
                        "from": "Zanzibar",
                        "fromcode": "ZNZ",
                        "to": "Dar es Salaam",
                        "tocode": "DAR",
                        "class": "Y",
                        "flightdate": "2018/05/23",
                        "depart": "16:00",
                        "arrive": "19:00",
                        "number": "101",
                        "invid": 12607512,
                        "invpricing": "90.00"
                    }
                ]
            },
            "passengers": {
                "passenger": [
                    {
                        "paxtitle": "Mr.",
                        "lastname": "Smith",
                        "firstname": "John",
                        "paxtype": "ADULT"
                    }
                ]
            },
            "remarks": [],
            "vouchers": {
                "voucher": [
                    {
                        "agentconfirmation": "apiconnector",
                        "vccreated": "2018/05/21",
                        "vctotal": "180.00"
                    }
                ]
            },
            "Balanceinformation": {
                "PNRtotal": 180,
                "PNRoutstandingpayment": 180
            },
          	"currencies": {
                "USD": 1,
                "TZS": 2250.00
            },
            "balanceInCurrencies": {
                "USD": {
                    "PNRtotal": 180,
                    "PNRoutstandingpayment": 180
                },
                "TZS": {
                  	"PNRtotal": 405000,
                    "PNRoutstandingpayment":405000
                }
            }
        }
    }
}
<?xml version="1.0" encoding="utf-8"?>
<aerocrs>
  	<success>true</success>
    <booking>
        <bookingid>34145949</bookingid>
        <bookingconfirmation>1DCDF662-1F2E-4492-9FF2-E47DF2C3EF33</bookingconfirmation>
        <linktobooking>http://northair.aerocrs.net/booking/1DCDF662-1F2E-4492-9FF2-E47DF2C3EF33</linktobooking>
        <pnrref>201DCDF</pnrref>
        <ticketnumber/>
        <invoicenumber/>
        <status>OK</status>
        <flights>
            <flight>
                <airline>Northair ltd.</airline>
                <airlinedesignator>NOR</airlinedesignator>
                <from>Dar es Salaam</from>
                <fromcode>DAR</fromcode>
                <to>Zanzibar</to>
                <tocode>ZNZ</tocode>
                <class>Y</class>
                <flightdate>2018/05/22</flightdate>
                <depart>12:00</depart>
                <arrive>15:00</arrive>
                <number>100</number>
                <invid>12607511</invid>
                <invpricing>90.00</invpricing>
            </flight>
            <flight>
                <airline>Northair ltd.</airline>
                <airlinedesignator>NOR</airlinedesignator>
                <from>Zanzibar</from>
                <fromcode>ZNZ</fromcode>
                <to>Dar es Salaam</to>
                <tocode>DAR</tocode>
                <class>Y</class>
                <flightdate>2018/05/23</flightdate>
                <depart>16:00</depart>
                <arrive>19:00</arrive>
                <number>101</number>
                <invid>12607512</invid>
                <invpricing>90.00</invpricing>
            </flight>
        </flights>
        <passengers>
            <passenger>
                <paxtitle>Mr.</paxtitle>
                <lastname>Smith</lastname>
                <firstname>John</firstname>
                <paxtype>ADULT</paxtype>
            </passenger>
        </passengers>
        <remarks/>
        <vouchers>
            <voucher>
                <agentconfirmation>apiconnector</agentconfirmation>
                <vccreated>2018/05/21</vccreated>
                <vctotal>180.00</vctotal>
            </voucher>
        </vouchers>
        <Balanceinformation>
            <PNRtotal>180</PNRtotal>
            <PNRoutstandingpayment>180</PNRoutstandingpayment>
        </Balanceinformation>
      	<currencies>
            <USD>1</USD>
          	<TZS>2250</TZS>
        </currencies>
        <balanceInCurrencies>
            <USD>
                <PNRtotal>180</PNRtotal>
                <PNRoutstandingpayment>180</PNRoutstandingpayment>
            </USD>
          	<TZS>
                <PNRtotal>405000</PNRtotal>
                <PNRoutstandingpayment>405000</PNRoutstandingpayment>
            </TZS>
        </balanceInCurrencies>
    </booking>
</aerocrs>

Body Params

json
required

The method accepts the XML / JSON input as POST, response format will be according to the sent format. You can try JSON, put the post in the following input and click "Try It"

Headers

auth_id
string
required

ID provided to you by AeroCRS

auth_password
string
required

Password provided to you by AeroCRS

 

Request parameters

Parameter
Type
Description

bookingconfirmation

String*

as accepted from confirmBooking
OR
PNR ref

passengerlastname

String

Passenger last name – MANDATORY if you are giving the PNR ref., otherwise OPTIONAL

Response

Parameter
Type
Description

booking

Element

Include all the information regarding the booking

bookingid

Number

Booking ID used

bookingconfirmation

String

Booking confirmation string

linktobooking

Link

The link to the booking in the airline website

pnrref

String

The PNR ref (record locator)

ticketnumber

Number

Ticket number ID in AeroCRS system (if ticketed)

invoicenumber

Number

Invoice number in airline (if ticketed)

status

String

OK – PNR is OK and approvedPN – PNR is in PENDING status and will be kept for 24 hours for manual approving with the airline

flights

Element

Holds all flights information in the booking, each flight is represented by a flight element

flight

Element

Holds the flight information in the booking

airline

String

Airline name

airlinedesignator

String

Airline 2 letter code in IATA (if exists)

from

String

From destination name

fromcode

String

From destination code

to

String

To destination name

tocode

String

To destination code

class

String

Class code

flightdate

Date

YYYY/MM/DD date of flight

depart

Time

HH:MM time of departure

arrive

Time

HH:MM time of arrival

number

String

Flight number

invid

Number

ID of booked flight (used internal)

invpricing

Money

Total pricing in USD for the flight

passengers

Element

Holds all passenger elements

passenger

Element

Holds the passenger information in the booking

paxtitle

String

Passenger title

lastname

String

Passenger last name

firstname

String

Passenger first name

paxtype

String

Passenger type

remarks

Element

Each remark in the PNR will be represented in a <remarks>element

remark

Element

The Element will include a single text element

text

String

Remark text

vouchers

Element

Each voucher in the PNR will be represented in a <vouchers>element

voucher

Element

The Element include information regarding to the voucher

agentconfirmation

String

Agent reference as inserted in createBooking

vccreated

Date

YYYY/MM/DD date time of the system when creating the voucher

vctotal

Money

Pricing of voucher

Balanceinformation

Element

Balance DUE payment of this booking.

PNRtotal

Number

Total amount of the booking

PNRoutstandingpayment

Number

Balance DUE payment of this booking.

BalanceInCurrencies

Element

Balance DUE payment of this booking in currencies, the same nodes as balanceInformation

* Mandatory parameters

cancelBooking

The method will allow you to cancel a booking

 
posthttps://api.aerocrs.com/v4/cancelBooking
{
	"aerocrs": {
		"parms": {
			"bookingid": 34229616
		}
	}
}
<?xml version="1.0" encoding="utf-8"?>
<aerocrs>
    <parms>
        <bookingid>34229578</bookingid>
    </parms>
</aerocrs>
A binary file was returned

You couldn't be authenticated

{
    "aerocrs": {
      	"success": true,
        "bookingid": 34229616,
        "status": "XX",
        "pnrref": "20EBA21"
    }
}
<?xml version="1.0" encoding="utf-8"?>
<aerocrs>
    <success>true</success>
    <bookingid>34229578</bookingid>
    <status>XX</status>
    <pnrref>20A692C</pnrref>
</aerocrs>

Body Params

json
required

The method accepts the XML / JSON input as POST, response format will be according to the sent format. You can try JSON, put the post in the following input and click "Try It"

auth_id
string
required

ID provided to you by AeroCRS

auth_password
string
required

Password provided to you by AeroCRS

 

Request parameters

Parameter
Type
Description

bookingid

Number*

bookingid taken from createBooking

Response

The API will response with the end result of the cancellation request.

Parameter
Type
Description

bookingid

Number

Booking ID

status

String

Status:
OK – confirmed
XX – Cancelled
RQ – On Request
PN – Pending action
HN – Holding needs

pnrref

String

The PNR ref (record locator)

Important

There is an option that the booking will not be cancelled if it is already ticketed.

* Mandatory parameters

getFareRules

Rules for flight and or class

 
posthttps://api.aerocrs.com/v4/getFareRules
{
	"aerocrs": {
		"parms": {
			"fromcode":"MAD",
			"tocode" : "BCN",
			"flights" : [
				{
					"flightid": 8892346
				},
				{
					"flightid": 10952796
				}
			]
		}
	}
}
<?xml version="1.0" encoding="utf-8"?>
<aerocrs>
    <parms>
        <fromcode>MAD</fromcode>
        <tocode>BCN</tocode>
        <flights>
	        <flightid>8892346</flightid>
		</flights>
		<flights>
	        <flightcode>2199489</flightcode>
		</flights>
    </parms>
</aerocrs>
A binary file was returned

You couldn't be authenticated

{
    "aerocrs": {
        "success": true,
        "flights": [
            {
                "flightid": 8892346,
                "rules": [
                    {
                        "type": "destinationRule",
                        "text": "Barcelona is in Spain"
                    }
                ]
            },
            {
                "flightid": 10952796,
                "rules": [
                    {
                        "type": "destinationRule",
                        "text": "Barcelona is in Spain"
                    },
                    {
                        "type": "fareRule",
                        "text": "Baggage is negotiable"
                    }
                ]
            }
        ]
    }
}
<?xml version="1.0" encoding="utf-8"?>
<aerocrs>
    <success>true</success>
    <flights>
        <flightid>8892346</flightid>
        <rules>
            <type>destinationRule</type>
            <text>Barcelona is in Span</text>
        </rules>
        <rules>
            <type>fareRule</type>
            <text>Test notification</text>
        </rules>
    </flights>
</aerocrs>

Body Params

RAW BODY
json

The method accepts the XML / JSON input as POST, response format will be according to the sent format. You can try JSON, put the post in the following input and click "Try It"

Headers

auth_id
string

ID provided to you by AeroCRS

auth_password
string

Password provided to you by AeroCRS

 

Request parameters

Parameter
Type
Description

fromcode

String

Departure airport code. All flights needs to depart from the same airport

tocode

String

Departure airport code. All flights needs to depart from the same airport

flights

Element

An array of flights

flightid

int

The flightid from getDeepLink response

flightid

int

Flightid from getDeepLink

*Mandatory

All of the request parameters are mandatory

Results parameters

Parameter
Type
Description

Flights

Element

Holds all the responses and rules

flightid

int

Same as the requested parameter

rules

Element

Holds all the rules applicable for this flight

type

String

Specifies if this is a destination notification, fare notification or flight notification

text

String

The rule

Response explaination

If you will not get any response, it means there are no rules applicable for this flight

getPassengersByFlight

This method will give you a list of passengers according to a flight number and date

 
posthttps://api.aerocrs.com/v4/getPassengersByFlight
{
	"aerocrs": {
		"parms": {
			"shownonticketed": false,
			"generatetokens": false,
			"flights":{ "flight": [{
						"flightnumber": "100",
						"flightdate": "2018/06/29"
					},
					{
						"flightnumber": "A304",
						"flightdate": "2018/06/30"
					}
				]
			}
		}
	}
}
<?xml version="1.0" encoding="UTF-8"?>
<aerocrs>
    <parms>
        <shownonticketed>false</shownonticketed>
        <generatetokens>false</generatetokens>
        <flights>
            <flight>
                <flightnumber>100</flightnumber>
                <flightdate>2018/06/29</flightdate>
            </flight>
            <flight>
                <flightnumber>A304</flightnumber>
                <flightdate>2018/06/30</flightdate>
            </flight>
        </flights>
    </parms>
</aerocrs>
A binary file was returned

You couldn't be authenticated

{
	"aerocrs": {
		"success": true,
		"flight": [{
				"flightnumber": "100",
				"flightid": 2242667,
				"flightdate": "2018/06/29",
				"serviceload": 45,
				"opsremark": "Service remark",
				"paxDetails": [{
					"firstname": "JOHN",
					"lastname": "SMITH",
					"age": 0,
					"paxtitle": "Mr.",
					"paxwithinfant": false,
					"paxcountry": "Andorra",
					"paxcountryiso": "AD",
					"fromdestination": "DAR",
					"todestination": "ZNZ",
					"pnrref": "205CBCD",
					"pnrstatus": "OK",
					"pnrname": "32",
					"servicestatus": "Active",
					"servicebookingdate": "2018/05/22 10:28",
					"servicechangedate": "2018/05/22 10:28",
					"pnrbookingdate": "2018/05/22 10:28",
					"agencyname": "",
					"agencybranch": null,
					"agencycontact": "",
					"agencyphone": "",
					"agencycode": null,
					"agencyaccountingcode": null,
					"classcode": "Y",
					"paxtoken": "1B4C04F7-7A25-46DD-BA4F-78F176234F11",
					"paxunq": "9870199-2242667",
					"inboundflight": null,
					"inboundflightorigin": null,
					"outboundflight": null,
					"outboundflightdestination": null,
					"accommodationfrom": null,
					"accommodationto": null,
					"remarks": null,
					"paxtype": "ADT",
					"seat": "",
					"sequencenumber": "00001",
					"tailnumber": "433S",
					"status": "checked-in",
					"ffnumber": 0,
					"phonenumber": "",
					"email": "",
					"eticketnumber": 6157471,
					"notes": null,
					"ssrs": null,
					"allowances": {
						"bag_kg": 20
					},
					"ancillaries": null,
					"apisdata": {
						"nationality": "AD",
						"type": "PASSPORT",
						"passportname": "John Smith",
						"docnumber": "32132132",
						"passportissuer": "AF",
						"passportexpiry": "2021/02/28",
						"gender": "M",
						"dateofbirth": null
					},
					"paxgender": "M"
				}]
			},
			{
				"flightnumber": "A304",
				"flightid": 2236024,
				"flightdate": "2018/06/30",
				"serviceload": 110,
        "opsremark": "Service remark",
				"paxDetails": [{
					"firstname": "RAZ",
					"lastname": "NAGAR",
					"age": 0,
					"paxtitle": "Mr.",
					"paxwithinfant": false,
					"paxcountry": "Israel",
					"paxcountryiso": "IL",
					"fromdestination": "TLV",
					"todestination": "MAD",
					"pnrref": "20B8D03",
					"pnrstatus": "OK",
					"pnrname": "Test",
					"servicestatus": "Active",
					"servicebookingdate": "2018/05/22 10:33",
					"servicechangedate": "2018/05/22 10:33",
					"pnrbookingdate": "2018/05/22 10:32",
					"agencyname": "",
					"agencybranch": null,
					"agencycontact": "",
					"agencyphone": "",
					"agencycode": null,
					"agencyaccountingcode": null,
					"classcode": "M3",
					"paxtoken": "1C4552F8-1C56-4B2B-8F21-1F18372E36A0",
					"paxunq": "9870263-2236024",
					"inboundflight": null,
					"inboundflightorigin": null,
					"outboundflight": null,
					"outboundflightdestination": null,
					"accommodationfrom": null,
					"accommodationto": null,
					"remarks": {
						"remark": [
							"Test"
						]
					},
					"paxtype": "ADT",
					"seat": "",
					"sequencenumber": "00001",
					"tailnumber": "Boeing737",
					"status": "not checked-in",
					"ffnumber": 0,
					"phonenumber": "",
					"email": "",
					"eticketnumber": 6096908,
					"notes": null,
					"ssrs": {
						"ssr": [
							"XBAG-2 KG"
						]
					},
					"allowances": {
						"bag_kg": 20
					},
					"ancillaries": {
						"ancillary": [
							"Extra Baggage - Manta Air IBE-2 KG"
						]
					},
					"apisdata": {
						"nationality": "IL",
						"type": "PASSPORT",
						"passportname": "Raz Nagar",
						"docnumber": "",
						"passportissuer": "IL",
						"passportexpiry": "2022/08/12",
						"gender": "M",
						"dateofbirth": "1990/03/12"
					},
					"paxgender": "M"
				}]
			}
		]
	}
}
<?xml version="1.0" encoding="utf-8"?>
<aerocrs>
    <success>true</success>
    <flight>
        <flightnumber>100</flightnumber>
        <flightid>2242667</flightid>
        <flightdate>2018/06/29</flightdate>
        <serviceload>45</serviceload>
      	<opsremark>Service remark</opsremark>
        <paxDetails>
            <firstname>JOHN</firstname>
            <lastname>SMITH</lastname>
            <age>0</age>
            <paxtitle>Mr.</paxtitle>
            <paxwithinfant>false</paxwithinfant>
            <paxcountry>Andorra</paxcountry>
            <paxcountryiso>AD</paxcountryiso>
            <fromdestination>DAR</fromdestination>
            <todestination>ZNZ</todestination>
            <pnrref>205CBCD</pnrref>
            <pnrstatus>OK</pnrstatus>
            <pnrname>32</pnrname>
            <servicestatus>Active</servicestatus>
            <servicebookingdate>2018/05/22 10:28</servicebookingdate>
            <servicechangedate>2018/05/22 10:28</servicechangedate>
            <pnrbookingdate>2018/05/22 10:28</pnrbookingdate>
            <agencyname />
            <agencybranch />
            <agencycontact />
            <agencyphone />
            <agencycode />
            <agencyaccountingcode />
            <classcode>Y</classcode>
            <paxtoken>1B4C04F7-7A25-46DD-BA4F-78F176234F11</paxtoken>
            <paxunq>9870199-2242667</paxunq>
            <inboundflight />
            <inboundflightorigin />
            <outboundflight />
            <outboundflightdestination />
            <accommodationfrom />
            <accommodationto />
            <remarks />
            <paxtype>ADT</paxtype>
            <seat />
            <sequencenumber>00001</sequencenumber>
            <tailnumber>433S</tailnumber>
            <status>checked-in</status>
            <ffnumber>0</ffnumber>
            <phonenumber />
            <email />
            <eticketnumber>6157471</eticketnumber>
            <notes />
            <ssrs />
            <allowances>
                <bag_kg>20</bag_kg>
            </allowances>
            <ancillaries />
            <apisdata>
                <nationality>AD</nationality>
                <type>PASSPORT</type>
                <passportname>John Smith</passportname>
                <docnumber>32132132</docnumber>
                <passportissuer>AF</passportissuer>
                <passportexpiry>2021/02/28</passportexpiry>
                <gender>M</gender>
                <dateofbirth />
            </apisdata>
            <paxgender>M</paxgender>
        </paxDetails>
    </flight>
    <flight>
        <flightnumber>A304</flightnumber>
        <flightid>2236024</flightid>
        <flightdate>2018/06/30</flightdate>
        <serviceload>110</serviceload>
      	<opsremark>Service remark</opsremark>
        <paxDetails>
            <firstname>RAZ</firstname>
            <lastname>NAGAR</lastname>
            <age>0</age>
            <paxtitle>Mr.</paxtitle>
            <paxwithinfant>false</paxwithinfant>
            <paxcountry>Israel</paxcountry>
            <paxcountryiso>IL</paxcountryiso>
            <fromdestination>TLV</fromdestination>
            <todestination>MAD</todestination>
            <pnrref>20B8D03</pnrref>
            <pnrstatus>OK</pnrstatus>
            <pnrname>Test</pnrname>
            <servicestatus>Active</servicestatus>
            <servicebookingdate>2018/05/22 10:33</servicebookingdate>
            <servicechangedate>2018/05/22 10:33</servicechangedate>
            <pnrbookingdate>2018/05/22 10:32</pnrbookingdate>
            <agencyname />
            <agencybranch />
            <agencycontact />
            <agencyphone />
            <agencycode />
            <agencyaccountingcode />
            <classcode>M3</classcode>
            <paxtoken>1C4552F8-1C56-4B2B-8F21-1F18372E36A0</paxtoken>
            <paxunq>9870263-2236024</paxunq>
            <inboundflight />
            <inboundflightorigin />
            <outboundflight />
            <outboundflightdestination />
            <accommodationfrom />
            <accommodationto />
            <remarks>
                <remark>Test</remark>
            </remarks>
            <paxtype>ADT</paxtype>
            <seat />
            <sequencenumber>00001</sequencenumber>
            <tailnumber>Boeing737</tailnumber>
            <status>not checked-in</status>
            <ffnumber>0</ffnumber>
            <phonenumber />
            <email />
            <eticketnumber>6096908</eticketnumber>
            <notes />
            <ssrs>
                <ssr>XBAG-2 KG</ssr>
            </ssrs>
            <allowances>
                <bag_kg>20</bag_kg>
            </allowances>
            <ancillaries>
                <ancillary>Extra Baggage - Manta Air IBE-2 KG</ancillary>
            </ancillaries>
            <apisdata>
                <nationality>IL</nationality>
                <type>PASSPORT</type>
                <passportname>Raz Nagar</passportname>
                <docnumber />
                <passportissuer>IL</passportissuer>
                <passportexpiry>2022/08/12</passportexpiry>
                <gender>M</gender>
                <dateofbirth>1990/03/12</dateofbirth>
            </apisdata>
            <paxgender>M</paxgender>
        </paxDetails>
    </flight>
</aerocrs>

Body Params

json
required

The method accepts the XML / JSON input as POST, response format will be according to the sent format. You can try JSON, put the post in the following input and click "Try It"

Headers

auth_id
string
required

ID provided to you by AeroCRS

auth_password
string
required

Password provided to you by AeroCRS

 

Request parameters

Parameter
Type
Description

shownonticketed

Boolean

true/false (lowercase), will show the non ticketed bookings if set to true

flightnumber

String*

The flight number requested

flightdate

Date*

The flight date requested

generatetokens

Boolean

If you would like to generate PAX tokens for the check-in system queries API

showcancelled

Boolean

If you would like to see cancelled bookings in the call

Response

The method will response with all the information about the passengers in the requested flights.

Parameter
Type
Description

flight

Element

The following parameters are within flight (The element flight will be for each flight)

flightid

Number

The flight id

flightnumber

String

Flight number requested

flightdate

Date

YYYY/MM/DD date of the flight

serviceload

Number

Will be displayed per flight

opsremark

String

Flight OPS remark

paxDetails

Container

All the information regarding the passenger

firstname

String

First name of the passenger

lastname

String

Last name of the passenger

age

Number

Age of the passenger

paxtitle

Title

The title of the passenger

paxwithinfant

Boolean

Is the passenger carrying infant

paxcountry

String

Country of the passenger

paxcountryiso

String

Passenger ISO country

fromdestination

String

Destination “from” code

todestination

String

Destination “To” code

pnrref

String

The PNR reference

pnrstatus

String

The PNR status (OK/PN/RQ)

pnrname

String

PNR name

servicestatus

String

Service status (Active / Cancelled)

servicebookingdate

Date

YYYY/MM/DD HH:MM - Service booking date

servicechangedate

Date

YYYY/MM/DD HH:MM - Service last change date (if cancelled)

pnrbookingdate

Date

YYYY/MM/DD HH:MM - PNR booking date

agencyname

String

Agency name (if the booking is from an agency)

agencycontact

String

The first contact in the agency

agencyphone

String

Agency phone number

agencycode

String

Agency code

agencyaccountingcode

String

Agency accounting code

classcode

String

Class code

paxtoken

Unique identifer

PAX token to be used in DCS related queries

paxunq

String

Identifier of the passenger

inboundflight

String

Flight number of inbound flight

inboundflightorigin

String

The origin of the inbound flight

outboundflight

String

Flight number of outbound flight

outboundflightdestination

String

The destination of the outbound flight

accommodationfrom

String

Accommodation from name (if exist)

accommodationto

String

Accommodation to name (if exist)

remarks

Container

The container will hold PNR remarks in several <remark> variables

paxtype

String

The title of the passenger

seat

String

Seat name

sequencenumber

String

Check-in sequence number

tailnumber

String

The tail number

status

String

Passenger check-in status

ffnumber

Number

Frequent flyer number

phonenumber

String

Passenger phone number

email

E-mail

Passenger E-mail

eticketnumber

Number

identifier number of the passenger.

notes

String

Check-in sequence number

ssrs

Container

The container will hold PNR SSR's in several <ssr> variables

ssr

Container

The SSR name

allowances

Container

The container will hold a single bag_kg variable

bag_kg

Number

Allowed baggage weight (according to origin)

ancillaries

Container

The container will hold PNR ancillaries in several <ancillary> variables

ancillary

Container

The ancillary name

apisdata

Container

Advance API Information

nationality

String

ISO code of the passenger

type

String

Type of identification document (PASSPORT as default)

passportname

String

Passport holder name

docnumber

String

Number of document (passport number, I.D. number)

passportissuer

String

ISO code of the passport issuer

passportexpiry

Date

Date of expiry

gender

String

Gender (M-Male, F-Female, C-Child)

dateofbirth

Date

Passenger date of birth

paxgender

String

Gender (M-Male, F-Female, C-Child)

error

String

Will show incase the flight searched does not exist.

Important

You can search up to 10 flights at a time

* Mandatory parameters

getLoads

This request will give you a list of loads on flights according to the legs of each flight

 
posthttps://api.aerocrs.com/v4/getLoads
{
	"aerocrs": {
		"parms": {
			"fromdate": "2018/05/15",
			"todate": "2018/05/18"
		}
	}
}
<?xml version="1.0" encoding="UTF-8"?>
<aerocrs>
    <parms>
        <fromdate>2018/05/15</fromdate>
        <todate>2018/05/18</todate>
    </parms>
</aerocrs>
A binary file was returned

You couldn't be authenticated

{
	"aerocrs": {
		"success": true,
		"flight": [{
				"flightid": 1629717,
				"flightnumber": "ON345",
				"actype": null,
				"serviceloadqty": 34,
				"rules": null,
				"legs": {
					"leg": [{
						"legSTD": "2018/05/18 9:30",
						"legSTA": "2018/05/18 11:45",
						"from": "BNE",
						"to": "NLK",
						"paxqty": 0,
						"legRestrict": null
					}]
				}
			},
			{
				"flightid": 1657460,
				"flightnumber": "100",
				"actype": null,
				"serviceloadqty": 34,
				"rules": null,
				"legs": {
					"leg": [{
						"legSTD": "2018/05/15 10:00",
						"legSTA": "2018/05/16 1:00",
						"from": "TOS",
						"to": "NLK",
						"paxqty": 0,
						"legRestrict": null
					}]
				}
			},
			{
				"flightid": 1657461,
				"flightnumber": "100",
				"actype": null,
				"serviceloadqty": 34,
				"rules": null,
				"legs": {
					"leg": [{
						"legSTD": "2018/05/16 10:00",
						"legSTA": "2018/05/17 1:00",
						"from": "TOS",
						"to": "NLK",
						"paxqty": 0,
						"legRestrict": null
					}]
				}
			}
		]
	}
}
<?xml version="1.0" encoding="utf-8"?>
<aerocrs>
  <success>true</success>
    <flight>
        <flightid>1629717</flightid>
        <flightnumber>ON345</flightnumber>
        <actype/>
      	<serviceloadqty>34</serviceloadqty>
        <rules/>
        <legs>
            <leg>
                <legSTD>2018/05/18 9:30</legSTD>
                <legSTA>2018/05/18 11:45</legSTA>
                <from>BNE</from>
                <to>NLK</to>
                <paxqty>0</paxqty>
              	<legRestrict/>
            </leg>
        </legs>
    </flight>
    <flight>
        <flightid>1657460</flightid>
        <flightnumber>100</flightnumber>
        <actype/>
        <serviceloadqty>34</serviceloadqty>
        <rules/>
        <legs>
            <leg>
                <legSTD>2018/05/15 10:00</legSTD>
                <legSTA>2018/05/16 1:00</legSTA>
                <from>TOS</from>
                <to>NLK</to>
                <paxqty>0</paxqty>
              	<legRestrict/>
            </leg>
        </legs>
    </flight>
    <flight>
        <flightid>1657461</flightid>
        <flightnumber>100</flightnumber>
        <actype/>
        <serviceloadqty>34</serviceloadqty>
        <rules/>
        <legs>
            <leg>
                <legSTD>2018/05/16 10:00</legSTD>
                <legSTA>2018/05/17 1:00</legSTA>
                <from>TOS</from>
                <to>NLK</to>
                <paxqty>0</paxqty>
              	<legRestrict/>
            </leg>
        </legs>
    </flight>
</aerocrs>

Body Params

json
required

The method accepts the XML / JSON input as POST, response format will be according to the sent format. You can try JSON, put the post in the following input and click "Try It"

auth_id
string
required

ID provided to you by AeroCRS

auth_password
string
required

Password provided to you by AeroCRS

 

Request parameters

Parameter
Type
Description

fromdate

Date*

Start date of flight requested

todate

Date*

End date of flight requested

Response

The method will response with all the information about the loads of flights according to the legs of each flight in the requested dates.

Parameter
Type
Description

flightid

Number

Flight internal code

flightnumber

String

Flight number

actype

String

The aircraft type

serviceloadqty

Number

The service load quantity

rules

Element

Each rule of a flight will be represented in a <rule>element, all rules per flight are represented within<rules> element

rule

String

Free text of flight specific rule

legs

Element

The following elements are within <leg> which represents a leg within<legs>

leg

Element

The following parameters are within leg

legSTD

Time

Departure leg

legSTA

Time

Arrival leg

from

String

Destination “from” code

to

String

Destination “to” code

paxqty

Number

Passengers quantity of current leg

legRestrict

Number

Quantity restrict of current leg

Important

Range of dates must be up to a week.

* Mandatory parameters

getFlightLoads

 
posthttps://api.aerocrs.com/v4/getFlightLoads
{
	"aerocrs": {
		"parms": {
			"flightnumber": "M101",
			"flightdate": "2019/04/30"
		}
	}
}
<aerocrs>
	<parms>
		<flightnumber>M101</flightnumber>
		<flightdate>2019/04/30</flightdate>
	</parms>
</aerocrs>
A binary file was returned

You couldn't be authenticated

{
    "aerocrs": {
        "success": true,
        "flight": {
            "flightnumber": "M101",
            "actype": "SSC",
            "serviceloadqty": 35,
            "legs": {
                "leg": [
                    {
                        "legSTD": "2019/04/30 05:00",
                        "legSTA": "2019/04/30 08:00",
                        "from": "AMS",
                        "to": "MAD",
                        "classes": {
                            "class": [
                                {
                                    "classcode": "E",
                                    "paxqty": 0,
                                    "genderqty": {
                                        "Male": 0,
                                        "Female": 0,
                                        "Child": 0,
                                        "Infant": 0
                                    }
                                },
                                {
                                    "classcode": "Y",
                                    "paxqty": 0,
                                    "genderqty": {
                                        "Male": 0,
                                        "Female": 0,
                                        "Child": 0,
                                        "Infant": 0
                                    }
                                }
                            ]
                        }
                    },
                    {
                        "legSTD": "2019/04/30 05:00",
                        "legSTA": "2019/04/30 10:00",
                        "from": "AMS",
                        "to": "BCN",
                        "classes": {
                            "class": [
                                {
                                    "classcode": "Y",
                                    "paxqty": 3,
                                    "genderqty": {
                                        "Male": 0,
                                        "Female": 2,
                                        "Child": 1,
                                        "Infant": 1
                                    }
                                },
                                {
                                    "classcode": "E",
                                    "paxqty": 0,
                                    "genderqty": {
                                        "Male": 0,
                                        "Female": 0,
                                        "Child": 0,
                                        "Infant": 0
                                    }
                                }
                            ]
                        }
                    },
                    {
                        "legSTD": "2019/04/30 08:30",
                        "legSTA": "2019/04/30 10:00",
                        "from": "MAD",
                        "to": "BCN",
                        "classes": {
                            "class": [
                                {
                                    "classcode": "E",
                                    "paxqty": 2,
                                    "genderqty": {
                                        "Male": 1,
                                        "Female": 1,
                                        "Child": 0,
                                        "Infant": 0
                                    }
                                },
                                {
                                    "classcode": "Y",
                                    "paxqty": 0,
                                    "genderqty": {
                                        "Male": 0,
                                        "Female": 0,
                                        "Child": 0,
                                        "Infant": 0
                                    }
                                }
                            ]
                        }
                    }
                ]
            },
            "totalpaxqty": 5,
            "totalgenderqty": {
                "Male": 1,
                "Female": 3,
                "Child": 1,
                "Infant": 1
            }
        }
    }
}
<?xml version="1.0" encoding="utf-8"?>
<aerocrs>
    <success>true</success>
    <flight>
        <flightnumber>M101</flightnumber>
        <actype>320</actype>
        <serviceloadqty>35</serviceloadqty>
        <legs>
            <leg>
                <legSTD>2019/04/30 05:00</legSTD>
                <legSTA>2019/04/30 08:00</legSTA>
                <from>AMS</from>
                <to>MAD</to>
                <classes>
                    <class>
                        <classcode>E</classcode>
                        <paxqty>0</paxqty>
                        <genderqty>
                            <Male>0</Male>
                            <Female>0</Female>
                            <Child>0</Child>
                            <Infant>0</Infant>
                        </genderqty>
                    </class>
                    <class>
                        <classcode>Y</classcode>
                        <paxqty>0</paxqty>
                        <genderqty>
                            <Male>0</Male>
                            <Female>0</Female>
                            <Child>0</Child>
                            <Infant>0</Infant>
                        </genderqty>
                    </class>
                </classes>
            </leg>
            <leg>
                <legSTD>2019/04/30 05:00</legSTD>
                <legSTA>2019/04/30 10:00</legSTA>
                <from>AMS</from>
                <to>BCN</to>
                <classes>
                    <class>
                        <classcode>Y</classcode>
                        <paxqty>0</paxqty>
                        <genderqty>
                            <Male>0</Male>
                            <Female>0</Female>
                            <Child>0</Child>
                            <Infant>0</Infant>
                        </genderqty>
                    </class>
                    <class>
                        <classcode>E</classcode>
                        <paxqty>0</paxqty>
                        <genderqty>
                            <Male>0</Male>
                            <Female>0</Female>
                            <Child>0</Child>
                            <Infant>0</Infant>
                        </genderqty>
                    </class>
                </classes>
            </leg>
            <leg>
                <legSTD>2019/04/30 08:30</legSTD>
                <legSTA>2019/04/30 10:00</legSTA>
                <from>MAD</from>
                <to>BCN</to>
                <classes>
                    <class>
                        <classcode>E</classcode>
                        <paxqty>2</paxqty>
                        <genderqty>
                            <Male>2</Male>
                            <Female>0</Female>
                            <Child>0</Child>
                            <Infant>0</Infant>
                        </genderqty>
                    </class>
                    <class>
                        <classcode>Y</classcode>
                        <paxqty>0</paxqty>
                        <genderqty>
                            <Male>0</Male>
                            <Female>0</Female>
                            <Child>0</Child>
                            <Infant>0</Infant>
                        </genderqty>
                    </class>
                </classes>
            </leg>
        </legs>
        <totalpaxqty>2</totalpaxqty>
        <totalgenderqty>
            <Male>2</Male>
            <Female>0</Female>
            <Child>0</Child>
            <Infant>0</Infant>
        </totalgenderqty>
    </flight>
</aerocrs>

Body Params

Raw body
string
required

The method accepts XML/JSON

Headers

auth_id
string
required

ID provided to you by AeroCRS

auth_password
string
required

Password provided to you by AeroCRS

 

Request parameters

Parameter
Type
Description

flightnumber

String*

Number of flight

flightdate

Date*

Date of flight

Response

The method will response with all the information about the loads of flights according to the legs of each flight in the requested dates.

Parameter
Type
Description

flightnumber

String

Flight number

actype

String

The aircraft type

serviceloadqty

Number

The service load quantity

rules

Element

Each rule of a flight will be represented in a <rule>element, all rules per flight are represented within<rules> element

legs

Element

The following elements are within <leg> which represents a leg within<legs>

leg

Element

The following parameters are within leg

legSTD

Time

Departure leg

legSTA

Time

Arrival leg

from

String

Destination “from” code

to

String

Destination “to” code

classes

Element

The following elements are within <class> which represents a leg within<classes>

class

Element

The following parameters are within leg

classcode

String

Class Code

paxqty

Number

number of passengers

genderqty

Element

Element containing the passenger' gender breakdown

Male

Number

Number of male passengers

Female

Number

Number of female passengers

Child

Number

Number of children

Infant

Number

Number of infants

totalpaxqty

Number

Total number of passengers on the flight

totalgenderqty

Element

Element containing the passenger' gender breakdown, the same as for each leg

Important

Both parameters are mandatory

* Mandatory parameters

updatePassenger

This method will change the information about the passenger

 
posthttps://api.aerocrs.com/v4/updatePassenger
{
	"aerocrs": {
		"parms": {
			"flightid": 2114290,
			"paxtoken": "77BD81F4-BE84-4FCF-B232-91BED35FFE6C",
			"firstname": "John",
			"lastname": "test",
			"age": 0,
			"seat": "",
			"ffnumber": null,
			"phonenumber": "+2415654512128",
			"email": "test@aerocrs.com",
			"nationality": "IL",
			"docnumber": "123456",
			"passportissuer": "IL",
			"passportexpiry": "2019/12/03",
			"dateofbirth": "1987/04/09",
			"status": "Boarded",
			"sequencenumber": "0",
			"paxgender": "M",
			"ssrs":{ "ssr": [
				"KSML",
				"WCHR"
			]}
		}
	}
}
<aerocrs>
    <parms>
        <flightid>2114290</flightid>
        <paxtoken>77BD81F4-BE84-4FCF-B232-91BED35FFE6C</paxtoken>
        <firstname>John</firstname>
        <lastname>Smith</lastname>
        <age>30</age>
        <seat></seat>
        <ffnumber></ffnumber>
        <phonenumber>+24156545215698</phonenumber>
        <email>test@aerocrs.com</email>
        <nationality>IL</nationality>
        <docnumber>1235447</docnumber>
        <passportissuer>IL</passportissuer>
        <passportexpiry>2019/12/03</passportexpiry>
        <dateofbirth>1987/04/09</dateofbirth>
        <status>Boarded</status>
        <sequencenumber>0</sequencenumber>
        <paxgender>M</paxgender>
    </parms>
</aerocrs>
A binary file was returned

You couldn't be authenticated

{
    "aerocrs": {
        "success": true
    }
}
<?xml version="1.0" encoding="utf-8"?>
<aerocrs>
    <success>true</success>
</aerocrs>

Body Params

json
required

The method accepts the XML / JSON input as POST, response format will be according to the sent format. You can try JSON, put the post in the following input and click "Try It"

Headers

auth_id
string
required

ID provided to you by AeroCRS

auth_password
string
required

Password provided to you by AeroCRS

 

Request parameters

Parameter
Type
Description

flightid

Number*

The flight id

paxtoken

Unique identifer*

PAX token to be used in DCS related queries

firstname

String

Passenger new first name

lastname

String

Passenger new last name

age

Number

Passenger new age

seat

String

Passenger new seat

ffnumber

Number

Passenger new frequent flyer number

phonenumber

String

Passenger new phone number

email

E-mail

Passenger new E-mail

nationality

String

Passenger new nationality

docnumber

String

Passenger new passport number

passportissuer

String

Passenger new passport issuing country (ISO code)

passportexpiry

Date

Passenger new passport expiry date

dateofbirth

Date

Passenger new date of birth

status

String

Passenger new check-in status

sequencenumber

String

Check in Sequence number

paxgender

String

Passenger gender (M/F/C)

ssrs

Element

The element will hold PNR SSR's in several 'ssr' variables

ssr

String

SSR code

Response

The method will respond with "success" true if classes successfully leveled down.

Important

With this method you can not update information from other airlines.

* Mandatory parameters

Notice!

The request should contain all passenger data. In case some field is skipped - this field data will be erased.

updateFlightLevelDownClasses

This method will level down all classes on the given flight

 
posthttps://api.aerocrs.com/v4/updateFlightLevelDownClasses
{
	"aerocrs": {
		"parms": {
			"flightid": 2238001
		}
	}
}
<?xml version="1.0" encoding="UTF-8"?> 
<aerocrs>
    <parms>
        <flightid>2238232</flightid> 
    </parms>
</aerocrs>
A binary file was returned

You couldn't be authenticated

{
    "aerocrs": {
        "success": true
    }
}
<?xml version="1.0" encoding="utf-8"?>
<aerocrs>
    <success>true</success>
</aerocrs>

Body Params

json
required

The method accepts the XML / JSON input as POST, response format will be according to the sent format. You can try JSON, put the post in the following input and click "Try It"

Headers

auth_id
string
required

ID provided to you by AeroCRS

auth_password
string
required

Password provided to you by AeroCRS

 

Request parameters

Parameter
Type
Description

flightid

Number*

Flight internal code

Response

The method will respond with "success" true if classes successfully leveled down.

* Mandatory parameters

getPaxDetailsByCharter

This method will give you a list of passengers according to a charter date.

 
posthttps://api.aerocrs.com/v4/getPaxDetailsByCharter
{
	"aerocrs": {
		"parms": {
			"chartersDate": "2018/05/23"
		}
	}
}
<?xml version="1.0" encoding="UTF-8"?>
<aerocrs>
   <parms>
      <chartersDate>2018/05/23</chartersDate>
   </parms>
</aerocrs>
A binary file was returned

You couldn't be authenticated

{
    "aerocrs": {
      	"success": true,
        "charter": [
            {
                "routedetails": [
                    {
                        "charterRouting": "From: Dar es Salaam To: Zanzibar",
                        "chrtrETD": "03:00",
                        "chrtrETA": "05:00"
                    }
                ],
                "paxdetails": [
                    {
                        "firstname": "John",
                        "age": 0,
                        "paxtitle": "Mr.",
                        "paxwithinfant": false,
                        "paxcountry": "Afghanistan",
                        "paxcountryiso": "AF",
                        "paxtype": "ADT",
                        "phonenumber": "",
                        "email": "",
                        "ffnumber": null,
                        "pnrref": "2005407",
                        "lastname": "Smith",
                        "pnrstatus": "OK",
                        "pnrname": "Test",
                        "servicestatus": "Active",
                        "servicebookingdate": "2018/05/23 12:24",
                        "servicechangedate": "2018/05/23 12:24",
                        "pnrbookingdate": "2018/05/23 12:21",
                        "agencyname": "test",
                        "agencycontact": "sdfsdf",
                        "agencyphone": "2342342342",
                        "agencywebcode": null,
                        "agencyacccode": "sdfsdf",
                        "apisdata": {
                            "nationality": "AF",
                            "type": "PASSPORT",
                            "passportname": "John Smith",
                            "docnumber": "",
                            "passportissuer": "AF",
                            "passportexpiry": "2022/06/27",
                            "gender": "M",
                            "dateofbirth": "1990/06/27"
                        },
                        "remarks": null,
                        "paxgender": "M"
                    },
                    {
                        "firstname": "Bob",
                        "age": 0,
                        "paxtitle": "Mr.",
                        "paxwithinfant": false,
                        "paxcountry": "Afghanistan",
                        "paxcountryiso": "AF",
                        "paxtype": "ADT",
                        "phonenumber": "",
                        "email": "",
                        "ffnumber": null,
                        "pnrref": "2005407",
                        "lastname": "Smith",
                        "pnrstatus": "OK",
                        "pnrname": "Test",
                        "servicestatus": "Active",
                        "servicebookingdate": "2018/05/23 12:24",
                        "servicechangedate": "2018/05/23 12:24",
                        "pnrbookingdate": "2018/05/23 12:21",
                        "agencyname": "test",
                        "agencycontact": "sdfsdf",
                        "agencyphone": "2342342342",
                        "agencywebcode": null,
                        "agencyacccode": "sdfsdf",
                        "apisdata": {
                            "nationality": "AF",
                            "type": "PASSPORT",
                            "passportname": "Bob Smith",
                            "docnumber": "",
                            "passportissuer": "AF",
                            "passportexpiry": "2022/06/27",
                            "gender": "M",
                            "dateofbirth": "1990/06/27"
                        },
                        "remarks": null,
                        "paxgender": "M"
                    }
                ]
            }
        ]
    }
}
<?xml version="1.0" encoding="utf-8"?>
<aerocrs>
  	<success>true</success>
    <charter>
        <routedetails>
            <charterRouting>From: Dar es Salaam To: Zanzibar</charterRouting>
            <chrtrETD>03:00</chrtrETD>
            <chrtrETA>05:00</chrtrETA>
        </routedetails>
        <paxdetails>
            <firstname>John</firstname>
            <age>0</age>
            <paxtitle>Mr.</paxtitle>
            <paxwithinfant>False</paxwithinfant>
            <paxcountry>Afghanistan</paxcountry>
            <paxcountryiso>AF</paxcountryiso>
            <paxtype>ADT</paxtype>
            <phonenumber/>
            <email/>
            <ffnumber/>
            <pnrref>2005407</pnrref>
            <lastname>Smith</lastname>
            <pnrstatus>OK</pnrstatus>
            <pnrname>Test</pnrname>
            <servicestatus>Active</servicestatus>
            <servicebookingdate>2018/05/23 12:24</servicebookingdate>
            <servicechangedate>2018/05/23 12:24</servicechangedate>
            <pnrbookingdate>2018/05/23 12:21</pnrbookingdate>
            <agencyname>test</agencyname>
            <agencycontact>sdfsdf</agencycontact>
            <agencyphone>2342342342</agencyphone>
            <agencywebcode/>
            <agencyacccode>sdfsdf</agencyacccode>
            <apisdata>
                <nationality>AF</nationality>
                <type>PASSPORT</type>
                <passportname>John Smith</passportname>
                <docnumber/>
                <passportissuer>AF</passportissuer>
                <passportexpiry>2022/06/27</passportexpiry>
                <gender>M</gender>
                <dateofbirth>1990/06/27</dateofbirth>
            </apisdata>
            <remarks/>
            <paxgender>M</paxgender>
        </paxdetails>
        <paxdetails>
            <firstname>Bob</firstname>
            <age>0</age>
            <paxtitle>Mr.</paxtitle>
            <paxwithinfant>False</paxwithinfant>
            <paxcountry>Afghanistan</paxcountry>
            <paxcountryiso>AF</paxcountryiso>
            <paxtype>ADT</paxtype>
            <phonenumber/>
            <email/>
            <ffnumber/>
            <pnrref>2005407</pnrref>
            <lastname>Smith</lastname>
            <pnrstatus>OK</pnrstatus>
            <pnrname>Test</pnrname>
            <servicestatus>Active</servicestatus>
            <servicebookingdate>2018/05/23 12:24</servicebookingdate>
            <servicechangedate>2018/05/23 12:24</servicechangedate>
            <pnrbookingdate>2018/05/23 12:21</pnrbookingdate>
            <agencyname>test</agencyname>
            <agencycontact>sdfsdf</agencycontact>
            <agencyphone>2342342342</agencyphone>
            <agencywebcode/>
            <agencyacccode>sdfsdf</agencyacccode>
            <apisdata>
                <nationality>AF</nationality>
                <type>PASSPORT</type>
                <passportname>Bob Smith</passportname>
                <docnumber/>
                <passportissuer>AF</passportissuer>
                <passportexpiry>2022/06/27</passportexpiry>
                <gender>M</gender>
                <dateofbirth>1990/06/27</dateofbirth>
            </apisdata>
            <remarks/>
            <paxgender>M</paxgender>
        </paxdetails>
    </charter>
</aerocrs>

Body Params

json
required

The method accepts the XML / JSON input as POST, response format will be according to the sent format. You can try JSON, put the post in the following input and click "Try It"

Headers

auth_id
string
required

ID provided to you by AeroCRS

auth_password
string
required

Password provided to you by AeroCRS

 

Request parameters

Parameter
Type
Description

chartersDate

Date*

Charter date

Response

The method will response with all the information about the passengers in the charter.

Parameter
Type
Description

charter

Element

The element will contain all the information regarding to the charter

routedetails

Element

The element will contain all the information regarding the route

charterRouting

String

The charter route

chrtrETD

Time

Estimated Time of Departure

chrtrETA

Time

Estimated Time of Arrival

paxdetails

Element

The element will holds all the passenger information (For each passenger)

firstname

String

First number requested

lastname

String

Last name of the passenger

age

Number

Age name of the passenger

paxtitle

String

The title of the passenger

paxwithinfant

Boolean

Phone Is the passenger carrying infant of the customer

paxcountry

String

Country of the passenger

paxcountryiso

String

Passenger ISO country

paxtype

String

Type of the pasengers

phonenumber

String

Phone number of the passenger

email

E-mail

Email of the passenger

ffnumber

Number

Frequent flyer number of the passenger

pnrref

String

The PNR reference

pnrstatus

String

The PNR status (OK/PN/RQ)

pnrname

String

PNR name

servicestatus

String

Service status (Active / Inactive)

servicebookingdate

Date

YYYY/MM/DD HH:MM - Service booking date

servicechangedate

Date

YYYY/MM/DD HH:MM - Service last change date (if cancelled)

pnrbookingdate

Date

YYYY/MM/DD HH:MM - PNR booking date

agencyname

String

Agency name (if the booking is from an agency)

agencycontact

String

The first contact in the agency

agencyphone

String

Agency phone number

agencyacccode

String

Agency accounting code

agencywebcode

String

Agency web code

apisdata

Element

Advance API Information

nationality

String

Nationality of the passenger

type

String

Type of document

passportname

String

Passport name of the passenger

docnumber

Number

Passport number

passportissuer

Number

Passport country

passportexpiry

Date

Passport expiry

gender

String

Gender (M-Male, F-Female, C-Child)

dateofbirth

Date

The date of birth of the passenger

remarks

Element

Each remark in the PNR will be represented in a <remarks>element

remark

String

Remark text

paxgender

String

Gender (M-Male, F-Female, C-Child)

* Mandatory parameters

getPassengerDetail

This method will give you a list of passengers according to a flight id and pax token

 
posthttps://api.aerocrs.com/v4/getPassengerDetail
{
	"aerocrs": {
		"parms": {
			"requestdetails": [{
					"flightid": 2236024,
					"paxtoken": "1C4552F8-1C56-4B2B-8F21-1F18372E36A0"
				},
				{
					"flightid": 2242631,
					"paxtoken": "6B55FBFB-9E1E-43C3-9E02-BFDDE1E8B23B"
				}
			]
		}
	}
}
<aerocrs>
    <parms>
        <requestdetails>
        	<flightid>2236024</flightid>
        	<paxtoken>1C4552F8-1C56-4B2B-8F21-1F18372E36A0</paxtoken>
        </requestdetails>
        <requestdetails>
        	<flightid>2242631</flightid>
        	<paxtoken>6B55FBFB-9E1E-43C3-9E02-BFDDE1E8B23B</paxtoken>
        </requestdetails>
    </parms>
</aerocrs>
A binary file was returned

You couldn't be authenticated

{
    "aerocrs": {
        "success": true,
        "paxdetails": [
            {
                "paxtoken": "1C4552F8-1C56-4B2B-8F21-1F18372E36A0",
                "firstname": "Raz",
                "lastname": "Nagar",
                "age": 0,
                "paxtype": "ADT",
                "paxwithinfant": false,
                "seat": null,
                "sequencenumber": "00001",
                "carrierclass": "M3",
                "origin": "TLV",
                "destination": "MAD",
                "tailnumber": "Boeing737",
                "status": "not checked-in",
                "ffnumber": null,
                "phonenumber": "",
                "email": "",
                "notes": "",
                "ssrs": {
                    "ssr": [
                        "XBAG-2"
                    ]
                },
                "allowances": {
                    "bag_kg": 20
                },
                "ancillaries": {
                    "ancillary": [
                        "Extra Baggage-2"
                    ]
                },
                "apisdata": {
                    "nationality": "IL",
                    "type": "PASSPORT",
                    "passportname": "Raz Nagar",
                    "docnumber": "",
                    "passportissuer": "IL",
                    "passportexpiry": "2022/08/12",
                    "gender": "M",
                    "dateofbirth": "1990/03/12"
                },
                "bookingref": "20B8D03",
                "eticketnumber": 6096908,
                "paxgender": "M"
            },
            {
                "paxtoken": "6B55FBFB-9E1E-43C3-9E02-BFDDE1E8B23B",
                "firstname": "John",
                "lastname": "Smith",
                "age": 0,
                "paxtype": "ADT",
                "paxwithinfant": false,
                "seat": null,
                "sequencenumber": "00003",
                "carrierclass": "Y",
                "origin": "DAR",
                "destination": "ZNZ",
                "tailnumber": "433S",
                "status": "not checked-in",
                "ffnumber": null,
                "phonenumber": "+6012369123432",
                "email": "test@aerocrs.com",
                "notes": "",
                "ssrs": null,
                "allowances": {
                    "bag_kg": 20
                },
                "ancillaries": null,
                "apisdata": {
                    "nationality": "MM",
                    "type": "PASSPORT",
                    "passportname": "John Smith",
                    "docnumber": "test",
                    "passportissuer": "MM",
                    "passportexpiry": "2020/10/29",
                    "gender": "M",
                    "dateofbirth": "1990/03/12"
                },
                "bookingref": "20FA817",
                "eticketnumber": 6097228,
                "paxgender": "M"
            }
        ]
    }
}
<?xml version="1.0" encoding="utf-8"?>
<aerocrs>
    <success>true</success>
    <paxdetails>
        <paxtoken>1C4552F8-1C56-4B2B-8F21-1F18372E36A0</paxtoken>
        <firstname>Raz</firstname>
        <lastname>Nagar</lastname>
        <age>0</age>
        <paxtype>ADT</paxtype>
        <paxwithinfant>false</paxwithinfant>
        <seat/>
        <sequencenumber>00001</sequencenumber>
        <carrierclass>M3</carrierclass>
        <origin>TLV</origin>
        <destination>MAD</destination>
        <tailnumber>Boeing737</tailnumber>
        <status>not checked-in</status>
        <ffnumber/>
        <phonenumber/>
        <email/>
        <notes/>
        <ssrs>
            <ssr>XBAG-2</ssr>
        </ssrs>
        <allowances>
            <bag_kg>20</bag_kg>
        </allowances>
        <ancillaries>
            <ancillary>Extra Baggage-2</ancillary>
        </ancillaries>
        <apisdata>
            <nationality>IL</nationality>
            <type>PASSPORT</type>
            <passportname>Raz Nagar</passportname>
            <docnumber/>
            <passportissuer>IL</passportissuer>
            <passportexpiry>2022/08/12</passportexpiry>
            <gender>M</gender>
            <dateofbirth>1990/03/12</dateofbirth>
        </apisdata>
        <bookingref>20B8D03</bookingref>
        <eticketnumber>6096908</eticketnumber>
        <paxgender>M</paxgender>
    </paxdetails>
    <paxdetails>
        <paxtoken>6B55FBFB-9E1E-43C3-9E02-BFDDE1E8B23B</paxtoken>
        <firstname>John</firstname>
        <lastname>Smith</lastname>
        <age>0</age>
        <paxtype>ADT</paxtype>
        <paxwithinfant>false</paxwithinfant>
        <seat/>
        <sequencenumber>00003</sequencenumber>
        <carrierclass>Y</carrierclass>
        <origin>DAR</origin>
        <destination>ZNZ</destination>
        <tailnumber>433S</tailnumber>
        <status>not checked-in</status>
        <ffnumber/>
        <phonenumber>+6012369123432</phonenumber>
        <email>test@aerocrs.com</email>
        <notes/>
        <ssrs/>
        <allowances>
            <bag_kg>20</bag_kg>
        </allowances>
        <ancillaries/>
        <apisdata>
            <nationality>MM</nationality>
            <type>PASSPORT</type>
            <passportname>John Smith</passportname>
            <docnumber>test</docnumber>
            <passportissuer>MM</passportissuer>
            <passportexpiry>2020/10/29</passportexpiry>
            <gender>M</gender>
            <dateofbirth>1990/03/12</dateofbirth>
        </apisdata>
        <bookingref>20FA817</bookingref>
        <eticketnumber>6097228</eticketnumber>
        <paxgender>M</paxgender>
    </paxdetails>
</aerocrs>

Body Params

json
required

The method accepts the XML / JSON input as POST, response format will be according to the sent format. You can try JSON, put the post in the following input and click "Try It"

Headers

auth_id
string
required

ID provided to you by AeroCRS

auth_password
string
required

Password provided to you by AeroCRS

 

Request parameters

Parameter
Type
Description

requestdetails

Container*

The container will separate parameters for each passenger

flightid

Number*

The flight id

paxtoken

Unique identifer*

PAX token to be used in DCS related queries

Response parameters

The method will response with all the information about the passenger in the requested flight.

Parameter
Type
Description

paxdetails

Element

All the information regarding the passenger (paxdetails for each passenger)

paxtoken

Unique identifer

PAX token to be used in DCS related queries

firstname

String

First name of the passenger

lastname

String

Last name of the passenger

age

Number

Age of the passenger

paxtitle

Title

The title of the passenger

paxwithinfant

Boolean

Is the passenger carrying infant

seat

String

Passenger seat

sequencenumber

String

The sequence number

carrierclass

String

The carrier class

origin

String

The origin code

destination

String

The destination code

tailnumber

String

The tail number

status

String

Passenger check-in status

ffnumber

Number

Frequent flyer number

phonenumber

String

Passenger Phone number

email

E-mail

Passenger E-mail

notes

String

Passenger remarks (future use)

ssrs

Container

The container will hold PNR SSR's in several <ssr> variables

ssr

String

The SSR name

allowances

Container

The container will hold a single bag_kg variable

bag_kg

Number

Allowed baggage weight (according to origin)

ancillaries

Container

The container will hold PNR ancillaries in several <ancillary> variables

ancillary

String

The ancillary name

apisdata

Container

Advance API Information

nationality

String

ISO code of the passenger

type

String

Type of identification document

passportname

String

Passport holder name

docnumber

String

number of document (passport or I.D)

passportissuer

String

ISO code of the passport issuer

passportexpiry

Date

Date of expiry

gender

String

Gender (M-Male, F-Female, C-Child)

dateofbirth

Date

Passenger date of birth

bookingref

String

The PNR reference

eticketnumber

Number

identifier number of the passenger.

paxgender

String

Gender (M-Male, F-Female, C-Child)

* Mandatory parameters

getCustomer

This method allows you to retrieve customers details by email address.

 
posthttps://api.aerocrs.com/v4/getCustomer
{
	"aerocrs": {
		"parms": {
			"customers": {
				"customer": [{
						"email": "raz@aerocrs.com"
					},
					{
						"email": "john@aerocrs.com"
					}
				]
			}
		}
	}
}
<aerocrs>
   <parms>
       <customers>
            <customer>
                <email>raz@aerocrs.com</email>
            </customer>
            <customer>
                <email>john@aerocrs.com</email>
            </customer>
       </customers>
   </parms>
</aerocrs>
A binary file was returned

You couldn't be authenticated

{
    "aerocrs": {
      	"success": true,
        "Customers": {
            "Customer": [
                {
                    "custemail": "raz@aerocrs.com",
                    "title": "Mr.",
                    "firstname": "Raz",
                    "lastname": "Nagar",
                    "phonenumber": "05234623763",
                    "mobile": "05234623763",
                    "fax": "035673230",
                    "birthdate": "1990/03/12",
                    "address1": "17 Menahem begin",
                    "address2": null,
                    "zipcode": "51000",
                    "city": "Yehud",
                    "country": "Israel",
                    "customercompanyname": "Aerocrs",
                    "jobtitle": "Aerocrs",
                    "companywebsite": "",
                    "customerremark": "test",
                    "vatnum": null,
                    "ffnumber": null,
                    "companyid": 20,
                    "createddate": "2017/06/14"
                },
                {
                    "custemail": "john@aerocrs.com",
                    "title": "Mr.",
                    "firstname": "John",
                    "lastname": "Smith",
                    "phonenumber": "05234623763",
                    "mobile": "05234623763",
                    "fax": "1231212",
                    "birthdate": "1990/08/30",
                    "address1": "21 Moshe Dayan",
                    "address2": null,
                    "zipcode": "51000",
                    "city": "Tel Aviv",
                    "country": "Israel",
                    "customercompanyname": "Aerocrs",
                    "jobtitle": "Aerocrs",
                    "companywebsite": null,
                    "customerremark": "test",
                    "vatnum": null,
                    "ffnumber": null,
                    "companyid": 20,
                    "createddate": "2017/12/25"
                }
            ]
        }
    }
}
<?xml version="1.0" encoding="utf-8"?>
<aerocrs>
    <success>true</success>
    <Customers>
        <Customer>
            <custemail>raz@aerocrs.com</custemail>
            <title>Mr.</title>
            <firstname>Raz</firstname>
            <lastname>Nagar</lastname>
            <phonenumber>05234623763</phonenumber>
            <mobile>05234623763</mobile>
            <fax>035673230</fax>
            <birthdate>1990/03/12</birthdate>
            <address1>17 Menahem begin</address1>
            <address2 />
            <zipcode>51000</zipcode>
            <city>Yehud</city>
            <country>Israel</country>
            <customercompanyname>Aerocrs</customercompanyname>
            <jobtitle>Aerocrs</jobtitle>
            <companywebsite />
            <customerremark>test</customerremark>
            <vatnum />
            <ffnumber />
            <companyid>20</companyid>
            <createddate>2017/06/14</createddate>
        </Customer>
        <Customer>
            <custemail>john@aerocrs.com</custemail>
            <title>Mr.</title>
            <firstname>John</firstname>
            <lastname>Smith</lastname>
            <phonenumber>05234623763</phonenumber>
            <mobile>05234623763</mobile>
            <fax>1231212</fax>
            <birthdate>1990/08/30</birthdate>
            <address1>21 Moshe Dayan</address1>
            <address2 />
            <zipcode>51000</zipcode>
            <city>Tel Aviv</city>
            <country>Israel</country>
            <customercompanyname>Aerocrs</customercompanyname>
            <jobtitle>Aerocrs</jobtitle>
            <companywebsite />
            <customerremark>test</customerremark>
            <vatnum />
            <ffnumber />
            <companyid>20</companyid>
            <createddate>2017/12/25</createddate>
        </Customer>
    </Customers>
</aerocrs>

Body Params

json
required

The method accepts the XML / JSON input as POST, response format will be according to the sent format. You can try JSON, put the post in the following input and click "Try It"

Headers

auth_id
string
required

ID provided to you by AeroCRS

auth_password
string
required

Password provided to you by AeroCRS

 

Request parameters

Parameter
Type
Description

Customers

Element*

The following elements are within <Customer> which represents a <Customer> within <Customers>

Customer

Element*

The Element hold the Email of the customer

email

E-mail*

The customer email

Response

This method will respond with a list of customers, including personal details and additional information.

Parameter
Type
Description

Customers

Element

The following elements are within <Customer> which represents a Customer within <Customers>

Customer

Element

The following parameters are within <Customer> (The element Customer will be for each customer)

custemail

E-mail

Customer E-mail

title

String

Customer title

country

String

Country of the customer

firstname

String

First name of the customer

lastname

String

Last name of the customer

phonenumber

String

Phone number of the customer

mobile

String

Mobile number of the customer

fax

String

Fax number of the customer

birthdate

Date

YYYY/MM/DD date of customer birth date

address1

String

Customer address

address2

String

Customer additional address

zipcode

Number

Customer zip code

city

String

City of the customer

customercompanyname

String

Company of the customer (if applicable)

jobtitle

String

Job title of the customer (if applicable)

companywebsite

String

company website of the customer (if applicable)

customerremark

String

Remark text

vatnum

Number

VAT number of the customer

ffnumber

Number

Customer frequent flyer number

companyid

Number

ID of airline in AeroCRS systems

createddate

Date

YYYY/MM/DD date time of the system when creating the customer

Important

This method cannot retrieve customers' information from other airlines.

* Mandatory parameters

getPassengerIdentifierByName

This method allows you to search for a passenger by name in a specific flight

 
posthttps://api.aerocrs.com/v4/getPassengerIdentifierByName
{
	"aerocrs": {
		"parms": {
			"flightid": 2236024,
			"paxname": "Raz"
		}
	}
}
<?xml version="1.0" encoding="UTF-8"?>
<aerocrs>
   <parms>
      <flightid>2236024</flightid>
      <paxname>Raz</paxname>
   </parms>
</aerocrs>
A binary file was returned

You couldn't be authenticated

{
    "aerocrs": {
        "success": true,
        "paxtoken": [
            "1C4552F8-1C56-4B2B-8F21-1F18372E36A0"
        ]
    }
}
<?xml version="1.0" encoding="utf-8"?>
<aerocrs>
    <success>true</success>
    <paxtoken>1C4552F8-1C56-4B2B-8F21-1F18372E36A0</paxtoken>
</aerocrs>

Body Params

json
required

The method accepts the XML / JSON input as POST, response format will be according to the sent format. You can try JSON, put the post in the following input and click "Try It"

Headers

auth_id
string
required

ID provided to you by AeroCRS

auth_password
string
required

Password provided to you by AeroCRS

 

Request parameters

Parameter
Type
Description

flightid

Number*

The flight id

paxname

String*

Passenger name (First name or last name)

Response

The method will response with the pax token for the requested passenger.

Parameter
Type
Description

paxtoken

Unique identifer

PAX token to be used in DCS related queries

* Mandatory parameters

getPassengerIdentifierByNameMulti

This method allows you to search for a passenger on multiple flights according to origin of flight

 
posthttps://api.aerocrs.com/v4/getPassengerIdentifierByNameMulti
{
	"aerocrs": {
		"parms": {
			"origin": "DAR",
			"startdate": "2018/05/22",
			"enddate": "2018/05/25",
			"paxname": "John"
		}
	}
}
<?xml version="1.0" encoding="UTF-8"?> 
<aerocrs>
	<parms>
		<origin>DAR</origin> 
		<startdate>2018/05/22</startdate> 
		<enddate>2018/05/25</enddate>
		<paxname>John</paxname>
	</parms>
</aerocrs>
A binary file was returned

You couldn't be authenticated

{
	"aerocrs": {
		"success": true,
		"pax": [{
				"flightid": 2242629,
				"paxtoken": "D3F7D252-B2AF-42F0-93F1-04145C9212E0"
			},
			{
				"flightid": 2114290,
				"paxtoken": "77BD81F4-BE84-4FCF-B232-91BED35FFE6C"
			},
			{
				"flightid": 2242631,
				"paxtoken": "21EC638B-F148-4609-8D0D-419B3E21BD13"
			}
		]
	}
}
<?xml version="1.0" encoding="utf-8"?>
<aerocrs>
    <success>true</success>
    <pax>
        <flightid>2242629</flightid>
        <paxtoken>D3F7D252-B2AF-42F0-93F1-04145C9212E0</paxtoken>
    </pax>
    <pax>
        <flightid>2114290</flightid>
        <paxtoken>77BD81F4-BE84-4FCF-B232-91BED35FFE6C</paxtoken>
    </pax>
    <pax>
        <flightid>2242631</flightid>
        <paxtoken>56714633-8B1E-4C55-9051-96BE405E59CD</paxtoken>
    </pax>
</aerocrs>

Body Params

json
required

The method accepts the XML / JSON input as POST, response format will be according to the sent format. You can try JSON, put the post in the following input and click "Try It"

Headers

auth_id
string
required

ID provided to you by AeroCRS

auth_password
string
required

Password provided to you by AeroCRS

 

Request parameters

Parameter
Type
Description

origin

String*

Destination code

startdate

Date*

From date

enddate

Date*

To date

paxname

String

Passenger name (First name or last name)

Response

The method will response with paxtokens for usage in other methods

Parameter
Type
Description

pax

Element

The element pax holds the following parameters

flightid

Number

The flight id

paxtoken

Unique identifer

PAX token to be used in DCS related queries

* Mandatory parameters

getPassengerIdentifiersByBookingReference

This method allows you to search for passengers according to booking reference on a specific flight

 
posthttps://api.aerocrs.com/v4/getPassengerIdentifiersByBookingReference
{
	"aerocrs": {
		"parms": {
			"flightid": 2242630,
			"bookingref": "20E9E27"
		}
	}
}
<?xml version="1.0" encoding="UTF-8"?> 
<aerocrs> 
	<parms>
		<flightid>2242630</flightid> 
		<bookingref>20E9E27</bookingref> 
	</parms>
</aerocrs>
A binary file was returned

You couldn't be authenticated

{
    "aerocrs": {
        "success": true,
        "pax": [
            {
                "paxtoken": "EF1ADAE9-481C-4060-B7FF-56A0D41FBFF0",
                "fltid": 2242630
            }
        ]
    }
}
<?xml version="1.0" encoding="utf-8"?>
<aerocrs>
    <success>true</success>
    <pax>
        <paxtoken>EF1ADAE9-481C-4060-B7FF-56A0D41FBFF0</paxtoken>
        <fltid>2242630</fltid>
    </pax>
</aerocrs>

Body Params

json
required

The method accepts the XML / JSON input as POST, response format will be according to the sent format. You can try JSON, put the post in the following input and click "Try It"

Headers

auth_id
string
required

ID provided to you by AeroCRS

auth_password
string
required

Password provided to you by AeroCRS

 

Request parameters

Parameter
Type
Description

flightid

Number*

The flight id

bookingref

String*

The PNR reference

Response

The method will response with pax tokens of the requested passengers.

Parameter
Type
Description

errcode

String

The error code returned

errdescription

String

The error description

pax

Element

The element pax holds the following parameters

paxtoken

Unique identifer

PAX token to be used in DCS related queries

fltid

Number

The flight id

* Mandatory parameters

getAllFlightsFromOrigin

This method allows you to get all flights departing from an origin

 
posthttps://api.aerocrs.com/v4/getAllFlightsFromOrigin
{
	"aerocrs": {
		"parms": {
			"origin": "DAR",
			"startdate": "2018/05/14",
			"enddate": "2018/05/15"
		}
	}
}
<?xml version="1.0" encoding="UTF-8"?> 
<aerocrs> 
	<parms>
		<origin>DAR</origin> 
		<startdate>2018/05/14</startdate> 
		<enddate>2018/05/15</enddate> 
	</parms>
</aerocrs>
A binary file was returned

You couldn't be authenticated

{
	"aerocrs": {
		"success": true,
		"flights": {
			"flight": [{
					"flightid": 2114589,
					"flightnumber": "M1235",
					"flightdate": "2018/05/14",
					"flightequipment": "320",
					"tailnumber": "A320-233",
					"seat_plan_reference": "Airbus A320-233",
					"opsremarks": "",
					"flightlegs": {
						"leg": [{
								"origin": "ZNZ",
								"destination": "DAR",
								"STD": "05:00",
								"STA": "06:30",
								"daydiff": 0
							},
							{
								"origin": "DAR",
								"destination": "BCN",
								"STD": "07:30",
								"STA": "14:30",
								"daydiff": 0
							},
							{
								"origin": "BCN",
								"destination": "MAD",
								"STD": "15:30",
								"STA": "17:00",
								"daydiff": 0
							}
						]
					}
				},
				{
					"flightid": 2114590,
					"flightnumber": "M1235",
					"flightdate": "2018/05/15",
					"flightequipment": "320",
					"tailnumber": "A320-233",
					"seat_plan_reference": "Airbus A320-233",
					"opsremarks": "",
					"flightlegs": {
						"leg": [{
								"origin": "ZNZ",
								"destination": "DAR",
								"STD": "05:00",
								"STA": "06:30",
								"daydiff": 0
							},
							{
								"origin": "DAR",
								"destination": "BCN",
								"STD": "07:30",
								"STA": "14:30",
								"daydiff": 0
							},
							{
								"origin": "BCN",
								"destination": "MAD",
								"STD": "15:30",
								"STA": "17:00",
								"daydiff": 0
							}
						]
					}
				}
			]
		}
	}
}
<?xml version="1.0" encoding="utf-8"?>
<aerocrs>
    <success>true</success>
    <flights>
        <flight>
            <flightid>2114589</flightid>
            <flightnumber>M1235</flightnumber>
            <flightdate>2018/05/14</flightdate>
            <flightequipment>320</flightequipment>
            <tailnumber>A320-233</tailnumber>
            <seat_plan_reference>Airbus A320-233</seat_plan_reference>
            <opsremarks />
            <flightlegs>
                <leg>
                    <origin>ZNZ</origin>
                    <destination>DAR</destination>
                    <STD>05:00</STD>
                    <STA>06:30</STA>
                    <daydiff>0</daydiff>
                </leg>
                <leg>
                    <origin>DAR</origin>
                    <destination>BCN</destination>
                    <STD>07:30</STD>
                    <STA>14:30</STA>
                    <daydiff>0</daydiff>
                </leg>
                <leg>
                    <origin>BCN</origin>
                    <destination>MAD</destination>
                    <STD>15:30</STD>
                    <STA>17:00</STA>
                    <daydiff>0</daydiff>
                </leg>
            </flightlegs>
        </flight>
        <flight>
            <flightid>2114590</flightid>
            <flightnumber>M1235</flightnumber>
            <flightdate>2018/05/15</flightdate>
            <flightequipment>320</flightequipment>
            <tailnumber>A320-233</tailnumber>
            <seat_plan_reference>Airbus A320-233</seat_plan_reference>
            <opsremarks />
            <flightlegs>
                <leg>
                    <origin>ZNZ</origin>
                    <destination>DAR</destination>
                    <STD>05:00</STD>
                    <STA>06:30</STA>
                    <daydiff>0</daydiff>
                </leg>
                <leg>
                    <origin>DAR</origin>
                    <destination>BCN</destination>
                    <STD>07:30</STD>
                    <STA>14:30</STA>
                    <daydiff>0</daydiff>
                </leg>
                <leg>
                    <origin>BCN</origin>
                    <destination>MAD</destination>
                    <STD>15:30</STD>
                    <STA>17:00</STA>
                    <daydiff>0</daydiff>
                </leg>
            </flightlegs>
        </flight>
    </flights>
</aerocrs>

Body Params

json
required

The method accepts the XML / JSON input as POST, response format will be according to the sent format. You can try JSON, put the post in the following input and click "Try It"

Headers

auth_id
string
required

ID provided to you by AeroCRS

auth_password
string
required

Password provided to you by AeroCRS

 

Request parameters

Parameter
Type
Description

origin

String*

Destination code

startdate

Date*

From date

enddate

Date*

To date

Response parameters

The method will response with a list of segments departing from the given origin.

Parameter
Type
Description

flights

Element

The following elements are within <flight> which represents a flight within<flights>

flight

Element

The following parameters are within flight

flightid

Number

The flight id

flightnumber

String

The flight number

flightdate

Date

The flight date

flightequipment

String

Aircraft used

tailnumber

String

The tail number

seat_plan_reference

String

type of aircraft seat plan

opsremarks

String

Operational remarks (future use)

flightlegs

Element

The following elements are within <leg> which represents a leg within<flightlegs>

leg

Element

The following parameters are within leg

origin

String

The origin code

destination

String

The destination code

STD

Time

Departure leg

STA

Time

Arrival leg

daydiff

number

Returns 1 if flight lands on a different day.

* Mandatory parameters

getSeatMap

The method will return the flight seat map

 
posthttps://api.aerocrs.com/v4/getSeatMap
{
	"aerocrs": {
		"parms": {
			"origin": "DAR",
			"flightid": 2242631
		}
	}
}
<?xml version="1.0" encoding="utf-8"?>
<aerocrs>
    <parms>
        <origin>DAR</origin>
        <flightid>2242631</flightid>
    </parms>
</aerocrs>
A binary file was returned

You couldn't be authenticated

{
	"aerocrs": {
		"success": true,
		"seatmap": {
			"row": [{
				"rownumber": "1",
				"seats": {
					"seat": [{
							"seatname": "A",
							"seattype": "seat",
							"seatpref": {
								"attributes": {
									"window": true,
									"extralegroom": false,
									"exitrow": false,
									"rearfacing": false,
									"blocked": false,
									"preferredseating": false,
									"wheelchair": false
								}
							},
							"seatclass": "economy",
							"seatpaxtoken": null,
							"seatfromdestination": null,
							"seattodestination": null
						},
						{
							"seatname": "B",
							"seattype": "seat",
							"seatpref": {
								"attributes": {
									"window": false,
									"extralegroom": false,
									"exitrow": false,
									"rearfacing": false,
									"blocked": false,
									"preferredseating": false,
									"wheelchair": false
								}
							},
							"seatclass": "economy",
							"seatpaxtoken": null,
							"seatfromdestination": null,
							"seattodestination": null
						},
						{
							"seatname": "C",
							"seattype": "seat",
							"seatpref": {
								"attributes": {
									"window": false,
									"extralegroom": false,
									"exitrow": false,
									"rearfacing": false,
									"blocked": false,
									"preferredseating": false,
									"wheelchair": false
								}
							},
							"seatclass": "economy",
							"seatpaxtoken": null,
							"seatfromdestination": null,
							"seattodestination": null
						},
						{
							"seatname": null,
							"seattype": "aisle",
							"seatpref": {
								"attributes": {
									"window": false,
									"extralegroom": false,
									"exitrow": false,
									"rearfacing": false,
									"blocked": false,
									"preferredseating": false,
									"wheelchair": false
								}
							},
							"seatclass": "economy",
							"seatpaxtoken": null,
							"seatfromdestination": null,
							"seattodestination": null
						},
						{
							"seatname": "D",
							"seattype": "seat",
							"seatpref": {
								"attributes": {
									"window": false,
									"extralegroom": false,
									"exitrow": false,
									"rearfacing": false,
									"blocked": false,
									"preferredseating": false,
									"wheelchair": false
								}
							},
							"seatclass": "economy",
							"seatpaxtoken": null,
							"seatfromdestination": null,
							"seattodestination": null
						},
						{
							"seatname": "E",
							"seattype": "seat",
							"seatpref": {
								"attributes": {
									"window": false,
									"extralegroom": false,
									"exitrow": false,
									"rearfacing": false,
									"blocked": false,
									"preferredseating": false,
									"wheelchair": false
								}
							},
							"seatclass": "economy",
							"seatpaxtoken": null,
							"seatfromdestination": null,
							"seattodestination": null
						},
						{
							"seatname": "F",
							"seattype": "seat",
							"seatpref": {
								"attributes": {
									"window": true,
									"extralegroom": false,
									"exitrow": false,
									"rearfacing": false,
									"blocked": false,
									"preferredseating": false,
									"wheelchair": false
								}
							},
							"seatclass": "economy",
							"seatpaxtoken": null,
							"seatfromdestination": null,
							"seattodestination": null
						}
					]
				}
			}]
		}
	}
}
<?xml version="1.0" encoding="utf-8"?>
<aerocrs>
    <success>true</success>
    <seatmap>
        <row>
            <rownumber>1</rownumber>
            <seats>
                <seat>
                    <seatname>A</seatname>
                    <seattype>seat</seattype>
                    <seatpref window="true" extralegroom="false" exitrow="false" rearfacing="false" blocked="false" preferredseating="false" wheelchair="false" />
                    <seatclass>economy</seatclass>
                    <seatpaxtoken />
                    <seatfromdestination />
                    <seattodestination />
                </seat>
                <seat>
                    <seatname>B</seatname>
                    <seattype>seat</seattype>
                    <seatpref window="false" extralegroom="false" exitrow="false" rearfacing="false" blocked="false" preferredseating="false" wheelchair="false" />
                    <seatclass>economy</seatclass>
                    <seatpaxtoken />
                    <seatfromdestination />
                    <seattodestination />
                </seat>
                <seat>
                    <seatname>C</seatname>
                    <seattype>seat</seattype>
                    <seatpref window="false" extralegroom="false" exitrow="false" rearfacing="false" blocked="false" preferredseating="false" wheelchair="false" />
                    <seatclass>economy</seatclass>
                    <seatpaxtoken />
                    <seatfromdestination />
                    <seattodestination />
                </seat>
                <seat>
                    <seatname />
                    <seattype>aisle</seattype>
                    <seatpref window="false" extralegroom="false" exitrow="false" rearfacing="false" blocked="false" preferredseating="false" wheelchair="false" />
                    <seatclass>economy</seatclass>
                    <seatpaxtoken />
                    <seatfromdestination />
                    <seattodestination />
                </seat>
                <seat>
                    <seatname>D</seatname>
                    <seattype>seat</seattype>
                    <seatpref window="false" extralegroom="false" exitrow="false" rearfacing="false" blocked="false" preferredseating="false" wheelchair="false" />
                    <seatclass>economy</seatclass>
                    <seatpaxtoken />
                    <seatfromdestination />
                    <seattodestination />
                </seat>
                <seat>
                    <seatname>E</seatname>
                    <seattype>seat</seattype>
                    <seatpref window="false" extralegroom="false" exitrow="false" rearfacing="false" blocked="false" preferredseating="false" wheelchair="false" />
                    <seatclass>economy</seatclass>
                    <seatpaxtoken />
                    <seatfromdestination />
                    <seattodestination />
                </seat>
                <seat>
                    <seatname>F</seatname>
                    <seattype>seat</seattype>
                    <seatpref window="true" extralegroom="false" exitrow="false" rearfacing="false" blocked="false" preferredseating="false" wheelchair="false" />
                    <seatclass>economy</seatclass>
                    <seatpaxtoken />
                    <seatfromdestination />
                    <seattodestination />
                </seat>
            </seats>
        </row>
    </seatmap>
</aerocrs>

Body Params

json
required

The method accepts the XML / JSON input as POST, response format will be according to the sent format. You can try JSON, put the post in the following input and click "Try It"

Headers

auth_id
string
required

ID provided to you by AeroCRS

auth_password
string
required

Password provided to you by AeroCRS

 

Request parameters

Parameter
Type
Description

origin

Number

The destination code

flightid

Number*

The flight id

Response

The method will response the seat map that defined for the flight.

Parameter
Type
Description

seatmap

Element

The element contain all the information regarding the seat map

row

Element

Contain all the seats in the row.

rownumber

Number

The row number in the map

seats

Element

The following elements are within <seat> which represents a seat within<seats>

seat

Element

The following parameters are within seat

seatname

String

The seat name

seattype

String

The seat type

seatpref

Element

Include the following atributes

attributes

Element

This element is exist only in JSON format

window

Boolean

If the seat is next to a window

extralegroom

Boolean

if the seat has extra leg room

exitrow

Boolean

if the seat is in an exit row

rearfacing

Boolean

if the seat a rear facing one

blocked

Boolean

if the seat block from reserving

preferredseating

Boolean

if the seat falls under preferred seating criteria

wheelchair

Boolean

if the seat suitable for a wheel chair

seatclass

String

The class name

seatpaxtoken

Unique identifer

PAX token to be used in DCS related queries

seatfromdestination

String

The from destination code

seattodestination

String

The to destination code

* Mandatory parameters

getTailList

This method will give you a list of all the tails (aircraft registrations) in the airline

 
gethttps://api.aerocrs.com/v4/getTailList
No code samples available
A binary file was returned

You couldn't be authenticated

{
	"aerocrs": {
		"success": true,
		"tail": [{
				"tailnumber": "1x BN2",
				"tailequp": "31X"
			},
			{
				"tailnumber": "A320",
				"tailequp": "320"
			},
			{
				"tailnumber": "A320-233",
				"tailequp": "320"
			},
			{
				"tailnumber": "A380 KIV-DXB-KIV",
				"tailequp": "380"
			},
			{
				"tailnumber": "B1900D",
				"tailequp": "BEH"
			}
		]
	}
}
<?xml version="1.0" encoding="utf-8"?>
<aerocrs>
    <success>true</success>
    <tail>
        <tailnumber>1x BN2</tailnumber>
        <tailequp>31X</tailequp>
    </tail>
    <tail>
        <tailnumber>A320</tailnumber>
        <tailequp>320</tailequp>
    </tail>
    <tail>
        <tailnumber>A320-233</tailnumber>
        <tailequp>320</tailequp>
    </tail>
    <tail>
        <tailnumber>A380 KIV-DXB-KIV</tailnumber>
        <tailequp>380</tailequp>
    </tail>
    <tail>
        <tailnumber>B1900D</tailnumber>
        <tailequp>BEH</tailequp>
    </tail>
</aerocrs>

Headers

auth_id
string
required

ID provided to you by AeroCRS

auth_password
string
required

Password provided to you by AeroCRS

Content-Type
string
required

application/json OR application/xml specifying the format you wish to get the response

 

Response

The method will response with tail numbers of all aircraft of the airline

Parameter
Type
Description

tail

Element

The following parameters are within tail

tailnumber

String

Tail number

tailequp

String

Aircraft type IATA code

pullQueue

Pull the queue according to queue ID

 
posthttps://api.aerocrs.com/v4/pullQueue
{
	"aerocrs" : {
		"parms" : {
			"queid" : "776648D3-36FC-40E3-BC06-F2B9C5FF94ED"
		}
	}
}
<aerocrs>
    <parms>
        <queid>776648D3-36FC-40E3-BC06-F2B9C5FF94ED</queid>
    </parms>
</aerocrs>
A binary file was returned

You couldn't be authenticated

{  
   "aerocrs":{  
      "success":true,
      "Results":[  
         {  
            "FlightNumber":"FlightName123",
            "FlightDate":"Oct 16 2018",
            "ChangeDate":"2018-10-16 10:52"
         }
      ]
   }
}
<?xml version="1.0" encoding="utf-8"?>
<aerocrs>
    <success>true</success>
    <Results>
        <FlightNumber>FlightName123</FlightNumber>
        <FlightDate>Oct 17 2018</FlightDate>
        <ChangeDate>2018-10-16 09:02</ChangeDate>
    </Results>
    <Results>
        <FlightNumber>FlightName123</FlightNumber>
        <FlightDate>Oct 17 2018</FlightDate>
        <ChangeDate>2018-10-16 09:28</ChangeDate>
    </Results>
</aerocrs>

Body Params

json

The method accepts the XML / JSON input as POST, response format will be according to the sent format. You can try JSON, put the post in the following input and click "Try It"

Headers

auth_id
string

ID provided to you by AeroCRS

auth_password
string

Password provided to you by AeroCRS

 

Request Parameters

Parameter
Type
Description

queid

string*

Unique ID of the requested queue

Response

Parameter
Type
Description

FlightNumber

String

Flight Number

FlightDate

String

Date of the flight in format: "Mon dd yyyy"

ChangeDate

String

Date of when the record was inserted to queue in format:
"yyyy-mm-dd hh:mm"

* Mandatory parameters

updateClass

Update class or classes quantity

 
posthttps://api.aerocrs.com/v4/updateClass
{
	"aerocrs": {
		"parms": {
			"flights": {
				"flight":[
					{
						"flightnumber": "DS5845",
						"flightdate": "2019/07/31",
						"fromcode":"TLV",
						"tocode":"AMS",
						"class":[
							{
								"code":"E",
								"type":"O",
								"qty":20
							},
							{
								"code":"Y",
								"type":"O",
								"qty":20
							}
						]
					},
					{
						"flightnumber": "DSNM1",
						"flightdate": "2019/07/31",
						"fromcode":"MAD",
						"tocode":"AMS",
						"class":[
							{
								"code":"A",
								"type":"C"
							}
						]
					}
				]
			}
		}
	}
}
<?xml version="1.0" encoding="UTF-8"?>
<aerocrs>
    <parms>
        <flights>
            <flight>
                <flightnumber>DS5845</flightnumber>
                <flightdate>2019/07/31</flightdate>
                <fromcode>TLV</fromcode>
	        	<tocode>AMS</tocode>
	        	<class>
	        		<code>E</code>
	        		<type>O</type>
	        		<qty>20</qty>
	        	</class>
	        	<class>
	        		<code>Y</code>
	        		<type>O</type>
	        		<qty>20</qty>
	        	</class>
            </flight>
            <flight>
                <flightnumber>DSNM1</flightnumber>
                <flightdate>2019/07/31</flightdate>
                <fromcode>MAD</fromcode>
	        	<tocode>AMS</tocode>
	        	<class>
	        		<code>A</code>
	        		<type>C</type>
	        	</class>
            </flight>
        </flights>
    </parms>
</aerocrs>
A binary file was returned

You couldn't be authenticated

{
    "aerocrs": {
        "success": true
    }
}
<?xml version="1.0" encoding="utf-8"?>
<aerocrs>
    <success>true</success>
</aerocrs>

Body Params

Raw body
string

The method accepts XML/JSON

Headers

auth_id
string

ID provided to you by AeroCRS

auth_password
string

ID provided to you by AeroCRS

 

Important

This API call will NOT work for multileg flights

Operational information

The quantity parameter sets the new number of free seats.
For instance, if you have 4 booked passengers, and you want to set the new class quantity to be 10 (=6 free seats) - you need to send 6.

Request Parameters

Parameter
Type
Description

Flights

Element*

Array of flights

Flight

Element*

Contains flight information

flightnumber

String*

Flight Number

flightdate

Date*

Date of flight YYYY/mm/dd

fromcode

String*

Flight departure destination

tocode

String*

Flight arrival destination

class

Element*

Array of classes

code

String*

Class code

type

String*

Open or closed (O/C only)

qty

Number

Quantity of seats.
This field is mandatory when type is O

Response Parameters

Parameter
Type
Description

Success

Boolean

true/false

Details

String

Additional information in case of failure. (Only when success = false)

updateFares

This method will change the fare details

 
posthttps://api.aerocrs.com/v4/updateFares
{
	"aerocrs": {
		"parms": {
			"fares": {
				"fare": [{
					"fareDetails": {
					"fromcode": "MAD",
					"tocode": "BCN",
					"classcode": "Y",
					"fromdate": "2018/10/28",
					"todate": "2019/10/26",
					"currency": "USD"
					},
					"newDetails": {
					"fromcode": "MAD",
					"tocode": "BCN",
					"classcode": "Y",
					"fromdate": "2018/10/28",
					"todate": "2020/12/28",
					"currency": "USD",
					"baggage": 20,
					"brand": "0",
					"scheme": "0",
					"showhours": 0,
					"expirehours": 0,
					"minstay": 0,
					"maxstay": 0,
					"sellstart": "2018/04/14",
					"sellend": "2019/12/15",
					"limitcurrency": 0,
					"chargevatontax": 0,
					"owadl": 100,
					"owchd": 80,
					"owinf": 50,
					"owtax1": 5,
					"owtax2": 5,
					"owtax3": 5,
					"owtax4": 5,
					"rtadl": 100,
					"rtchd": 80,
					"rtinf": 30,
					"rttax1": 10.50,
					"rttax2": 10.50,
					"rttax3": 10.50,
					"rttax4": 10.50,
					"vat": 0
					}
				}]
			}
		}
	}
}
<?xml version="1.0" encoding="UTF-8"?>
<aerocrs>
    <parms>
        <fares>
            <fare>
                <fareDetails>
                    <fromcode>MAD</fromcode>
                    <tocode>BCN</tocode>
                    <classcode>Y</classcode>
                    <fromdate>2018/12/01</fromdate>
                    <todate>2019/12/24</todate>
                    <currency>USD</currency>
                </fareDetails>
                <newDetails>
                    <fromcode>MAD</fromcode>
                    <tocode>BCN</tocode>
                    <classcode>Y</classcode>
                    <fromdate>2018/12/01</fromdate>
                    <todate>2020/03/24</todate>
                    <currency>USD</currency>
                    <baggage>20</baggage>
                    <brand></brand>
                    <scheme></scheme>
                    <showhours>0</showhours>
                    <expirehours>0</expirehours>
                    <minstay>0</minstay>
                    <maxstay>0</maxstay>
                    <sellstart>2018/04/14</sellstart>
                    <sellend>2019/12/15</sellend>
                    <limitcurrency>0</limitcurrency>
                    <chargevatontax>0</chargevatontax>
                    <owadl>110</owadl>
                    <owchd>90</owchd>
                    <owinf>60</owinf>
                    <owtax1>5</owtax1>
                    <owtax2>5</owtax2>
                    <owtax3>5</owtax3>
                    <owtax4>5</owtax4>
                    <rtadl>100</rtadl>
                    <rtchd>80</rtchd>
                    <rtinf>50</rtinf>
                    <rttax1>5</rttax1>
                    <rttax2>5</rttax2>
                    <rttax3>5</rttax3>
                    <rttax4>5</rttax4>
                    <vat>10</vat>
                </newDetails>
            </fare>
        </fares>
    </parms>
</aerocrs>
A binary file was returned

You couldn't be authenticated

{
    "aerocrs": {
        "success": true,
        "fares": {
            "fare": [
                {
                    "fromcode": "MAD",
                    "tocode": "BCN",
                    "classcode": "Y",
                    "fromdate": "2018/10/28",
                    "todate": "2019/10/26",
                    "currency": "USD",
                    "success": true
                }
            ]
        }
    }
}
<?xml version="1.0" encoding="utf-8"?>
<aerocrs>
    <success>true</success>
    <fares>
        <fare>
            <fromcode>MAD</fromcode>
            <tocode>BCN</tocode>
            <classcode>Y</classcode>
            <fromdate>2018/12/01</fromdate>
            <todate>2019/12/24</todate>
            <currency>USD</currency>
            <success>true</success>
        </fare>
    </fares>
</aerocrs>

Query Params

json
required

The method accepts the XML / JSON input as POST, response format will be according to the sent format. You can try JSON, put the post in the following input and click "Try It"

 

Important

With this method you can not update information from other airlines.

Request parameters

Parameter
Type
Description

fares

Element*

The following elements are within <fare> which represents a <fare> within <fares>

fare

Element*

The Element hold the fare details

fareDetails

Element*

The Element hold the fare details in AeroCRS system

fromcode

String*

Departure airport code

tocode

String*

Departure airport code.

classcode

String*

Class code

fromdate

Date*

From date YYYY/MM/DD

todate

Date*

To date YYYY/MM/DD

currency

String*

Currency ISO format (Example - USD)

newDetails

Element*

The Element hold the new details to update

fromcode

String*

Departure airport code

tocode

String*

Departure airport code.

classcode

String*

Class code

fromdate

Date*

From date YYYY/MM/DD

todate

Date*

To date YYYY/MM/DD

baggage

Number

Set kg/lb (according to company settings) of baggage allowed for this route

brand

String

Brand name (according the company), In order to change to default settings, Set zero value

scheme

String

Scheme name (according the company), In order to change to default settings, Set zero value

showhours

Number

Set the number of hours before the flight the fare should show
if set to zero‚ will show always

expirehours

Number

Set the number of hours before the flight this fare should expire

minstay

Number

Set the number of days for return bookings‚ if a booking is done for less than the stated days‚ the system will not show the fare

maxstay

Number

Set the number of days for return bookings‚ if a booking is done for more than the stated days‚ the system will not show the fare

sellstart

Date

Fare sell start date

sellend

Date

Fare sell end date

limitcurrency

Boolean

Limit the fare to be sold only for this currency

chargevatontax

Boolean

Charge VAT on tax

owadl

Money

One way fare adult ticket price amount

owchd

Money

One way fare child ticket price amount

owinf

Money

One way fare infant ticket price amount

owtax1

Money

One way fare ticket tax 1 amount

owtax2

Money

One way fare ticket tax 2 amount

owtax3

Money

One way fare ticket tax 3 amount

owtax4

Money

One way fare ticket tax 4 amount

rtadl

Money

Round trip fare adult ticket price amount

rtchd

Money

Round trip fare child ticket price amount

rtinf

Money

Round trip fare infant ticket price amount

rttax1

Money

Round trip fare ticket tax 1 amount

rttax2

Money

Round trip fare ticket tax 2 amount

rttax3

Money

Round trip fare ticket tax 3 amount

rttax4

Money

Round trip fare ticket tax 4 amount

Notice!

The request can contain optional parameters, In case some parameters are skipped - those fields data in AeroCRS system will not be changed.

Optional

Request can contain multiple fares

Response parameters

Parameter
Type
Description

fares

Element

The following elements are within <fare> which represents a <fare> within <fares>

fare

Element

The following parameters are within fare

fromcode

String

The departure airport code which been updated

tocode

String

The departure airport code which been updated

classcode

String

The class code which been updated

fromdate

Date

From date YYYY/MM/DD which been updated

todate

Date

To date YYYY/MM/DD which been updated

currency

String

Currency ISO format which been updated

success

Boolean

true/false

error

String

Error information

* Mandatory parameters

webLogin

The method will allow you to login a user directly to AeroCRS IBE from a form you can build on your website

 
posthttps://api.aerocrs.com/v4/webLogin
{
	"aerocrs": {
		"parms": {
			"logintype": "web_cust",
			"usrname": "John@aerocrs.com",
			"usrpass": "1234567test"
		}
	}
}
<?xml version="1.0" encoding="utf-8"?>
<aerocrs>
    <parms>
        <companyid>20</companyid>
        <logintype>web_cust</logintype>
        <usrname>John@aerocrs.com</usrname>
        <usrpass>1234567test</usrpass>
    </parms>
</aerocrs>
A binary file was returned

You couldn't be authenticated

{
    "aerocrs": {
      	"success": true,
        "redirecturl": "http://northair.aerocrs.net/login/6F6E2687-B992-42DA-BD41-92008B91283B"
    }
}
<?xml version="1.0" encoding="utf-8"?>
<aerocrs>
    <success>true</success>
    <redirecturl>http://northair.aerocrs.net/login/EA96D026-B0B1-4555-BF46-E36A429AF5FB</redirecturl>
</aerocrs>

Body Params

json
required

The method accepts the XML / JSON input as POST, response format will be according to the sent format. You can try JSON, put the post in the following input and click "Try It"

Headers

auth_id
string
required

ID provided to you by AeroCRS

auth_password
string
required

Password provided to you by AeroCRS

 

Request parameters

Parameter
Type
Description

logintype

String*

"web_cust" or "web_agent" only

usrname

String*

Customer e-mail for web_cust
Agent user name or e-mail for web_agent

usrpass

String*

Password

Response

The method will response with a link with a token which you can redirect the customer to.

Parameter
Type
Description

redirecturl

String

Redirection URL

Important

Redirection url includes a unique token. Note that the token is only valid for 30 minutes, after that re-login is required.

* Mandatory parameters

getCompanyDestinations

The method will give you a list of destinations served by the airline in question.

 
posthttps://api.aerocrs.com/v4/getCompanyDestinations
{
	"aerocrs": {
		"parms": {
			"companycode": "NOR"
		}
	}
}
<?xml version="1.0" encoding="utf-8"?>
<aerocrs>
    <parms>
        <companyid>20</companyid>
    </parms>
</aerocrs>
A binary file was returned

You couldn't be authenticated

{
	"aerocrs": {
		"success": true,
		"destinations": {
			"destination": [{
					"name": "Dar es Salaam",
					"id": 2988,
					"code": "DAR",
					"iatacode": "DAR"
				},
				{
					"name": "Zanzibar",
					"id": 2925,
					"code": "ZNZ",
					"iatacode": "ZNZ"
				}
			]
		}
	}
}
<?xml version="1.0" encoding="utf-8"?>
<aerocrs>
    <success>true</success>
    <destinations>
        <destination>
            <name>Dar es Salaam</name>
            <id>2988</id>
            <code>DAR</code>
            <iatacode>DAR</iatacode>
        </destination>
        <destination>
            <name>Zanzibar</name>
            <id>2925</id>
            <code>ZNZ</code>
            <iatacode>ZNZ</iatacode>
        </destination>
    </destinations>
</aerocrs>

Body Params

json
required

The method accepts the XML / JSON input as POST, response format will be according to the sent format. You can try JSON, put the post in the following input and click "Try It"

Headers

auth_id
string
required

ID provided to you by AeroCRS

auth_password
string
required

Password provided to you by AeroCRS

 

Request parameters

Parameter
Type
Description

companycode

String

The companycode returned from getAirlines

Response

The method will response with the list of destinations for a specific airline requested

Parameter
Type
Description

destinations

Element

The following elements are within <destination> which represents a destination within <destinations>

destination

Element

The following parameters are within destination

name

String

Destination name

id

Number

Destination number to be used in the form

code

String

Destination code

iatacode

String

IATA code (if exists)

* Mandatory parameters

Important

CompanyID integer was replaced. Companycode can be requested at: http://support.aerocrs.com

Complete integration

The complete widget that includes all the design and functionality of the AeroCRS search engine - Just add and use.

 

To use the full vertical widget all you need to do is add an iframe element to your page at the location you desire. the iframe code should be:

<iframe src="http://devsandbox.aerocrs.systems/widget/searchelement.php?action=avl,fnd,ock&lang=en" frameborder="0" width="440" height="438"></iframe>

The widget will already incorporate all your website settings and colors.

To use the full horizontal widget all you need to do is add an iframe element to your page at the location you desire. the iframe code should be:

<iframe src="http://devsandbox.aerocrs.systems/widget/searchelement.php?action=avl,fnd,ock&amp;direction=horizontal" frameborder="0" width="100%" height="400"></iframe>

Domain to be used

Note, that "devsandbox.aerocrs.systems" should be replaced with your URL on the AeroCRS server.

Parameter

Note, that it is possible to send a language parameter (&lang=es) for the IBE.

Element Widget

This option allows you to implement only a specific element of the widget

 

The element widget is the same Complete integration widget, but you can break it down and display only part of the widget according to the following elements.

Element
Details

avl

Flights search engine

fnd

Find reservation

ock

Online Check-in

car

Car rental (if applicable)

"Action" should be placed in the action section in the URL of the iframe.

Standard Widget

This widget will inherit design from the IBE settings.
To use the widget all you need to do is add an iframe element to your page at the location you desire. The iframe code should be:

<iframe src="http://devsandbox.aerocrs.systems/widget/searchelement.php?action=avl&lang=en" frameborder="0" width="440" height="438"></iframe>
<iframe src="http://devsandbox.aerocrs.systems/widget/searchelement.php?action=fnd&lang=en" frameborder="0" width="440" height="438"></iframe>
<iframe src="http://devsandbox.aerocrs.systems/widget/searchelement.php?action=ock&lang=en" frameborder="0" width="440" height="438"></iframe>
<iframe src="http://devsandbox.aerocrs.systems/widget/searchelement.php?action=car&lang=en" frameborder="0" width="440" height="438"></iframe>

Bare Widget

This widget will inherit design from the used page.
To use the widget all you need to do is add an iframe element to your page at the location you desire. the iframe code should be

<iframe src="http://devsandbox.aerocrs.systems/widget/searchelement.php?action=avl&type=bare&fonts=blackamp&buttons=grey&button-fonts=black" frameborder="0" width="440" height="438"></iframe>
<iframe src="http://devsandbox.aerocrs.systems/widget/searchelement.php?action=fnd&type=bare&fonts=blackamp&buttons=grey&button-fonts=black" frameborder="0" width="440" height="438"></iframe>
<iframe src="http://devsandbox.aerocrs.systems/widget/searchelement.php?action=ock&type=bare&fonts=blackamp&buttons=grey&button-fonts=black" frameborder="0" width="440" height="438"></iframe>
<iframe src="http://devsandbox.aerocrs.systems/widget/searchelement.php?action=car&type=bare&fonts=blackamp&buttons=grey&button-fonts=black" frameborder="0" width="440" height="438"></iframe>

Height and Width

Please note that height and width are different among implementations.

Deep Linking

This page is a description of the website template deep link when redirecting the customer from search engines.

 

Should you have developed your own Search engine on your hosted website, please see the following "deep linking" instructions:

The url should look like this:

Structure: http://www.airlineibe.com/LANG/flight-results/DST1-DST2/YYYY-MM-DD/YYYY-MM-DD/ADLT/CHLD/INF/CURR

Example: http://www.airlineibe.com/flight-results/TLV-LON/2017-01-27/2017-02-10/1/0/0/EUR

Part in URL
Details
Format

www.airlineibe.com

Domain of hosted IBE

Qualified Domain name

LANG

Language code - can be obtained from getAirlines

text

flight-results

fixed name

text

DST1

Origin - can be obtained using getCompanyDestinations or will be given at getFlights

text

DST2

Destination - can be obtained using getCompanyDestinations or will be given at getFlights

text

YYYY-MM-DD

Outbound date

YYYY-MM-DD

YYYY-MM-DD

Inbound date
"NA" if booking a oneway

YYYY-MM-DD

ADLT

Number of adults

integer

CHLD

Number of kids

integer

INF

Number of infants

integer

CURR

Currency code supported by airline - can be obtained from getAirlines

text

Error Messages

 

In cases where the API method has come across an error in the process, an error message will appear with the key "success" set to false.
Unlike empty results which will still return "success" true, but with an empty array.

{
  "aerocrs": {
    "success": false,
    "details": {
      "detail": [
        "Wrong credentials"
      ] 
    }
  }
}
<aerocrs>
  <success>False</success>
  <details>
    <detail>Wrong credentials</detail>
  </details>
</aerocrs>
{
  "aerocrs": {
    "success": false,
    "details": {
      "detail": [
        "Wrong destinations input"
      ] 
    }
  }
}
<aerocrs>
  <success>False</success>
  <details>
    <detail>Wrong destination input</detail>
  </details>
</aerocrs>

Available charge types

Available charge types to be used in V4 API

 

Currently we support the following:

Code
Explanation

NTL

National/Citizen of a Specified Country

ADT

Foreigner

STR

State Resident

You can get this value as returned by getDeepLink and use it as chargetype on getFlight

Getting Started With Your API

This page will help you get started with AeroCRS Payments.

 

This is where you show your users how to set it up. You can use code samples, like this:

$http.post('/someUrl', data).success(successCallback);

alert('test');

Try dragging a block from the right to see how easy it is to add more content!

Mobile money payment notification

 

The below request will be sent to the pre-defined endpoint provided to AeroCRS during the integration setup upon mobile money successful payment

{
	"aerocrs": {
		"paymentConfirmation": {
			"bookingid": 34877329,
			"pnrref": "2881C3C0",
			"amount": "1.0000",
			"currency": "USD"
		}
	}
}
Parameter
Type
Description

paymentConfirmation

Element

Include the PNR details

bookingid

Number

Booking ID

pnrref

String

The PNR reference

amount

Number

Amount paid

currency

String

Currency of payment

AeroCRS except the below response once the payment notification sent by AeroCRS recognized successfully

{
	"aerocrs": {
		"paymentConfirmation": {
			"paymentstatus": "OK"
		}
	}
}
Parameter
Type
Description

paymentConfirmation

Element

The element holds the payment status

paymentstatus

String

Payment status:

OK – confirmed