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": "8266c90e-6837-431b-a5d8-3791a660ae02", "SkuName": "sample string 2", "ProductBelongKey": "97e64279-6b52-4f0d-a42a-9f1a419e84f1", "ProductBelongName": "sample string 4", "ProductNumber": "sample string 5", "BarCode": "sample string 6", "PhotoURL": "sample string 7", "PU1": "sample string 8", "SP1": 9.0, "ProductID1": "e23480ed-0375-47b8-b455-536fbf862fd3", "ProductName1": "sample string 10", "PU2": "sample string 11", "SP2": 1.0, "ProductID2": "f89a3cc7-d303-4bc3-af91-b4cdab7ff701", "ProductName2": "sample string 12", "PU3": "sample string 13", "SP3": 1.0, "ProductID3": "a0d5b22d-e584-41af-90f8-fb0755b7f795", "ProductName3": "sample string 14", "Count1": 1.0, "Count2": 1.0, "Count3": 1.0 }, { "SKU": "8266c90e-6837-431b-a5d8-3791a660ae02", "SkuName": "sample string 2", "ProductBelongKey": "97e64279-6b52-4f0d-a42a-9f1a419e84f1", "ProductBelongName": "sample string 4", "ProductNumber": "sample string 5", "BarCode": "sample string 6", "PhotoURL": "sample string 7", "PU1": "sample string 8", "SP1": 9.0, "ProductID1": "e23480ed-0375-47b8-b455-536fbf862fd3", "ProductName1": "sample string 10", "PU2": "sample string 11", "SP2": 1.0, "ProductID2": "f89a3cc7-d303-4bc3-af91-b4cdab7ff701", "ProductName2": "sample string 12", "PU3": "sample string 13", "SP3": 1.0, "ProductID3": "a0d5b22d-e584-41af-90f8-fb0755b7f795", "ProductName3": "sample string 14", "Count1": 1.0, "Count2": 1.0, "Count3": 1.0 } ], "MS418TID": "ca0429d4-cde1-4cd2-852e-e6fa837d097e", "action": "sample string 2", "WarehouseID": "2925cf45-2972-4b98-9cbe-7e5acd941434", "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>ca0429d4-cde1-4cd2-852e-e6fa837d097e</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>2925cf45-2972-4b98-9cbe-7e5acd941434</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>97e64279-6b52-4f0d-a42a-9f1a419e84f1</ProductBelongKey> <ProductBelongName>sample string 4</ProductBelongName> <ProductID1>e23480ed-0375-47b8-b455-536fbf862fd3</ProductID1> <ProductID2>f89a3cc7-d303-4bc3-af91-b4cdab7ff701</ProductID2> <ProductID3>a0d5b22d-e584-41af-90f8-fb0755b7f795</ProductID3> <ProductName1>sample string 10</ProductName1> <ProductName2>sample string 12</ProductName2> <ProductName3>sample string 14</ProductName3> <ProductNumber>sample string 5</ProductNumber> <SKU>8266c90e-6837-431b-a5d8-3791a660ae02</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>97e64279-6b52-4f0d-a42a-9f1a419e84f1</ProductBelongKey> <ProductBelongName>sample string 4</ProductBelongName> <ProductID1>e23480ed-0375-47b8-b455-536fbf862fd3</ProductID1> <ProductID2>f89a3cc7-d303-4bc3-af91-b4cdab7ff701</ProductID2> <ProductID3>a0d5b22d-e584-41af-90f8-fb0755b7f795</ProductID3> <ProductName1>sample string 10</ProductName1> <ProductName2>sample string 12</ProductName2> <ProductName3>sample string 14</ProductName3> <ProductNumber>sample string 5</ProductNumber> <SKU>8266c90e-6837-431b-a5d8-3791a660ae02</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>