POST api/UserAccount/InitialCreate

Request Information

URI Parameters

None.

Body Parameters

UserProfileInitialCreateUpdateModel
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.

Prefix

string

None.

PhoneNumber

string

None.

Status

string

None.

LockoutEnabled

boolean

None.

PasswordExpired

boolean

None.

ReportsTo

integer

None.

JobTitleId

integer

None.

Departments

Collection of integer

None.

Roles

Collection of integer

None.

Accounts

Collection of 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",
  "Prefix": "sample string 10",
  "PhoneNumber": "sample string 11",
  "Status": "sample string 12",
  "LockoutEnabled": true,
  "PasswordExpired": true,
  "ReportsTo": 15,
  "JobTitleId": 16,
  "Departments": [
    1,
    2
  ],
  "Roles": [
    1,
    2
  ],
  "Accounts": [
    1,
    2
  ],
  "CreatedBy": "sample string 17",
  "CreateTimestamp": "2024-11-21T08:57:07.0170607+00:00",
  "ModifiedBy": "sample string 19",
  "ModifiedTimestamp": "2024-11-21T08:57:07.0170607+00:00",
  "DataStateFlag": "sample string 20"
}

application/xml, text/xml

Sample:
<UserProfileInitialCreateUpdateModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Walsh.Api.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:57:07.0170607Z</d2p1:DateTime>
    <d2p1:OffsetMinutes>0</d2p1:OffsetMinutes>
  </CreateTimestamp>
  <CreatedBy xmlns="http://schemas.datacontract.org/2004/07/Walsh.Service.Models">sample string 17</CreatedBy>
  <DataStateFlag xmlns="http://schemas.datacontract.org/2004/07/Walsh.Service.Models">sample string 20</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 19</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:57:07.0170607Z</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>
  <Password>sample string 5</Password>
  <PasswordExpired>true</PasswordExpired>
  <PhoneNumber>sample string 11</PhoneNumber>
  <Prefix>sample string 10</Prefix>
  <ReportsTo>15</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 12</Status>
  <UserId>sample string 2</UserId>
</UserProfileInitialCreateUpdateModel>

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>