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
GetGiftNowProductCountDtoName | 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": "41f632b0-3f27-4640-9b36-94f67b7d4f8b", "ProductID": "ede7ba1b-e652-4e60-8e30-ef3787cae496", "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>41f632b0-3f27-4640-9b36-94f67b7d4f8b</CustomerID> <ProductID>ede7ba1b-e652-4e60-8e30-ef3787cae496</ProductID> <UseTypeKey>sample string 3</UseTypeKey> </GetGiftNowProductCountDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResultModelOfDecimalName | 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>