POST {repositoryId}/AccountCriteria

Creates an AccountCriteria resource.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
repositoryId

ID of the resource repository (optional).

string

Default value is

Body Parameters

Data to create the new 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

The created AccountCriteria resource.
The "Location" Header in the HttpResponseMessage contains the new resource URL.

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.

Response 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>