PUT api/UserBranchMapping

Request Information

URI Parameters

None.

Body Parameters

C_UserBranchMapping
NameDescriptionTypeAdditional information
Id

integer

None.

UserRoleId

integer

None.

BranchCode

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "UserRoleId": 1,
  "BranchCode": 2
}

application/xml, text/xml

Sample:
<C_UserBranchMapping xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RREL.Data.Models">
  <BranchCode>2</BranchCode>
  <Id>1</Id>
  <UserRoleId>1</UserRoleId>
</C_UserBranchMapping>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'C_UserBranchMapping'.

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.