POST api/UserRole

Request Information

URI Parameters

None.

Body Parameters

UserRoleModel
NameDescriptionTypeAdditional information
UserRoleId

integer

None.

CompanyAccountId

integer

None.

UserRoleName

string

None.

ActiveStatus

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "UserRoleId": 1,
  "CompanyAccountId": 2,
  "UserRoleName": "sample string 3",
  "ActiveStatus": true
}

application/xml, text/xml

Sample:
<UserRoleModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cuewel.Business.Model">
  <ActiveStatus>true</ActiveStatus>
  <CompanyAccountId>2</CompanyAccountId>
  <UserRoleId>1</UserRoleId>
  <UserRoleName>sample string 3</UserRoleName>
</UserRoleModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

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.