JOC API

Version 2.6.5

Download RAML
JOC API
/inventory/remove
POST

Removes configurations of inventory objects


Parameters in the POST body schema

Name Type Description Example Default
objects required, array[object] Each item of this array specifies an inventory object with
the tupel (path and objectType).
path string, required Path of the inventory item
objectType string, required Object type of the inventory item. Possible value are
  • "WORKFLOW"
  • "JOBRESOURCE"
  • "LOCK"
  • "NOTICEBOARD"
  • "FILEORDERSOURCE"
  • "WORKINGDAYSCALENDAR"
  • "NONWORKINGDAYSCALENDAR"
  • "SCHEDULE"
  • "JOBTEMPLATE"
  • "INCLUDESCRIPT"
cancelOrdersDateFrom optional, string Sets the starting date for planned or submitted orders to be canceled. The API accepts a date in the format YYYY-MM-DD or the string 'now' to indicate to cancel orders starting from the time of removal. "cancelOrdersDateFrom" : "now"
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.