GET api/v1/Points/TotalForContact?contactId={contactId}&type={type}&subType={subType}

Retrieve sum of points of a certain type and subtype for specified contact

Request Information

URI Parameters

NameDescriptionTypeAdditional information
contactId

Id of contact to retrieve pointsums for

integer

Required

type

Type of points to retrieve

string

Required

subType

Subtype of points to retrieve

string

None.

Body Parameters

None.

Response Information

Resource Description

ReadPointContactSumDto
NameDescriptionTypeAdditional information
ContactId

ID of the contact

integer

None.

Sum

The sum of all the points

decimal number

None.

Response Formats

application/json, text/json

Sample:
{
  "ContactId": 1,
  "Sum": 2.0
}