SEARCH api/v1/Points/SumsForStoresByContactCompanies?type={type}&from={from}&to={to}
Retrieve array of point sums for stores grouped by ContactCompanies within the datetime from (including) and to - with specified type.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| type |
Point type |
string |
Required |
| from |
The from datetime (including) - Datetimeoffset |
date |
Required |
| to |
The to datetime - Datetimeoffset |
date |
Required |
Body Parameters
List of store ids to get sums for
Collection of integerRequest Formats
application/json, text/json
Sample:
[ 1, 2 ]
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ReadPointSumsForStoreByContactCompaniesDto| Name | Description | Type | Additional information |
|---|---|---|---|
| StoreId |
Id of the store |
integer |
None. |
| Type |
Type pf point |
string |
Max length: 32 |
| SumByContactCompanies |
Point sums by ContactCompanies |
Collection of ReadPointContactCompanySumDto |
None. |
Response Formats
application/json, text/json
Sample:
{
"StoreId": 1,
"Type": "sample string 2",
"SumByContactCompanies": [
{
"ContactCompanyId": 1,
"Sum": 2.0
},
{
"ContactCompanyId": 1,
"Sum": 2.0
}
]
}