POST api/Privilege/Search
Request Information
URI Parameters
None.
Body Parameters
PrivilegeDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | globally unique identifier |
None. |
|
| Name | string |
Required Matching regular expression pattern: ([a-zA-Z]).{3,50}$|[\u0621-\u064A].{3,50} String length: inclusive between 2 and 50 |
|
| NameOther | string |
Required Matching regular expression pattern: ([a-zA-Z]).{3,18}$|[\u0621-\u064A].{3,18} String length: inclusive between 2 and 50 |
|
| Description | string |
String length: inclusive between 0 and 225 |
|
| DescriptionOther | string |
String length: inclusive between 0 and 225 |
|
| ControlId | string |
String length: inclusive between 0 and 50 |
|
| IsActive | boolean |
Required |
Request Formats
application/json, text/json
{
"Id": "64d6823f-3897-44e6-90a4-ce7821e7f066",
"Name": "sample string 2",
"NameOther": "sample string 3",
"Description": "sample string 4",
"DescriptionOther": "sample string 5",
"ControlId": "sample string 6",
"IsActive": true
}
application/xml, text/xml
<PrivilegeDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Components.UserManagement.DTO"> <ControlId>sample string 6</ControlId> <Description>sample string 4</Description> <DescriptionOther>sample string 5</DescriptionOther> <Id>64d6823f-3897-44e6-90a4-ce7821e7f066</Id> <IsActive>true</IsActive> <Name>sample string 2</Name> <NameOther>sample string 3</NameOther> </PrivilegeDTO>
application/x-www-form-urlencoded
Response Information
Resource Description
PrivilegeDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | globally unique identifier |
None. |
|
| Name | string |
Required Matching regular expression pattern: ([a-zA-Z]).{3,50}$|[\u0621-\u064A].{3,50} String length: inclusive between 2 and 50 |
|
| NameOther | string |
Required Matching regular expression pattern: ([a-zA-Z]).{3,18}$|[\u0621-\u064A].{3,18} String length: inclusive between 2 and 50 |
|
| Description | string |
String length: inclusive between 0 and 225 |
|
| DescriptionOther | string |
String length: inclusive between 0 and 225 |
|
| ControlId | string |
String length: inclusive between 0 and 50 |
|
| IsActive | boolean |
Required |
Response Formats
application/json, text/json
{
"Id": "68bc3f76-3a82-4556-bade-3eef8945f470",
"Name": "sample string 2",
"NameOther": "sample string 3",
"Description": "sample string 4",
"DescriptionOther": "sample string 5",
"ControlId": "sample string 6",
"IsActive": true
}
application/xml, text/xml
<PrivilegeDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Components.UserManagement.DTO"> <ControlId>sample string 6</ControlId> <Description>sample string 4</Description> <DescriptionOther>sample string 5</DescriptionOther> <Id>68bc3f76-3a82-4556-bade-3eef8945f470</Id> <IsActive>true</IsActive> <Name>sample string 2</Name> <NameOther>sample string 3</NameOther> </PrivilegeDTO>