Summary
Create a New Service Order
Description
Create a new Service Order.
Route
POST /service_catalog/createServiceOrder
Roles
admin
engineering
support
apiwrite
Parameters
DetailsExampleSchema
Name |
Type |
Required |
Description |
service_order |
object |
yes |
Data for the new Service Order. |
Copied to Clipboard
{
"service_order": {
"_id": "fe1bfeee-61b8-404d-aefc-dc57be92ff02",
"service_id": "/ncs:services/itential_test:choices",
"name": "test",
"description": "test",
"groups": [
"admin",
"admin",
"admin",
"admin",
"admin"
],
"job_groups": [
"admin",
"admin",
"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"
}
}
Return
DetailsExampleSchema
Name |
Type |
Description |
result |
object |
Data of the Service Order and the ID for the new Service Order. |
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",
"admin"
],
"job_groups": [
"admin",
"admin",
"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"
}