POST Users/AuthPrivilege?validateOnly={validateOnly}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
validateOnly

boolean

Default value is False

Body Parameters

AuthPrivilegeDTO
NameDescriptionTypeAdditional 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-04T08:10:02.944768+00:00",
    "userName": "sample string 2",
    "summary": "sample string 2 on 12/4/2024 8:10:02 AM"
  },
  "lastUpdated": {
    "dateUtc": "2024-12-04T08:10:02.944768+00:00",
    "userName": "sample string 2",
    "summary": "sample string 2 on 12/4/2024 8:10:02 AM"
  },
  "authPrivilegeDependencies": [
    {
      "privilegeID": 1,
      "dependentPrivilegeID": 2,
      "recordState": 1,
      "created": {
        "dateUtc": "2024-12-04T08:10:02.944768+00:00",
        "userName": "sample string 2",
        "summary": "sample string 2 on 12/4/2024 8:10:02 AM"
      },
      "lastUpdated": {
        "dateUtc": "2024-12-04T08:10:02.944768+00:00",
        "userName": "sample string 2",
        "summary": "sample string 2 on 12/4/2024 8:10:02 AM"
      }
    },
    {
      "privilegeID": 1,
      "dependentPrivilegeID": 2,
      "recordState": 1,
      "created": {
        "dateUtc": "2024-12-04T08:10:02.944768+00:00",
        "userName": "sample string 2",
        "summary": "sample string 2 on 12/4/2024 8:10:02 AM"
      },
      "lastUpdated": {
        "dateUtc": "2024-12-04T08:10:02.944768+00:00",
        "userName": "sample string 2",
        "summary": "sample string 2 on 12/4/2024 8:10:02 AM"
      }
    }
  ],
  "authPrivilegeDependents": [
    {
      "privilegeID": 1,
      "dependentPrivilegeID": 2,
      "recordState": 1,
      "created": {
        "dateUtc": "2024-12-04T08:10:02.944768+00:00",
        "userName": "sample string 2",
        "summary": "sample string 2 on 12/4/2024 8:10:02 AM"
      },
      "lastUpdated": {
        "dateUtc": "2024-12-04T08:10:02.944768+00:00",
        "userName": "sample string 2",
        "summary": "sample string 2 on 12/4/2024 8:10:02 AM"
      }
    },
    {
      "privilegeID": 1,
      "dependentPrivilegeID": 2,
      "recordState": 1,
      "created": {
        "dateUtc": "2024-12-04T08:10:02.944768+00:00",
        "userName": "sample string 2",
        "summary": "sample string 2 on 12/4/2024 8:10:02 AM"
      },
      "lastUpdated": {
        "dateUtc": "2024-12-04T08:10:02.944768+00:00",
        "userName": "sample string 2",
        "summary": "sample string 2 on 12/4/2024 8:10:02 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-04T08:10:02.944768+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-04T08:10:02.944768+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-04T08:10:02.944768+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-04T08:10:02.944768+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-04T08:10:02.944768+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-04T08:10:02.944768+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-04T08:10:02.944768+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-04T08:10:02.944768+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-04T08:10:02.944768+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-04T08:10:02.944768+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�_%��]�
Akn�^<(ۓ���vӐ�J�'��#�
F�E[
zhao�$������Bt+W��Ǡ��1��t���=�&�@�M��%��/����=M�x�2�'���1���6`����0��,+Qr9�CUq������7�+���m�x�uj�F���[zV��|v`[4=@W@�͂=�itK/����[��a�|�Kvk������4]�Gz�H�Gv��
�7�""��~6
��l�}UT�4

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.