POST api/AKService/GetSendGift?uid={uid}&roomid={roomid}&action={action}&time={time}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
uid

integer

Default value is 0

roomid

integer

Default value is 0

action

integer

Default value is 0

time

integer

Default value is 0

Body Parameters

None.

Response Information

Resource Description

AngellAPIResultOfRoomGiftObject
NameDescriptionTypeAdditional information
Result

RoomGiftObject

None.

IsOperationSuccess

boolean

None.

ErrorMessage

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Result": {
    "roomID": 1,
    "gifts": [
      {
        "id": 1,
        "uid": 2,
        "username": "sample string 3",
        "giftid": 4,
        "giftname": "sample string 5",
        "gifturl": "sample string 6",
        "userphoto": "sample string 7",
        "giftcount": 8,
        "time": 9
      },
      {
        "id": 1,
        "uid": 2,
        "username": "sample string 3",
        "giftid": 4,
        "giftname": "sample string 5",
        "gifturl": "sample string 6",
        "userphoto": "sample string 7",
        "giftcount": 8,
        "time": 9
      }
    ]
  },
  "IsOperationSuccess": true,
  "ErrorMessage": "sample string 2"
}

application/xml, text/xml

Sample:
<AngellAPIResultOfRoomGiftObjectDH5CykXi xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AK.WebApi.Api">
  <ErrorMessage>sample string 2</ErrorMessage>
  <IsOperationSuccess>true</IsOperationSuccess>
  <Result xmlns:d2p1="http://schemas.datacontract.org/2004/07/AK.WebApi.Model.AKServiceModel">
    <d2p1:gifts>
      <d2p1:GiftPersonObject>
        <d2p1:giftcount>8</d2p1:giftcount>
        <d2p1:giftid>4</d2p1:giftid>
        <d2p1:giftname>sample string 5</d2p1:giftname>
        <d2p1:gifturl>sample string 6</d2p1:gifturl>
        <d2p1:id>1</d2p1:id>
        <d2p1:time>9</d2p1:time>
        <d2p1:uid>2</d2p1:uid>
        <d2p1:username>sample string 3</d2p1:username>
        <d2p1:userphoto>sample string 7</d2p1:userphoto>
      </d2p1:GiftPersonObject>
      <d2p1:GiftPersonObject>
        <d2p1:giftcount>8</d2p1:giftcount>
        <d2p1:giftid>4</d2p1:giftid>
        <d2p1:giftname>sample string 5</d2p1:giftname>
        <d2p1:gifturl>sample string 6</d2p1:gifturl>
        <d2p1:id>1</d2p1:id>
        <d2p1:time>9</d2p1:time>
        <d2p1:uid>2</d2p1:uid>
        <d2p1:username>sample string 3</d2p1:username>
        <d2p1:userphoto>sample string 7</d2p1:userphoto>
      </d2p1:GiftPersonObject>
    </d2p1:gifts>
    <d2p1:roomID>1</d2p1:roomID>
  </Result>
</AngellAPIResultOfRoomGiftObjectDH5CykXi>