POST api/resources/{id}/teams
Bulk add or update teams for a resource
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | globally unique identifier |
Required |
Body Parameters
Represent the entire teams this resource belongs. If empty list is provided, resource will be removed from all teams.
Collection of MyTeamInfo| Name | Description | Type | Additional information |
|---|---|---|---|
| TeamId | globally unique identifier |
None. |
|
| MyAllocation | decimal number |
None. |
Request Formats
application/json, text/json
Sample:
[
{
"TeamId": "9ade2fe4-6247-47a0-8f57-5cf029033aff",
"MyAllocation": 2.0
},
{
"TeamId": "9ade2fe4-6247-47a0-8f57-5cf029033aff",
"MyAllocation": 2.0
}
]
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |