POST api/Roles/Create

No documentation available.

Request Information

Parameters

NameDescriptionAdditional information
model
No documentation available.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "OfficeId": 1,
  "Off_Level": 2,
  "OfficeName": "sample string 3",
  "OfficeType": "sample string 4",
  "DistrictId": 5,
  "DistrictName": "sample string 6",
  "RoleId": "sample string 7",
  "RoleName": "sample string 8",
  "Inactive": "sample string 9"
}

application/xml, text/xml

Sample:
<RolesModels xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/KHBWebApi.Models">
  <DistrictId>5</DistrictId>
  <DistrictName>sample string 6</DistrictName>
  <Inactive>sample string 9</Inactive>
  <Off_Level>2</Off_Level>
  <OfficeId>1</OfficeId>
  <OfficeName>sample string 3</OfficeName>
  <OfficeType>sample string 4</OfficeType>
  <RoleId>sample string 7</RoleId>
  <RoleName>sample string 8</RoleName>
</RolesModels>

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 'RolesModels'.

Response Information

No documentation available.

Response body formats

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

Sample:

Sample not available.