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": "aliquip enim Duis",
"limit": "non ullamco qui aliqua consectetur",
"sort": "name",
"order": "asc",
"equals": {
"modelName": "VLAN Service",
"stateName": "ullamco amet culpa",
"_id": "62a1f3d2ebedfc54e6e0065c",
"name": "VLAN Service",
"modelId": "62a1f3d2ebedfc54e6e0065c",
"created": "1982-05-01T01:06:51.899Z",
"createdBy": "62a1f3d2ebedfc54e6e0065c",
"lastUpdated": "2001-01-14T04:49:02.601Z",
"lastUpdatedBy": "62a1f3d2ebedfc54e6e0065c"
},
"in": {
"stateId": "1234,53fe,0000"
},
"include-deleted": "false",
"starts-with": {
"name": "VLAN Service"
},
"lt": {
"created": "1955-01-12T05:33:05.117Z",
"lastUpdated": "1967-12-15T16:06:33.237Z"
},
"lte": {
"created": "1984-05-10T21:41:19.453Z",
"lastUpdated": "1980-10-18T03:28:30.677Z"
},
"gt": {
"created": "1992-05-12T12:28:37.198Z",
"lastUpdated": "1978-11-06T07:50:53.414Z"
},
"gte": {
"created": "1979-05-29T12:27:34.779Z",
"lastUpdated": "1970-12-12T20:20:07.997Z"
},
"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": "Successfully created the requested item",
"data": "null",
"metadata": {
"skip": -90653060,
"limit": -52077269,
"total": -4013965,
"nextPageSkip": 51945866,
"previousPageSkip": -51042449,
"currentPageSize": 6082785
}
}