post https://api.aerocrs.com/v5/getAgency
This method will respond with a list of active agencies, including contact details and other information. The request should allow retrieve Agencies by name or by agency email.
Important
This method cannot retrieve agency's information from other airlines.
Agency names which includes ' and “ char will be NOT supported.
If the same email set for more than one agency, all agencies will be retrieved.
The search is done by exact name only.
Request parameters
Parameter | Type | Description |
---|---|---|
agencies | Element* | The following elements are within which represents a within |
agency | Element* | The Element hold the name or an email of the agency |
- Mandatory parameters
Response
This method will respond with a list of customers, including personal details and additional information.
Parameter | Type | Description |
---|---|---|
Agencies | Element | The following elements are within which represents a Agency within |
Agency | Element | The following parameters are within (the element Agency will be for each agency) |
agencyemail | Agency’s email | |
agencyname | String | The name of the agency |
phonenumber | String | Phone number of the agency |
addphonenumber | String | Additional phone number of the agency |
contact | String | Additional phone number of the agency |
addcontact | String | Contact of the agency |
address1 | String | Agency address |
address2 | String | Agency additional address |
zipcode | String | Agency zip code |
city | String | City of the agency |
bookinglimit | Money | Monetary booking limit |
defaultcurrency | String | Default currency of the agency |
createdate | Date | YYYY/MM/DD date time of the system when creating the agency |
agentgroup | String | The text string agency group |
deposit | element | The agency’s deposit balance, i.e. the amount available to use on future bookings. |
currency | String | currency of the deposit |
amount | Money | Monetary deposit amount in currency |