Lists a page of assigned grids
POST/api/web/v2/gridspaged/assigned
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.
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.
Request
- application/json
Body
required
Array [
]
Users search only: additional, non-core attributes to include in the returned object. Attribute names are specific to the returned object.
Identifies the page to return when paging over a result set--if present, search by / order by attributes are ignored.
Possible values: >= 1
and <= 100
Identifies the maximum number of items to include in a page (1-100).
orderByAttribute
object
An attribute used to sort the result from a search.
Identifies whether to order results in ascending order.
Identifies the attribute.
searchByAttributes
object[]
Identifies attributes for searching purposes. Some end-points have pre-defined values and ignore this attribute.
Identifies the attribute we are searching for.
Possible values: [EQUALS
, NOT_EQUALS
, CONTAINS
, NOT_CONTAINS
, STARTS_WITH
, ENDS_WITH
, GREATER_THAN
, GREATER_THAN_OR_EQUAL
, LESS_THAN
, LESS_THAN_OR_EQUAL
, IN
, EXISTS
, NOT_EXISTS
]
Identifies the operator.
Identifies the value of the attribute we are searching for.
Responses
- 200
- 400
- 401
- 403
- 404
- 409
Successful
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
paging
object
Contains navigation information.
Possible values: >= 1
and <= 100
The page limit used (1-100)
The cursor pointing to the next page.
The cursor pointing to the previous page.
results
object[]
required
A single page from the list of GRIDs found.
Possible values: [CANCEL
, DELETE
, ENABLE
, DISABLE
, ASSIGN
, UNASSIGN
]
A list of what actions are currently allowed for this grid.
For unassigned grids which were assigned to the user, the date on which the grid was assigned.
The date on which the grid was created.
A flag indicating if this grid is currently expired.
If the grid policy defines an expiry date, the date on which this grid will expire. Expired grids cannot be used for authentication.
The grid contents of this grid. Only administrators with the GRIDCONTENTS:VIEW permission will receive this value.
The UUIDs of groups to which this grid belongs. This value is only used for unassigned grids. Only groups to which the current administrator has access will be returned.
The unique UUID assigned to the grid when it is created.
The date on which this grid was last used for authentication. This value will be null if the grid has never been used.
The unique numeric serial number assigned to the grid when it is created.
Possible values: [ACTIVE
, INACTIVE
, UNASSIGNED
, PENDING
, CANCELED
]
The state of this grid. Only grids in the ACTIVE or PENDING state can be used for authentication.
The UUID of the user who owns this grid. If the grid is not assigned, this value will be null.
The user Id for this user. If the grid is not assigned, this value will be null.
{
"paging": {
"limit": 0,
"nextCursor": "string",
"prevCursor": "string"
},
"results": [
{
"allowedActions": [
"CANCEL"
],
"assignDate": "2019-02-19T13:17:27Z",
"createDate": "2019-02-19T13:15:27Z",
"expired": true,
"expiryDate": "2019-08-19T13:15:27Z",
"gridContents": [
[
"string"
]
],
"groups": [
"string"
],
"id": "string",
"lastUsedDate": "2019-02-19T13:15:27Z",
"serialNumber": 0,
"state": "ACTIVE",
"userId": "45f5a855-962a-4b5f-b5c5-7ceeae235875",
"userName": "john.doe"
}
]
}
Bad Request
- application/json
- Schema
- Example (from schema)
Schema
Error Codes specific to cause of failure.
Additional Error Message describing the error.
Optional additional error information.
{
"errorCode": "invalid_user_response",
"errorMessage": "Application id cannot be null",
"parameters": [
{}
]
}
Access denied
- application/json
- Schema
- Example (from schema)
Schema
Error Codes specific to cause of failure.
Additional Error Message describing the error.
Optional additional error information.
{
"errorCode": "invalid_user_response",
"errorMessage": "Application id cannot be null",
"parameters": [
{}
]
}
Forbidden
- application/json
- Schema
- Example (from schema)
Schema
Error Codes specific to cause of failure.
Additional Error Message describing the error.
Optional additional error information.
{
"errorCode": "invalid_user_response",
"errorMessage": "Application id cannot be null",
"parameters": [
{}
]
}
Not Found
- application/json
- Schema
- Example (from schema)
Schema
Error Codes specific to cause of failure.
Additional Error Message describing the error.
Optional additional error information.
{
"errorCode": "invalid_user_response",
"errorMessage": "Application id cannot be null",
"parameters": [
{}
]
}
Conflict
- application/json
- Schema
- Example (from schema)
Schema
Error Codes specific to cause of failure.
Additional Error Message describing the error.
Optional additional error information.
{
"errorCode": "invalid_user_response",
"errorMessage": "Application id cannot be null",
"parameters": [
{}
]
}