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
checkincheckout
scanResult
Required
string
approveddeclined

Optional Attributes

Collapse all
time
Optional
string date-time
parentEventId
Optional
string
name
Optional
string
ticketName
Optional
string
deviceId
Optional
string
sellerId
Optional
string
Was this section helpful?
YesNo
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
checkincheckout
scanResult
Required
string
approveddeclined

Optional Attributes

Collapse all
time
Optional
string date-time
parentEventId
Optional
string
name
Optional
string
ticketName
Optional
string
deviceId
Optional
string
sellerId
Optional
string
Responses
200
Success

Was this section helpful?

YesNo
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 all
barcode
Optional
string
type
Optional
string
checkincheckout
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

Was this section helpful?

YesNo
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
}