POST api/resources/{id}/teams

Bulk add or update teams for a resource

Request Information

URI Parameters

NameDescriptionTypeAdditional 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
NameDescriptionTypeAdditional information
TeamId

globally unique identifier

None.

MyAllocation

decimal number

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "TeamId": "62e1e26f-09e5-4145-88ae-97033d4f75a4",
    "MyAllocation": 2.0
  },
  {
    "TeamId": "62e1e26f-09e5-4145-88ae-97033d4f75a4",
    "MyAllocation": 2.0
  }
]

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.