POST api/OrderAdmin/ChangePrice
“ChangePrice”的文档。
Request Information
Parameters
Name | Description | Additional information |
---|---|---|
entity | “entity”的文档。 |
Define this parameter in the request body. |
Request body formats
application/json, text/json
Sample:
{ "OrderId": 1, "Items": [ { "Id": 1, "Money": 2.0, "Num": 3 }, { "Id": 1, "Money": 2.0, "Num": 3 }, { "Id": 1, "Money": 2.0, "Num": 3 } ] }
application/xml, text/xml
Sample:
<ChangePriceListModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TaiShengShi.Models.Admin"> <Items> <ChangePriceModel> <Id>1</Id> <Money>2</Money> <Num>3</Num> </ChangePriceModel> <ChangePriceModel> <Id>1</Id> <Money>2</Money> <Num>3</Num> </ChangePriceModel> <ChangePriceModel> <Id>1</Id> <Money>2</Money> <Num>3</Num> </ChangePriceModel> </Items> <OrderId>1</OrderId> </ChangePriceListModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Response body formats
application/json, text/json
Sample:
{ "Success": 1, "Message": "sample string 2", "DataId": "sample string 3", "Uid": "sample string 4", "UserId": 5 }
application/xml, text/xml
Sample:
<ReturnModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TaiShengShi.Models.Admin"> <DataId>sample string 3</DataId> <Message>sample string 2</Message> <Success>1</Success> <Uid>sample string 4</Uid> <UserId>5</UserId> </ReturnModel>