POST api/V3/WorkItem/AddUsersToWatchlist?workitemId={workitemId} Add multiple users to the watchlist
Request Information
URI Parameters
Name | Description | Type | Additional 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 identifierRequest Formats
application/json, text/json
Sample:
[ "900d6a5f-1658-4dde-aff3-d47b48ed9b8e", "ba7891b3-2465-45b1-ba6f-b1d48de81633" ]
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>900d6a5f-1658-4dde-aff3-d47b48ed9b8e</guid> <guid>ba7891b3-2465-45b1-ba6f-b1d48de81633</guid> </ArrayOfguid>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
booleanResponse Formats
application/json, text/json
Sample:
true
application/xml, text/xml
Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>