Summary
Searches resource instances
Description
Searches resource instances
Route
GET /lifecycle-manager/resources/:modelId/instances
Roles
admin
apiread
designer
Parameters
DetailsExampleSchema
Name |
Type |
Required |
Description |
modelId |
string |
yes |
- |
searchParameters |
object |
yes |
- |
Copied to Clipboard
{
"searchParameters": {
"skip": "enim officia adipisicing laboris labore",
"limit": "laborum aute ad",
"sort": "name",
"order": "asc",
"equals": {
"modelName": "ServiceNow Ticket",
"stateName": "exercitation occaecat elit",
"_id": "62a1f3d2ebedfc54e6e0065c",
"name": "VLAN Service",
"modelId": "62a1f3d2ebedfc54e6e0065c",
"created": "1989-02-28T10:02:30.365Z",
"createdBy": "62a1f3d2ebedfc54e6e0065c",
"lastUpdated": "1991-12-01T11:31:46.667Z",
"lastUpdatedBy": "62a1f3d2ebedfc54e6e0065c"
},
"include-deleted": "false",
"starts-with": {
"name": "VLAN Service"
},
"lt": {
"created": "1986-06-08T16:55:00.672Z",
"lastUpdated": "1948-03-01T05:20:30.952Z"
},
"lte": {
"created": "1945-02-16T04:58:31.649Z",
"lastUpdated": "2003-11-09T18:10:25.833Z"
},
"gt": {
"created": "1957-06-16T08:50:46.043Z",
"lastUpdated": "1996-01-29T22:24:50.128Z"
},
"gte": {
"created": "1990-03-10T12:59:06.511Z",
"lastUpdated": "1971-12-25T13:03:25.691Z"
},
"dereference": "accounts"
}
}
Copied to Clipboard
{
"type": "object",
"properties": {
"searchParameters": {
"title": "searchParameters",
"$ref": "resource-instance-search-params"
}
},
"required": [
"searchParameters"
],
"additionalProperties": false
}
Return
DetailsExampleSchema
Name |
Type |
Description |
response |
object |
- |
Copied to Clipboard
{
"message": "A server error occurred while processing this request",
"data": "null",
"metadata": {
"errors": [],
"skip": -60468467,
"limit": -41739377,
"total": -32294401,
"nextPageSkip": 19592338,
"previousPageSkip": -91531732,
"currentPageSize": 55669840
}
}