API: Allow to redeem ticket by secret

This commit is contained in:
Raphael Michel
2018-12-18 12:23:07 +01:00
parent 633061e203
commit 734e77d1a3
3 changed files with 22 additions and 1 deletions

View File

@@ -445,6 +445,8 @@ Order position endpoints
The result format is the same as the :ref:`order-position-resource`, with one important difference: the
``checkins`` value will only include check-ins for the selected list.
**Instead of an ID, you can also use the ``secret`` field as the lookup parameter.**
**Example request**:
.. sourcecode:: http
@@ -516,6 +518,8 @@ Order position endpoints
Tries to redeem an order position, identified by its internal ID, i.e. checks the attendee in. This endpoint
accepts a number of optional requests in the body.
**Instead of an ID, you can also use the ``secret`` field as the lookup parameter.**
:<json boolean questions_supported: When this parameter is set to ``true``, handling of questions is supported. If
you do not implement question handling in your user interface, you **must**
set this to ``false``. In that case, questions will just be ignored. Defaults