Base API Calls

Base API Calls

These are the core API calls to the blockchain.  These API calls are pointed to the test network and can be tested in the developer portal without a subscription key, which is required for production.  To get started register a hash value of a document, see Hashing a Document article for information about calculating the hash of a document, using registerIdentity.  These APIs can be tested by clicking the "Try It" button on the right hand side.  The response from the call will look similar to the JSON below:

{    
   "$class": "com.integraledger.identityregistry.RegisterIdentity",    
   "identityId": "783fbc52-c385-8531-c6fc-4593742d815c",    
   "recordId": "",    
   "identityType": "com.integraledger.lmatid",
   "value": "8c225f46f51d456e7335ea80cd8e5fd420ff45569c219c8fcce46ca9693d4a4f",
   "metaData": "Tech Hub MetaData",
   "opt1": "",
   "opt2": "",
   "opt3": "",
   "transactionId": "e6282124422c8b89a7b1013f8fa0d636d4f6a62f1b997031f1c445d7620eedab",
   "creationDate": "2021-01-23T18:02:43.000Z"
}

To check to see that the recently registered hash exists, you can either use the value above and call valueExists or you can use the IdentityId and call identityExists.  For more information please visit:

https://integraledger.developer.azure-api.net

Related Courses

No items found.

Related Lessons

No items found.