GET {repositoryId}/PasswordCriteria/New

Returns a new PasswordCriteria resource.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
repositoryId

ID of the resource repository (optional).

string

Default value is

Body Parameters

None.

Response Information

Resource Description

A new instance of an PasswordCriteria resource.

PasswordCriteria
NameDescriptionTypeAdditional information
Id

string

None.

RepositoryId

string

None.

ObjectType

Types

None.

Name

string

None.

CaseSensitive

boolean

None.

MinCharacters

integer

None.

ComplexityRequirements

boolean

None.

Pattern

string

None.

MaxAge

integer

None.

EnforceHistory

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "Id": "sample string 1",
  "RepositoryId": "sample string 2",
  "ObjectType": 118,
  "Name": "sample string 3",
  "CaseSensitive": true,
  "MinCharacters": 5,
  "ComplexityRequirements": true,
  "Pattern": "sample string 7",
  "MaxAge": 8,
  "EnforceHistory": 9
}

application/xml, text/xml

Sample:
<PasswordCriteria xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.openworkbpm.com/schema">
  <CaseSensitive>true</CaseSensitive>
  <ComplexityRequirements>true</ComplexityRequirements>
  <EnforceHistory>9</EnforceHistory>
  <Id>sample string 1</Id>
  <MaxAge>8</MaxAge>
  <MinCharacters>5</MinCharacters>
  <Name>sample string 3</Name>
  <ObjectType>PasswordCriteria</ObjectType>
  <Pattern>sample string 7</Pattern>
  <RepositoryId>sample string 2</RepositoryId>
</PasswordCriteria>