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 or https://portier.vivenu.dev/api
Endpoints
The scan object
Attributes
ticketId
Required
string
eventId
Required
string
barcode
Required
string
ticketTypeId
Required
string
type
Required
string
checkincheckoutscanResult
Required
string
approveddeclinedOptional Attributes
Collapse all_id
Optional
string
time
Optional
string date-time
parentEventId
Optional
string
name
Optional
string
ticketName
Optional
string
deviceId
Optional
string
sellerId
Optional
string
scanZoneId
Optional
string
Example
{"_id": "string","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","scanZoneId": "string"}
Create a Scan
Payload
ticketId
Required
string
eventId
Required
string
barcode
Required
string
ticketTypeId
Required
string
type
Required
string
checkincheckoutscanResult
Required
string
approveddeclinedOptional Attributes
Collapse all_id
Optional
string
time
Optional
string date-time
parentEventId
Optional
string
name
Optional
string
ticketName
Optional
string
deviceId
Optional
string
sellerId
Optional
string
scanZoneId
Optional
string
Responses
200
Success
400
Bad Request
401
Unauthorized
post
/api/scans
[{"_id": "string","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","scanZoneId": "string"}]
Response
application/json
{"_id": "string","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","scanZoneId": "string"}
Get Scans
Query
eventId
Optional
string
parentEventId
Optional
string
time
Optional
object
Optional Attributes
Collapse allbarcode
Optional
string
type
Optional
string
checkincheckoutscanResult
Optional
string
approveddeclinedtop
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
400
Bad Request
401
Unauthorized
get
/api/scans
Response
application/json
{"docs": [{"_id": "string","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","scanZoneId": "string"}],"total": 1}
