Scan out tickets that are scanned in
Content
Resource URL
https://apps.ticketmatic.com/api/1/{accountname}/events/{id}/tickets/scanout
Description
Scan out tickets thar are scanned in, filter on tickettypeid if needed.
Examples
Scan out tickets for contingents
Pass an array of tickettypeids or leave empty to scan out all
Request
1use Ticketmatic\Endpoints\Events;
2
3$result = Events::scanticketsout($client, $id, array(
4 "tickettypeids" => array(
5 128942,
6 128943,
7 ),
8));
Response
Request
1import (
2 "github.com/ticketmatic/tm-go/ticketmatic"
3 "github.com/ticketmatic/tm-go/ticketmatic/events"
4)
5
6result, err := events.Scanticketsout(client, id, &ticketmatic.EventScanTicketsOut{
7 Tickettypeids: []int64{
8 128942,
9 128943,
10 },
11})
Response
Request
1PUT /api/1/{accountname}/events/{id}/tickets/scanout HTTP/1.1
2Content-Type: application/json
3
4{
5 "tickettypeids": [ 128942, 128943 ]
6}
Response
Request body fields
Field | Description |
---|---|
tickettypeids int[] (required) | Array of tickettypeids Example value:[ 128942, 128943 ] |
Type reference: EventScanTicketsOut