For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Open sourceSupportFAQsDocs Home
DocumentationAPI ReferenceRelease notes
DocumentationAPI ReferenceRelease notes
  • Introduction
    • Overview
    • Authentication
  • Guides
    • Integration API routes
    • Operations Manager search APIs
    • Search API
    • URL query parameters
    • Use query parameters in API requests
  • Reference
        • POSTCancel an action execution
        • POSTCreate a new instance group
        • POSTCreate a new resource model
        • DELDelete a resource model
        • DELDelete an instance group
        • GETExport a resource instance
        • GETExport a resource model
        • GETGet a resource model based on ID
        • GETGet action execution record
        • GETGet instance group
        • GETGet multiple instance groups
        • GETGet resource instance
        • POSTImport a resource model
        • POSTImport an instance into a resource
        • POSTPerforms edits to a resource model
        • POSTRun a resource action
        • POSTRun a resource action against multiple instances
        • GETSearch resource action history documents
        • GETSearch resource instances
        • GETSearch resource models
        • PATCHUpdate a instance group
        • PUTUpdate a resource model
        • PUTUpdate resource instance
        • POSTValidate the actions defined on a resource model
LogoLogo
Open sourceSupportFAQsDocs Home
ReferenceLifecycle Manager

Get a resource model based on ID

GET
http://localhost:3000/lifecycle-manager/resources/:id
GET
/lifecycle-manager/resources/:id
$curl http://localhost:3000/lifecycle-manager/resources/id \
> -u "<username>:<password>"
1{
2 "data": {
3 "name": "VLAN Service",
4 "description": "This resource model represents something we use on a day-to-day basis.",
5 "schema": null,
6 "created": null,
7 "createdBy": null,
8 "lastUpdated": null,
9 "lastUpdatedBy": null,
10 "actions": [
11 {
12 "_id": null,
13 "name": "Create",
14 "type": "create",
15 "preWorkflowJst": "62a1f3d2ebedfc54e6e0065c",
16 "postWorkflowJst": "62a1f3d2ebedfc54e6e0065c",
17 "description": "Creates a new VLAN service instance",
18 "inputSchema": {},
19 "outputSchema": {},
20 "workflow": null
21 }
22 ]
23 },
24 "message": "Successfully created the requested item",
25 "metadata": {}
26}
Returns a resource model based on ID.
Was this page helpful?
Previous

Get action execution record

Next
Built with

Authentication

AuthorizationBasic

Basic authentication of the form Basic <base64(username:password)>.

Path parameters

idstringRequiredformat: "^[0-9a-fA-F]{24}$"
The ObjectId of the resource model

Query parameters

dereferencestringOptional
dereference

Response

response
dataobject

Errors

500
Internal Server Error