GridsApi
Method | HTTP request | Description |
---|---|---|
assign_grid_by_id_using_put | PUT /api/web/v1/grids/{gridserialnumber}/assign | Assign a grid to a user by serial number |
assign_grid_by_serial_number_using_put | PUT /api/web/v1/users/{id}/grids/assign | Assign a user to a grid |
assigned_grids_page_using_post | POST /api/web/v2/gridspaged/assigned | Lists a page of assigned grids |
change_grid_state_using_put | PUT /api/web/v2/grids/{gridid}/changestate | Change state of grid |
create_grid_using_post | POST /api/web/v2/users/{userid}/grids | Create a grid |
create_unassigned_grids_using_post | POST /api/web/v1/grids | Create unassigned grids |
delete_grid_using_delete | DELETE /api/web/v2/grids/{gridid} | Delete a grid |
deliver_assigned_grid_by_email_using_post | POST /api/web/v1/grids/{gridid}/email | Email a grid card to the card owner |
get_grid_by_serial_number_using_get | GET /api/web/v2/grids/sernum/{sernum} | Get a grid by serial number |
get_grid_properties_using_get | GET /api/web/v1/grids/properties | Get grid properties |
get_grid_using_get | GET /api/web/v2/grids/{gridid} | Get a grid |
get_single_grid_export_using_get | GET /api/web/v1/grids/{gridid}/export | Export a grid to PDF format |
modify_unassigned_grid_using_put | PUT /api/web/v2/grids/{gridid} | Modify unassigned grid |
unassign_grid_using_put | PUT /api/web/v1/grids/{id}/unassign | Unassign a grid |
unassigned_grids_page_using_post | POST /api/web/v1/gridspaged/unassigned | Lists a page of unassigned grids |
assign_grid_by_id_using_put
assign_grid_by_id_using_put(gridserialnumber, grid_assign_parms)
Assign a grid to a user by serial number
Assign the specified grid to a user. Caller requires the GRIDS:EDIT permission.
- Api Key Authentication (AdminAPIAuthentication):
Parameters
Name | Type | Description | Notes |
---|---|---|---|
gridserialnumber | str | The Serial Number of the grid to assign. | |
grid_assign_parms | GridAssignParms |
Return type
void (empty response body)
Authorization
HTTP request headers
- Content-Type: application/json
- Accept: application/json
HTTP response details
Status code | Description | Response headers |
---|---|---|
200 | Successful | - |
400 | Bad Request | - |
401 | Access denied | - |
403 | Forbidden | - |
404 | Not Found | - |
409 | Conflict | - |
assign_grid_by_serial_number_using_put
assign_grid_by_serial_number_using_put(id, grid_assign_parms)
Assign a user to a grid
Assign the specified user a grid. Caller requires the GRIDS:EDIT permission.
Example
- Api Key Authentication (AdminAPIAuthentication):
Parameters
Name | Type | Description | Notes |
---|---|---|---|
id | str | The UUID of the user to which a grid is to be assigned. | |
grid_assign_parms | GridAssignParms |
Return type
void (empty response body)
Authorization
HTTP request headers
- Content-Type: application/json
- Accept: application/json
HTTP response details
Status code | Description | Response headers |
---|---|---|
200 | Successful | - |
400 | Bad Request | - |
401 | Access denied | - |
403 | Forbidden | - |
404 | Not Found | - |
409 | Conflict | - |
assigned_grids_page_using_post
GridsPage assigned_grids_page_using_post(search_parms)
Lists a page of assigned grids
Returns assigned grids for the provided search parameters. Caller requires the GRIDS:VIEW permission. The following searchByAttributes are supported:
- serialNumber: a numeric value. Allowed operators are: EQUALS, GREATER_THAN, GREATER_THAN_OR_EQUAL, LESS_THAN, LESS_THAN_OR_EQUAL.
- state: ACTIVE, INACTIVE, PENDING, CANCELED. Allowed operator: EQUALS.
- expired: 'true' is the only value allowed. Allowed operator: EQUALS.
- createDate: a String value representing an ISO-8601 date in UTC time (e.g., 2018-08-04T18:15:30). Allowed operators are: GREATER_THAN, GREATER_THAN_OR_EQUAL, LESS_THAN, LESS_THAN_OR_EQUAL.
- expiryDate: a String value representing an ISO-8601 date in UTC time (e.g., 2018-08-04T18:15:30). Allowed operators are: GREATER_THAN, GREATER_THAN_OR_EQUAL, LESS_THAN, LESS_THAN_OR_EQUAL.
- lastUsedDate: a String value representing an ISO-8601 date in UTC time (e.g., 2018-08-04T18:15:30). Allowed operators are: GREATER_THAN, GREATER_THAN_OR_EQUAL, LESS_THAN, LESS_THAN_OR_EQUAL.
- userId: a String value. Allowed operators are: EQUALS, NOT_EQUALS, CONTAINS, NOT_CONTAINS, STARTS_WITH, ENDS_WITH.
- groupId: a String value should be a UUID of an existing group. Allowed operator: EQUALS.
If you provide more than one search attribute, they are joined with an AND condition.
The orderByAttribute supports these attribute names: serialNumber, state, createDate, expiryDate, lastUsedDate, userId.
The results will only include grids that contain data in the orderByAttribute selected.
Example
- Api Key Authentication (AdminAPIAuthentication):
Parameters
Name | Type | Description | Notes |
---|---|---|---|
search_parms | SearchParms |
Return type
Authorization
HTTP request headers
- Content-Type: application/json
- Accept: application/json
HTTP response details
Status code | Description | Response headers |
---|---|---|
200 | Successful | - |
400 | Bad Request | - |
401 | Access denied | - |
403 | Forbidden | - |
404 | Not Found | - |
409 | Conflict | - |
change_grid_state_using_put
change_grid_state_using_put(gridid, grid_change_state_parms)
Change state of grid
Change the state of the specified grid. Caller requires the GRIDS:EDIT permission.
Example
- Api Key Authentication (AdminAPIAuthentication):
Parameters
Name | Type | Description | Notes |
---|---|---|---|
gridid | str | The UUID of the grid whose state is to be changed. | |
grid_change_state_parms | GridChangeStateParms |
Return type
void (empty response body)
Authorization
HTTP request headers
- Content-Type: application/json
- Accept: application/json
HTTP response details
Status code | Description | Response headers |
---|---|---|
200 | Successful | - |
400 | Bad Request | - |
401 | Access denied | - |
403 | Forbidden | - |
404 | Not Found | - |
409 | Conflict | - |
create_grid_using_post
Grid create_grid_using_post(userid, grid_create_parms=grid_create_parms)
Create a grid
Create a grid for the specified user. Caller requires the GRIDS:ADD permission.
Example
- Api Key Authentication (AdminAPIAuthentication):
Parameters
Name | Type | Description | Notes |
---|---|---|---|
userid | str | The UUID of the user for which a grid will be created. | |
grid_create_parms | GridCreateParms | [optional] |
Return type
Authorization
HTTP request headers
- Content-Type: application/json
- Accept: application/json
HTTP response details
Status code | Description | Response headers |
---|---|---|
200 | Successful | - |
400 | Bad Request | - |
401 | Access denied | - |
403 | Forbidden | - |
404 | Not Found | - |
409 | Conflict | - |
create_unassigned_grids_using_post
List[Grid] create_unassigned_grids_using_post(grid_create_parms)
Create unassigned grids
Create the specified number of unassigned grids. Caller requires the GRIDS:ADD permission.
Example
- Api Key Authentication (AdminAPIAuthentication):
Parameters
Name | Type | Description | Notes |
---|---|---|---|
grid_create_parms | GridCreateParms |
Return type
Authorization
HTTP request headers
- Content-Type: application/json
- Accept: application/json
HTTP response details
Status code | Description | Response headers |
---|---|---|
200 | Successful | - |
400 | Bad Request | - |
401 | Access denied | - |
403 | Forbidden | - |
404 | Not Found | - |
409 | Conflict | - |
delete_grid_using_delete
delete_grid_using_delete(gridid)
Delete a grid
Delete the specified grid. Caller requires the GRIDS:REMOVE permission.
Example
- Api Key Authentication (AdminAPIAuthentication):
Parameters
Name | Type | Description | Notes |
---|---|---|---|
gridid | str | The UUID of the grid to be deleted. |
Return type
void (empty response body)
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
HTTP response details
Status code | Description | Response headers |
---|---|---|
200 | Successful | - |
400 | Bad Request | - |
401 | Access denied | - |
403 | Forbidden | - |
404 | Not Found | - |
409 | Conflict | - |
deliver_assigned_grid_by_email_using_post
deliver_assigned_grid_by_email_using_post(gridid, email_parms=email_parms)
Email a grid card to the card owner
Email a grid card to the card owner. Caller requires the GRIDS:VIEW permission.
Example
- Api Key Authentication (AdminAPIAuthentication):
Parameters
Name | Type | Description | Notes |
---|---|---|---|
gridid | str | The ID of the grid to email. | |
email_parms | EmailParms | [optional] |
Return type
void (empty response body)
Authorization
HTTP request headers
- Content-Type: application/json
- Accept: application/json
HTTP response details
Status code | Description | Response headers |
---|---|---|
200 | Successful | - |
400 | Bad Request | - |
401 | Access denied | - |
403 | Forbidden | - |
404 | Not Found | - |
409 | Conflict | - |
get_grid_by_serial_number_using_get
Grid get_grid_by_serial_number_using_get(sernum)
Get a grid by serial number
Get the grid for the specified serial number. Caller requires the GRIDS:VIEW permission.
Example
- Api Key Authentication (AdminAPIAuthentication):
Parameters
Name | Type | Description | Notes |
---|---|---|---|
sernum | int | The serial number of the grid to be retrieved. |
Return type
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
HTTP response details
Status code | Description | Response headers |
---|---|---|
200 | Successful | - |
400 | Bad Request | - |
401 | Access denied | - |
403 | Forbidden | - |
404 | Not Found | - |
409 | Conflict | - |
get_grid_properties_using_get
GridProperties get_grid_properties_using_get()
Get grid properties
Get grid properties. Caller requires the GRIDS:VIEW permission.
Example
- Api Key Authentication (AdminAPIAuthentication):
Parameters
This endpoint does not need any parameter.
Return type
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
HTTP response details
Status code | Description | Response headers |
---|---|---|
200 | Successful | - |
400 | Bad Request | - |
401 | Access denied | - |
403 | Forbidden | - |
404 | Not Found | - |
409 | Conflict | - |
get_grid_using_get
Grid get_grid_using_get(gridid)
Get a grid
Get the specified grid. Caller requires the GRIDS:VIEW permission.
Example
- Api Key Authentication (AdminAPIAuthentication):
Parameters
Name | Type | Description | Notes |
---|---|---|---|
gridid | str | The UUID of the grid to be retrieved. |
Return type
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
HTTP response details
Status code | Description | Response headers |
---|---|---|
200 | Successful | - |
400 | Bad Request | - |
401 | Access denied | - |
403 | Forbidden | - |
404 | Not Found | - |
409 | Conflict | - |
get_single_grid_export_using_get
GridExport get_single_grid_export_using_get(gridid)
Export a grid to PDF format
Export a grid to PDF format. Caller requires the GRIDS:VIEW permission.
Example
- Api Key Authentication (AdminAPIAuthentication):
Parameters
Name | Type | Description | Notes |
---|---|---|---|
gridid | str | The ID of the grid to export. |
Return type
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
HTTP response details
Status code | Description | Response headers |
---|---|---|
200 | Successful | - |
400 | Bad Request | - |
401 | Access denied | - |
403 | Forbidden | - |
404 | Not Found | - |
409 | Conflict | - |
modify_unassigned_grid_using_put
modify_unassigned_grid_using_put(gridid, grid_parms)
Modify unassigned grid
Modify the specified unassigned grid. Caller requires the GRIDS:EDIT permission.
Example
- Api Key Authentication (AdminAPIAuthentication):
Parameters
Name | Type | Description | Notes |
---|---|---|---|
gridid | str | The UUID of the grid to be modified. | |
grid_parms | GridParms |
Return type
void (empty response body)
Authorization
HTTP request headers
- Content-Type: application/json
- Accept: application/json
HTTP response details
Status code | Description | Response headers |
---|---|---|
200 | Successful | - |
400 | Bad Request | - |
401 | Access denied | - |
403 | Forbidden | - |
404 | Not Found | - |
409 | Conflict | - |
unassign_grid_using_put
unassign_grid_using_put(id)
Unassign a grid
Unassigned the specified grid. Caller requires the GRIDS:EDIT permission.
Example
- Api Key Authentication (AdminAPIAuthentication):
Parameters
Name | Type | Description | Notes |
---|---|---|---|
id | str | The UUID of the grid to unassign. |
Return type
void (empty response body)
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
HTTP response details
Status code | Description | Response headers |
---|---|---|
200 | Successful | - |
400 | Bad Request | - |
401 | Access denied | - |
403 | Forbidden | - |
404 | Not Found | - |
409 | Conflict | - |
unassigned_grids_page_using_post
GridsPage unassigned_grids_page_using_post(search_parms)
Lists a page of unassigned grids
Returns unassigned grids for the provided search parameters. Caller requires the GRIDS:VIEW permission. The following searchByAttributes are supported:
- serialNumber: a numeric value. Allowed operators are: EQUALS, GREATER_THAN, GREATER_THAN_OR_EQUAL, LESS_THAN, LESS_THAN_OR_EQUAL.
- createDate: a String value representing an ISO-8601 date in UTC time (e.g., 2018-08-04T18:15:30). Allowed operators are: GREATER_THAN, GREATER_THAN_OR_EQUAL, LESS_THAN, LESS_THAN_OR_EQUAL.
- groupId: a String value should be a UUID of an existing group. Allowed operator: EQUALS.
If you provide more than one search attribute, they are joined with an AND condition.
The orderByAttribute supports these attribute names: serialNumber, createDate.
Example
- Api Key Authentication (AdminAPIAuthentication):
Parameters
Name | Type | Description | Notes |
---|---|---|---|
search_parms | SearchParms |
Return type
Authorization
HTTP request headers
- Content-Type: application/json
- Accept: application/json
HTTP response details
Status code | Description | Response headers |
---|---|---|
200 | Successful | - |
400 | Bad Request | - |
401 | Access denied | - |
403 | Forbidden | - |
404 | Not Found | - |
409 | Conflict | - |