train ticket Grab ticket API According to the passenger's train and agent requirements for fast ticket ticketing, specific API documentation, including interface address, parameters and return examples can be see:https://www.juhe.cn/docs/api/id/257
A. Station inquiry, according to the station, arrival station, departure date and other conditions to inquire all the conditions of the train information, fares, the remaining number of tickets and other information
Two. To create a ticket, we recommend that you configure the callback address first. NOTES:
1, Rob ticket only supports the seat and the ticket merger notice;
2, distance from the departure time is too close to rob the ticket, the proposed distance from the first 3 hours before the train can create a ticket list;
3, in the effective time to rob the ticket will continue to rob the ticket, after the success of the ticket and push the callback;
4, is the ticket of the order can be canceled, after the cancellation cannot be opened again;
5, Rob ticket effective time not to rob the ticket will be the initiative to push the ticket expired;
6, choose the alternative train, the alternative agent, purchase insurance and so on can improve the success rate of the robbery ticket
three. Order details, check the order details, ticket status, and ticket number, etc.
Four. Cancel the order, the order can be canceled, the cancellation of the order no longer rob the ticket, cancellation: 1, the order has not been robbed of the ticket, 2, the ticket has not expired;
Five. Apply for a refund, the issued order to initiate a refund request, only support the refund of 1 passengers per request, the interface returns the results of the application, the actual refund results through the message to send asynchronous notification; The refund will be automatically returned to the user, without the need for the distributor unsolicited application, the results of the cancellation of the message push asynchronous notification;
Six. Configure the callback address, if the ticket fails, you can view the reason of the failure through the order Details
Seven. Data dictionary, returning interface-related field usage scenarios and meanings
Train ticket to rob the ticket API according to the passenger's train and agent request fast ticket ticketing