POST api/Account

Request Information

URI Parameters

None.

Body Parameters

UserCreateReqDto
NameDescriptionTypeAdditional information
UserName

string

Required

Password

string

Required

RoleId

integer

Required

CounterId

integer

None.

BranchId

integer

Required

Request Formats

application/json, text/json

Sample:
{
  "UserName": "sample string 1",
  "Password": "sample string 2",
  "RoleId": 3,
  "CounterId": 4,
  "BranchId": 5
}

application/xml, text/xml

Sample:
<UserCreateReqDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DTTSMobileAPI.WebApp.Models.Dto">
  <BranchId>5</BranchId>
  <CounterId>4</CounterId>
  <Password>sample string 2</Password>
  <RoleId>3</RoleId>
  <UserName>sample string 1</UserName>
</UserCreateReqDto>

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.