Manage appLogs
Technical reference
/- Provides a filtered list of signedContracts
Create a new signedContract
Provides the audit trail pdf document for a specific signedContract
Provides the signed contract pdf document for a specific signedContract
Provides a filtered list...
ClickWrap Integrators API (v1)
Bodyapplication/json
The content of the signedContract to create
The guid of the contract
Example: "d8b7fcd1-e607-4099-8d66-f27884dddb77"
The list of clauses
http://localhost/api/SignedContract
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
http://localhost/api/SignedContract \
-H 'Content-Type: application/json' \
-H 'apiKey: string' \
-d '{
"contractGroupGuid": "d8b7fcd1-e607-4099-8d66-f27884dddb77",
"templateVariant": "Default",
"externalID": "d8b7fcd1-e607-4099-8d66-f27884dddb77",
"userIp": "127.0.0.1",
"environment": 0,
"screenshot": "string",
"clauses": [
{
"tag": "my_tag",
"accepted": true
}
],
"fieldCollection": {
"property1": "string",
"property2": "string"
}
}'Response
application/json
{ "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc", "contract": { "version": "string", "enviroment": 0, "groupGuid": "57b4a4e2-6452-4a39-a08e-ed582f926ada", "nameOfContract": "string" }, "fieldCollection": "string", "signedContractDate": "2019-08-24T14:15:22Z", "platform": "string", "userIdentifier": "string", "clauses": [ { … } ], "contractHash": "string", "externalID": "string", "signedContractGroupGuid": "b9a34dd2-b917-48c8-8ecb-b0719876b2b9", "userIp": "string", "contractGuid": "f11813e8-afe1-4fa0-a053-9ccc430d3c1b" }
http://localhost/api/SignedContract/List
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
http://localhost/api/SignedContract/List \
-H 'Content-Type: application/json' \
-H 'apiKey: string' \
-d '{
"contractGroupGuid": "a32e40b5-e5e1-4718-8453-0d0b1ced5aef",
"externalID": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"userIdentifier": "string",
"dateFrom": "2020/04/01",
"dateTo": "2030/04/01",
"platform": "string",
"enviroment": 0,
"version": "string",
"getScreenshot": true,
"page": 0,
"itemsPerPage": 20
}'Response
application/json
[ { "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc", "contract": { … }, "fieldCollection": "string", "contractGuid": "f11813e8-afe1-4fa0-a053-9ccc430d3c1b", "signedContractDate": "2019-08-24T14:15:22Z", "platform": "string", "userIdentifier": "string", "clauses": [ … ], "blockchainProcessId": "string", "blockchainTxHash": "string", "contractHash": "string", "blockchainStatus": 0, "blockchainStatusDate": "2019-08-24T14:15:22Z", "externalID": "string", "blockchainUuid": "string", "pdf": "string", "signedContractGroupGuid": "b9a34dd2-b917-48c8-8ecb-b0719876b2b9", "userIp": "string", "screenshot": "string" } ]
http://localhost/api/SignedContract/GetAuditTrail/{guid}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'http://localhost/api/SignedContract/GetAuditTrail/{guid}' \
-H 'apiKey: string'http://localhost/api/SignedContract/GetSignedContract/{guid}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'http://localhost/api/SignedContract/GetSignedContract/{guid}' \
-H 'apiKey: string'