GET api/ipwhitelist/query?pageSize={pageSize}&pageIndex={pageIndex}&key={key}&sort={sort}

加载Ip白名单列表

Request Information

URI Parameters

NameDescriptionTypeAdditional information
pageSize

integer

Default value is 10

pageIndex

integer

Default value is 1

key

用户编号

string

Default value is

sort

boolean

Default value is True

Body Parameters

None.

Response Information

Resource Description

加载Ip白名单列表

JsonRtnDtoOfPageResultOfIpWhiteListDto
NameDescriptionTypeAdditional information
Msg

string

None.

State

RtnState

None.

Data

PageResultOfIpWhiteListDto

None.

Response Formats

application/json, text/json

Sample:
{
  "Msg": "sample string 1",
  "State": 100,
  "Data": {
    "Value": [
      {
        "IpStart": "sample string 1",
        "IpEnd": "sample string 2",
        "Standalone": true,
        "Disabled": true,
        "CreatedTime": "2024-09-25T00:10:37.1872894+08:00"
      },
      {
        "IpStart": "sample string 1",
        "IpEnd": "sample string 2",
        "Standalone": true,
        "Disabled": true,
        "CreatedTime": "2024-09-25T00:10:37.1872894+08:00"
      }
    ],
    "PageIndex": 1,
    "PageSize": 2,
    "total": 3,
    "TotalPages": 4,
    "HasPreviousPage": false,
    "HasNextPage": true
  }
}

text/html

Sample:
{"Msg":"sample string 1","State":100,"Data":{"Value":[{"IpStart":"sample string 1","IpEnd":"sample string 2","Standalone":true,"Disabled":true,"CreatedTime":"2024-09-25T00:10:37.1872894+08:00"},{"IpStart":"sample string 1","IpEnd":"sample string 2","Standalone":true,"Disabled":true,"CreatedTime":"2024-09-25T00:10:37.1872894+08:00"}],"PageIndex":1,"PageSize":2,"total":3,"TotalPages":4,"HasPreviousPage":false,"HasNextPage":true}}

application/xml, text/xml

Sample:
<JsonRtnDtoOfPageResultOfIpWhiteListDtov3CTEUQJS_STz13wm xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BJ.Services">
  <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/BJ.Infrastructure">
    <d2p1:PageIndex>1</d2p1:PageIndex>
    <d2p1:PageSize>2</d2p1:PageSize>
    <d2p1:TotalPages>4</d2p1:TotalPages>
    <d2p1:total>3</d2p1:total>
    <d2p1:Value>
      <IpWhiteListDto>
        <CreatedTime>2024-09-25T00:10:37.1872894+08:00</CreatedTime>
        <Disabled>true</Disabled>
        <IpEnd>sample string 2</IpEnd>
        <IpStart>sample string 1</IpStart>
        <Standalone>true</Standalone>
      </IpWhiteListDto>
      <IpWhiteListDto>
        <CreatedTime>2024-09-25T00:10:37.1872894+08:00</CreatedTime>
        <Disabled>true</Disabled>
        <IpEnd>sample string 2</IpEnd>
        <IpStart>sample string 1</IpStart>
        <Standalone>true</Standalone>
      </IpWhiteListDto>
    </d2p1:Value>
  </Data>
  <Msg>sample string 1</Msg>
  <State>Display</State>
</JsonRtnDtoOfPageResultOfIpWhiteListDtov3CTEUQJS_STz13wm>

text/javascript, application/javascript, application/json-p

Sample:
/**/ typeof  === 'function' && ({"Msg":"sample string 1","State":100,"Data":{"Value":[{"IpStart":"sample string 1","IpEnd":"sample string 2","Standalone":true,"Disabled":true,"CreatedTime":"2024-09-25T00:10:37.1872894+08:00"},{"IpStart":"sample string 1","IpEnd":"sample string 2","Standalone":true,"Disabled":true,"CreatedTime":"2024-09-25T00:10:37.1872894+08:00"}],"PageIndex":1,"PageSize":2,"total":3,"TotalPages":4,"HasPreviousPage":false,"HasNextPage":true}});