post https://api.aerocrs.com/v5/getCustomerDataNew
This method allows you to retrieve customers details by email address.
ImportantThis method cannot retrieve customers' information from other airlines.
Request parameters
| Parameter | Type | Description |
|---|---|---|
| Customers | Element* | The following elements are within <Customer> which represents a <Customer> within <Customers> |
| String* | The customer email | |
| password | String | The password |
* Mandatory parameters
Response
This method will respond with a list of customers, including personal details and additional information.
| Parameter | Type | Description |
|---|---|---|
| Customer Basic Information | ||
| custid | Number | Customer ID |
| String | Customer E-mail | |
| name | String | First and last name of the customer |
| phone | Number | Phone number of the customer |
| passport | Number | Customer passport number |
| dob | Date | YYYY/MM/DD date of customer birth date |
| city | String | City of the customer |
| zipcode | Number | Customer zip code |
| company | String | Company of the customer (if applicable) |
| vatNumber | Number | VAT of the customer (if applicable) |
| Frequent Flyer Information | ||
| ffnumber | Number | Customer frequent flyer number |
| fflevel | String | Customer frequent flyer level name |
| ffcategory | Element | Customer frequent flyer category Points |
| status | Number | Amount of Status Points |
| bonus | Number | Amount of Bonus Points |
| award | Number | Amount of Award Points |
| Deposit Information | ||
| totalDeposit | Element | Customer Total Deposit details per Currency |
| rtname | String | Deposit Currency name |
| rtsymbol | String | Deposit Currency symbol |
| rtdecimals | Number | Deposit Currency decimals |
| rtconvert | Number | Deposit Currency Conversion Rate |
| rtid | Number | Deposit Currency ID |
| dpcurrencyamount | Number | Total amount of Deposit with the mentioned currency |
| Deposit Transaction History | ||
| depositTransactionsHistory | Element | Customer Deposit Transactions History |
| dpamount | Number | Deposit Amount: in case of payment, display negative amount. In case of adding Amount, display positive Amount. |
| rtname | String | Deposit Currency name |
| pnrref | Number | PNR number of the adding or using refund |
| pnrcreateddate | Date | PNR creation date |
| Trip History | ||
| trips | Element | The list Customer PNRs |
| pnrref | Number | Customer PNR number |
| status | String | Confirmed/Pending/Cancelled |
| createddate | Date | PNR creation date |
| dstfromname | String | From destination name |
| dstfromcode | String | From destination code |
| dsttoname | String | To destination name |
| dsttocode | String | To destination code |
| departuredate | Date | Departure date |
| arrivaldate | Date | Arrival date |
Error Messages
| Optional error messages |
|---|
| One of the fields is incorrect |
No {field name} defined on segment {i} |
mandatory fields missing: {fields name} |
| Unexpected error, please try again later |
