API ReferenceUsers
Get User Summary
Run in PostmanRetrieves a summary of a user's account and points.
Path Parameters
idstring
Query Parameters
api-versionstring
The API version, in the format 'major.minor'.
Response Body
application/json
application/problem+json
application/problem+json
application/problem+json
curl -X GET "https://loading/users/string/summary?api-version=1.0"{
"user": {
"userID": "string",
"email": "string",
"lifetimePoints": 0.1,
"availablePoints": 0.1,
"numOfTransactions": 0,
"totalCarbonScore": 0.1,
"totalGreenProducts": 0,
"createdAt": "2019-08-24T14:15:22Z",
"updatedAt": "2019-08-24T14:15:22Z"
}
}{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string"
}{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string"
}{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string"
}