GET api/Person/GetPersonAvatars?CookCode={CookCode}&CusIDs={CusIDs}

【可用】登录用户--获取一批用户的头像和昵称

Request Information

URI Parameters

NameDescriptionTypeAdditional information
CookCode

当前登录用户Cookcode

string

Required

CusIDs

要获取的用户头像、昵称的ID,多个用逗号相隔

string

Required

Body Parameters

None.

Response Information

Resource Description

RequestResultOfListOfPersonShort
NameDescriptionTypeAdditional information
ResultCode

integer

None.

Message

string

None.

Data

Collection of PersonShort

None.

Response Formats

application/json, text/json

Sample:
{
  "ResultCode": 1,
  "Message": "sample string 2",
  "Data": [
    {
      "PersonId": 1,
      "NickName": "sample string 2",
      "Avatar": "sample string 3"
    },
    {
      "PersonId": 1,
      "NickName": "sample string 2",
      "Avatar": "sample string 3"
    }
  ]
}

text/html

Sample:
{"ResultCode":1,"Message":"sample string 2","Data":[{"PersonId":1,"NickName":"sample string 2","Avatar":"sample string 3"},{"PersonId":1,"NickName":"sample string 2","Avatar":"sample string 3"}]}

application/xml, text/xml

Sample:
<RequestResultOfArrayOfPersonShortF1mVFRMZ xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MF.Common">
  <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/MF.Models.Models">
    <d2p1:PersonShort>
      <d2p1:Avatar>sample string 3</d2p1:Avatar>
      <d2p1:NickName>sample string 2</d2p1:NickName>
      <d2p1:PersonId>1</d2p1:PersonId>
    </d2p1:PersonShort>
    <d2p1:PersonShort>
      <d2p1:Avatar>sample string 3</d2p1:Avatar>
      <d2p1:NickName>sample string 2</d2p1:NickName>
      <d2p1:PersonId>1</d2p1:PersonId>
    </d2p1:PersonShort>
  </Data>
  <Message>sample string 2</Message>
  <ResultCode>1</ResultCode>
</RequestResultOfArrayOfPersonShortF1mVFRMZ>