POST {repositoryId}/Account?password={password}
Creates an Account resource.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
password |
The password associated with the new account. |
string |
Default value is |
repositoryId |
ID of the resource repository (optional). |
string |
Default value is |
Body Parameters
Data to create the new resource.
AccountName | Description | Type | Additional 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. |
Request 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:07:41.4416828+01:00", "LoginNumber": 11, "FailedAttempts": 12, "LatestFailedAttempt": "2024-11-22T08:07:41.4416828+01:00", "Disabled": true, "DisableTime": "2024-11-22T08:07:41.4416828+01:00", "PasswordTime": "2024-11-22T08:07:41.4416828+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:07:41.4416828+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:07:41.4416828+01:00</LatestFailedAttempt> <LatestLoginTime>2024-11-22T08:07:41.4416828+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:07:41.4416828+01:00</PasswordTime> <RepositoryId>sample string 2</RepositoryId> </Account>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
The created Account resource.
The "Location" Header in the HttpResponseMessage contains the new resource URL.
Name | Description | Type | Additional 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:07:41.4416828+01:00", "LoginNumber": 11, "FailedAttempts": 12, "LatestFailedAttempt": "2024-11-22T08:07:41.4416828+01:00", "Disabled": true, "DisableTime": "2024-11-22T08:07:41.4416828+01:00", "PasswordTime": "2024-11-22T08:07:41.4416828+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:07:41.4416828+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:07:41.4416828+01:00</LatestFailedAttempt> <LatestLoginTime>2024-11-22T08:07:41.4416828+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:07:41.4416828+01:00</PasswordTime> <RepositoryId>sample string 2</RepositoryId> </Account>