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
    • Operations Manager search APIs
    • Search API
    • URL query parameters
    • Use query parameters in API requests
  • Reference
        • POSTAdd service to catalog store
        • POSTCreate a new service order
        • POSTDelete a service
        • GETExport a catalog item
        • GETGet current user
        • GETGet form data
        • GETGet form ID for service
        • GETGet multiple forms
        • GETGet user groups
        • GETGet workflows
        • POSTImport a catalog items
        • POSTInvoke service order
        • GETList of service models
        • GETList services in store
        • POSTUpdate a service in catalog store
LogoLogo
Open sourceSupportFAQsDocs Home
ReferenceService Catalog

Import a catalog items

POST
http://localhost:3000/service_catalog/catalog-items/import
POST
/service_catalog/catalog-items/import
$curl -X POST http://localhost:3000/service_catalog/catalog-items/import \
> -H "Content-Type: application/json" \
> -u "<username>:<password>" \
> -d '{}'
1{
2 "_id": "fe1bfeee-61b8-404d-aefc-dc57be92ff02",
3 "service_id": "/ncs:services/itential_test:choices",
4 "name": "test",
5 "description": "test",
6 "groups": [
7 "admin"
8 ],
9 "job_groups": [
10 "admin"
11 ],
12 "form_id": "912fd926-5391-48ff-b265-394d00640f4f",
13 "worflow": "testWF",
14 "instance_data": {},
15 "variable_name": "testVar",
16 "createdBy": "admin@pronghorn",
17 "created": "2019-04-18T12:44:40.112Z",
18 "lastUpdatedBy": "admin@pronghorn",
19 "lastUpdated": "2019-04-18T12:44:40.112Z"
20}
Imports a catalog items.
Was this page helpful?
Previous

Invoke service order

Next
Built with

Authentication

AuthorizationBasic

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

Request

request body
catalogItemslist of objectsOptional

Response

Status of the import operation
_idstring
service_idstring
namestring
descriptionstring
groupslist of strings
job_groupslist of strings
form_idstring
worflowstring
instance_dataobject
variable_namestring
createdBystring
createdstring
lastUpdatedBystring
lastUpdatedstring

Errors

500
Internal Server Error