PUT {repositoryId}/AccountCriteria/{id}

Updates an AccountCriteria resource.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
repositoryId

ID of the resource repository (optional).

string

Default value is

id

The ID of the AccountCriteria resource.

string

Required

Body Parameters

Data to update the resource.

AccountCriteria
NameDescriptionTypeAdditional information
Id

string

None.

RepositoryId

string

None.

ObjectType

Types

None.

Name

string

None.

DisableThreshold

integer

None.

DisableDuration

integer

None.

ResetTimeout

integer

None.

MaxActiveLogins

integer

None.

MaxInactivityDays

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": "sample string 1",
  "RepositoryId": "sample string 2",
  "ObjectType": 117,
  "Name": "sample string 3",
  "DisableThreshold": 4,
  "DisableDuration": 5,
  "ResetTimeout": 6,
  "MaxActiveLogins": 7,
  "MaxInactivityDays": 8
}

application/xml, text/xml

Sample:
<AccountCriteria xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.openworkbpm.com/schema">
  <DisableDuration>5</DisableDuration>
  <DisableThreshold>4</DisableThreshold>
  <Id>sample string 1</Id>
  <MaxActiveLogins>7</MaxActiveLogins>
  <MaxInactivityDays>8</MaxInactivityDays>
  <Name>sample string 3</Name>
  <ObjectType>AccountCriteria</ObjectType>
  <RepositoryId>sample string 2</RepositoryId>
  <ResetTimeout>6</ResetTimeout>
</AccountCriteria>

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.