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
GetProductSaleAnalysisVM| Name | 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-12-17 05:47:29",
"endDate": "2025-12-17 05:47:29",
"ascSort": true,
"brand": "sample string 4",
"keyWord": "sample string 5",
"unit": "9c8b3b49-a5fa-4c26-af6c-425074045c18",
"productLine": "061544f7-a741-4579-9f48-321021571aec",
"productCategoryKey": "13917648-3e32-4778-b688-e7b02b85df6c",
"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-12-17T05:47:29.3754315+08:00</endDate> <keyWord>sample string 5</keyWord> <productCategoryKey>13917648-3e32-4778-b688-e7b02b85df6c</productCategoryKey> <productLine>061544f7-a741-4579-9f48-321021571aec</productLine> <startDate>2025-12-17T05:47:29.3754315+08:00</startDate> <unit>9c8b3b49-a5fa-4c26-af6c-425074045c18</unit> </GetProductSaleAnalysisVM>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResultModelOfObject| Name | 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>