Update Member Record Points
This endpoint allows you to update a disciplinary record's points
Update Member Record Points
POST
https://api.sonorancms.com/disciplinary/update_member_record_points
Update a Sonoran CMS community member disciplinary record's points.
Request Body
Name
Type
Description
id*
string
Community ID
key*
string
API Key
type*
string
UPDATE_MEMBER_RECORD_POINTS
data*
object
Object
{
"id": "123",
"status": true,
"accId": "123",
"source": "api",
"sourceId": "api-request",
"points": 10,
"reason": "Some reason",
"metadata": {},
"history": [],
}
{
"id": "YOUR_COMMUNITY_ID",
"key": "YOUR_API_KEY",
"type": "UPDATE_MEMBER_RECORD_POINTS",
"data": {
"recordId": "123",
"points": 10, // How many points this disciplinary record incurs
}
}
Last updated
Was this helpful?