Logotype Sitevision Developer
Log in
Log in

RecentWorkStatuses 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.

RecentWorkStatuses

Get and delete recent work statuses for a user identity.

Applicable to: sv:userIdentity.

GET

Returns an array of recent work statuses for a sv:userIdentity.

Requires the feature "social collaboration" and that social collaboration is enabled on the sv:site.

Requires that the caller is the targeted sv:userIdentity.

Example URL

400.95b3be916257bc215c3ea/recentworkstatuses

Example response

[
      {
         "id": "752.77f59fca188fc1994b74",
         "shortcodes": ":spiral_calendar_pad:",
         "text": "In a meeting",
         "pauseNotifications": true,
         "durationType": "CUSTOM"
      },
      {
         "id": "752.77f59fca188fc1994b75",
         "shortcodes": ":face_with_thermometer:",
         "text": "Out sick",
         "pauseNotifications": true,
         "durationType": "END_OF_WEEK"
      }
]

A maximum of 10 recent work statuses will be returned.

DELETE

Delete a recent work status for a sv:userIdentity.

Requires the feature "social collaboration" and that social collaboration is enabled on the sv:site.

Requires that the caller is the targeted sv:userIdentity.

Requires that the targeted sv:workStatus belongs to the targeted sv:userIdentity.

Example URL

400.95b3be916257bc215c3ea/recentworkstatuses/752.77f59fca188fc1994b74
Did you find the content on this page useful?