PUT Users/AuthPrivilege/{privilegeID}?validateOnly={validateOnly}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
privilegeID | integer |
Required |
|
validateOnly | boolean |
Default value is False |
Body Parameters
AuthPrivilegeDTOName | Description | Type | Additional information |
---|---|---|---|
PrivilegeID | integer |
None. |
|
AccessType | AuthPrivilegeAccessType |
None. |
|
Type | AuthPrivilegeType |
None. |
|
PrivilegeName | string |
None. |
|
ParentPrivilegeID | integer |
None. |
|
RecordState | RecordState |
None. |
|
Created | AuditDataDTO |
None. |
|
LastUpdated | AuditDataDTO |
None. |
|
AuthPrivilegeDependencies | Collection of AuthPrivilegeDependencyDTO |
None. |
|
AuthPrivilegeDependents | Collection of AuthPrivilegeDependencyDTO |
None. |
|
Summary | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "privilegeID": 1, "accessType": 1, "type": 1, "privilegeName": "sample string 2", "parentPrivilegeID": 1, "recordState": 1, "created": { "dateUtc": "2024-12-04T07:44:30.0918726+00:00", "userName": "sample string 2", "summary": "sample string 2 on 12/4/2024 7:44:30 AM" }, "lastUpdated": { "dateUtc": "2024-12-04T07:44:30.0918726+00:00", "userName": "sample string 2", "summary": "sample string 2 on 12/4/2024 7:44:30 AM" }, "authPrivilegeDependencies": [ { "privilegeID": 1, "dependentPrivilegeID": 2, "recordState": 1, "created": { "dateUtc": "2024-12-04T07:44:30.0918726+00:00", "userName": "sample string 2", "summary": "sample string 2 on 12/4/2024 7:44:30 AM" }, "lastUpdated": { "dateUtc": "2024-12-04T07:44:30.0918726+00:00", "userName": "sample string 2", "summary": "sample string 2 on 12/4/2024 7:44:30 AM" } }, { "privilegeID": 1, "dependentPrivilegeID": 2, "recordState": 1, "created": { "dateUtc": "2024-12-04T07:44:30.0918726+00:00", "userName": "sample string 2", "summary": "sample string 2 on 12/4/2024 7:44:30 AM" }, "lastUpdated": { "dateUtc": "2024-12-04T07:44:30.0918726+00:00", "userName": "sample string 2", "summary": "sample string 2 on 12/4/2024 7:44:30 AM" } } ], "authPrivilegeDependents": [ { "privilegeID": 1, "dependentPrivilegeID": 2, "recordState": 1, "created": { "dateUtc": "2024-12-04T07:44:30.0918726+00:00", "userName": "sample string 2", "summary": "sample string 2 on 12/4/2024 7:44:30 AM" }, "lastUpdated": { "dateUtc": "2024-12-04T07:44:30.0918726+00:00", "userName": "sample string 2", "summary": "sample string 2 on 12/4/2024 7:44:30 AM" } }, { "privilegeID": 1, "dependentPrivilegeID": 2, "recordState": 1, "created": { "dateUtc": "2024-12-04T07:44:30.0918726+00:00", "userName": "sample string 2", "summary": "sample string 2 on 12/4/2024 7:44:30 AM" }, "lastUpdated": { "dateUtc": "2024-12-04T07:44:30.0918726+00:00", "userName": "sample string 2", "summary": "sample string 2 on 12/4/2024 7:44:30 AM" } } ], "summary": "Api - sample string 2" }
application/xml, text/xml
Sample:
<AuthPrivilegeDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ProcuraGroup.Models.Auth"> <AccessType>Api</AccessType> <AuthPrivilegeDependencies> <AuthPrivilegeDependencyDTO> <Created xmlns:d4p1="http://schemas.datacontract.org/2004/07/ProcuraGroup.Models"> <d4p1:DateUtc>2024-12-04T07:44:30.0918726+00:00</d4p1:DateUtc> <d4p1:UserName>sample string 2</d4p1:UserName> </Created> <DependentPrivilegeID>2</DependentPrivilegeID> <LastUpdated xmlns:d4p1="http://schemas.datacontract.org/2004/07/ProcuraGroup.Models"> <d4p1:DateUtc>2024-12-04T07:44:30.0918726+00:00</d4p1:DateUtc> <d4p1:UserName>sample string 2</d4p1:UserName> </LastUpdated> <PrivilegeID>1</PrivilegeID> <RecordState>Active</RecordState> </AuthPrivilegeDependencyDTO> <AuthPrivilegeDependencyDTO> <Created xmlns:d4p1="http://schemas.datacontract.org/2004/07/ProcuraGroup.Models"> <d4p1:DateUtc>2024-12-04T07:44:30.0918726+00:00</d4p1:DateUtc> <d4p1:UserName>sample string 2</d4p1:UserName> </Created> <DependentPrivilegeID>2</DependentPrivilegeID> <LastUpdated xmlns:d4p1="http://schemas.datacontract.org/2004/07/ProcuraGroup.Models"> <d4p1:DateUtc>2024-12-04T07:44:30.0918726+00:00</d4p1:DateUtc> <d4p1:UserName>sample string 2</d4p1:UserName> </LastUpdated> <PrivilegeID>1</PrivilegeID> <RecordState>Active</RecordState> </AuthPrivilegeDependencyDTO> </AuthPrivilegeDependencies> <AuthPrivilegeDependents> <AuthPrivilegeDependencyDTO> <Created xmlns:d4p1="http://schemas.datacontract.org/2004/07/ProcuraGroup.Models"> <d4p1:DateUtc>2024-12-04T07:44:30.0918726+00:00</d4p1:DateUtc> <d4p1:UserName>sample string 2</d4p1:UserName> </Created> <DependentPrivilegeID>2</DependentPrivilegeID> <LastUpdated xmlns:d4p1="http://schemas.datacontract.org/2004/07/ProcuraGroup.Models"> <d4p1:DateUtc>2024-12-04T07:44:30.0918726+00:00</d4p1:DateUtc> <d4p1:UserName>sample string 2</d4p1:UserName> </LastUpdated> <PrivilegeID>1</PrivilegeID> <RecordState>Active</RecordState> </AuthPrivilegeDependencyDTO> <AuthPrivilegeDependencyDTO> <Created xmlns:d4p1="http://schemas.datacontract.org/2004/07/ProcuraGroup.Models"> <d4p1:DateUtc>2024-12-04T07:44:30.0918726+00:00</d4p1:DateUtc> <d4p1:UserName>sample string 2</d4p1:UserName> </Created> <DependentPrivilegeID>2</DependentPrivilegeID> <LastUpdated xmlns:d4p1="http://schemas.datacontract.org/2004/07/ProcuraGroup.Models"> <d4p1:DateUtc>2024-12-04T07:44:30.0918726+00:00</d4p1:DateUtc> <d4p1:UserName>sample string 2</d4p1:UserName> </LastUpdated> <PrivilegeID>1</PrivilegeID> <RecordState>Active</RecordState> </AuthPrivilegeDependencyDTO> </AuthPrivilegeDependents> <Created xmlns:d2p1="http://schemas.datacontract.org/2004/07/ProcuraGroup.Models"> <d2p1:DateUtc>2024-12-04T07:44:30.0918726+00:00</d2p1:DateUtc> <d2p1:UserName>sample string 2</d2p1:UserName> </Created> <LastUpdated xmlns:d2p1="http://schemas.datacontract.org/2004/07/ProcuraGroup.Models"> <d2p1:DateUtc>2024-12-04T07:44:30.0918726+00:00</d2p1:DateUtc> <d2p1:UserName>sample string 2</d2p1:UserName> </LastUpdated> <ParentPrivilegeID>1</ParentPrivilegeID> <PrivilegeID>1</PrivilegeID> <PrivilegeName>sample string 2</PrivilegeName> <RecordState>Active</RecordState> <Type>Page</Type> </AuthPrivilegeDTO>
application/x-www-form-urlencoded
Sample:
Sample not available.
application/x-compressed-json
Sample:
� ��J1�_%��];���z�`)؞���5���$+��Oփ��+�m)x𠰷?�?�_�e��쓭iE��UJk�q���~L����&�@T�����[1١�4;�����'�>rt�, �-�,I�0�\�/Q�q$��C�ě�zį.%b�o#���c�4*lNkl�X�b�ւ����j��2�j��ބ<9CN[� N��� ߁��O����C]����oq�����볱��d���+�v��>
Response Information
Resource Description
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |