GET v2/country/caring?coparterid={coparterid}&pageIndex={pageIndex}&pageSize={pageSize}

获取乡贤爱心榜列表。

Request Information

URI Parameters

NameDescriptionTypeAdditional information
coparterid

string

Required

pageIndex

integer

Required

pageSize

integer

Default value is 10

Body Parameters

None.

Response Information

Resource Description

ResponseModelOfListOfCaringIndexModel
NameDescriptionTypeAdditional information
ok

boolean

None.

data

Collection of CaringIndexModel

None.

status_code

HttpStatusCode

None.

inner_code

integer

None.

descr

string

None.

count

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "ok": true,
  "data": [
    {
      "name": "sample string 1",
      "avatar": "sample string 2",
      "village": "sample string 3",
      "number": 4,
      "phone": "sample string 5",
      "donated_amount": 6
    },
    {
      "name": "sample string 1",
      "avatar": "sample string 2",
      "village": "sample string 3",
      "number": 4,
      "phone": "sample string 5",
      "donated_amount": 6
    }
  ],
  "status_code": 100,
  "inner_code": 2,
  "descr": "sample string 3",
  "count": 4
}

application/xml, text/xml

Sample:
<ResponseModelOfArrayOfCaringIndexModelPlMCpZiN xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Waiter.Mall.Apis.Models.V2._0">
  <count>4</count>
  <data xmlns:d2p1="http://schemas.datacontract.org/2004/07/Waiter.Mall.Apis.Models.V2._0.CountryCircle">
    <d2p1:CaringIndexModel>
      <d2p1:avatar>sample string 2</d2p1:avatar>
      <d2p1:donated_amount>6</d2p1:donated_amount>
      <d2p1:name>sample string 1</d2p1:name>
      <d2p1:number>4</d2p1:number>
      <d2p1:phone>sample string 5</d2p1:phone>
      <d2p1:village>sample string 3</d2p1:village>
    </d2p1:CaringIndexModel>
    <d2p1:CaringIndexModel>
      <d2p1:avatar>sample string 2</d2p1:avatar>
      <d2p1:donated_amount>6</d2p1:donated_amount>
      <d2p1:name>sample string 1</d2p1:name>
      <d2p1:number>4</d2p1:number>
      <d2p1:phone>sample string 5</d2p1:phone>
      <d2p1:village>sample string 3</d2p1:village>
    </d2p1:CaringIndexModel>
  </data>
  <descr>sample string 3</descr>
  <inner_code>2</inner_code>
  <ok>true</ok>
  <status_code>Continue</status_code>
</ResponseModelOfArrayOfCaringIndexModelPlMCpZiN>