JOC API

Version 2.6.5

Download RAML
JOC API
/inventory/rename
POST

Renames/Moves inventory object


Parameters in the POST body schema

Name Type Description Example Default
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"
  • "JOBTEMPLATE"
  • "INCLUDESCRIPT"
newPath required, string New path (relative or absolute) of the inventory object. The path has to have the old path if specified
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.