POST api/SalesAnalysis/GetProductSaleAnalysis?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
GetProductSaleAnalysisVMName | Description | Type | Additional information |
---|---|---|---|
startDate |
开始时间 |
date |
None. |
endDate |
结束时间 |
date |
None. |
ascSort |
正序 |
boolean |
None. |
brand |
品牌 |
string |
None. |
keyWord | string |
None. |
|
unit |
单位 |
globally unique identifier |
None. |
productLine | globally unique identifier |
None. |
|
productCategoryKey | globally unique identifier |
None. |
|
SorttabIndex |
排序字段索引 |
string |
None. |
PageIndex | integer |
None. |
|
PageSize | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "startDate": "2025-07-23 07:43:12", "endDate": "2025-07-23 07:43:12", "ascSort": true, "brand": "sample string 4", "keyWord": "sample string 5", "unit": "99a99542-eb27-421e-ba08-676cd131acb3", "productLine": "cedf175d-ddc7-45f7-a76f-d04ae2904f0b", "productCategoryKey": "c27c4f99-36b7-4745-8d91-30681cd651e0", "SorttabIndex": "sample string 6", "PageIndex": 7, "PageSize": 8 }
application/xml, text/xml
Sample:
<GetProductSaleAnalysisVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/JT.VSFA.App.WebAPI.Areas.Sales.SaleAnalysis.ViewModel"> <PageIndex>7</PageIndex> <PageSize>8</PageSize> <SorttabIndex>sample string 6</SorttabIndex> <ascSort>true</ascSort> <brand>sample string 4</brand> <endDate>2025-07-23T07:43:12.3482993+08:00</endDate> <keyWord>sample string 5</keyWord> <productCategoryKey>c27c4f99-36b7-4745-8d91-30681cd651e0</productCategoryKey> <productLine>cedf175d-ddc7-45f7-a76f-d04ae2904f0b</productLine> <startDate>2025-07-23T07:43:12.3482993+08:00</startDate> <unit>99a99542-eb27-421e-ba08-676cd131acb3</unit> </GetProductSaleAnalysisVM>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResultModelOfObjectName | Description | Type | Additional information |
---|---|---|---|
Code | ReturnCode |
None. |
|
Message | string |
None. |
|
Data | Object |
None. |
Response Formats
application/json, text/json
Sample:
{ "Code": 200, "Message": "sample string 1", "Data": {} }
application/xml, text/xml
Sample:
<ResultModelOfanyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/JT.VSFA.Utility"> <Code>Success</Code> <Data /> <Message>sample string 1</Message> </ResultModelOfanyType>