Apis related to Validation.
Interu API (v2_28)
If the document has a validity period, this is when it starts.
The type of the content based on rfc4288 (https://www.rfc-editor.org/rfc/rfc4288)
Sha256 32-byte, base64 encoded contentHash. This will be empty if the document content has not yet been provided.
Sha256 32-byte, base64 encoded contentHash. For original documents this will match contentHash. It will be different for redacted documents derived from an original document. This will be empty if the document content has not yet been provided.
- Mock serverhttps://developer.interu.io/_mock/reference/api/organisations/{orgId}/documents
- UAThttps://api.uat.interu.io/organisations/{orgId}/documents
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
'https://developer.interu.io/_mock/reference/api/organisations/{orgId}/documents' \
-H 'Content-Type: application/json' \
-H 'X-API-Key: YOUR_API_KEY_HERE' \
-H 'contentType: application/json' \
-d '{
"name": "string",
"type": "/organisations/{orgId}/document-types/{documentTypeId}",
"issuance": "2019-08-24T14:15:22Z",
"validityStart": "2019-08-24T14:15:22Z",
"validityEnd": "2019-08-24T14:15:22Z",
"contentType": "string",
"contentHash": "string",
"originalHash": "string",
"contentSize": 0,
"private": true
}'The request has succeeded and will either return the newly created resource or where appropriate a record that reflects the success of the action.
If the document has a validity period, this is when it starts.
The type of the content based on rfc4288 (https://www.rfc-editor.org/rfc/rfc4288)
Sha256 32-byte, base64 encoded contentHash. This will be empty if the document content has not yet been provided.
Sha256 32-byte, base64 encoded contentHash. For original documents this will match contentHash. It will be different for redacted documents derived from an original document. This will be empty if the document content has not yet been provided.
{ "name": "string", "type": "/organisations/{orgId}/document-types/{documentTypeId}", "issuance": "2019-08-24T14:15:22Z", "validityStart": "2019-08-24T14:15:22Z", "validityEnd": "2019-08-24T14:15:22Z", "contentType": "string", "contentHash": "string", "originalHash": "string", "contentSize": 0, "private": true, "recordState": "ACTIVE", "id": "string", "createdBy": "string", "createdTime": "2019-08-24T14:15:22Z", "updatedBy": "string", "updatedTime": "2019-08-24T14:15:22Z" }
- Mock serverhttps://developer.interu.io/_mock/reference/api/organisations/{orgId}/documents
- UAThttps://api.uat.interu.io/organisations/{orgId}/documents
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://developer.interu.io/_mock/reference/api/organisations/{orgId}/documents?hasContent=true&name=string&typeIds=string&contentHash=string&recordState=ACTIVE&size=20&page=0' \
-H 'X-API-Key: YOUR_API_KEY_HERE'The request has succeeded.
If the document has a validity period, this is when it starts.
If the document has a validity period, this is when it ends.
The type of the content based on rfc4288 (https://www.rfc-editor.org/rfc/rfc4288)
Sha256 32-byte, base64 encoded contentHash. This will be empty if the document content has not yet been provided.
Sha256 32-byte, base64 encoded contentHash. For original documents this will match contentHash. It will be different for redacted documents derived from an original document. This will be empty if the document content has not yet been provided.
{ "content": [ { … } ], "page": { "size": 0, "page": 0, "totalElements": 0, "totalPages": 0 } }
- Mock serverhttps://developer.interu.io/_mock/reference/api/organisations/{orgId}/documents/{documentId}
- UAThttps://api.uat.interu.io/organisations/{orgId}/documents/{documentId}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://developer.interu.io/_mock/reference/api/organisations/{orgId}/documents/{documentId}' \
-H 'X-API-Key: YOUR_API_KEY_HERE'The request has succeeded.
If the document has a validity period, this is when it starts.
The type of the content based on rfc4288 (https://www.rfc-editor.org/rfc/rfc4288)
Sha256 32-byte, base64 encoded contentHash. This will be empty if the document content has not yet been provided.
Sha256 32-byte, base64 encoded contentHash. For original documents this will match contentHash. It will be different for redacted documents derived from an original document. This will be empty if the document content has not yet been provided.
{ "name": "string", "type": "/organisations/{orgId}/document-types/{documentTypeId}", "issuance": "2019-08-24T14:15:22Z", "validityStart": "2019-08-24T14:15:22Z", "validityEnd": "2019-08-24T14:15:22Z", "contentType": "string", "contentHash": "string", "originalHash": "string", "contentSize": 0, "private": true, "recordState": "ACTIVE", "id": "string", "createdBy": "string", "createdTime": "2019-08-24T14:15:22Z", "updatedBy": "string", "updatedTime": "2019-08-24T14:15:22Z" }