GET api/v1/Activity/GetUserGameProps?activityId={activityId}

[需登录]获取游戏道具

请求信息(Request)

URI 参数

名称描述类型备注
activityId

活动id

integer

Required

Body 参数

None.

响应信息(Response)

资源描述

道具列表

RequestResultOfIEnumerableOfGameUserPropDTO
名称描述类型备注
Data

GameUserPropDTO 集合

None.

Status

状态(0:成功,1:失败)

integer

None.

Message

导致失败的相关消息

string

None.

Total

集合总数,用于分页时使用

integer

None.

响应格式

application/json, text/json

Sample:
{
  "Data": [
    {
      "ID": 1,
      "ActivityId": 2,
      "UserId": 3,
      "PropId": 4,
      "PropName": "sample string 5",
      "PropAddition": 6.0,
      "TotalCount": 7,
      "RemainCount": 8,
      "StartTime": "2025-06-19T22:16:55.5829745+08:00",
      "EndTime": "2025-06-19T22:16:55.5829745+08:00",
      "Reason": "sample string 9",
      "FromId": "sample string 10",
      "AddByUid": 11,
      "AddByUname": "sample string 12",
      "CreateTime": "2025-06-19T22:16:55.5829745+08:00"
    },
    {
      "ID": 1,
      "ActivityId": 2,
      "UserId": 3,
      "PropId": 4,
      "PropName": "sample string 5",
      "PropAddition": 6.0,
      "TotalCount": 7,
      "RemainCount": 8,
      "StartTime": "2025-06-19T22:16:55.5829745+08:00",
      "EndTime": "2025-06-19T22:16:55.5829745+08:00",
      "Reason": "sample string 9",
      "FromId": "sample string 10",
      "AddByUid": 11,
      "AddByUname": "sample string 12",
      "CreateTime": "2025-06-19T22:16:55.5829745+08:00"
    }
  ],
  "Status": 1,
  "Message": "sample string 2",
  "Total": 3
}

application/xml, text/xml

Sample:
<RequestResultOfArrayOfGameUserPropDTO6NgmDdgv xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WLife.Application">
  <Message>sample string 2</Message>
  <Status>1</Status>
  <Total>3</Total>
  <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/WLife.Application.DTOs">
    <d2p1:GameUserPropDTO>
      <d2p1:ActivityId>2</d2p1:ActivityId>
      <d2p1:AddByUid>11</d2p1:AddByUid>
      <d2p1:AddByUname>sample string 12</d2p1:AddByUname>
      <d2p1:CreateTime>2025-06-19T22:16:55.5829745+08:00</d2p1:CreateTime>
      <d2p1:EndTime>2025-06-19T22:16:55.5829745+08:00</d2p1:EndTime>
      <d2p1:FromId>sample string 10</d2p1:FromId>
      <d2p1:ID>1</d2p1:ID>
      <d2p1:PropAddition>6</d2p1:PropAddition>
      <d2p1:PropId>4</d2p1:PropId>
      <d2p1:PropName>sample string 5</d2p1:PropName>
      <d2p1:Reason>sample string 9</d2p1:Reason>
      <d2p1:RemainCount>8</d2p1:RemainCount>
      <d2p1:StartTime>2025-06-19T22:16:55.5829745+08:00</d2p1:StartTime>
      <d2p1:TotalCount>7</d2p1:TotalCount>
      <d2p1:UserId>3</d2p1:UserId>
    </d2p1:GameUserPropDTO>
    <d2p1:GameUserPropDTO>
      <d2p1:ActivityId>2</d2p1:ActivityId>
      <d2p1:AddByUid>11</d2p1:AddByUid>
      <d2p1:AddByUname>sample string 12</d2p1:AddByUname>
      <d2p1:CreateTime>2025-06-19T22:16:55.5829745+08:00</d2p1:CreateTime>
      <d2p1:EndTime>2025-06-19T22:16:55.5829745+08:00</d2p1:EndTime>
      <d2p1:FromId>sample string 10</d2p1:FromId>
      <d2p1:ID>1</d2p1:ID>
      <d2p1:PropAddition>6</d2p1:PropAddition>
      <d2p1:PropId>4</d2p1:PropId>
      <d2p1:PropName>sample string 5</d2p1:PropName>
      <d2p1:Reason>sample string 9</d2p1:Reason>
      <d2p1:RemainCount>8</d2p1:RemainCount>
      <d2p1:StartTime>2025-06-19T22:16:55.5829745+08:00</d2p1:StartTime>
      <d2p1:TotalCount>7</d2p1:TotalCount>
      <d2p1:UserId>3</d2p1:UserId>
    </d2p1:GameUserPropDTO>
  </Data>
</RequestResultOfArrayOfGameUserPropDTO6NgmDdgv>