Skip to main content

GridsApi

MethodHTTP requestDescription
assignGridByIdUsingPUTPUT /api/web/v1/grids/{gridserialnumber}/assignAssign a grid to a user by serial number
assignGridBySerialNumberUsingPUTPUT /api/web/v1/users/{id}/grids/assignAssign a user to a grid
assignedGridsPageUsingPOSTPOST /api/web/v2/gridspaged/assignedLists a page of assigned grids
changeGridStateUsingPUTPUT /api/web/v2/grids/{gridid}/changestateChange state of grid
createGridUsingPOSTPOST /api/web/v2/users/{userid}/gridsCreate a grid
createUnassignedGridsUsingPOSTPOST /api/web/v1/gridsCreate unassigned grids
deleteGridUsingDELETEDELETE /api/web/v2/grids/{gridid}Delete a grid
deliverAssignedGridByEmailUsingPOSTPOST /api/web/v1/grids/{gridid}/emailEmail a grid card to the card owner
getGridBySerialNumberUsingGETGET /api/web/v2/grids/sernum/{sernum}Get a grid by serial number
getGridPropertiesUsingGETGET /api/web/v1/grids/propertiesGet grid properties
getGridUsingGETGET /api/web/v2/grids/{gridid}Get a grid
getSingleGridExportUsingGETGET /api/web/v1/grids/{gridid}/exportExport a grid to PDF format
modifyUnassignedGridUsingPUTPUT /api/web/v2/grids/{gridid}Modify unassigned grid
unassignGridUsingPUTPUT /api/web/v1/grids/{id}/unassignUnassign a grid
unassignedGridsPageUsingPOSTPOST /api/web/v1/gridspaged/unassignedLists a page of unassigned grids

assignGridByIdUsingPUT

assignGridByIdUsingPUT(gridserialnumber, gridAssignParms)

Assign a grid to a user by serial number

Assign the specified grid to a user. Caller requires the GRIDS:EDIT permission.

Parameters

NameTypeDescriptionNotes
gridserialnumberStringThe Serial Number of the grid to assign.
gridAssignParmsGridAssignParms

Return type

null (empty response body)

Authorization

AdminAPIAuthentication

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status codeDescriptionResponse headers
200Successful-
400Bad Request-
401Access denied-
403Forbidden-
404Not Found-
409Conflict-

assignGridBySerialNumberUsingPUT

assignGridBySerialNumberUsingPUT(id, gridAssignParms)

Assign a user to a grid

Assign the specified user a grid. Caller requires the GRIDS:EDIT permission.

Example

Parameters

NameTypeDescriptionNotes
idStringThe UUID of the user to which a grid is to be assigned.
gridAssignParmsGridAssignParms

Return type

null (empty response body)

Authorization

AdminAPIAuthentication

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status codeDescriptionResponse headers
200Successful-
400Bad Request-
401Access denied-
403Forbidden-
404Not Found-
409Conflict-

assignedGridsPageUsingPOST

GridsPage assignedGridsPageUsingPOST(searchParms)

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

Parameters

NameTypeDescriptionNotes
searchParmsSearchParms

Return type

GridsPage

Authorization

AdminAPIAuthentication

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status codeDescriptionResponse headers
200Successful-
400Bad Request-
401Access denied-
403Forbidden-
404Not Found-
409Conflict-

changeGridStateUsingPUT

changeGridStateUsingPUT(gridid, gridChangeStateParms)

Change state of grid

Change the state of the specified grid. Caller requires the GRIDS:EDIT permission.

Example

Parameters

NameTypeDescriptionNotes
grididStringThe UUID of the grid whose state is to be changed.
gridChangeStateParmsGridChangeStateParms

Return type

null (empty response body)

Authorization

AdminAPIAuthentication

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status codeDescriptionResponse headers
200Successful-
400Bad Request-
401Access denied-
403Forbidden-
404Not Found-
409Conflict-

createGridUsingPOST

Grid createGridUsingPOST(userid, gridCreateParms)

Create a grid

Create a grid for the specified user. Caller requires the GRIDS:ADD permission.

Example

Parameters

NameTypeDescriptionNotes
useridStringThe UUID of the user for which a grid will be created.
gridCreateParmsGridCreateParms[optional]

Return type

Grid

Authorization

AdminAPIAuthentication

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status codeDescriptionResponse headers
200Successful-
400Bad Request-
401Access denied-
403Forbidden-
404Not Found-
409Conflict-

createUnassignedGridsUsingPOST

List<Grid> createUnassignedGridsUsingPOST(gridCreateParms)

Create unassigned grids

Create the specified number of unassigned grids. Caller requires the GRIDS:ADD permission.

Example

Parameters

NameTypeDescriptionNotes
gridCreateParmsGridCreateParms

Return type

List<Grid>

Authorization

AdminAPIAuthentication

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status codeDescriptionResponse headers
200Successful-
400Bad Request-
401Access denied-
403Forbidden-
404Not Found-
409Conflict-

deleteGridUsingDELETE

deleteGridUsingDELETE(gridid)

Delete a grid

Delete the specified grid. Caller requires the GRIDS:REMOVE permission.

Example

Parameters

NameTypeDescriptionNotes
grididStringThe UUID of the grid to be deleted.

Return type

null (empty response body)

Authorization

AdminAPIAuthentication

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status codeDescriptionResponse headers
200Successful-
400Bad Request-
401Access denied-
403Forbidden-
404Not Found-
409Conflict-

deliverAssignedGridByEmailUsingPOST

deliverAssignedGridByEmailUsingPOST(gridid, emailParms)

Email a grid card to the card owner

Email a grid card to the card owner. Caller requires the GRIDS:VIEW permission.

Example

Parameters

NameTypeDescriptionNotes
grididStringThe ID of the grid to email.
emailParmsEmailParms[optional]

Return type

null (empty response body)

Authorization

AdminAPIAuthentication

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status codeDescriptionResponse headers
200Successful-
400Bad Request-
401Access denied-
403Forbidden-
404Not Found-
409Conflict-

getGridBySerialNumberUsingGET

Grid getGridBySerialNumberUsingGET(sernum)

Get a grid by serial number

Get the grid for the specified serial number. Caller requires the GRIDS:VIEW permission.

Example

Parameters

NameTypeDescriptionNotes
sernumLongThe serial number of the grid to be retrieved.

Return type

Grid

Authorization

AdminAPIAuthentication

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status codeDescriptionResponse headers
200Successful-
400Bad Request-
401Access denied-
403Forbidden-
404Not Found-
409Conflict-

getGridPropertiesUsingGET

GridProperties getGridPropertiesUsingGET()

Get grid properties

Get grid properties. Caller requires the GRIDS:VIEW permission.

Example

Parameters

This endpoint does not need any parameter.

Return type

GridProperties

Authorization

AdminAPIAuthentication

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status codeDescriptionResponse headers
200Successful-
400Bad Request-
401Access denied-
403Forbidden-
404Not Found-
409Conflict-

getGridUsingGET

Grid getGridUsingGET(gridid)

Get a grid

Get the specified grid. Caller requires the GRIDS:VIEW permission.

Example

Parameters

NameTypeDescriptionNotes
grididStringThe UUID of the grid to be retrieved.

Return type

Grid

Authorization

AdminAPIAuthentication

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status codeDescriptionResponse headers
200Successful-
400Bad Request-
401Access denied-
403Forbidden-
404Not Found-
409Conflict-

getSingleGridExportUsingGET

GridExport getSingleGridExportUsingGET(gridid)

Export a grid to PDF format

Export a grid to PDF format. Caller requires the GRIDS:VIEW permission.

Example

Parameters

NameTypeDescriptionNotes
grididStringThe ID of the grid to export.

Return type

GridExport

Authorization

AdminAPIAuthentication

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status codeDescriptionResponse headers
200Successful-
400Bad Request-
401Access denied-
403Forbidden-
404Not Found-
409Conflict-

modifyUnassignedGridUsingPUT

modifyUnassignedGridUsingPUT(gridid, gridParms)

Modify unassigned grid

Modify the specified unassigned grid. Caller requires the GRIDS:EDIT permission.

Example

Parameters

NameTypeDescriptionNotes
grididStringThe UUID of the grid to be modified.
gridParmsGridParms

Return type

null (empty response body)

Authorization

AdminAPIAuthentication

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status codeDescriptionResponse headers
200Successful-
400Bad Request-
401Access denied-
403Forbidden-
404Not Found-
409Conflict-

unassignGridUsingPUT

unassignGridUsingPUT(id)

Unassign a grid

Unassigned the specified grid. Caller requires the GRIDS:EDIT permission.

Example

Parameters

NameTypeDescriptionNotes
idStringThe UUID of the grid to unassign.

Return type

null (empty response body)

Authorization

AdminAPIAuthentication

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status codeDescriptionResponse headers
200Successful-
400Bad Request-
401Access denied-
403Forbidden-
404Not Found-
409Conflict-

unassignedGridsPageUsingPOST

GridsPage unassignedGridsPageUsingPOST(searchParms)

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

Parameters

NameTypeDescriptionNotes
searchParmsSearchParms

Return type

GridsPage

Authorization

AdminAPIAuthentication

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status codeDescriptionResponse headers
200Successful-
400Bad Request-
401Access denied-
403Forbidden-
404Not Found-
409Conflict-