Get ScannerTypes
GET/scanner/{type?}
Returns ScannerTypes of the requested Company. When there are no ScannerTypes an empty array will be returned.
Request
Path Parameters
- "normal"
- Returns all the ScannerTypes, except those which are soft deleted.
- "trashed"
- Returns all the ScannerTypes, including those which are soft deleted.
- "justtrashed"
- Returns only the ScannerTypes which are soft deleted.
Possible values: [normal
, trashed
, justtrashed
]
Default value: normal
How to handle soft deleted ("archived") ScannerTypes.
Responses
- 200
- 403
- 404
ScannerTypes found.
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
The guid of the ScannerType.
The guid of the Company this ScannerType is associated with.
The guid of the Event this ScannerType is associated with.
Possible values: <= 255 characters
The name of the ScannerType.
Possible values: <= 65535 characters
The human readable description of the ScannerType.
Possible values: >= 6 characters
and <= 255 characters
The username to login into the Scanners.
Possible values: >= 4 characters
and <= 255 characters
The password to login into the Scanners.
Possible values: <= 255
Default value: 115
The bitmap for visibility options in the Scanners of the ScannerType, e.g. hiding counters.
Default value: 68719476735
The bitmap for which barcode types are scannable.
The expire date of the ScannerType, i.e. when all the Scanners of the ScannerType should expire.
The QR code contents for quick login.
The time it was created.
The time it was last updated.
The time it was deleted.
[
{
"guid": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"company_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"event_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"name": "string",
"description": "string",
"username": "string",
"password": "string",
"visibility": 115,
"scan_types": 68719476735,
"expires_at": "2023-08-01T14:40:24+00:00",
"QR": "string",
"created_at": "2023-08-01T14:40:24+00:00",
"updated_at": "2023-08-01T14:40:24+00:00",
"deleted_at": "2023-08-01T14:40:24+00:00"
}
]
Unauthorized. You do not have permission to manage ScannerTypes of the Company.
- application/json
- Schema
- Example (from schema)
Schema
The general error code.
The exact reason of failure.
{
"error_code": "string",
"error_description": "string"
}
Company not found.
- application/json
- Schema
- Example (from schema)
Schema
The general error code.
The exact reason of failure.
{
"error_code": "string",
"error_description": "string"
}