POST api/topup/CouponTopUp

Request Information

URI Parameters

None.

Body Parameters

CashCouponModel
NameDescriptionTypeAdditional information
Settings

string

None.

SetTime

date

None.

CouponCode

string

None.

UserId

string

None.

Mac

string

None.

botId

string

None.

Liters

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Settings": "sample string 1",
  "SetTime": "2026-09-09T14:10:31.5462403+08:00",
  "CouponCode": "sample string 3",
  "UserId": "sample string 4",
  "Mac": "sample string 5",
  "botId": "sample string 6",
  "Liters": 7
}

application/xml, text/xml

Sample:
<CashCouponModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/YuXun.WebAPI.Models">
  <CouponCode>sample string 3</CouponCode>
  <Liters>7</Liters>
  <Mac>sample string 5</Mac>
  <SetTime>2026-09-09T14:10:31.5462403+08:00</SetTime>
  <Settings>sample string 1</Settings>
  <UserId>sample string 4</UserId>
  <botId>sample string 6</botId>
</CashCouponModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.