POST api/v1/admin_Role

Request Information

URI Parameters

None.

Body Parameters

Admin_RoleVM
NameDescriptionTypeAdditional information
roleId

integer

None.

roleName

string

None.

tenantId

integer

None.

createdBy

integer

None.

employeeTypeId

integer

None.

employeeTypeName

string

None.

roleLevelAccressId

integer

None.

roleLevelAccressName

string

None.

Request Formats

application/json, text/json

Sample:
{
  "roleId": 1,
  "roleName": "sample string 2",
  "tenantId": 1,
  "createdBy": 3,
  "employeeTypeId": 1,
  "employeeTypeName": "sample string 4",
  "roleLevelAccressId": 1,
  "roleLevelAccressName": "sample string 5"
}

application/xml, text/xml

Sample:
<Admin_RoleVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Data.TransferObject.ViewModel">
  <createdBy>3</createdBy>
  <employeeTypeId>1</employeeTypeId>
  <employeeTypeName>sample string 4</employeeTypeName>
  <roleId>1</roleId>
  <roleLevelAccressId>1</roleLevelAccressId>
  <roleLevelAccressName>sample string 5</roleLevelAccressName>
  <roleName>sample string 2</roleName>
  <tenantId>1</tenantId>
</Admin_RoleVM>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.