A guest’s registration and its QR code (link from the e-mail)
const url = 'https://api.vimine.network/v1/registrations/view';const options = { method: 'POST', headers: {'Content-Type': 'application/json'}, body: '{"token":"example"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://api.vimine.network/v1/registrations/view \ --header 'Content-Type: application/json' \ --data '{ "token": "example" }'Reads the registration named by the token in the link a guest receives once their place is confirmed: its status and, while it is confirmed, the QR token to show at the door. Changes nothing. The link works until the event is over — 12 h after its end, or a day after the start of an event with no end — as the event stands when the link is used, so a postponed event keeps it. A cancelled or refunded registration is answered with its status and no QR. The person’s note is never part of this answer.
Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”The language to read the association’s copy in (it, en). Default: the member’s own language (member token), then Accept-Language, then the association’s. Each text is the association’s translation when it wrote one for a language it enabled, its Italian text otherwise: the answer’s locale says which was served for the title, locales which exist. An unsupported value is ignored
Request Bodyrequired
Section titled “Request Bodyrequired”object
Examplegenerated
{ "token": "example"}Responses
Section titled “Responses”The registration
object
object
object
object
How to pay the contribution while reserved
Free text the person wrote. Withheld (null) from third-party clients when the association declared it processes special categories of data
The registration QR payload (vmt_…), confirmed registrations only
Example
{ "status": "reserved"}The link is invalid or has expired (invalid_token)
Not found
object
object
Examplegenerated
{ "type": "https://example.com", "title": "example", "status": 1, "detail": "example", "code": "example", "request_id": "example", "errors": [ { "field": "example", "code": "example", "message": "example" } ]}Rate limited
object
object
Examplegenerated
{ "type": "https://example.com", "title": "example", "status": 1, "detail": "example", "code": "example", "request_id": "example", "errors": [ { "field": "example", "code": "example", "message": "example" } ]}Internal error
object
object
Examplegenerated
{ "type": "https://example.com", "title": "example", "status": 1, "detail": "example", "code": "example", "request_id": "example", "errors": [ { "field": "example", "code": "example", "message": "example" } ]}