GET api/v1/Points/SumsByStore?type={type}&from={from}&to={to}
Retrieve array of pointstoresums of a specific type of points for all stores within an optional timeframe
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
type |
Type of points to retrieve |
string |
Required |
from |
Datetimeoffset where the point is created at or after (OPTIONAL) |
date |
None. |
to |
Datetimeoffset where the point is created before (OPTIONAL) |
date |
None. |
Body Parameters
None.
Response Information
Resource Description
Collection of ReadPointStoreSumDtoName | Description | Type | Additional information |
---|---|---|---|
StoreId |
Id of store. First part of the unique point sum id. |
integer |
None. |
Type |
Type pf points. Second part of the unique point sum id. |
string |
Max length: 32 |
Sum |
The sum of all the points with the same store id and type |
decimal number |
None. |
Response Formats
application/json, text/json
Sample:
[ { "StoreId": 1, "Type": "sample string 2", "Sum": 3.0 }, { "StoreId": 1, "Type": "sample string 2", "Sum": 3.0 } ]