Get a puzzle hunt by it's primary key |
GET |
id |
Int |
Primary-Key of Puzzle-Hunt |
PuzzleHunt |
https://webapi.tmw.at/puzzle-hunt?id=4433
|
Create a new puzzle hunt with a predefined number of stations, in a predefined zone with a predefined difficulty.
The start and end meeting points are optional.
|
POST |
zone_id |
Int |
Primary-Key of Zone |
PuzzleHunt |
https://webapi.tmw.at/puzzle-hunt/create?zone_id=14&difficulty_id=6&title=Neue Rätselrallye&meeting_point_start_id=1&meeting_point_end_id=3&station_count=2&customer_account_id=189836
|
difficulty_id |
Int |
Primary-Key of Difficulty |
title |
String |
Title of the Puzzle-Hunt |
meeting_point_start_id |
Int (NULL) |
Primary-Key of Meetingpoint for start location |
meeting_point_end_id |
Int (NULL) |
Primary-Key of Meetingpoint for end location |
station_count |
Int |
Number of stations to be created |
status_id |
Int |
Primary-Key of Status (Default-Value [online] = 1) |
customer_acccount_id |
Int (NULL) |
Primary-Key of Customer-Account |
Update a puzzle hunt (only title, status and the meeting poinst can be changed)
|
POST |
id |
Int |
Primary-Key of Puzzle-Hunt |
PuzzleHunt |
https://webapi.tmw.at/puzzle-hunt/update?id=4433&title=Rätselrallye Nr. 4433&status_id=3&meeting_point_start_id=1&meeting_point_end_id=3
|
title |
String |
The title of PuzzleHunt |
status_id |
Int (NULL) |
If omitted the status keeps the same value |
meeting_point_start_id |
Int (NULL) |
The title of PuzzleHunt |
meeting_point_end_id |
Int (NULL) |
The title of PuzzleHunt |
Add a station to the puzzle hunt |
POST |
id |
Int |
Primary-Key of Puzzle-Hunt |
PuzzleHunt |
https://webapi.tmw.at/puzzle-hunt/add-station?id=4433&station_id=574
|
station_id |
Int |
Primary-Key of Station |
Remove a station from the puzzle hunt |
POST |
id |
Int |
Primary-Key of Puzzle-Hunt |
PuzzleHunt |
https://webapi.tmw.at/puzzle-hunt/remove-station?id=4433&station_id=635
|
station_id |
Int |
Primary-Key of Station |
Remove all station of a defined zone from the puzzle hunt |
POST |
id |
Int |
Primary-Key of Puzzle-Hunt |
PuzzleHunt |
https://webapi.tmw.at/puzzle-hunt/remove-zone?id=4433&zone_id=21
|
zone_id |
Int |
Primary-Key of Zone |
Move a station one place up in sort order |
POST |
id |
Int |
Primary-Key of Puzzle-Hunt |
PuzzleHunt |
https://webapi.tmw.at/puzzle-hunt/move-up-station?id=4433&station_id=630
|
station_id |
Int |
Primary-Key of Station |
Move a station one place down in sort order |
POST |
id |
Int |
Primary-Key of Puzzle-Hunt |
PuzzleHunt |
https://webapi.tmw.at/puzzle-hunt/move-down-station?id=4433&station_id=630
|
station_id |
Int |
Primary-Key of Station |
Move a station to a specific position in sort order |
POST |
id |
Int |
Primary-Key of Puzzle-Hunt |
PuzzleHunt |
https://webapi.tmw.at/puzzle-hunt/move-to-position-station?id=4433&station_id=630&position=1
|
station_id |
Int |
Primary-Key of Station |
position |
Int |
Move to position |
Move a zone one place up in sort order |
POST |
id |
Int |
Primary-Key of Puzzle-Hunt |
PuzzleHunt |
https://webapi.tmw.at/puzzle-hunt/move-up-zone?id=4433&zone_id=21
|
zone_id |
Int |
Primary-Key of Zone |
Move a zone one place down in sort order |
POST |
id |
Int |
Primary-Key of Puzzle-Hunt |
PuzzleHunt |
https://webapi.tmw.at/puzzle-hunt/move-down-zone?id=4433&zone_id=21
|
zone_id |
Int |
Primary-Key of Zone |
Move a zone to a specific position in sort order |
POST |
id |
Int |
Primary-Key of Puzzle-Hunt |
PuzzleHunt |
https://webapi.tmw.at/puzzle-hunt/move-to-position-zone?id=4433&zone_id=21&position=1
|
zone_id |
Int |
Primary-Key of Zone |
position |
Int |
Move to position |
Copy an existing puzzle hunt |
POST |
id |
Int |
Primary-Key of Puzzle-Hunt (source) |
PuzzleHunt |
https://webapi.tmw.at/puzzle-hunt/copy?id=4433&customer_account_id=189836
|
customer_account_id |
Int (NULL) |
Primary-Key of Customer Account (target) |