POST api/auth/api/users/create

Request Information

URI Parameters

None.

Body Parameters

UserCreateModel
NameDescriptionTypeAdditional information
Username

string

None.

Password

string

None.

RoleId

integer

None.

BranchId

integer

None.

LocationId

integer

None.

FullName

string

None.

Phone

string

None.

Email

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Username": "sample string 1",
  "Password": "sample string 2",
  "RoleId": 3,
  "BranchId": 1,
  "LocationId": 4,
  "FullName": "sample string 5",
  "Phone": "sample string 6",
  "Email": "sample string 7"
}

application/xml, text/xml

Sample:
<UserCreateModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SeaShellMarket.Models">
  <BranchId>1</BranchId>
  <Email>sample string 7</Email>
  <FullName>sample string 5</FullName>
  <LocationId>4</LocationId>
  <Password>sample string 2</Password>
  <Phone>sample string 6</Phone>
  <RoleId>3</RoleId>
  <Username>sample string 1</Username>
</UserCreateModel>

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.