JOC API

Version 2.2.0

Download RAML
JOC API
/inventory/store
POST

Stores inventory object


Parameters in the POST body schema

Name Type Description Example Default
Either id or (path and objectType) are required! id beats a specified path/objectType tuple
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
  • "FOLDER"
  • "WORKFLOW"
  • "JOBRESOURCE"
  • "LOCK"
  • "NOTICEBOARD"
  • "FILEORDERSOURCE"
  • "WORKINGDAYSCALENDAR"
  • "NONWORKINGDAYSCALENDAR"
  • "SCHEDULE"
  • "INCLUDESCRIPT"
valid optional, boolean
configuration required, object
optional in case of a folder
JSON of a configuration item according
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.