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
ProductStockVM| Name | 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": "5ea19dce-fea2-4de9-9c5e-03bffae986d2",
"ProductID": "cddad950-bacd-4916-945a-c926380040db",
"WarehouseID": "d7a18f0b-2c8f-4e87-b1d7-3f8b0d31d581"
}
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>5ea19dce-fea2-4de9-9c5e-03bffae986d2</AwardCardID> <ProductID>cddad950-bacd-4916-945a-c926380040db</ProductID> <WarehouseID>d7a18f0b-2c8f-4e87-b1d7-3f8b0d31d581</WarehouseID> </ProductStockVM>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResultModelOfMergePackageVM| Name | 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>