POST api/Account/Register

Request Information

URI Parameters

None.

Body Parameters

RegisterBindingModel
NameDescriptionTypeAdditional information
UserName

string

Required

String length: inclusive between 1 and 100

Password

string

Required

Data type: Password

String length: inclusive between 1 and 100

ConfirmPassword

string

Data type: Password

CustomerId

integer

Required

Range: inclusive between 0 and 9.22337203685478E+18

UserId

integer

Required

Range: inclusive between 0 and 9.22337203685478E+18

Approved

boolean

Required

Range: inclusive between 0 and 1

Name

string

Required

String length: inclusive between 0 and 100

DesktopAppraiserId

integer

Required

Range: inclusive between 0 and 9.22337203685478E+18

AdminAccess

boolean

Required

Range: inclusive between 0 and 1

AllowOpenFiles

byte

None.

Role

string

None.

TransactionId

string

String length: inclusive between 0 and 100

Request Formats

application/json, text/json

Sample:
{
  "UserName": "sample string 1",
  "Password": "sample string 2",
  "ConfirmPassword": "sample string 3",
  "CustomerId": 4,
  "UserId": 5,
  "Approved": true,
  "Name": "sample string 7",
  "DesktopAppraiserId": 8,
  "AdminAccess": true,
  "AllowOpenFiles": 64,
  "Role": "sample string 10",
  "TransactionId": "sample string 11"
}

application/xml, text/xml

Sample:
<RegisterBindingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/OmdanRestModels.Models">
  <TransactionId xmlns="http://schemas.datacontract.org/2004/07/OmdanRestModels.Models.Binding_Models">sample string 11</TransactionId>
  <AdminAccess>true</AdminAccess>
  <AllowOpenFiles>64</AllowOpenFiles>
  <Approved>true</Approved>
  <ConfirmPassword>sample string 3</ConfirmPassword>
  <CustomerId>4</CustomerId>
  <DesktopAppraiserId>8</DesktopAppraiserId>
  <Name>sample string 7</Name>
  <Password>sample string 2</Password>
  <Role>sample string 10</Role>
  <UserId>5</UserId>
  <UserName>sample string 1</UserName>
</RegisterBindingModel>

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.