GET {repositoryId}/Account/New?id={id}

Returns a new Account resource.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
repositoryId

ID of the resource repository (optional).

string

Default value is

id

The ID of the related Identity resource (each Account shares the same Id of the corresponding Identity resource).

string

Default value is

Body Parameters

None.

Response Information

Resource Description

A new instance of an Account resource.

Account
NameDescriptionTypeAdditional information
Id

string

None.

RepositoryId

string

None.

InternalAuthentication

boolean

None.

Name

string

None.

ExternalAuthenticationReference

string

None.

PasswordRequired

boolean

None.

PasswordExpires

boolean

None.

MustChangePassword

boolean

None.

AllowPasswordChange

boolean

None.

LatestLoginTime

date

None.

LoginNumber

integer

None.

FailedAttempts

integer

None.

LatestFailedAttempt

date

None.

Disabled

boolean

None.

DisableTime

date

None.

PasswordTime

date

None.

Notes

string

None.

PasswordCriteriaReference

NamedReference

None.

AccountCriteriaReference

NamedReference

None.

Concurrent

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "Id": "sample string 1",
  "RepositoryId": "sample string 2",
  "InternalAuthentication": true,
  "Name": "sample string 4",
  "ExternalAuthenticationReference": "sample string 5",
  "PasswordRequired": true,
  "PasswordExpires": true,
  "MustChangePassword": true,
  "AllowPasswordChange": true,
  "LatestLoginTime": "2024-11-22T08:54:22.5702649+01:00",
  "LoginNumber": 11,
  "FailedAttempts": 12,
  "LatestFailedAttempt": "2024-11-22T08:54:22.5702649+01:00",
  "Disabled": true,
  "DisableTime": "2024-11-22T08:54:22.5702649+01:00",
  "PasswordTime": "2024-11-22T08:54:22.5702649+01:00",
  "Notes": "sample string 14",
  "PasswordCriteriaReference": {
    "Name": "sample string 1",
    "Url": "sample string 2",
    "Type": 0
  },
  "AccountCriteriaReference": {
    "Name": "sample string 1",
    "Url": "sample string 2",
    "Type": 0
  },
  "Concurrent": true
}

application/xml, text/xml

Sample:
<Account xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.openworkbpm.com/schema">
  <AccountCriteriaReference>
    <Type>Undefined</Type>
    <Url>sample string 2</Url>
    <Name>sample string 1</Name>
  </AccountCriteriaReference>
  <AllowPasswordChange>true</AllowPasswordChange>
  <Concurrent>true</Concurrent>
  <DisableTime>2024-11-22T08:54:22.5702649+01:00</DisableTime>
  <Disabled>true</Disabled>
  <ExternalAuthenticationReference>sample string 5</ExternalAuthenticationReference>
  <FailedAttempts>12</FailedAttempts>
  <Id>sample string 1</Id>
  <InternalAuthentication>true</InternalAuthentication>
  <LatestFailedAttempt>2024-11-22T08:54:22.5702649+01:00</LatestFailedAttempt>
  <LatestLoginTime>2024-11-22T08:54:22.5702649+01:00</LatestLoginTime>
  <LoginNumber>11</LoginNumber>
  <MustChangePassword>true</MustChangePassword>
  <Name>sample string 4</Name>
  <Notes>sample string 14</Notes>
  <PasswordCriteriaReference>
    <Type>Undefined</Type>
    <Url>sample string 2</Url>
    <Name>sample string 1</Name>
  </PasswordCriteriaReference>
  <PasswordExpires>true</PasswordExpires>
  <PasswordRequired>true</PasswordRequired>
  <PasswordTime>2024-11-22T08:54:22.5702649+01:00</PasswordTime>
  <RepositoryId>sample string 2</RepositoryId>
</Account>