{"info":{"_postman_id":"76943b9f-cccd-e41e-7370-40f793314a75","name":"ChainGenie = DLT + Blockchain + Magic","description":"ChainGenie is here to help companies enjoy the benefits of Blockchain technology (distributed tamper proof record keeping, consensus between distrusting nodes) when you do not have the expensive blockchain resources.\nChainGenie offers a hook to connect your existing IT applications to popular Blockchain networks like Ethereum, Bitcoin Blockchain etc with great ease.  \nWant to know how ChainGenie works under the hood? Download our flyer - http://chaingenie.com/chaingenieflyer.pdf\nThe following is only TEASER documentation - for full information, email - <a href=\"mailto:magic@chaingenie.com\">magic@chaingenie.com</a>\n<hr/>\nUpdate 09/26/2016: <br/><ul><li>Banking Micro Services added</li><li>ApiKey is required for invoking any micro service</li></ul>Email <a href=\"mailto:magic@chaingenie.com\">magic@chaingenie.com</a> for your sandbox ApiKey.\n<hr/>\nComing Soon: \n<br/>Magic Canvas - drag and drop microservices to create a blockchain application.  <i>Blockchain made easy!!</i>\n<hr/>\nWant to connect with me on LinkedIn? Send me an invite - <a href=\"http://linkedin.com/in/upriya\" target=\"_blank\">http://linkedin.com/in/upriya</a>\n<hr/>\n\n<script>\n    (function (i, s, o, g, r, a, m) {\n        i['GoogleAnalyticsObject'] = r; i[r] = i[r] || function () {\n            (i[r].q = i[r].q || []).push(arguments)\n        }, i[r].l = 1 * new Date(); a = s.createElement(o),\n  m = s.getElementsByTagName(o)[0]; a.async = 1; a.src = g; m.parentNode.insertBefore(a, m)\n    })(window, document, 'script', 'https://www.google-analytics.com/analytics.js', 'ga');\n\n    ga('create', 'UA-82552303-1', 'auto');\n    ga('send', 'pageview');\n\n</script>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json"},"item":[{"name":"Basic Banking","item":[{"name":"Deposit into bank account","id":"218d2c2d-ff74-ce68-fca3-b7dc884ca6ea","request":{"method":"POST","header":[{"key":"ApiKey","value":"email magic@chaingenie.com for your apikey"}],"body":{"mode":"formdata","formdata":[{"key":"value","value":"500","type":"text"}]},"url":"http://api.chaingenie.com/api/v1/ethbank/deposit","description":"Deposit crypto currency into the bank.  In sandbox mode, the account used is the demo account on the blockchain server. "},"response":[],"_postman_id":"218d2c2d-ff74-ce68-fca3-b7dc884ca6ea"},{"name":"Withdraw from bank account","id":"f9ade979-6036-0703-128f-385928f39040","request":{"method":"POST","header":[{"key":"ApiKey","value":"email magic@chaingenie.com for your apikey"}],"body":{"mode":"formdata","formdata":[{"key":"value","value":"50","type":"text"}]},"url":"http://api.chaingenie.com/api/v1/ethbank/withdraw","description":"Withdraw crypto currency into the bank.  In sandbox mode, the account used is the demo account on the blockchain server. Of course, you can only withdraw if there is money in the account!"},"response":[],"_postman_id":"f9ade979-6036-0703-128f-385928f39040"},{"name":"Bank passbook (user)","id":"e280b7d8-9a7c-1ff5-7e0c-248b6450e1cf","request":{"method":"GET","header":[{"key":"ApiKey","value":"email magic@chaingenie.com for your apikey"}],"body":{"mode":"raw","raw":""},"url":"http://api.chaingenie.com/api/v1/ethbank/passbook","description":"Displays all transactions made by the user "},"response":[],"_postman_id":"e280b7d8-9a7c-1ff5-7e0c-248b6450e1cf"},{"name":"Bank balance (user)","id":"be902ac1-5660-90ac-689b-9aa36477d8f6","request":{"method":"GET","header":[{"key":"ApiKey","value":"email magic@chaingenie.com for your apikey"}],"body":{"mode":"raw","raw":""},"url":"http://api.chaingenie.com/api/v1/ethbank/balance","description":"Displays user bank balance information"},"response":[],"_postman_id":"be902ac1-5660-90ac-689b-9aa36477d8f6"}],"id":"5695ba07-34cf-5c78-0c22-70b74f4fc45f","description":"Basic Banking - Deposit / Withdraw / Balance your account.\nAdd value / crypto currency to your account; Withdraw (only if you have a positive balance!!) from your account; check your transactions to make sure that the bank's ledger is kept in sync!","_postman_id":"5695ba07-34cf-5c78-0c22-70b74f4fc45f"},{"name":"Document Management (Advanced)","item":[{"name":"Generate, Sign & Route Document (Advanced)","id":"e53133e1-9fe8-7a63-0b5d-5fa131e5ba48","request":{"method":"POST","header":[{"key":"ApiKey","value":"email magic@chaingenie.com for your apikey"}],"body":{"mode":"formdata","formdata":[{"key":"attribs","value":"[\"name\",\"usha\"]","type":"text"},{"key":"attribs","value":"[\"course\",\"cooking\"]","type":"text"},{"key":"attribs","value":"[\"date\",\"12/12/2016\"]","type":"text"},{"key":"file","value":"","type":"file"}]},"url":"http://api.chaingenie.com/api/v1/ethledger/invokecontract","description":"This API is the generic version of the \"Generate document from template\" API. Any template file can be uploaded (sample available as link for testing).  If you just want to see how this would work - use the other call and just run it without any uploaded certificate. \nUpload a templated pdf with editable / filable fields and generate a document with automated sign and routing to a recipient.  Every attribute that needs to be filled will need to be passed in the format - ex. course field to be substituted - field = attrib; value = [\"course\",\"course value\"] or date field to be substituted - field = attrib; value = [\"date\",\"12/12/2016\"].  If your fillable form has the field named \"today\", current time will be used for filling the value of that field.\nYou will need to upload for the file attribute a real template file with fillable fields. For the sample values as configured, you can use the demo template available at http://chaingenie.com/cert.pdf.  Download this certificate and add it as your input file\nTo route the document to recipient (optional) add field recipient with \"key\" of the recipient - available recipient in the system - 0xb3A214341df9560a3e09E256BfacefD6648f5Ca9 for your testing\nUse case - Upload an invoice template with fillable fields, add attrib values for all the fields that needs to be filled, add the recipient field - your invoice will be created, signed with your key (in production / in test it will be signed with the local admin key) and will be routed to the recipient (in production you can add your recipient / in sandbox - use recipient 0xb3A214341df9560a3e09E256BfacefD6648f5Ca9)\nResponse will contain the document name, signatories, timestamps, recipient, IPFS hash (handle to retrieve the actual document)\nThe document hash will be posted on blockchain and the actual document will be added to IPFS.  Want to retrieve your document? Check out the API - Write & Retrieve - Docs (IPFS).  "},"response":[],"_postman_id":"e53133e1-9fe8-7a63-0b5d-5fa131e5ba48"},{"name":"Generate, Sign & Route Document (Simplified)","id":"24625463-8b64-ed15-77bb-d1ee16ac8735","request":{"method":"POST","header":[{"key":"ApiKey","value":"email magic@chaingenie.com for your apikey"}],"body":{"mode":"formdata","formdata":[{"key":"students","value":"Jason Forbes","type":"text"},{"key":"course","value":"Gotomeeting advanced","type":"text"},{"key":"date","value":"12/7/2016","type":"text"}]},"url":"http://api.chaingenie.com/api/v1/ethledger/docert","description":"This is an over simplified version for testing this API for its powers a template - uses an inbuilt into ChainGenie template and values are preconfigured - just running this will work and provide you an IPFS handle to retrieve the document you generated with your variables / values from the template.\nUse an existing document on our server and generate a document with automated sign and routing to a recipient.  Ex. this configured api will generate a certificate for a student name (name) with the completed certificate course (course) and dated (date). \nTo route the document to recipient (optional) add field recipient with \"key\" of the recipient - available recipient in the system - 0xb3A214341df9560a3e09E256BfacefD6648f5Ca9 for your testing\nResponse will contain the document name, signatories, timestamps, recipient, IPFS hash (handle to retrieve the actual document)\nThe document hash will be posted on blockchain and the actual document will be added to IPFS.  Want to retrieve your document? Check out the API - Write & Retrieve - Docs (IPFS).  "},"response":[],"_postman_id":"24625463-8b64-ed15-77bb-d1ee16ac8735"},{"name":"Generate and Manage Document (Basic)","id":"651d6c96-0dee-bf05-4195-714370d98d1a","request":{"method":"POST","header":[{"key":"ApiKey","value":"email magic@chaingenie.com for your apikey"}],"body":{"mode":"formdata","formdata":[{"key":"students","value":"Jason Forbes","type":"text"},{"key":"course","value":"Gotomeeting advanced","type":"text"},{"key":"date","value":"12/7/2016","type":"text"}]},"url":"http://api.chaingenie.com/api/v1/ethledger/docert","description":"This is an over simplified version for testing this API for its powers a template - uses an inbuilt into ChainGenie template and values are preconfigured - just running this will work and provide you an IPFS handle to retrieve the document you generated with your variables / values from the template.\nUse an existing document on our server and generate a document with automated sign and routing to a recipient.  Ex. this configured api will generate a certificate for a student name (name) with the completed certificate course (course) and dated (date). \nThe document hash will be posted on blockchain and the actual document will be added to IPFS.  Want to retrieve your document? Check out the API - Write & Retrieve - Docs (IPFS).  "},"response":[],"_postman_id":"651d6c96-0dee-bf05-4195-714370d98d1a"}],"id":"58d35e87-83ed-310a-4449-96516e59641b","description":"Document generation / management + sign + route - Use cases - course certificates, invoices, deeds, contracts etc\nSample Use case - Upload an invoice template with fillable fields, add attrib values for all the fields that needs to be filled, add the recipient field - your invoice will be created, signed with your key (in production / in test it will be signed with the local admin key) and will be routed to the recipient (in production you can add your recipient / in sandbox - use recipient 0xb3A214341df9560a3e09E256BfacefD6648f5Ca9)\nResponse will contain the document name, signatories, timestamps, recipient, IPFS hash (handle to retrieve the actual document)\nThe document hash will be posted on blockchain and the actual document will be added to IPFS.  Want to retrieve your document? Check out the API - Write & Retrieve - Docs (IPFS).  ","_postman_id":"58d35e87-83ed-310a-4449-96516e59641b"},{"name":"Document Management (File)","item":[{"name":"Send document","id":"d5b365b2-1a1f-0e05-e143-0a5cf92835d4","request":{"method":"POST","header":[{"key":"ApiKey","value":"email magic@chaingenie.com for your apikey"}],"body":{"mode":"formdata","formdata":[{"key":"recipient","value":"0x7443ab2d4CeC90651A5f47B3aC47CafDa64F8FeE","type":"text"},{"key":"files","type":"file"}]},"url":"http://api.chaingenie.com/api/v1/ethledger/sendforsign","description":"Route the document for signature.  The document history and status is updated for querying. "},"response":[],"_postman_id":"d5b365b2-1a1f-0e05-e143-0a5cf92835d4"},{"name":"Sign document","id":"f354f41c-9893-480e-e3c7-361dae0f16ba","request":{"method":"POST","header":[{"key":"ApiKey","value":"email magic@chaingenie.com for your apikey"}],"body":{"mode":"formdata","formdata":[{"key":"files","type":"file"}]},"url":"http://api.chaingenie.com/api/v1/ethledger/sign","description":"Cryptographically sign the document and add the record to blockchain.  The document history and status is updated for querying. "},"response":[],"_postman_id":"f354f41c-9893-480e-e3c7-361dae0f16ba"},{"name":"Get document status with file","id":"d955dc4c-a976-ffe1-bfde-680fd6aef24d","request":{"method":"POST","header":[{"key":"ApiKey","value":"email magic@chaingenie.com for your apikey"}],"body":{"mode":"formdata","formdata":[{"key":"files","type":"file"}]},"url":"http://api.chaingenie.com/api/v1/ethledger/docstatus","description":"Review the document status - existence, hash, block info, signatories, routing to users and details"},"response":[],"_postman_id":"d955dc4c-a976-ffe1-bfde-680fd6aef24d"},{"name":"Check document exists on blockchain ","id":"0a4c16ed-799a-63d2-a6a0-b97869d7891d","request":{"method":"POST","header":[{"key":"ApiKey","value":"email magic@chaingenie.com for your apikey"}],"body":{"mode":"formdata","formdata":[{"key":"files","type":"file"}]},"url":"http://api.chaingenie.com/api/v1/ethledger/existsdoc","description":"Check if your documents exists in the eth blockchain"},"response":[],"_postman_id":"0a4c16ed-799a-63d2-a6a0-b97869d7891d"},{"name":"Post document to IPFS + blockchain","id":"5b03a665-b790-ac53-ba51-35ea3b2011cb","request":{"method":"POST","header":[{"key":"ApiKey","value":"email magic@chaingenie.com for your apikey"}],"body":{"mode":"formdata","formdata":[{"key":"files","type":"file"},{"key":"filetypes","value":"cover","type":"text"}]},"url":"http://api.chaingenie.com/api/v1/ethledger/postdoc","description":"Post document hash into eth chain for POE (proof of existence) and post the document into ipfs for safekeep!"},"response":[],"_postman_id":"5b03a665-b790-ac53-ba51-35ea3b2011cb"}],"id":"aceeaf11-7a79-a64d-c4ad-ffc56e56bd02","description":"Manage all your documents and workflow around them -\nRoute documents through signatories ; Request signature ; Cryptographically sign documents on blockchain ; verify status of documents and much more . . . ","_postman_id":"aceeaf11-7a79-a64d-c4ad-ffc56e56bd02"},{"name":"Document Management (Hash)","item":[{"name":"Send document using hash (min fn; no return)","id":"15de881d-e537-8869-e15f-ec6f0a9276cf","request":{"method":"POST","header":[{"key":"ApiKey","value":"email magic@chaingenie.com for your apikey"}],"body":{"mode":"formdata","formdata":[{"key":"recipient","value":"0x7443ab2d4CeC90651A5f47B3aC47CafDa64F8FeE","type":"text"},{"key":"strHash","value":"b1c20221ffebae4cbc803b49c7ef566","type":"text"}]},"url":"http://api.chaingenie.com/api/v1/ethledger/sendcert","description":"Route the document to a recipient.  The document history and status is updated for querying.  The API call does not return any document properties.  This is a <b>minimalistic function</b> for stringing with other functions"},"response":[],"_postman_id":"15de881d-e537-8869-e15f-ec6f0a9276cf"},{"name":"Sign document using hash (min fn; no return)","id":"2c956e61-c541-9cda-5a43-ede2ad1d94ac","request":{"method":"POST","header":[{"key":"ApiKey","value":"email magic@chaingenie.com for your apikey"}],"body":{"mode":"formdata","formdata":[{"key":"strHash","value":"b1c20221ffebae4cbc803b49c7ef566","type":"text"}]},"url":"http://api.chaingenie.com/api/v1/ethledger/signcert","description":"Cryptographically sign the document and add the record to blockchain.  The document history and status is updated for querying.  The API call does not return any document properties.  This is a <b>minimalistic function</b> for stringing with other functions"},"response":[],"_postman_id":"2c956e61-c541-9cda-5a43-ede2ad1d94ac"},{"name":"Get document status using hash","id":"23d66ee1-1bad-6431-1cd4-e7b3ac0be5db","request":{"method":"POST","header":[{"key":"ApiKey","value":"email magic@chaingenie.com for your apikey"}],"body":{"mode":"formdata","formdata":[{"key":"strHash","value":"b1c20221ffebae4cbc803b49c7ef566","type":"text"}]},"url":"http://api.chaingenie.com/api/v1/ethledger/getdocstate","description":"Review the document status - existence, hash, block info, signatories, routing to users and details"},"response":[],"_postman_id":"23d66ee1-1bad-6431-1cd4-e7b3ac0be5db"},{"name":"Write hash to blockchain","id":"84bc9d98-4907-bbdf-2711-3b66a20bbf36","request":{"method":"POST","header":[{"key":"ApiKey","value":"email magic@chaingenie.com for your apikey"}],"body":{"mode":"formdata","formdata":[{"key":"hash","value":"57b52fb6c0d86387057204ad7f1ef42","type":"text"}]},"url":"http://api.chaingenie.com/api/v1/ethledger/posthash","description":"Post string hash into eth chain for POE (proof of existence) "},"response":[],"_postman_id":"84bc9d98-4907-bbdf-2711-3b66a20bbf36"},{"name":"Check hash exists on blockchain","id":"d58b15c6-b57f-bd89-b129-f385f3b20357","request":{"method":"POST","header":[{"key":"ApiKey","value":"email magic@chaingenie.com for your apikey"}],"body":{"mode":"formdata","formdata":[{"key":"hash","value":"49fe1c1603c25364166f7045dd3107c","type":"text"}]},"url":"http://api.chaingenie.com/api/v1/ethledger/existshash","description":"Check if your hash exists in the eth blockchain"},"response":[],"_postman_id":"d58b15c6-b57f-bd89-b129-f385f3b20357"}],"id":"99e5f312-e1f8-8349-f198-d1c319cce3a9","description":"Manage all your documents and workflow around them -\nRoute documents through signatories ; Request signature ; Cryptographically sign documents on blockchain ; verify status of documents and much more . . . ","_postman_id":"99e5f312-e1f8-8349-f198-d1c319cce3a9"},{"name":"Message Management","item":[{"name":"Write message to blockchain","id":"6504d5a8-3471-e504-dbe8-8f1f34b36558","request":{"method":"POST","header":[{"key":"ApiKey","value":"email magic@chaingenie.com for your apikey"}],"body":{"mode":"formdata","formdata":[{"key":"str","value":"Open for poaching!","type":"text"},{"key":"str","value":"Wanna hire me?","type":"text"}]},"url":"http://api.chaingenie.com/api/v1/ethledger/poststr","description":"Post string hash into eth chain for POE (proof of existence) "},"response":[],"_postman_id":"6504d5a8-3471-e504-dbe8-8f1f34b36558"},{"name":"Check message exists on blockchain","id":"f0e9588a-21ee-b84a-8761-3d2102705a8f","request":{"method":"POST","header":[{"key":"ApiKey","value":"email magic@chaingenie.com for your apikey"}],"body":{"mode":"formdata","formdata":[{"key":"str","value":"Open for poaching!","type":"text"}]},"url":"http://api.chaingenie.com/api/v1/ethledger/existsstr","description":"Check if your string exists in the eth blockchain"},"response":[],"_postman_id":"f0e9588a-21ee-b84a-8761-3d2102705a8f"}],"id":"9eed3a50-00d1-9cf0-3e34-49fba5c336d6","_postman_id":"9eed3a50-00d1-9cf0-3e34-49fba5c336d6"},{"name":"Transaction Management","item":[{"name":"Document transactions","id":"54ec889f-f49a-b3e2-768b-a142bbf71446","request":{"method":"GET","header":[{"key":"ApiKey","value":"email magic@chaingenie.com for your apikey"}],"body":{"mode":"raw","raw":""},"url":"http://api.chaingenie.com/api/v1/ethledger/gettrans","description":"Displays all transactions connected to this project / smart contract"},"response":[],"_postman_id":"54ec889f-f49a-b3e2-768b-a142bbf71446"}],"id":"6051d367-014b-f300-b2da-eff02ab38c9d","_postman_id":"6051d367-014b-f300-b2da-eff02ab38c9d"},{"name":"Value Chain APIs","item":[{"name":"List product for sale","id":"55944c59-43f0-a87f-a58a-bb048a3370a1","request":{"method":"POST","header":[{"key":"ApiKey","value":"email magic@chaingenie.com for your apikey"}],"body":{"mode":"formdata","formdata":[{"key":"itemName","value":"third one","type":"text"},{"key":"itemPartNum","value":"#ABCD1234","type":"text"},{"key":"itemValue","value":"2","type":"text"},{"key":"itemSellerName","value":"yoda","type":"text"},{"key":"itemValidUntil","value":"12/11/2016","type":"text"}]},"url":"http://api.chaingenie.com/api/v1/tradechain/CreateTradeContract","description":"List product on marketplace: <br/>\r\n- Seller initiates sale - CreateTradeContract<br/>\r\n- Escrow from seller added for value of contract<br/>\r\n- End transaction state = Smart Contract Created<br/>"},"response":[],"_postman_id":"55944c59-43f0-a87f-a58a-bb048a3370a1"},{"name":"Remove Listing (by Seller)","id":"a08fc839-3bec-c309-d9db-666aa4519ac6","request":{"method":"POST","header":[{"key":"ApiKey","value":"email magic@chaingenie.com for your apikey"}],"body":{"mode":"formdata","formdata":[{"key":"itemContractId","value":"","type":"text"},{"key":"itemSellerName","value":"yoda","type":"text"}]},"url":"http://api.chaingenie.com/api/v1/tradechain/ConfirmAbort","description":"Remove Listing (by Seller)<br/>\r\n- Seller cancels the market trade after listing but before bid/buy<br/>\r\n- Escrow from seller is returned back to the seller<br/>\r\n- End transaction state = Smart contract is rendered inactive<br/>"},"response":[],"_postman_id":"a08fc839-3bec-c309-d9db-666aa4519ac6"},{"name":"Bid / buy listed item (by Buyer)","id":"1d558fec-5dc4-b2bd-bef7-4e370d4a169e","request":{"method":"POST","header":[{"key":"ApiKey","value":"email magic@chaingenie.com for your apikey"}],"body":{"mode":"formdata","formdata":[{"key":"itemContractId","value":"","type":"text"},{"key":"itemBuyerName","value":"darth","type":"text"}]},"url":"http://api.chaingenie.com/api/v1/tradechain/ConfirmPurchase","description":"Bid / buy the item listed on the marketplace: <br/>\r\n- Buyer confirms interest in buying<br/>\r\n- Escrow from buyer added to value of contract<br/>\r\n- Invoice document is created with all details using invoice template<br/>\r\n- Invoice is added IPFS and invoice hash into blockchain<br/>\r\n- End transaction state = Trade is actively locked between the seller and buyer<br/>"},"response":[],"_postman_id":"1d558fec-5dc4-b2bd-bef7-4e370d4a169e"},{"name":"Refund buyer and stop trade (by Seller)","id":"5aea977c-9f48-e702-a183-6d953d071801","request":{"method":"POST","header":[{"key":"ApiKey","value":"email magic@chaingenie.com for your apikey"}],"body":{"mode":"formdata","formdata":[{"key":"itemContractId","value":"","type":"text"},{"key":"itemSellerName","value":"yoda","type":"text"}]},"url":"http://api.chaingenie.com/api/v1/tradechain/ConfirmRefund","description":"Seller can cancel the market trade after bid/buy by refunding the seller<br/>\r\nEscrow from buyer is returned back to the buyer<br/>\r\nEscrow from seller is returned back to the seller (optional: penalties can be imposed)<br/>\r\nEnd transaction state = Escrow returned, smart contract cancelled and become inactive<br/>"},"response":[],"_postman_id":"5aea977c-9f48-e702-a183-6d953d071801"},{"name":"Delivery of item confirmed (by Buyer)","id":"511a0ab5-9c0f-4568-30b7-7d41d7040373","request":{"method":"POST","header":[{"key":"ApiKey","value":"email magic@chaingenie.com for your apikey"}],"body":{"mode":"formdata","formdata":[{"key":"itemContractId","value":"","type":"text"},{"key":"itemBuyerName","value":"darth","type":"text"}]},"url":"http://api.chaingenie.com/api/v1/tradechain/ConfirmReceived","description":"Delivery of item confirmed by the buyer \r\n-Escrow is fully sent to seller\r\n- End transaction state = TRANSACTION COMPLETE"},"response":[],"_postman_id":"511a0ab5-9c0f-4568-30b7-7d41d7040373"},{"name":"Get contract details & state","id":"c213d6f4-8f03-9500-2a74-45c6657b7b7c","request":{"method":"POST","header":[{"key":"ApiKey","value":"email magic@chaingenie.com for your apikey"}],"body":{"mode":"formdata","formdata":[{"key":"itemContractId","value":"0xe0e7b6a15e3e390dbdccbd8b3e517b2ab9e9f109","type":"text"}]},"url":"http://api.chaingenie.com/api/v1/tradechain/GetStateOfContract","description":"Get contract details & state\n- Provide full information including\n - Escrow amount in contract\n - Contract state \n - Buyer & Seller information\n - Links to contract / invoice documents\n - and other contract / sale specific information"},"response":[],"_postman_id":"c213d6f4-8f03-9500-2a74-45c6657b7b7c"},{"name":"Get contract escrow details","id":"adab37de-93c5-3691-15ee-e78d4d23e0f1","request":{"method":"POST","header":[{"key":"ApiKey","value":"email magic@chaingenie.com for your apikey"}],"body":{"mode":"formdata","formdata":[{"key":"itemContractId","value":"0xe0e7b6a15e3e390dbdccbd8b3e517b2ab9e9f109","type":"text"}]},"url":"http://api.chaingenie.com/api/v1/tradechain/GetFundsLockedInContract","description":"Get contract escrow details -\n- Retrieves full information including but not limited to\n - Escrow amount in contract\n - Contract state \n - Buyer & Seller information\n - Links to contract / invoice documents\n - and other contract / sale specific information"},"response":[],"_postman_id":"adab37de-93c5-3691-15ee-e78d4d23e0f1"},{"name":"Get seller information","id":"42b05d3d-28e2-be3e-d021-cd5db3618159","request":{"method":"POST","header":[{"key":"ApiKey","value":"email magic@chaingenie.com for your apikey"}],"body":{"mode":"formdata","formdata":[{"key":"itemContractId","value":"0xc82f9ba7a8dedb37e700842f150834ed3822632c","type":"text"}]},"url":"http://api.chaingenie.com/api/v1/tradechain/WhoIsSeller","description":"Get full information about the seller by providing the contract id.  Response will also include some contract details."},"response":[],"_postman_id":"42b05d3d-28e2-be3e-d021-cd5db3618159"},{"name":"Get buyer information","id":"a72d1c0e-76d0-8d07-1385-cae533c70bdb","request":{"method":"POST","header":[{"key":"ApiKey","value":"email magic@chaingenie.com for your apikey"}],"body":{"mode":"formdata","formdata":[{"key":"itemContractId","value":"0xc82f9ba7a8dedb37e700842f150834ed3822632c","type":"text"}]},"url":"http://api.chaingenie.com/api/v1/tradechain/WhoIsBuyer","description":"Get full information about the seller by providing the contract id.  Response will also include some contract details."},"response":[],"_postman_id":"a72d1c0e-76d0-8d07-1385-cae533c70bdb"},{"name":"Report / list of marketplace transactions ","id":"e3cdfefe-a608-f62b-d4f3-728606fddf72","request":{"method":"POST","header":[{"key":"ApiKey","value":"email magic@chaingenie.com for your apikey"}],"body":{"mode":"formdata","formdata":[{"key":"filterValue","value":"none","type":"text"},{"key":"filterField","value":"none","type":"text"},{"key":"onSaleOnly","value":"false","type":"text"},{"key":"sortField","value":"itemValidUntil","type":"text"},{"key":"onSaleOnly","value":"true","type":"text"},{"key":"sortOrder","value":"desc","type":"text"},{"key":"maxPrice","value":"0","type":"text"}]},"url":"http://api.chaingenie.com/api/v1/tradechain/GetItemsFilterSort","description":"Use a combination of fields to get any type of report.  Ex. send specific seller name or id to get active for sale items by seller; send specific filehash to get status of a particular item/invoice; send itemPartNum to get a list of all products of that partnumber and send sort order as itemValue ascending to cheapest top list) . . . \r\n-\tfilterField (accepted items below, default – none)\r\no\titemSellerId\r\no\titemSellerName\r\no\titemBuyerId\r\no\titemBuyerName\r\no\titemId\r\no\titemName\r\no\titemPartNum\r\no\tfileHash\r\no\tFileHash\r\n-\tsortField (accepted items below, default – itemValidUntil)\r\no\titemSellerId\r\no\titemSellerName\r\no\titemBuyerId\r\no\titemBuyerName\r\no\titemId\r\no\titemName\r\no\titemValue\r\no\titemPartNum\r\no\titemValidUntil\r\n-\tsortOrder (default – desc)\r\no\tasc\r\no\tdesc\r\n-\tonSaleOnly (default – true, only if not “Inactive”)\r\no\ttrue\r\no\tfalse\r\n-\tmaxPrice (double; default - 0) \r\n"},"response":[],"_postman_id":"e3cdfefe-a608-f62b-d4f3-728606fddf72"},{"name":"Get user's account balance (*)","id":"d58b43c8-3cbd-22e8-fe7a-50fcf230fd36","request":{"method":"POST","header":[{"key":"ApiKey","value":"email magic@chaingenie.com for your apikey"}],"body":{"mode":"formdata","formdata":[{"key":"accountId","value":"0x5D8f066440aE6E123718091d29FF9fE0F821E196","type":"text"}]},"url":"http://api.chaingenie.com/api/v1/basicfns/GetAccountBalance","description":"Get information about an user's account balance.  The call is restricted to the unlocked user's account / query only. <br/>* In this sandbox, you can query any user's account balance for testing purposes.  All accounts are test accounts and no actual value or account is exposed in the sandbox."},"response":[],"_postman_id":"d58b43c8-3cbd-22e8-fe7a-50fcf230fd36"}],"id":"22710b98-f63b-21bc-5b68-9f62266939cb","description":"The set of APIs named Value Chain APIs will allow for creation of a marketplace with items that can be listed, escrow that is managed by smart contract, events that can be monitored and trade that can be completed.","_postman_id":"22710b98-f63b-21bc-5b68-9f62266939cb"},{"name":"Write & Retrieve  - Docs (IPFS)","item":[{"name":"Write document to IPFS","id":"b7dd152d-f04f-942c-aa55-02209f0e833b","request":{"method":"POST","header":[{"key":"ApiKey","value":"email magic@chaingenie.com for your apikey"}],"body":{"mode":"formdata","formdata":[{"key":"files","type":"file","value":""},{"key":"files","type":"file","value":""}]},"url":"http://api.chaingenie.com/api/v1/ethledger/ipfsadd","description":"Post the document into ipfs for safekeep!"},"response":[],"_postman_id":"b7dd152d-f04f-942c-aa55-02209f0e833b"},{"name":"Retrieve document from IPFS","id":"c8fd0a76-65d8-fc73-60f9-815575e11d25","request":{"method":"POST","header":[{"key":"ApiKey","value":"email magic@chaingenie.com for your apikey"}],"body":{"mode":"formdata","formdata":[{"key":"hash","value":"QmUW52p4CiRc69k9UNfPDhzUZZVBxjqrC83bmPnA5biiXY","type":"text"}]},"url":"http://api.chaingenie.com/api/v1/ethledger/ipfsget","description":"Retrieve the document stream from IPFS node"},"response":[],"_postman_id":"c8fd0a76-65d8-fc73-60f9-815575e11d25"}],"id":"5b9227a2-dedb-3fa8-9ff8-4bbb1c194680","_postman_id":"5b9227a2-dedb-3fa8-9ff8-4bbb1c194680"}]}