Train ticket to rob the ticket API according to the passenger's train and agent request fast ticket ticketing

Source: Internet
Author: User
Tags ticket

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.