post https://api.aerocrs.com/v5/getCustomerDataNew
This method allows you to retrieve customers details by email address.
Important
This method cannot retrieve customers' information from other airlines.
Request parameters
Parameter | Type | Description |
---|---|---|
Customers | Element* | The following elements are within which represents a within |
E-mail* | The customer email | |
password | text | The password |
- Mandatory parameters
Response
This method will respond with a list of customers, including personal details and additional information.
Parameter | Type | Description |
---|---|---|
custid | Number | Customer ID |
Customer E-mail | ||
name | String | First and last name of the customer |
phone | Number | Phone number of the customer |
passport | Number | Customer passport number |
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 |
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) |
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 |
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 |
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 |
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 |