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

NameDescriptionTypeAdditional information
id

Group Id

integer

Required

Body Parameters

The set branch data contract

SetGroupBranchCommandDataContract
NameDescriptionTypeAdditional 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
NameDescriptionTypeAdditional 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.