Card terminal logs

Read-only. Terminal activity log.

The object#

FieldTypeDescription
idread-onlyintegerNolaPro id.
ccterminalidintegerCcterminalid. Id only.
entrydatestringWhen the record was created.
useridintegerUserid. Id only.
resulttxtstring(45)Result text the terminal returned for the transaction.
requestrawtextRequestraw. Stored as text, no practical length limit.
replyrawtextReplyraw. Stored as text, no practical length limit.
replyjsontextReplyjson. Stored as text, no practical length limit.
cctransactionidintegerCctransactionid. Id only.
refidintegerRefid. Id only.
reftablestring(64)Table of the document the terminal payment was taken for.
errorlogtextErrorlog. Stored as text, no practical length limit.

Endpoints#

GET/ccterminallogs 200403

List card terminal logs.

Requires scope banking:read.

Parameters
NameInTypeNotes
includequerystringComma-separated extras to embed. Only custom_fields is available: the extra fields this install has defined on the record. Off by default, and an unrecognised value is refused rather than ignored. See Conventions.
When it fails
StatusCodeMeaning
403insufficient_scopeToken lacks read scope.
curl \
  'https://acme.nolapro.com/!/api/v2/ccterminallogs' \
  -H 'Authorization: Bearer $NP_TOKEN'
GET/ccterminallogs/{id} 200404

Retrieve one record.

Requires scope banking:read.

Parameters
NameInTypeNotes
idrequiredpathintegerThe record id.
includequerystringComma-separated extras to embed. Only custom_fields is available: the extra fields this install has defined on the record. Off by default, and an unrecognised value is refused rather than ignored. See Conventions.
When it fails
StatusCodeMeaning
404not_foundNo record with that id.
curl \
  'https://acme.nolapro.com/!/api/v2/ccterminallogs/104' \
  -H 'Authorization: Bearer $NP_TOKEN'
Response 200
{
    "ccterminalid": 104,
    "resulttxt": "Example resulttxt",
    "requestraw": "Example requestraw",
    "replyraw": "Example replyraw",
    "replyjson": "Example replyjson",
    "cctransactionid": 104
}