client
POST /client/tickets/booking_by_codes
Booking by trip_id + station codes (station-operator POS). Resolves trip_segment_id internally and reserves the seats. The reservation must be confirmed with POST /tickets/:ticket_id/confirm before it expires. Auth: agent/staff.
Request
- Base URLhttp://api.gostarmartbus.com/api
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body application/x-www-form-urlencoded
Response
Booking by trip_id + station codes (station-operator POS). Resolves trip_segment_id internally and reserves the seats. The reservation must be confirmed with POST /tickets/:ticket_id/confirm before it expires. Auth: agent/staff.
Changes
No recorded changes to this operation across all 2 revisions of this API.