GET api/v1/points/pointsactivity/{memberId}
Gets the points - either all of them or the points for the specified year Beta 0.5
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| memberId |
the member to get the point points for |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of PointsActivitySummary| Name | Description | Type | Additional information |
|---|---|---|---|
| PointTypeId | integer |
None. |
|
| PointType | string |
None. |
|
| PointCategoryId | integer |
None. |
|
| PointCategory | string |
None. |
|
| PointValue | integer |
None. |
|
| PointTotalValue | integer |
None. |
|
| Occurrences | integer |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"pointTypeId": 1,
"pointType": "sample string 2",
"pointCategoryId": 3,
"pointCategory": "sample string 4",
"pointValue": 5,
"pointTotalValue": 6,
"occurrences": 7
},
{
"pointTypeId": 1,
"pointType": "sample string 2",
"pointCategoryId": 3,
"pointCategory": "sample string 4",
"pointValue": 5,
"pointTotalValue": 6,
"occurrences": 7
}
]
text/html, text/plain
Sample:
[{"pointTypeId":1,"pointType":"sample string 2","pointCategoryId":3,"pointCategory":"sample string 4","pointValue":5,"pointTotalValue":6,"occurrences":7},{"pointTypeId":1,"pointType":"sample string 2","pointCategoryId":3,"pointCategory":"sample string 4","pointValue":5,"pointTotalValue":6,"occurrences":7}]
application/xml, text/xml
Sample:
<ArrayOfPointsActivitySummary xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Last2Left.Services.DTOs">
<PointsActivitySummary>
<Occurrences>7</Occurrences>
<PointCategory>sample string 4</PointCategory>
<PointCategoryId>3</PointCategoryId>
<PointTotalValue>6</PointTotalValue>
<PointType>sample string 2</PointType>
<PointTypeId>1</PointTypeId>
<PointValue>5</PointValue>
</PointsActivitySummary>
<PointsActivitySummary>
<Occurrences>7</Occurrences>
<PointCategory>sample string 4</PointCategory>
<PointCategoryId>3</PointCategoryId>
<PointTotalValue>6</PointTotalValue>
<PointType>sample string 2</PointType>
<PointTypeId>1</PointTypeId>
<PointValue>5</PointValue>
</PointsActivitySummary>
</ArrayOfPointsActivitySummary>