countrycitystationdiscountroutes_dayroutesorder_neworder_confirmorder_cancelorder_ticket_returnorder_ticket_cancelorder_restoreorder_infoorder_stat | Returns the information about orders for the given period of time For the work with this method the API access key is required. For example:
Acceptable parameters:Key | Type | Description |
---|
key | char | API access key | from | DD-MM-YYYY | Date (ISO 8601) from | to | DD-MM-YYYY | Date (ISO 8601) till |
Return values:Key | Type | Description |
---|
hash | char | Hash key of order | text | char | Information for a ticket | insurance | char | Information about insurance | name | char | Name and Surname of Client | phone | char | Contact telephone | email | char | Email | price | double | Price | summ | double | Sum | crc | char | Units of money | routes | char | Id of flight | rname | char | Route | onway | int | On the way total number of full days | rdate | DD-MM-YYYY | Date of departure on route (ISO 8601) | from_city | char | City of departure | fstation | char | Station of departure | ftime | DD.MM.YYYY hh:mm | Time of departure | to_city | char | City of arrival | tstation | char | Station of arrival | ttime | DD.MM.YYYY hh:mm | Time of arrival | status | char | Status of order (active, canceled) | ticket | char | Link to the ticket ( PDF ) | passangers | array | PassengersKey | Type | Description |
---|
place | int | Place | ticket | char | Ticket | name | char | Name and Surname | discount | int | Id of discount |
| error | int | Code of error ( 0 – no mistake, 1 – incorrect API access key ) |
|