POST api/group/{id}/setbranch
Set the Groups home Branch Changes the Group's Branch, will only allow to change to a branch in same agency
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
Group Id |
integer |
Required |
Body Parameters
The set branch data contract
SetGroupBranchCommandDataContract| Name | Description | Type | Additional information |
|---|---|---|---|
| BranchId |
The unique identifier of the related branch resource. |
integer |
None. |
Request Formats
application/x-www-form-urlencoded
Sample:
Sample not available.
application/json, text/json
Sample:
{
"BranchId": 1
}
Response Information
Resource Description
No Content 204
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version |
The version value. |
Version |
None. |
| Content |
The content value. |
HttpContent |
None. |
| StatusCode |
The status code classification. |
HttpStatusCode |
None. |
| ReasonPhrase |
The reason phrase value. |
string |
None. |
| Headers |
The collection of headers. |
Collection of Object |
None. |
| RequestMessage |
The request message value. |
HttpRequestMessage |
None. |
| IsSuccessStatusCode |
Indicates whether this item is success status code. |
boolean |
None. |