GET api/tradeService/GetPaged

Request Information

URI Parameters

None.

Body Parameters

TradeSearchDto
NameDescriptionTypeAdditional information
Name

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",
  "skipCount": 2,
  "maxResultCount": 3,
  "pageIndex": 4,
  "pageSize": 5
}

application/xml, text/xml

Sample:
<TradeSearchDto 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>
  <Name>sample string 1</Name>
</TradeSearchDto>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ReturnResultOfPagedResultOfTradeModelDto
NameDescriptionTypeAdditional information
Status

integer

None.

Success

boolean

None.

Data

PagedResultOfTradeModelDto

None.

Message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "status": 1,
  "success": true,
  "data": {
    "totalCount": 1,
    "items": [
      {
        "name": "sample string 1",
        "loginName": "sample string 2",
        "password": "sample string 3",
        "address": "sample string 4",
        "age": 5,
        "createDate": "sample string 6",
        "id": "7",
        "pageIndex": 8,
        "pageSize": 9
      },
      {
        "name": "sample string 1",
        "loginName": "sample string 2",
        "password": "sample string 3",
        "address": "sample string 4",
        "age": 5,
        "createDate": "sample string 6",
        "id": "7",
        "pageIndex": 8,
        "pageSize": 9
      }
    ]
  },
  "message": "sample string 3"
}

application/xml, text/xml

Sample:
<ReturnResultOfPagedResultOfTradeModelDtoXT0r93n9DN9A7J8d 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">
      <d3p1:TradeModelDto>
        <d2p1:Id>7</d2p1:Id>
        <d2p1:PageIndex>8</d2p1:PageIndex>
        <d2p1:PageSize>9</d2p1:PageSize>
        <d3p1:Address>sample string 4</d3p1:Address>
        <d3p1:Age>5</d3p1:Age>
        <d3p1:CreateDate>sample string 6</d3p1:CreateDate>
        <d3p1:LoginName>sample string 2</d3p1:LoginName>
        <d3p1:Name>sample string 1</d3p1:Name>
        <d3p1:Password>sample string 3</d3p1:Password>
      </d3p1:TradeModelDto>
      <d3p1:TradeModelDto>
        <d2p1:Id>7</d2p1:Id>
        <d2p1:PageIndex>8</d2p1:PageIndex>
        <d2p1:PageSize>9</d2p1:PageSize>
        <d3p1:Address>sample string 4</d3p1:Address>
        <d3p1:Age>5</d3p1:Age>
        <d3p1:CreateDate>sample string 6</d3p1:CreateDate>
        <d3p1:LoginName>sample string 2</d3p1:LoginName>
        <d3p1:Name>sample string 1</d3p1:Name>
        <d3p1:Password>sample string 3</d3p1:Password>
      </d3p1:TradeModelDto>
    </d2p1:items>
    <d2p1:totalCount>1</d2p1:totalCount>
  </Data>
  <Message>sample string 3</Message>
  <Status>1</Status>
  <Success>true</Success>
</ReturnResultOfPagedResultOfTradeModelDtoXT0r93n9DN9A7J8d>