PUT api/drink/SetAdjustPriceNum
Request Information
URI Parameters
None.
Body Parameters
AdjustPriceLogDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| Mac | string |
None. |
|
| Balance | decimal number |
None. |
|
| WaterPrice | decimal number |
None. |
|
| WaterLeft | decimal number |
None. |
|
| WaterPriceNew | decimal number |
None. |
|
| WaterLeftNew | decimal number |
None. |
|
| AdjustPriceTime | date |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"Mac": "sample string 2",
"Balance": 3.0,
"WaterPrice": 4.0,
"WaterLeft": 5.0,
"WaterPriceNew": 6.0,
"WaterLeftNew": 7.0,
"AdjustPriceTime": "2026-09-09T14:08:59.2914155+08:00"
}
application/xml, text/xml
Sample:
<AdjustPriceLogDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/YuXun.EntityDTO"> <AdjustPriceTime>2026-09-09T14:08:59.2914155+08:00</AdjustPriceTime> <Balance>3</Balance> <Id>1</Id> <Mac>sample string 2</Mac> <WaterLeft>5</WaterLeft> <WaterLeftNew>7</WaterLeftNew> <WaterPrice>4</WaterPrice> <WaterPriceNew>6</WaterPriceNew> </AdjustPriceLogDTO>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |