POST api/user/GetPaged

Request Information

URI Parameters

None.

Body Parameters

UserSearchDto
NameDescriptionTypeAdditional information
Name

string

None.

StartDate

date

None.

EndDate

date

None.

EffectiveDate

Collection of string

None.

SkipCount

integer

None.

MaxResultCount

integer

None.

PageIndex

integer

None.

PageSize

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "name": "sample string 1",
  "startDate": null,
  "endDate": null,
  "effectiveDate": [
    "sample string 1",
    "sample string 2"
  ],
  "skipCount": 2,
  "maxResultCount": 3,
  "pageIndex": 4,
  "pageSize": 5
}

application/xml, text/xml

Sample:
<UserSearchDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Epass.Vue.WebApi.Models.Search">
  <MaxResultCount xmlns="http://schemas.datacontract.org/2004/07/Epass.Vue.WebApi.Models">3</MaxResultCount>
  <PageIndex xmlns="http://schemas.datacontract.org/2004/07/Epass.Vue.WebApi.Models">4</PageIndex>
  <PageSize xmlns="http://schemas.datacontract.org/2004/07/Epass.Vue.WebApi.Models">5</PageSize>
  <SkipCount xmlns="http://schemas.datacontract.org/2004/07/Epass.Vue.WebApi.Models">2</SkipCount>
  <EffectiveDate xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </EffectiveDate>
  <Name>sample string 1</Name>
</UserSearchDto>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ReturnResultOfPagedResultOfUserModelDto
NameDescriptionTypeAdditional information
Status

integer

None.

Success

boolean

None.

Data

PagedResultOfUserModelDto

None.

Message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "status": 1,
  "success": true,
  "data": {
    "totalCount": 1,
    "items": [
      {
        "name": "sample string 1",
        "no": 2,
        "age": 3,
        "address": "sample string 4",
        "loginName": "sample string 5",
        "password": "sample string 6",
        "createDate": "2024-11-21 16:44:52",
        "iphone": "sample string 8",
        "id": "9",
        "pageIndex": 10,
        "pageSize": 11
      },
      {
        "name": "sample string 1",
        "no": 2,
        "age": 3,
        "address": "sample string 4",
        "loginName": "sample string 5",
        "password": "sample string 6",
        "createDate": "2024-11-21 16:44:52",
        "iphone": "sample string 8",
        "id": "9",
        "pageIndex": 10,
        "pageSize": 11
      }
    ]
  },
  "message": "sample string 3"
}

application/xml, text/xml

Sample:
<ReturnResultOfPagedResultOfUserModelDtofKi9ODaCDN9A7J8d xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Epass.Model">
  <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/Epass.Vue.WebApi.Models">
    <d2p1:items xmlns:d3p1="http://schemas.datacontract.org/2004/07/Epass.Vue.WebApi.Models.Dto.User">
      <d3p1:UserModelDto>
        <d2p1:Id>9</d2p1:Id>
        <d2p1:PageIndex>10</d2p1:PageIndex>
        <d2p1:PageSize>11</d2p1:PageSize>
        <d3p1:Address>sample string 4</d3p1:Address>
        <d3p1:Age>3</d3p1:Age>
        <d3p1:CreateDate>2024-11-21T16:44:52.1694666+08:00</d3p1:CreateDate>
        <d3p1:Iphone>sample string 8</d3p1:Iphone>
        <d3p1:LoginName>sample string 5</d3p1:LoginName>
        <d3p1:Name>sample string 1</d3p1:Name>
        <d3p1:No>2</d3p1:No>
        <d3p1:Password>sample string 6</d3p1:Password>
      </d3p1:UserModelDto>
      <d3p1:UserModelDto>
        <d2p1:Id>9</d2p1:Id>
        <d2p1:PageIndex>10</d2p1:PageIndex>
        <d2p1:PageSize>11</d2p1:PageSize>
        <d3p1:Address>sample string 4</d3p1:Address>
        <d3p1:Age>3</d3p1:Age>
        <d3p1:CreateDate>2024-11-21T16:44:52.1694666+08:00</d3p1:CreateDate>
        <d3p1:Iphone>sample string 8</d3p1:Iphone>
        <d3p1:LoginName>sample string 5</d3p1:LoginName>
        <d3p1:Name>sample string 1</d3p1:Name>
        <d3p1:No>2</d3p1:No>
        <d3p1:Password>sample string 6</d3p1:Password>
      </d3p1:UserModelDto>
    </d2p1:items>
    <d2p1:totalCount>1</d2p1:totalCount>
  </Data>
  <Message>sample string 3</Message>
  <Status>1</Status>
  <Success>true</Success>
</ReturnResultOfPagedResultOfUserModelDtofKi9ODaCDN9A7J8d>