JOC API

Version 2.2.0

Download RAML
JOC API
/inventory/release
POST

Releases objects


Parameters in the POST body schema

Name Type Description Example Default
update optional, array Contains releasable objects specified by its id or (path and objectType)
"update": [{ 
    "path": "/eachFriday", 
    "objectType": "WORKINGDAYSCALENDAR" 
}]
id integer ID of the configuration item
path string Path of the configuration item
objectType string Object type of the configuration item. Possible value are
  • "WORKINGDAYSCALENDAR"
  • "NONWORKINGDAYSCALENDAR"
  • "SCHEDULE"
delete optional, array Contains releasable objects specified by its id or (path and objectType)
that release will be deleted for all controllers
"delete": [{ 
    "path": "/eachFriday", 
    "objectType": "WORKINGDAYSCALENDAR" 
}]
id integer ID of the configuration item
path string Path of the configuration item
objectType string Object type of the configuration item. Possible value are
  • "WORKINGDAYSCALENDAR"
  • "NONWORKINGDAYSCALENDAR"
  • "SCHEDULE"
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. 5
ticketLink optional, string Field in auditLog to enter a link to a corresponding ticket.