POST api/SendGift?chattext={chattext}&giftid={giftid}&action={action}&amount={amount}&price={price}&roomid={roomid}&uid={uid}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
chattext

string

None.

giftid

integer

Default value is 0

action

integer

Default value is 0

amount

integer

Default value is 0

price

integer

Default value is 0

roomid

integer

Default value is 0

uid

integer

Default value is 0

Body Parameters

None.

Response Information

Resource Description

AngellAPIResultOfPersonCoinResultObject
NameDescriptionTypeAdditional information
Result

PersonCoinResultObject

None.

IsOperationSuccess

boolean

None.

ErrorMessage

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Result": {
    "uid": 1,
    "allcoin": 2
  },
  "IsOperationSuccess": true,
  "ErrorMessage": "sample string 2"
}

application/xml, text/xml

Sample:
<AngellAPIResultOfPersonCoinResultObjectDH5CykXi 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:allcoin>2</d2p1:allcoin>
    <d2p1:uid>1</d2p1:uid>
  </Result>
</AngellAPIResultOfPersonCoinResultObjectDH5CykXi>