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": "e0c549c8-25c2-4563-87c4-25f312dad2a5",
    "MyAllocation": 2.0
  },
  {
    "TeamId": "e0c549c8-25c2-4563-87c4-25f312dad2a5",
    "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.