-
Notifications
You must be signed in to change notification settings - Fork 0
Travelyaari Book Seats API
sharathn92 edited this page Oct 31, 2017
·
7 revisions
book_seats
KEYWORD | DESCRIPTION |
---|---|
HOLD_ID | Travel yaari ID for holding seats |
{
"HoldId": $HOLD_ID
}
KEY | DESCRIPTION |
---|---|
$HOLD_ID | Travelyaari ID for booking to hold seat |
$TOTAL_FARE | Total fare of journey |
$TICKET_NO | Ticket number for the journey |
$PNR_NO | PNR number for the journey |
{
"HoldId": $HOLD_ID,
"TotalFare": $TOTAL_FARE,
"TicketNo": “$TICKET_NO”,
"PNRNo": “$PNR_NO”
}
Some error messages, you might get for an invalid search request. The HTTP response code in this case will be 400.
Status | Error message | Description |
---|---|---|
400 | holdId is missing | Hold Id is missing. |