API methods

Method: order_restore ( Restoration of order )

countrycitystationdiscountroutes_dayroutesorder_neworder_confirmorder_cancelorder_ticket_returnorder_ticket_cancelorder_restoreorder_infoorder_stat
Restorates the order
For the work with this method the API access key is required.

For example:


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 )