POST api/AwardExchange/GetProductStockText?DomainId={DomainId}&AccountId={AccountId}&PersonId={PersonId}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
DomainId |
域Id |
globally unique identifier |
None. |
AccountId |
账户Id |
globally unique identifier |
None. |
PersonId |
人员Id |
globally unique identifier |
None. |
Body Parameters
ProductStockVMName | Description | Type | Additional information |
---|---|---|---|
AwardCardCount | decimal number |
None. |
|
AwardCardID | globally unique identifier |
None. |
|
ProductID | globally unique identifier |
None. |
|
WarehouseID | globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{ "AwardCardCount": 1.0, "AwardCardID": "590fc95a-6e26-4a51-8f54-b135b43b4066", "ProductID": "17b63418-5935-4b65-bc6b-42c7ac54db23", "WarehouseID": "760e4e39-d1c4-47e2-9db5-19d300367424" }
application/xml, text/xml
Sample:
<ProductStockVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/JT.VSFA.App.WebAPI.Areas.AwardExchange.ViewModel"> <AwardCardCount>1</AwardCardCount> <AwardCardID>590fc95a-6e26-4a51-8f54-b135b43b4066</AwardCardID> <ProductID>17b63418-5935-4b65-bc6b-42c7ac54db23</ProductID> <WarehouseID>760e4e39-d1c4-47e2-9db5-19d300367424</WarehouseID> </ProductStockVM>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResultModelOfMergePackageVMName | Description | Type | Additional information |
---|---|---|---|
Code | ReturnCode |
None. |
|
Message | string |
None. |
|
Data | MergePackageVM |
None. |
Response Formats
application/json, text/json
Sample:
{ "Code": 200, "Message": "sample string 1", "Data": { "StockText": "sample string 1" } }
application/xml, text/xml
Sample:
<ResultModelOfMergePackageVMB0Rh4MtD xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/JT.VSFA.Utility"> <Code>Success</Code> <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/JT.VSFA.App.WebAPI.Areas.AwardExchange.ViewModel"> <d2p1:StockText>sample string 1</d2p1:StockText> </Data> <Message>sample string 1</Message> </ResultModelOfMergePackageVMB0Rh4MtD>