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

NameDescriptionTypeAdditional 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
NameDescriptionTypeAdditional 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": "2024-11-21T06:45:35.2277333+00:00"
  },
  {
    "ContactId": 1,
    "Type": "sample string 1",
    "Sum": 2.0,
    "LastModified": "2024-11-21T06:45:35.2277333+00:00"
  }
]