POST api/UserAccount/Create

Request Information

URI Parameters

None.

Body Parameters

UserProfileCreateUpdateModel
NameDescriptionTypeAdditional information
Id

integer

None.

UserId

string

None.

AccountId

integer

None.

Email

string

None.

Password

string

None.

ConfirmPassword

string

None.

FirstName

string

None.

LastName

string

None.

DisplayName

string

None.

ReportsTo

integer

None.

Prefix

string

None.

PhoneNumber

string

None.

Status

string

None.

LockoutEnabled

boolean

None.

PasswordExpired

boolean

None.

JobTitleId

integer

None.

Departments

Collection of integer

None.

Roles

Collection of integer

None.

Accounts

Collection of integer

None.

LoggedInRoleId

integer

None.

CreatedBy

string

None.

CreateTimestamp

date

None.

ModifiedBy

string

None.

ModifiedTimestamp

date

None.

DataStateFlag

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "UserId": "sample string 2",
  "AccountId": 3,
  "Email": "sample string 4",
  "Password": "sample string 5",
  "ConfirmPassword": "sample string 6",
  "FirstName": "sample string 7",
  "LastName": "sample string 8",
  "DisplayName": "sample string 9",
  "ReportsTo": 10,
  "Prefix": "sample string 11",
  "PhoneNumber": "sample string 12",
  "Status": "sample string 13",
  "LockoutEnabled": true,
  "PasswordExpired": true,
  "JobTitleId": 16,
  "Departments": [
    1,
    2
  ],
  "Roles": [
    1,
    2
  ],
  "Accounts": [
    1,
    2
  ],
  "LoggedInRoleId": 17,
  "CreatedBy": "sample string 18",
  "CreateTimestamp": "2024-11-21T08:47:46.3210998+00:00",
  "ModifiedBy": "sample string 20",
  "ModifiedTimestamp": "2024-11-21T08:47:46.3210998+00:00",
  "DataStateFlag": "sample string 21"
}

application/xml, text/xml

Sample:
<UserProfileCreateUpdateModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Walsh.Service.Models.UserAccount">
  <CreateTimestamp xmlns:d2p1="http://schemas.datacontract.org/2004/07/System" xmlns="http://schemas.datacontract.org/2004/07/Walsh.Service.Models">
    <d2p1:DateTime>2024-11-21T08:47:46.3210998Z</d2p1:DateTime>
    <d2p1:OffsetMinutes>0</d2p1:OffsetMinutes>
  </CreateTimestamp>
  <CreatedBy xmlns="http://schemas.datacontract.org/2004/07/Walsh.Service.Models">sample string 18</CreatedBy>
  <DataStateFlag xmlns="http://schemas.datacontract.org/2004/07/Walsh.Service.Models">sample string 21</DataStateFlag>
  <Id xmlns="http://schemas.datacontract.org/2004/07/Walsh.Service.Models">0</Id>
  <ModifiedBy xmlns="http://schemas.datacontract.org/2004/07/Walsh.Service.Models">sample string 20</ModifiedBy>
  <ModifiedTimestamp xmlns:d2p1="http://schemas.datacontract.org/2004/07/System" xmlns="http://schemas.datacontract.org/2004/07/Walsh.Service.Models">
    <d2p1:DateTime>2024-11-21T08:47:46.3210998Z</d2p1:DateTime>
    <d2p1:OffsetMinutes>0</d2p1:OffsetMinutes>
  </ModifiedTimestamp>
  <Status xmlns="http://schemas.datacontract.org/2004/07/Walsh.Service.Models">Active</Status>
  <AccountId>3</AccountId>
  <Accounts xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </Accounts>
  <ConfirmPassword>sample string 6</ConfirmPassword>
  <Departments xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </Departments>
  <DisplayName>sample string 9</DisplayName>
  <Email>sample string 4</Email>
  <FirstName>sample string 7</FirstName>
  <Id>1</Id>
  <JobTitleId>16</JobTitleId>
  <LastName>sample string 8</LastName>
  <LockoutEnabled>true</LockoutEnabled>
  <LoggedInRoleId>17</LoggedInRoleId>
  <Password>sample string 5</Password>
  <PasswordExpired>true</PasswordExpired>
  <PhoneNumber>sample string 12</PhoneNumber>
  <Prefix>sample string 11</Prefix>
  <ReportsTo>10</ReportsTo>
  <Roles xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </Roles>
  <Status>sample string 13</Status>
  <UserId>sample string 2</UserId>
</UserProfileCreateUpdateModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

string

Response Formats

application/json, text/json

Sample:
"sample string 1"

application/xml, text/xml

Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>