Un point de check-in est un endroit où vous enregistrez les invités. Il peut s'agir d'un lieu physique (entrée, sortie, salle VIP) ou d'une activité (atelier, conférence, etc.).
Retrouvez la liste
JSON
Requête
GET /api/v1/events/{event_id}/accesspoints.json?auth_token=YOUR_API_TOKENRéponse
// 200 OK
[
{
// the first check-in point
},
{
// the second check-in point
}
]
XML
Requête
GET /api/v1/events/{event_id}/accesspoints.xml?auth_token=YOUR_API_TOKENRéponse
<!-- 200 OK -->
<?xml version="1.0" encoding="UTF-8"?>
<accesspoints type="array">
<accesspoint>
<!-- [...] -->
</accesspoint>
<accesspoint>
<!-- [...] -->
</accesspoint>
</accesspoints>
Obtenir les informations d'un point précis :
JSON
Requête
GET /api/v1/events/{event_id}/accesspoints/{id}.json?auth_token=YOUR_API_TOKENRéponse
// 200 OK
{
"_id": "{id}",
"name": "VIP Room",
"event_id": "{event_id}",
"created_at": "2012-11-28T10:09:35+01:00",
"updated_at": "2012-11-28T10:09:35+01:00",
"guest_category_accesspoints": [
{
"access_once": false,
"guest_category_id": "{vip_guest_category_id}"
}
]
}
XML
Requête
GET /api/v1/events/{event_id}/accesspoints/{id}.xml?auth_token=YOUR_API_TOKENRéponse
<!-- 200 OK -->
<accesspoint>
<_id>{id}</_id>
<name>VIP Room</name>
<event-id>{event_id}</event-id>
<created-at type="datetime">2012-11-28T09:09:35Z</created-at>
<updated-at type="datetime">2012-11-28T09:09:35Z</updated-at>
<guest-category-accesspoints type="array">
<guest-category-accesspoint>
<access-once type="boolean">false</access-once>
<accesspoint-id>{id}</accesspoint-id>
<guest-category-id>{vip_guest_category_id}</guest-category-id>
</guest-category-accesspoint>
</guest-category-accesspoints>
</accesspoint>
Créer un point de check-in
JSON
Requête
POST /api/v1/{event_id}/accesspoints.json?auth_token=YOUR_API_TOKEN
Content-Type: application/json; charset=utf-8{
// Fields of the check-in point to create (see GET request for a complete list)
}Réponse
// 201 Created
{
// Your newly created guest category as a JSON object
}
XML
Requête
POST /api/v1/{event_id}/accesspoints.xml?auth_token=YOUR_API_TOKEN
Content-Type: application/xml; charset=utf-8<accesspoint>
<!-- Fields of the check-in point to create (see GET request for a complete list) -->
</accesspoint>
Réponse
<!-- 201 Created -->
<?xml version="1.0" encoding="UTF-8"?>
<accesspoint>
<!-- Your newly created guest category as a JSON object -->
</accesspoint>
Mettre à jour un point de check-in
JSON
Requête
PUT /api/v1/events/{event_id}/accesspoints/{id}.json?auth_token=YOUR_API_TOKEN
Content-Type: application/json; charset=utf-8{
// Fields of the check-in point to update (see GET request for a complete list)
}Réponse
// 204 No Content
XML
Requête
PUT /api/v1/events/{event_id}/accesspoints/{id}.xml?auth_token=YOUR_API_TOKEN
Content-Type: application/xml; charset=utf-8<guest-category>
<!-- Fields of the check-in point to update (see GET request for a complete list) -->
</guest-category>
Réponse
<!-- 204 No Content -->
