Api Home > WorkItem > AddUsersToWatchlist

POST api/V3/WorkItem/AddUsersToWatchlist?workitemId={workitemId} Add multiple users to the watchlist

Request Information

URI Parameters

NameDescriptionTypeAdditional information
workitemId

Workitem id to add to watchlist.

globally unique identifier

Required

Body Parameters

List of user's id to add to watchlist.

Collection of globally unique identifier

Request Formats

application/json, text/json

Sample:
[
  "31f8f8ca-9055-4cb4-beac-f6ec5f09bef7",
  "774744a7-9742-4e2a-88c8-6de57fb1d15a"
]

application/xml, text/xml

Sample:
<ArrayOfguid xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
  <guid>31f8f8ca-9055-4cb4-beac-f6ec5f09bef7</guid>
  <guid>774744a7-9742-4e2a-88c8-6de57fb1d15a</guid>
</ArrayOfguid>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

boolean

Response Formats

application/json, text/json

Sample:
true

application/xml, text/xml

Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>