Inventory / Index
Name | Inventory Index |
|---|---|
Description | Returns information for all of the inventory an Office has sent to TEvo |
Type |
|
URL |
|
| |
Cursor Pagination |
Long Description
Returns information for all of the inventory an Office has sent to TEvo.
Parameters
Name | Description | Value Type | Required |
|---|---|---|---|
| ID of the Office for which you would like to get inventory | Integer | Required |
| Indicates if you want to retrieve inventory that has been mapped (available for sale on a specific event) or is unmapped (waiting to be mapped to an event). One of
| String | Optional. Default: |
Pagination Parameters
Note: When paginating, you must include the state parameter as either MAPPED or UNMAPPED
Name | Description | Value Type | Required |
|---|---|---|---|
| Remote ID to start paginating from, ascending. This is the ID on your system or record. | Integer | Optional. Default: |
| Number of items to return. You will receive the first | Integer | Optional. Default: |
When you receive a response, to get the next page available, take the last remote_id of the page response, add 1 to it, then make a second call with this new remote_id + 1 as the cursor. Stop when there are no items returned.
Response Properties
Name | Description | Value Type | Notes |
|---|---|---|---|
| TEvo’s ID for the ticket group | Integer| |
|
| This is the ID of the ticket group in your POS that was provided when the tickets were sent to TEvo. | Integer |
|
| The ID of the TEvo Event where these tickets are available for sale. | Integer| |
|
Examples
Request | Response |
|---|---|
GET /v9/inventory?office_id=1234 or GET /v9/inventory?office_id=1234&state=ALL | [
{
"id": 1939203215,
"remote_id": 605696419,
"event_id": 2306558
},
{
"id": null,
"remote_id": 79253586,
"event_id": null
},
{
"id": null,
"remote_id": 79253588,
"event_id": null
},
{
"id": 1952306134,
"remote_id": 600809252,
"event_id": 2236152
}
] |
GET /v9/inventory?office_id=1234&state=MAPPED | [
{
"id": 1939203215,
"remote_id": 605696419,
"event_id": 2306558
},
{
"id": 1952306134,
"remote_id": 600809252,
"event_id": 2236152
}
] |
GET /v9/inventory?office_id=1234&state=UNMAPPED | [
{
"id": null,
"remote_id": 79253586,
"event_id": null
},
{
"id": null,
"remote_id": 79253588,
"event_id": null
}
]
|