POST api/user/insert

Request Information

URI Parameters

None.

Body Parameters

InsertUsersRequestModel
NameDescriptionTypeAdditional information
UserID

integer

None.

BranchID

integer

None.

CounterID

integer

None.

UserName

string

None.

Passwd

string

None.

UserTypeCode

string

None.

Image

string

None.

CreatedUserID

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "UserID": 1,
  "BranchID": 2,
  "CounterID": 3,
  "UserName": "sample string 4",
  "Passwd": "sample string 5",
  "UserTypeCode": "sample string 6",
  "Image": "sample string 7",
  "CreatedUserID": 8
}

application/xml, text/xml

Sample:
<InsertUsersRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CrushMateBackendAPI.Controllers">
  <BranchID>2</BranchID>
  <CounterID>3</CounterID>
  <CreatedUserID>8</CreatedUserID>
  <Image>sample string 7</Image>
  <Passwd>sample string 5</Passwd>
  <UserID>1</UserID>
  <UserName>sample string 4</UserName>
  <UserTypeCode>sample string 6</UserTypeCode>
</InsertUsersRequestModel>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.