GET https://restapi.actonsoftware.com/api/1/list/{listid}/record/{recordid}/facts
This endpoint allows you to pull a record's history and behavior score.
Parameters
Name | Parameter Type |
Allow Multiple |
Required/ Optional |
Data Type | Description |
---|---|---|---|---|---|
Authorization: | Header | False | Required | String | Insert your generated access token. ("Bearer {access token}") |
listid | Path | False | Required | String | Specify the ID of the list that contains the record. |
recordid | Path | False | Required | String | Specify the ID of the record. ("{listid}:{recordid}") |
Response
{ "activity": { "lastInbound": "Today", "ScorePeriod": "all time", "lastOutbound": "6 Days Ago", "ScoreDetails": [ { "id": "s-0001-1910", "idType": "msg", "specific": false, "profile": false, "action": "MESSAGE_SEND", "score": 30 } ], "score": 30, "entries": [], "firstOutbound": "7 Days Ago", "EntryMonthsAvailable": [ "1909", "1910" ], "HasProfileScore": false, "HasScoreSheet": true, "HasBehaviorScore": true, "firstInbound": "13 Days Ago" }, "activitylist": [ { "Bin": "FORM", "InScoreRange": true, "d": "14", "WhenMillis": 1571097511000, "What": "Submitted: Example", "Verb": "fs", "m": "Oct", "ago": "0", "Icon": "silk/application_form_add.png", "y": "19", "Responses": [], "id": "e8e1da5d-f55f-4506-997d-38bf14782726", "idType": "form" } ] }
cURL Example
curl -X GET https://restapi.actonsoftware.com/api/1/list/l-0002/record/l-0002:2/facts -H "Authorization: Bearer 12345678-9abc-defg-hijk-lmnopqrs"