Logotype Sitevision Developer
Log in
Log in

WorkStatusTemplates REST API endpoint

Disclaimer: This endpoint documentation is generated from the latest Sitevision version. It might differ from the actual Sitevision environment where your website resides.

Use the RestApi utility of the Public API for server-side access of this endpoint.

WorkStatusTemplates

Get work status templates from a work status template repository.

Applicable to: sv:workStatusTemplateRepository.

GET

Returns an array of work status templates.

Requires the feature "intranet 2022".

Requires that the caller is authorized to READ on the sv:site.

Example URL

754.459e406189fd381c3e1/workstatustemplates

Example response

[
      {
         "id": "752.77f59fca188fc1994b74",
         "shortcodes": ":spiral_calendar_pad:",
         "text": "In a meeting",
         "pauseNotifications": true,
         "durationType": "ONE_HOUR"
      },
      {
         "id": "752.77f59fca188fc1994b75",
         "shortcodes": ":face_with_thermometer:",
         "text": "Out sick",
         "pauseNotifications": true,
         "durationType": "END_OF_WEEK"
      }
]
Did you find the content on this page useful?