POST api/PromotionActivity/Replenishment
活动补货
Request Information
URI Parameters
None.
Body Parameters
ActivitiesReplenishmentDtoName | Description | Type | Additional information |
---|---|---|---|
MS418TID | globally unique identifier |
None. |
|
action | string |
None. |
|
WarehouseID | globally unique identifier |
None. |
|
LNG | decimal number |
None. |
|
LAT | decimal number |
None. |
|
Location | string |
None. |
|
Photos | Collection of string |
None. |
|
productInfos | Collection of RepProductInfo |
None. |
Request Formats
application/json, text/json
Sample:
{ "productInfos": [ { "SKU": "4afc1bf5-01fe-4a04-b53d-915fc3641bd0", "SkuName": "sample string 2", "ProductBelongKey": "03ace400-ee1a-4334-9ad1-9507f1e2ebe9", "ProductBelongName": "sample string 4", "ProductNumber": "sample string 5", "BarCode": "sample string 6", "PhotoURL": "sample string 7", "PU1": "sample string 8", "SP1": 9.0, "ProductID1": "47098236-2c61-448e-9c5c-4343e06d3441", "ProductName1": "sample string 10", "PU2": "sample string 11", "SP2": 1.0, "ProductID2": "70dae779-1110-4ba1-8102-6db83defd81f", "ProductName2": "sample string 12", "PU3": "sample string 13", "SP3": 1.0, "ProductID3": "27cd31a2-1513-46d9-aeb1-2d9ec5db00a5", "ProductName3": "sample string 14", "Count1": 1.0, "Count2": 1.0, "Count3": 1.0 }, { "SKU": "4afc1bf5-01fe-4a04-b53d-915fc3641bd0", "SkuName": "sample string 2", "ProductBelongKey": "03ace400-ee1a-4334-9ad1-9507f1e2ebe9", "ProductBelongName": "sample string 4", "ProductNumber": "sample string 5", "BarCode": "sample string 6", "PhotoURL": "sample string 7", "PU1": "sample string 8", "SP1": 9.0, "ProductID1": "47098236-2c61-448e-9c5c-4343e06d3441", "ProductName1": "sample string 10", "PU2": "sample string 11", "SP2": 1.0, "ProductID2": "70dae779-1110-4ba1-8102-6db83defd81f", "ProductName2": "sample string 12", "PU3": "sample string 13", "SP3": 1.0, "ProductID3": "27cd31a2-1513-46d9-aeb1-2d9ec5db00a5", "ProductName3": "sample string 14", "Count1": 1.0, "Count2": 1.0, "Count3": 1.0 } ], "MS418TID": "c5a5295a-397e-44cb-ae90-46755a8fb121", "action": "sample string 2", "WarehouseID": "ccfb0a54-fe85-4bfe-bd70-3c65b198f966", "LNG": 1.0, "LAT": 1.0, "Location": "sample string 3", "Photos": [ "sample string 1", "sample string 2" ] }
application/xml, text/xml
Sample:
<ActivitiesReplenishmentDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/JT.VSFA.Entity"> <LAT>1</LAT> <LNG>1</LNG> <Location>sample string 3</Location> <MS418TID>c5a5295a-397e-44cb-ae90-46755a8fb121</MS418TID> <Photos xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </Photos> <WarehouseID>ccfb0a54-fe85-4bfe-bd70-3c65b198f966</WarehouseID> <action>sample string 2</action> <productInfos> <RepProductInfo> <BarCode>sample string 6</BarCode> <Count1>1</Count1> <Count2>1</Count2> <Count3>1</Count3> <PU1>sample string 8</PU1> <PU2>sample string 11</PU2> <PU3>sample string 13</PU3> <PhotoURL>sample string 7</PhotoURL> <ProductBelongKey>03ace400-ee1a-4334-9ad1-9507f1e2ebe9</ProductBelongKey> <ProductBelongName>sample string 4</ProductBelongName> <ProductID1>47098236-2c61-448e-9c5c-4343e06d3441</ProductID1> <ProductID2>70dae779-1110-4ba1-8102-6db83defd81f</ProductID2> <ProductID3>27cd31a2-1513-46d9-aeb1-2d9ec5db00a5</ProductID3> <ProductName1>sample string 10</ProductName1> <ProductName2>sample string 12</ProductName2> <ProductName3>sample string 14</ProductName3> <ProductNumber>sample string 5</ProductNumber> <SKU>4afc1bf5-01fe-4a04-b53d-915fc3641bd0</SKU> <SP1>9</SP1> <SP2>1</SP2> <SP3>1</SP3> <SkuName>sample string 2</SkuName> </RepProductInfo> <RepProductInfo> <BarCode>sample string 6</BarCode> <Count1>1</Count1> <Count2>1</Count2> <Count3>1</Count3> <PU1>sample string 8</PU1> <PU2>sample string 11</PU2> <PU3>sample string 13</PU3> <PhotoURL>sample string 7</PhotoURL> <ProductBelongKey>03ace400-ee1a-4334-9ad1-9507f1e2ebe9</ProductBelongKey> <ProductBelongName>sample string 4</ProductBelongName> <ProductID1>47098236-2c61-448e-9c5c-4343e06d3441</ProductID1> <ProductID2>70dae779-1110-4ba1-8102-6db83defd81f</ProductID2> <ProductID3>27cd31a2-1513-46d9-aeb1-2d9ec5db00a5</ProductID3> <ProductName1>sample string 10</ProductName1> <ProductName2>sample string 12</ProductName2> <ProductName3>sample string 14</ProductName3> <ProductNumber>sample string 5</ProductNumber> <SKU>4afc1bf5-01fe-4a04-b53d-915fc3641bd0</SKU> <SP1>9</SP1> <SP2>1</SP2> <SP3>1</SP3> <SkuName>sample string 2</SkuName> </RepProductInfo> </productInfos> </ActivitiesReplenishmentDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResultModelOfBooleanName | Description | Type | Additional information |
---|---|---|---|
Code | ReturnCode |
None. |
|
Message | string |
None. |
|
Data | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{ "Code": 200, "Message": "sample string 1", "Data": true }
application/xml, text/xml
Sample:
<ResultModelOfboolean xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/JT.VSFA.Utility"> <Code>Success</Code> <Data>true</Data> <Message>sample string 1</Message> </ResultModelOfboolean>