programmes
programmes
Create Programme
Create a multi-city programme: one parent Activity + N stop Activities, all linked through ActivitySeries (kind='tour').
Transaction order:
- Create the ActivitySeries row (kind='tour').
- Create the parent Activity (is_programme_parent=true, series_id=series.id).
- For each stop in body.stops: create a stop Activity (is_programme_stop=true, series_id=series.id, series_sequence=N).
- mirror_to_new_tables() on each new activity (event_venue mirror).
- Single db.commit() at the end so the whole programme is atomic.
If anything fails mid-way, the whole programme rolls back — no orphan parent without stops, no orphan stops without parent.
post/api/programmes
Request
- Base URL: https://api.activitia.net (the document declares no server; this is the origin it was published from)
- URL: https://api.activitia.net/api/programmes
- Auth: none declared
Headers
authorizationstring
Request body
Response
Successful Response
unknown required
Changes
No recorded changes to this operation across all 1 revision of this API.