JSON
Submit JSON Data to verify and retrive the authenticity details.
API Endpoint
POST
https://api.ovcode.com/verification/api/v1/verify/data
Request Headers
Ocp-Apim-Subscription-KeyYour Enterprise Subscription KeyApi-KeyYour Enterprise Project API Key
Request Body application/json
Example
{
"data": {
"id": "123456789",
"fname":"JUAN",
"lname":"DELA CRUZ",
"timestamp":"2023-05-20 12:01:12"
}
}
API Response
Success{
"data": {
"owner": {
"business": {
"id": "<ID>",
"business_id": "<ID>",
"name": "<Business Name>",
"description": "<Business Description>",
"logo": "<Company Logo>",
"website": "<Website URL>",
"date_registered": "<Datetime Registered>"
},
"project_id": "<ID>",
"project": {
"id": "<ID>",
"project_id": "<ID>",
"name": "<Project Name>",
"description": "<Project Description>",
"logo": "<Project Logo>",
"privacy": "<PUBLIC or PRIVATE>",
"business_id": "<ID>"
},
"business_id": "<ID>"
},
"is_data_downloadable": "<true or false>",
"blockchain": {
"token_id": "<TOKEN ID>",
"blockchain_network": "<BLOCKCHAIN NETWORK>"
},
"ipfs": {
"ipfs_gateway_link": "<IPFS URI>",
"cid":"<IPFS CID (Content Identifier)>"
},
"privacy": "<PUBLIC or PRIVATE>",
"details": {
"reference": "<Reference>",
"pipeline": "<Pipeline>",
"created_time": "<Datetime Created>",
"updated_time": "<Datetime Updated>",
"mimetype": "<File mime-type>",
"encrypted_file": "<Encrypted URI>",
"hash": "<SHA-256>"
},
"status": "<ACTIVE, SUSPENDED or REVOKED>",
"misc": {
"is_email": "<true or false>",
"is_encrypted": "<true or false>",
"is_signed": "<true or false>",
"has_password": "<true or false>"
}
},
"success": "<true or false>"
}
Error
{
"success": false,
"data": "<Error Message>"
}
HTTP Status Codes
Code | Description |
---|---|
200 | OK |
201 | Created |
204 | No Content |
400 | Bad Request |
401 | Unauthorized |
404 | Not Found |
415 | Unsupported Media Type |
500 | Internal Server Error |