PUT api/role/{id}/changeteam?teamId={teamId}
Change the owining team of a Role Processes this role API request. The parameter and response sections describe the data exchanged with the API.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
The unique identifier of the requested resource. |
integer |
Required |
| teamId |
The unique identifier of the team resource. |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
The response returned after the operation completes.
UpdateOwningTeamResponseDataContract| Name | Description | Type | Additional information |
|---|---|---|---|
| OldOwningTeamId |
The unique identifier of the related old owning team resource. |
integer |
None. |
| NewOwningTeamId |
The unique identifier of the related new owning team resource. |
integer |
None. |
| IsSuccessful |
Indicates whether this item is successful. |
boolean |
None. |
| EventId |
The unique identifier of the related event resource. |
integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"OldOwningTeamId": 1,
"NewOwningTeamId": 2,
"IsSuccessful": true,
"EventId": 4
}