/inventory/change/add
POST
adds Inventory objects to a given change
Parameters in the POST body schema
Name | Type | Description | Example | Default |
---|---|---|---|---|
change |
required, object | A change object specified by its name. | ||
name |
required, string | The name of the desired change. | "name" : "myFirstChange" | |
add |
required, array | An array of inventory objects that should be assigned to the given change. | ||
name |
required, string | The name of the desired inventory object to assign to the given change. | "name" : "myWorkflow" | |
objectType |
required, string | available types are:
|
"type" : "WORKFLOW" | |
auditLog |
optional, object | Object that contains comment , timeSpent and ticketLink . |
{ "comment": "Operational requirement!", "timeSpent": 2 } |
|
comment |
optional, string | Field in auditLog to comment this action, e.g. the reason. |
||
timeSpent |
optional, integer | Field in auditLog to enter the time spent in minutes. |
||
ticketLink |
optional, string | Field in auditLog to enter a link to a corresponding ticket. |
Request