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
Name | Description | Type | Additional 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
ReadPointContactSumDtoName | Description | Type | Additional 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 }