Manage appLogs
Technical reference
//
Create a new appLog
ClickWrap Integrators API (v1)
Bodyapplication/json
The content of the appLog to create
The guid of the application to log to
Example: "dd1d816d-2e80-478c-93fa-6cf29b168de1"
http://localhost/api/AppLog
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
http://localhost/api/AppLog \
-H 'Content-Type: application/json' \
-H 'apiKey: string' \
-d '{
"applicationGuid": "dd1d816d-2e80-478c-93fa-6cf29b168de1",
"owner": "My owner",
"scope": "My scope",
"source": "My source",
"target": "My target",
"payload": "My payload"
}'Response
application/json
{ "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc", "applicationGuid": "605b7987-e677-4f32-bd9d-456466d64341", "owner": "string", "timeStamp": "2019-08-24T14:15:22Z", "scope": "string", "source": "string", "ip": "string", "target": "string", "hash": "string", "payload": "string" }
http://localhost/api/AppLog/List
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
http://localhost/api/AppLog/List \
-H 'Content-Type: application/json' \
-H 'apiKey: string' \
-d '{
"applicationGuid": "605b7987-e677-4f32-bd9d-456466d64341",
"dateFrom": "2020/04/01",
"dateTo": "2030/04/01",
"page": 0,
"itemsPerPage": 20
}'Response
application/json
[ { "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc", "applicationGuid": "605b7987-e677-4f32-bd9d-456466d64341", "owner": "string", "timeStamp": "2019-08-24T14:15:22Z", "scope": "string", "source": "string", "ip": "string", "target": "string", "payload": "string", "blockchainStatus": 0, "blockchainStatusDate": "2019-08-24T14:15:22Z", "blockchainProcessId": "string", "blockchainUuid": "string", "hash": "string", "blockchainTxHashUrl": "string" } ]
http://localhost/api/AppLog/GetAuditTrail/{guid}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'http://localhost/api/AppLog/GetAuditTrail/{guid}' \
-H 'apiKey: string'