POST api/WeChat/GetGiftNowProductCount?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
GetGiftNowProductCountDto| Name | Description | Type | Additional information |
|---|---|---|---|
| CustomerID | globally unique identifier |
None. |
|
| ProductID | globally unique identifier |
None. |
|
| UseTypeKey | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"CustomerID": "33ba13a7-8d4c-42c7-9f76-68aed7d17ad8",
"ProductID": "91e32671-4545-40b3-aaab-b51109ff05a2",
"UseTypeKey": "sample string 3"
}
application/xml, text/xml
Sample:
<GetGiftNowProductCountDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/JT.VSFA.Entity.DTO.ApiDTO"> <CustomerID>33ba13a7-8d4c-42c7-9f76-68aed7d17ad8</CustomerID> <ProductID>91e32671-4545-40b3-aaab-b51109ff05a2</ProductID> <UseTypeKey>sample string 3</UseTypeKey> </GetGiftNowProductCountDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResultModelOfDecimal| Name | Description | Type | Additional information |
|---|---|---|---|
| Code | ReturnCode |
None. |
|
| Message | string |
None. |
|
| Data | decimal number |
None. |
Response Formats
application/json, text/json
Sample:
{
"Code": 200,
"Message": "sample string 1",
"Data": 2.0
}
application/xml, text/xml
Sample:
<ResultModelOfdecimal xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/JT.VSFA.Utility"> <Code>Success</Code> <Data>2</Data> <Message>sample string 1</Message> </ResultModelOfdecimal>