trip_templates

POST /trip_templates

Create trip template

Request

Request body application/x-www-form-urlencoded

departure_daysstring[] required
start_departure_datestring date required
end_departure_datestring date required
coach_idinteger required
cts_route_idinteger
departure_timestring required
counter_idsstring

Comma separated counter IDs string or Array

future_relationsstring[]
has_alias_departureboolean
segments[departure_station_id]integer[] required
segments[arrival_station_id]integer[] required
segments[available_after_station_id]integer[]
segments[blocked_seat_numbers]string[]
segments[prices][currency]string[] required
segments[prices][normal_price]number[]
segments[prices][return_price]number[]
segments[prices][online_price]number[]
segments[prices][agent_price]number[]
segments[prices][spad_price]number[]
agents[agent_id]integer[] required
agents[commission_type]string[] required
agents[custom_commission_type]string[]
agents[custom_commission_value]number[]
cts_routes[cts_user_id]integer[] required
cts_routes[cts_route_id]integer[] required
cts_routes[enabled]boolean[] required
namestring required

Response

Create trip template

Changes

No recorded changes to this operation across all 2 revisions of this API.