POST api/usertype/insert

Request Information

URI Parameters

None.

Body Parameters

InsertUserTypeRequestModel
NameDescriptionTypeAdditional information
UserTypeID

integer

None.

Code

string

None.

Name

string

None.

Remarks

string

None.

CreatedUserID

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "UserTypeID": 1,
  "Code": "sample string 2",
  "Name": "sample string 3",
  "Remarks": "sample string 4",
  "CreatedUserID": 5
}

application/xml, text/xml

Sample:
<InsertUserTypeRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CrushMateBackendAPI.Controllers">
  <Code>sample string 2</Code>
  <CreatedUserID>5</CreatedUserID>
  <Name>sample string 3</Name>
  <Remarks>sample string 4</Remarks>
  <UserTypeID>1</UserTypeID>
</InsertUserTypeRequestModel>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.