Properties APIs
Check Ldap Property Uniqueness (POST)
Returns an information structure of type <see cref="ChangeResult"/> which indicates that a property value is unique or not.
Route
|
URI |
/api/v1/properties/ldap/uniqueness |
|
Method |
POST |
|
Result |
JSON – SimpleResultModel |
Request Payload
UniquenessConstraintModel object:
|
Property |
Type |
Mandatory |
Description |
|---|---|---|---|
|
PropertyName |
string |
No |
|
|
PropertyValue |
string |
No |
|
|
PropertyScope |
string |
No |
|
|
OpCode |
string |
No |
|
|
Context |
string |
No |
|
Response Structure Returns SimpleResultModel object containing:
-
Success: bool value
-
Message: string value
Example
POST http://localhost/api/v1/properties/ldap/uniqueness Content-Type: application/json
{
"PropertyName": "sample",
"PropertyValue": "sample",
"PropertyScope": "sample",
"OpCode": "sample",
"Context": "sample"
}
Example Response
{ "Success": true, "Message": "sample" }