JOC API

Version 2.7.3

Download RAML
JOC API
/notices/post
POST

Posts notice for several boards


Parameters in the POST body schema

Name Type Description Example Default
controllerId required, string Controller ID myController
Either notices or (noticeBoardPaths and noticeId) are required! notices beats a specified noticeBoardPaths/noticeId tuple
notices required, array[object] contains objects with notice ids per board
noticeBoardPath required, string Path of the notice board
{
  "noticeBoardPath": "myBoard",
  "noticeIds": [
    "2024-09-20"
  ]
}
noticeIds optional, array[string] Collection of notice ids. If no noticeId is specified, all expected notices of the board will be posted
noticeBoardPaths
 (deprecated) 
required, array[string] Paths of notice boards
noticeId
 (deprecated) 
required, string Id of the notice
endOfLife optional, string Overwrites the lifetime of the notice as specified from the notice board.
The value has multiple formats
  • an ISO 8601 date format with the time offset and milliseconds being optional, e.g.
    • YYYY-MM-DDThh:mm:ss[.s][Z (Z means +00)]
    • YYYY-MM-DDThh:mm:ss[.s][+01:00]
    • YYYY-MM-DDThh:mm:ss[.s][+0100]
    • YYYY-MM-DDThh:mm:ss[.s][+01]
  • a format for a period relative to the current time, e.g. 6h, 12h, 1d, 1w that specifies the quantity followed by a qualifier:
    • s (seconds)
    • m (minutes)
    • h (hours)
    • d (days)
    • w (weeks)
    • M (months)
    • y (years)
  • a time offset is optional (e.g. 2d+02:00)
    • it can also be specified with the parameter timeZone
    • if timeZone is undefined then UTC is used
  • the value 0 indicates the current time
1d
timeZone optional, string
  • This parameter set the time zone for the time stamp in the endOfLife parameter.
  • See here the list for available time zones.
Europe/Berlin Etc/UTC
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.