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": "d3da9224-f1e2-4512-8bd9-a8e4c117ce1c", "ProductID": "9b4dd449-bdc4-452b-9c4c-f535837efe8a", "WarehouseID": "6fd9fc86-5dd7-40ff-bb3d-c917d3476eac" }
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>d3da9224-f1e2-4512-8bd9-a8e4c117ce1c</AwardCardID> <ProductID>9b4dd449-bdc4-452b-9c4c-f535837efe8a</ProductID> <WarehouseID>6fd9fc86-5dd7-40ff-bb3d-c917d3476eac</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>