GET api/v1/Points/SumsByContact?type={type}&storeId={storeId}
Retrieve array of pointsums of a specific type of points for all contacts.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| type |
Type of points to retrieve |
string |
Required |
| storeId |
StoreId the points has to be assigned |
integer |
None. |
Body Parameters
None.
Response Information
Resource Description
Collection of ReadPointSumDto| Name | Description | Type | Additional information |
|---|---|---|---|
| ContactId |
Id of contact. 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 contact id and type |
decimal number |
None. |
| LastModified |
Datetime of when the point sum was last modified |
date |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"ContactId": 1,
"Type": "sample string 1",
"Sum": 2.0,
"LastModified": "2025-10-24T14:23:23.2038415+02:00"
},
{
"ContactId": 1,
"Type": "sample string 1",
"Sum": 2.0,
"LastModified": "2025-10-24T14:23:23.2038415+02:00"
}
]