Update the seat rank for a set of tickets
Content
Resource URL
https://apps.ticketmatic.com/api/1/{accountname}/events/{id}/tickets/seatrank
Description
Updates the seat rank for tickets, works only for active events.
Examples
Update seat rank for a set of tickets
Pass an array of ticket ids and a seat rank to update them
Request
1use Ticketmatic\Endpoints\Events;
2
3Events::updateseatrankfortickets($client, $id, array(
4 "seatrankid" => 3,
5 "ticketids" => array(
6 128942,
7 128943,
8 ),
9));
Response
This operation does not return a response. The status can be checked by looking at the HTTP status code.
Request
1import (
2 "github.com/ticketmatic/tm-go/ticketmatic"
3 "github.com/ticketmatic/tm-go/ticketmatic/events"
4)
5
6err := events.Updateseatrankfortickets(client, id, &ticketmatic.EventUpdateSeatRankForTickets{
7 Seatrankid: 3,
8 Ticketids: []int64{
9 128942,
10 128943,
11 },
12})
Response
This operation does not return a response. The status can be checked by looking at the HTTP status code.
Request
1PUT /api/1/{accountname}/events/{id}/tickets/seatrank HTTP/1.1
2Content-Type: application/json
3
4{
5 "seatrankid": 3,
6 "ticketids": [ 128942, 128943 ]
7}
Response
This operation does not return a response. The status can be checked by looking at the HTTP status code.
Request body fields
Field | Description |
---|---|
seatrankid int (required) | The seat rank Example value:3 |
ticketids int[] (required) | Array of ticketids to unlock. Example value:[ 128942, 128943 ] |
Type reference: EventUpdateSeatRankForTickets