POST {repositoryId}/PasswordCriteria
Creates a PasswordCriteria resource.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
repositoryId |
ID of the resource repository (optional). |
string |
Default value is |
Body Parameters
Data to create the new resource.
PasswordCriteriaName | Description | Type | Additional 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. |
Request 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>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
The created PasswordCriteria resource.
The "Location" Header in the HttpResponseMessage contains the new resource URL.
Name | Description | Type | Additional 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>