API methods

Method: order_ticket_return ( Return of Ticket )

countrycitystationdiscountroutes_dayroutesorder_neworder_confirmorder_cancelorder_ticket_returnorder_ticket_cancelorder_restoreorder_infoorder_stat
Return of ticket
For the work with this method the API access key is required.

For example:

Return the ticket by order with hash key test0order0hash

JSON:
https://eclub.com.ua/api/v1/json/order_ticket_return/test0api0key/?hash=test0order0hash

Acceptable parameters:

KeyTypeDescription
keycharAPI access key
hashcharHash key of order

Return values:

KeyTypeDescription
statusbooleanStatus of fulfillment of operation ( 1 – fulfilled, 0 – not fulfilled )
errorintCode of error ( 0 – no mistake, 1 – incorrect API access key, 301 – order with the specified hash key is not found )