GET api/v1/Points/SumsByContactCompanies?type={type}&from={from}&to={to}&storeId={storeId}

Retrieve array of ContactCompany sums within the datetime from(including) and to - with specified type and (optional) storeId.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
type

Type of points to retrieve

string

Required

from

The from datetime (including) - Datetimeoffset

date

Required

to

The to datetime - Datetimeoffset

date

Required

storeId

(Optional) StoreId the points has to be assigned

integer

None.

Body Parameters

None.

Response Information

Resource Description

Collection of ReadPointContactCompanySumDto
NameDescriptionTypeAdditional information
ContactCompanyId

ID of the ContactCompany

integer

None.

Sum

The sum of all the points

decimal number

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "ContactCompanyId": 1,
    "Sum": 2.0
  },
  {
    "ContactCompanyId": 1,
    "Sum": 2.0
  }
]