POST api/resource/getresourcelist

Request Information

URI Parameters

None.

Body Parameters

ResourceSearchParameter
NameDescriptionTypeAdditional information
IncludeADUser

boolean

None.

IncludeNonADUser

boolean

None.

IncludeGroup

boolean

None.

ProcessDetailsID

integer

None.

ProcessID

integer

None.

SequenceID

integer

None.

Keyword

string

None.

DateFrom

date

None.

DateTo

date

None.

LoginUserId

integer

None.

IsPublicUser

boolean

None.

PublicAccountID

integer

None.

TenantID

integer

None.

PageNo

integer

None.

RowLimit

integer

None.

RecordCount

integer

None.

Offset

integer

None.

PageCount

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "IncludeADUser": true,
  "IncludeNonADUser": true,
  "IncludeGroup": true,
  "ProcessDetailsID": 4,
  "ProcessID": 5,
  "SequenceID": 6,
  "Keyword": "sample string 7",
  "DateFrom": "2025-10-26T11:18:19.4000068+08:00",
  "DateTo": "2025-10-26T11:18:19.4000068+08:00",
  "LoginUserId": 8,
  "IsPublicUser": true,
  "PublicAccountID": 10,
  "TenantID": 11,
  "PageNo": 12,
  "RowLimit": 13,
  "RecordCount": 14,
  "Offset": 143,
  "PageCount": 2
}

application/xml, text/xml

Sample:
<ResourceSearchParameter xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PTI.AF.DTO">
  <PageNo>12</PageNo>
  <RecordCount>14</RecordCount>
  <RowLimit>13</RowLimit>
  <DateFrom>2025-10-26T11:18:19.4000068+08:00</DateFrom>
  <DateTo>2025-10-26T11:18:19.4000068+08:00</DateTo>
  <IsPublicUser>true</IsPublicUser>
  <Keyword>sample string 7</Keyword>
  <LoginUserId>8</LoginUserId>
  <PublicAccountID>10</PublicAccountID>
  <TenantID>11</TenantID>
  <IncludeADUser>true</IncludeADUser>
  <IncludeGroup>true</IncludeGroup>
  <IncludeNonADUser>true</IncludeNonADUser>
  <ProcessDetailsID>4</ProcessDetailsID>
  <ProcessID>5</ProcessID>
  <SequenceID>6</SequenceID>
</ResourceSearchParameter>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'ResourceSearchParameter'.

Response Information

Resource Description

DTOPagerOfDTOSecurityPrincipalView
NameDescriptionTypeAdditional information
Data

Collection of DTOSecurityPrincipalView

None.

PageNo

integer

None.

RowLimit

integer

None.

RecordCount

integer

None.

Offset

integer

None.

PageCount

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "Data": [
    {
      "SecurityPrincipalID": 1,
      "ISID": 2,
      "Code": "sample string 3",
      "UserFullName": "sample string 4",
      "Username": "sample string 5",
      "Password": "sample string 6",
      "SecondaryPassQ": "sample string 7",
      "SecondaryPassA": "sample string 8",
      "EmailAddress": "sample string 9",
      "FlagExpires": true,
      "DateExpiry": "2025-10-26T11:18:19.4156086+08:00",
      "FlagIsLDAP": true,
      "LDAPName": "sample string 12",
      "SecurityPrincipalGUID": "sample string 13",
      "TenantID": 14,
      "Photo": "QEA=",
      "FlagDeleted": true,
      "MobileNo": "sample string 16",
      "LastLogin": "2025-10-26T11:18:19.4156086+08:00",
      "Groups": [
        {
          "SecurityGroupID": 1,
          "SecurityGroupName": "sample string 2",
          "Description": "sample string 3",
          "SupervisorName": "sample string 4",
          "FlagIsLDAP": true,
          "LDAPName": "sample string 6",
          "TenantID": 7,
          "ParentID": 8,
          "SecurityGroupSupervisorID": 9,
          "IsSystem": true,
          "Inactive": true,
          "FlagDeleted": true,
          "WorkUnit": 13,
          "TimePerUnit": 14,
          "Cost": 15.1
        },
        {
          "SecurityGroupID": 1,
          "SecurityGroupName": "sample string 2",
          "Description": "sample string 3",
          "SupervisorName": "sample string 4",
          "FlagIsLDAP": true,
          "LDAPName": "sample string 6",
          "TenantID": 7,
          "ParentID": 8,
          "SecurityGroupSupervisorID": 9,
          "IsSystem": true,
          "Inactive": true,
          "FlagDeleted": true,
          "WorkUnit": 13,
          "TimePerUnit": 14,
          "Cost": 15.1
        }
      ],
      "FlagLocked": true,
      "AllowEmailApproval": true
    },
    {
      "SecurityPrincipalID": 1,
      "ISID": 2,
      "Code": "sample string 3",
      "UserFullName": "sample string 4",
      "Username": "sample string 5",
      "Password": "sample string 6",
      "SecondaryPassQ": "sample string 7",
      "SecondaryPassA": "sample string 8",
      "EmailAddress": "sample string 9",
      "FlagExpires": true,
      "DateExpiry": "2025-10-26T11:18:19.4156086+08:00",
      "FlagIsLDAP": true,
      "LDAPName": "sample string 12",
      "SecurityPrincipalGUID": "sample string 13",
      "TenantID": 14,
      "Photo": "QEA=",
      "FlagDeleted": true,
      "MobileNo": "sample string 16",
      "LastLogin": "2025-10-26T11:18:19.4156086+08:00",
      "Groups": [
        {
          "SecurityGroupID": 1,
          "SecurityGroupName": "sample string 2",
          "Description": "sample string 3",
          "SupervisorName": "sample string 4",
          "FlagIsLDAP": true,
          "LDAPName": "sample string 6",
          "TenantID": 7,
          "ParentID": 8,
          "SecurityGroupSupervisorID": 9,
          "IsSystem": true,
          "Inactive": true,
          "FlagDeleted": true,
          "WorkUnit": 13,
          "TimePerUnit": 14,
          "Cost": 15.1
        },
        {
          "SecurityGroupID": 1,
          "SecurityGroupName": "sample string 2",
          "Description": "sample string 3",
          "SupervisorName": "sample string 4",
          "FlagIsLDAP": true,
          "LDAPName": "sample string 6",
          "TenantID": 7,
          "ParentID": 8,
          "SecurityGroupSupervisorID": 9,
          "IsSystem": true,
          "Inactive": true,
          "FlagDeleted": true,
          "WorkUnit": 13,
          "TimePerUnit": 14,
          "Cost": 15.1
        }
      ],
      "FlagLocked": true,
      "AllowEmailApproval": true
    }
  ],
  "PageNo": 1,
  "RowLimit": 2,
  "RecordCount": 3,
  "Offset": 0,
  "PageCount": 2
}

application/xml, text/xml

Sample:
<DTOPagerOfDTOSecurityPrincipalViewZLwk0agw xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PTI.AF.DTO">
  <PageNo>1</PageNo>
  <RecordCount>3</RecordCount>
  <RowLimit>2</RowLimit>
  <Data>
    <DTOSecurityPrincipalView>
      <AllowEmailApproval>true</AllowEmailApproval>
      <Code>sample string 3</Code>
      <DateExpiry>2025-10-26T11:18:19.4156086+08:00</DateExpiry>
      <EmailAddress>sample string 9</EmailAddress>
      <FlagDeleted>true</FlagDeleted>
      <FlagExpires>true</FlagExpires>
      <FlagIsLDAP>true</FlagIsLDAP>
      <FlagLocked>true</FlagLocked>
      <Groups>
        <DTOSecurityGroupView>
          <Cost>15.1</Cost>
          <Description>sample string 3</Description>
          <FlagDeleted>true</FlagDeleted>
          <FlagIsLDAP>true</FlagIsLDAP>
          <Inactive>true</Inactive>
          <IsSystem>true</IsSystem>
          <LDAPName>sample string 6</LDAPName>
          <ParentID>8</ParentID>
          <SecurityGroupID>1</SecurityGroupID>
          <SecurityGroupName>sample string 2</SecurityGroupName>
          <SecurityGroupSupervisorID>9</SecurityGroupSupervisorID>
          <SupervisorName>sample string 4</SupervisorName>
          <TenantID>7</TenantID>
          <TimePerUnit>14</TimePerUnit>
          <WorkUnit>13</WorkUnit>
        </DTOSecurityGroupView>
        <DTOSecurityGroupView>
          <Cost>15.1</Cost>
          <Description>sample string 3</Description>
          <FlagDeleted>true</FlagDeleted>
          <FlagIsLDAP>true</FlagIsLDAP>
          <Inactive>true</Inactive>
          <IsSystem>true</IsSystem>
          <LDAPName>sample string 6</LDAPName>
          <ParentID>8</ParentID>
          <SecurityGroupID>1</SecurityGroupID>
          <SecurityGroupName>sample string 2</SecurityGroupName>
          <SecurityGroupSupervisorID>9</SecurityGroupSupervisorID>
          <SupervisorName>sample string 4</SupervisorName>
          <TenantID>7</TenantID>
          <TimePerUnit>14</TimePerUnit>
          <WorkUnit>13</WorkUnit>
        </DTOSecurityGroupView>
      </Groups>
      <ISID>2</ISID>
      <LDAPName>sample string 12</LDAPName>
      <LastLogin>2025-10-26T11:18:19.4156086+08:00</LastLogin>
      <MobileNo>sample string 16</MobileNo>
      <Password>sample string 6</Password>
      <Photo>QEA=</Photo>
      <SecondaryPassA>sample string 8</SecondaryPassA>
      <SecondaryPassQ>sample string 7</SecondaryPassQ>
      <SecurityPrincipalGUID>sample string 13</SecurityPrincipalGUID>
      <SecurityPrincipalID>1</SecurityPrincipalID>
      <TenantID>14</TenantID>
      <UserFullName>sample string 4</UserFullName>
      <Username>sample string 5</Username>
    </DTOSecurityPrincipalView>
    <DTOSecurityPrincipalView>
      <AllowEmailApproval>true</AllowEmailApproval>
      <Code>sample string 3</Code>
      <DateExpiry>2025-10-26T11:18:19.4156086+08:00</DateExpiry>
      <EmailAddress>sample string 9</EmailAddress>
      <FlagDeleted>true</FlagDeleted>
      <FlagExpires>true</FlagExpires>
      <FlagIsLDAP>true</FlagIsLDAP>
      <FlagLocked>true</FlagLocked>
      <Groups>
        <DTOSecurityGroupView>
          <Cost>15.1</Cost>
          <Description>sample string 3</Description>
          <FlagDeleted>true</FlagDeleted>
          <FlagIsLDAP>true</FlagIsLDAP>
          <Inactive>true</Inactive>
          <IsSystem>true</IsSystem>
          <LDAPName>sample string 6</LDAPName>
          <ParentID>8</ParentID>
          <SecurityGroupID>1</SecurityGroupID>
          <SecurityGroupName>sample string 2</SecurityGroupName>
          <SecurityGroupSupervisorID>9</SecurityGroupSupervisorID>
          <SupervisorName>sample string 4</SupervisorName>
          <TenantID>7</TenantID>
          <TimePerUnit>14</TimePerUnit>
          <WorkUnit>13</WorkUnit>
        </DTOSecurityGroupView>
        <DTOSecurityGroupView>
          <Cost>15.1</Cost>
          <Description>sample string 3</Description>
          <FlagDeleted>true</FlagDeleted>
          <FlagIsLDAP>true</FlagIsLDAP>
          <Inactive>true</Inactive>
          <IsSystem>true</IsSystem>
          <LDAPName>sample string 6</LDAPName>
          <ParentID>8</ParentID>
          <SecurityGroupID>1</SecurityGroupID>
          <SecurityGroupName>sample string 2</SecurityGroupName>
          <SecurityGroupSupervisorID>9</SecurityGroupSupervisorID>
          <SupervisorName>sample string 4</SupervisorName>
          <TenantID>7</TenantID>
          <TimePerUnit>14</TimePerUnit>
          <WorkUnit>13</WorkUnit>
        </DTOSecurityGroupView>
      </Groups>
      <ISID>2</ISID>
      <LDAPName>sample string 12</LDAPName>
      <LastLogin>2025-10-26T11:18:19.4156086+08:00</LastLogin>
      <MobileNo>sample string 16</MobileNo>
      <Password>sample string 6</Password>
      <Photo>QEA=</Photo>
      <SecondaryPassA>sample string 8</SecondaryPassA>
      <SecondaryPassQ>sample string 7</SecondaryPassQ>
      <SecurityPrincipalGUID>sample string 13</SecurityPrincipalGUID>
      <SecurityPrincipalID>1</SecurityPrincipalID>
      <TenantID>14</TenantID>
      <UserFullName>sample string 4</UserFullName>
      <Username>sample string 5</Username>
    </DTOSecurityPrincipalView>
  </Data>
</DTOPagerOfDTOSecurityPrincipalViewZLwk0agw>