POST OrderService/BatchUpdateVegetableByOrderIds?access_token={access_token}
请求参数
URI 参数
名称 | 描述 | 类型 | 附加信息 |
---|---|---|---|
access_token | string |
Required |
Body 参数
BatchUpdateVegetableByOrderIdsParam名称 | 描述 | 类型 | 附加信息 |
---|---|---|---|
OrderNos | string 集合 |
无。 |
|
Skuid | string |
无。 |
|
NewVegetables | Sku 集合 |
无。 |
请求格式
application/json, text/json
示例:
{ "OrderNos": [ "sample string 1", "sample string 2" ], "Skuid": "sample string 1", "NewVegetables": [ { "SkuId": "sample string 1", "Name": "sample string 2", "Stock": 1.0 }, { "SkuId": "sample string 1", "Name": "sample string 2", "Stock": 1.0 } ] }
application/xml, text/xml
示例:
<BatchUpdateVegetableByOrderIdsParam xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/JIT.CPOS.BS.Entity.Requestparam"> <NewVegetables> <Sku> <Name>sample string 2</Name> <SkuId>sample string 1</SkuId> <Stock>1</Stock> </Sku> <Sku> <Name>sample string 2</Name> <SkuId>sample string 1</SkuId> <Stock>1</Stock> </Sku> </NewVegetables> <OrderNos xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </OrderNos> <Skuid>sample string 1</Skuid> </BatchUpdateVegetableByOrderIdsParam>
application/x-www-form-urlencoded
示例:
Sample not available.
Response 信息
资源描述
HttpResponseMessage名称 | 描述 | 类型 | 附加信息 |
---|---|---|---|
Version | Version |
无。 |
|
Content | HttpContent |
无。 |
|
StatusCode | HttpStatusCode |
无。 |
|
ReasonPhrase | string |
无。 |
|
Headers | Object 集合 |
无。 |
|
RequestMessage | HttpRequestMessage |
无。 |
|
IsSuccessStatusCode | boolean |
无。 |