Scans
Scans are created by checkin or checkout via the vivenu app or by third party systems that checkin customers and are integrated with vivenu.
Base URL: https://portier.vivenu.com/api
Endpoints
The scan object
Attributes
ticketId
Required
string
eventId
Required
string
barcode
Required
string
ticketTypeId
Required
string
type
Required
string
checkin
checkout
scanResult
Required
string
approved
declined
Optional Attributes
Collapse alltime
Optional
string date-time
parentEventId
Optional
string
name
Optional
string
ticketName
Optional
string
deviceId
Optional
string
sellerId
Optional
string
Example
{"ticketId": "string","time": "2030-01-23T23:00:00.123Z","eventId": "string","parentEventId": "string","barcode": "string","name": "string","ticketTypeId": "string","ticketName": "string","deviceId": "string","type": "checkin","scanResult": "approved","sellerId": "string"}
Create a Scan
Payload
ticketId
Required
string
eventId
Required
string
barcode
Required
string
ticketTypeId
Required
string
type
Required
string
checkin
checkout
scanResult
Required
string
approved
declined
Optional Attributes
Collapse alltime
Optional
string date-time
parentEventId
Optional
string
name
Optional
string
ticketName
Optional
string
deviceId
Optional
string
sellerId
Optional
string
Responses
200
Success
post
/api/scans
[{"ticketId": "string","time": "2030-01-23T23:00:00.123Z","eventId": "string","parentEventId": "string","barcode": "string","name": "string","ticketTypeId": "string","ticketName": "string","deviceId": "string","type": "checkin","scanResult": "approved","sellerId": "string"}]
Response
application/json
{"ticketId": "string","time": "2030-01-23T23:00:00.123Z","eventId": "string","parentEventId": "string","barcode": "string","name": "string","ticketTypeId": "string","ticketName": "string","deviceId": "string","type": "checkin","scanResult": "approved","sellerId": "string"}
Get Scans
Query
eventId
Optional
string
parentEventId
Optional
string
time
Optional
object
Optional Attributes
Collapse allbarcode
Optional
string
type
Optional
string
checkin
checkout
top
Optional
number float
A limit on the number of objects to be returned
skip
Optional
number float
The number of objects to skip for the requested result
Responses
200
Success
get
/api/scans
Response
application/json
{"docs": [{"ticketId": "string","time": "2030-01-23T23:00:00.123Z","eventId": "string","parentEventId": "string","barcode": "string","name": "string","ticketTypeId": "string","ticketName": "string","deviceId": "string","type": "checkin","scanResult": "approved","sellerId": "string"}],"total": 1}