PUT {repositoryId}/Account/{id}

Updates an Account resource.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
repositoryId

ID of the resource repository (optional).

string

Default value is

id

The ID of the Account resource.

string

Required

Body Parameters

Data to update the 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.

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:48:09.010374+01:00",
  "LoginNumber": 11,
  "FailedAttempts": 12,
  "LatestFailedAttempt": "2024-11-22T08:48:09.010374+01:00",
  "Disabled": true,
  "DisableTime": "2024-11-22T08:48:09.010374+01:00",
  "PasswordTime": "2024-11-22T08:48:09.010374+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:48:09.010374+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:48:09.010374+01:00</LatestFailedAttempt>
  <LatestLoginTime>2024-11-22T08:48:09.010374+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:48:09.010374+01:00</PasswordTime>
  <RepositoryId>sample string 2</RepositoryId>
</Account>

application/x-www-form-urlencoded

Sample:

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.