Summary
Update a Service in Catalog Store
Description
Modify and update a service in the Service Catalog Store.
Route
POST /service_catalog/UpdateService
Roles
admin
engineering
support
apiwrite
Parameters
DetailsExampleSchema
Name |
Type |
Required |
Description |
data |
object |
yes |
Service's data to be updated. |
Copied to Clipboard
{
"data": {
"_id": "fe1bfeee-61b8-404d-aefc-dc57be92ff02",
"service_id": "/ncs:services/itential_test:choices",
"name": "test",
"description": "test",
"groups": [
"admin",
"admin",
"admin",
"admin"
],
"job_groups": [
"admin"
],
"form_id": "912fd926-5391-48ff-b265-394d00640f4f",
"worflow": "testWF",
"variable_name": "testVar",
"createdBy": "admin@pronghorn",
"created": "2019-04-18T12:44:40.112Z",
"lastUpdatedBy": "admin@pronghorn",
"lastUpdated": "2019-04-18T12:44:40.112Z"
}
}
Return
DetailsExampleSchema
Name |
Type |
Description |
updatedService |
object |
Return the updated service. |
Copied to Clipboard
{
"_id": "fe1bfeee-61b8-404d-aefc-dc57be92ff02",
"service_id": "/ncs:services/itential_test:choices",
"name": "test",
"description": "test",
"groups": [
"admin",
"admin",
"admin",
"admin"
],
"job_groups": [
"admin",
"admin"
],
"form_id": "912fd926-5391-48ff-b265-394d00640f4f",
"worflow": "testWF",
"variable_name": "testVar",
"createdBy": "admin@pronghorn",
"created": "2019-04-18T12:44:40.112Z",
"lastUpdatedBy": "admin@pronghorn",
"lastUpdated": "2019-04-18T12:44:40.112Z"
}