POST api/teams/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:
[ "46bc3a90-a5d4-433b-bbfb-4cb72827a408", "d439a948-5599-438a-a83b-2377d4953858" ]
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>46bc3a90-a5d4-433b-bbfb-4cb72827a408</guid> <guid>d439a948-5599-438a-a83b-2377d4953858</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>