{"info":{"_postman_id":"b0d70f4d-7f7b-488f-bbc4-1dcbd567d4b0","name":"UNOVA API Documentation V1","description":"<html><head></head><body><p>Welcome to UNOVA API Documentation.</p>\n<p>Using this API you can push your data to the blockchain in the form of <a href=\"https://documenter.getpostman.com/view/19696378/UVknuGu6#8280ebad-011a-47fb-a88d-00d8f6610d7e\">Assets</a> and <a href=\"https://documenter.getpostman.com/view/19696378/UVknuGu6#7cc1bb4f-8d06-4568-932d-223d2eaaa7df\">Events</a>.</p>\n<h1 id=\"authentication\">Authentication</h1>\n<p>Before you can start interacting with API you need to create an account. An account is a pair: address and secret.Using this key pair, a bearer token can be created to call the API. For more details jump to <a href=\"https://documenter.getpostman.com/view/19696378/UVknuGu6#f3db9ad1-8915-40e7-9c16-0303927306de\">Authentication - Token section</a></p>\n<h1 id=\"key-points\">Key points</h1>\n<h2 id=\"api-url\">API URL</h2>\n<p>The API is deployed as a part of the blockchain node, hence the URL changes dynamically in terms of IP address used. While implementing, the user must enter the IP address of the server on which the blockchain node is deployed, in order to successfully send data using the API. The port number remains unchanged. Highlighted in bold, below is the part which the user needs to replace with their own server IP.</p>\n<p>http://<strong>35.180.207.79</strong>:8070/unova/oauth/token</p>\n<p>http://<strong>35.180.207.79</strong>:8070/unova/api</p>\n<h2 id=\"unique-id\">Unique ID</h2>\n<p>This is the unique identifier of each asset in the system. It could be a barcode,GTIN number etc</p>\n<h2 id=\"assets-referenced-or-added\">Assets Referenced Or Added</h2>\n<p>An asset creation will have either of the three phases</p>\n<ol>\n<li>Commission</li>\n<li>Transformation</li>\n<li>Aggregation</li>\n</ol>\n<p>In case of Transformation and Aggregation, it is necessary to establish a link between the assets involved in the action, so as to offer complete traceability. 'Assets Referenced Or Added' help in establishing this link.It refers to the UniqueIDs of the parent asset, or UniqueIDs of assets that went into the formation of the current asset.</p>\n<p>This field is not considered during the Commission phase as it is the first occurrence of the asset.</p>\n<h2 id=\"unova-chain-builder---your-chain\">Unova Chain Builder - Your Chain</h2>\n<p>The purpose of the Unova Chain builder is to help you visualize, understand and create the events (or asset creations) that will occur inside your own company. This tool can also be considered as a settings page, that will be used in other aspects of the Unova platform and impact the API. It is thus important you take care when building your chain and be accurate with regard to the settings you select.</p>\n<p>In short, the chain builder lets you select and configure asset creations and events in a chronological order to form a chain.</p>\n<p>Once you have added an event type (or asset creation type) to your chain, this will also be the place for testing,validating and visualizing the data you are creating (either via the API or via manual form input).</p>\n<h1 id=\"success-response\">Success Response</h1>\n<p>Response consists of following blocks of information</p>\n<ol>\n<li>Asset/Event Metadata from Blockchain</li>\n<li>Bundle Metadata from Blockchain</li>\n<li>Contents of data request</li>\n</ol>\n<h1 id=\"errors\">Errors</h1>\n<p>The majority of errors along to the error code provide additional information in body with following format<br>{<br>\"reason\": \"What happened\"<br>}</p>\n<h1 id=\"immutability\">Immutability</h1>\n<p>Note:<br>All data is immutable, therefore, you will not find update or delete calls.</p>\n<h1 id=\"hashing\">Hashing</h1>\n<p>Hashes are a very important part of proving the persistence and the immutability of the data. All hashes in the are computed using the ethereum standard hashMessage function as described in web3 docs. The underlying hash function is Keccak256.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[{"content":"Authentication","slug":"authentication"},{"content":"Key points","slug":"key-points"},{"content":"Success Response","slug":"success-response"},{"content":"Errors","slug":"errors"},{"content":"Immutability","slug":"immutability"},{"content":"Hashing","slug":"hashing"}],"owner":"19696378","collectionId":"b0d70f4d-7f7b-488f-bbc4-1dcbd567d4b0","publishedId":"UVknuGu6","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"399af2"},"publishDate":"2022-02-23T17:03:39.000Z"},"item":[{"name":"Authentication - Token","item":[{"name":"Get a token","id":"35011c85-8efa-4b88-a32d-5f6120e583d3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Authorization","type":"text","value":"Basic dW5vdmEtY2xpZW50OnVub3ZhLXNlY3JldA=="},{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"username","value":"PublicKey","type":"text"},{"key":"password","value":"PrivateKey","type":"text"},{"key":"grant_type","value":"password","type":"text"}]},"url":"http://35.180.207.79:8070/unova/oauth/token","urlObject":{"protocol":"http","port":"8070","path":["unova","oauth","token"],"host":["35","180","207","79"],"query":[],"variable":[]}},"response":[{"id":"73d4658d-2368-4a5b-abc1-2206b7752cc8","name":"Get a token","originalRequest":{"method":"POST","header":[{"key":"Authorization","type":"text","value":"Basic dW5vdmEtY2xpZW50OnVub3ZhLXNlY3JldA=="},{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"username","value":"PublicKey","type":"text"},{"key":"password","value":"PrivateKey","type":"text"},{"key":"grant_type","value":"password","type":"text"}]},"url":"http://35.180.207.79:8070/unova/oauth/token"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"POST, GET, OPTIONS, DELETE, PUT"},{"key":"Access-Control-Max-Age","value":"3600"},{"key":"Access-Control-Allow-Headers","value":"x-requested-with, authorization, x-auth-token, origin, content-type, accept, nodejwttoken"},{"key":"Cache-Control","value":"no-store"},{"key":"Cache-Control","value":"no-store"},{"key":"Expires","value":"Thu, 01 Jan 1970 00:00:00 GMT"},{"key":"Pragma","value":"no-cache"},{"key":"Pragma","value":"no-cache"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Type","value":"application/json;charset=UTF-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Date","value":"Fri, 04 Feb 2022 09:53:38 GMT"},{"key":"Keep-Alive","value":"timeout=60"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"access_token\": \"ac105039-3a70-469a-8137-f49339a5649b\",\n    \"token_type\": \"bearer\",\n    \"refresh_token\": \"6555d9ee-d709-4bab-a8ac-c7f4b917f1d8\",\n    \"expires_in\": 2999,\n    \"scope\": \"read write trust\"\n}"}],"_postman_id":"35011c85-8efa-4b88-a32d-5f6120e583d3"}],"id":"f3db9ad1-8915-40e7-9c16-0303927306de","description":"<p>This API uses OAuth 2.0 (Open Authorization) for token-based authentication and authorization.</p>\n<p>Every call to the API needs a bearer token to be passed in the header. The expiry of this token is set to 300 secs by default.</p>\n<p><strong>Never share your private key with anyone. This is a security risk.</strong></p>\n","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"c342cf3e-d23a-41fa-886c-defd1f2d40f1"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"6889c344-3b52-427d-8d18-123ebff85fab"}}],"_postman_id":"f3db9ad1-8915-40e7-9c16-0303927306de"},{"name":"All about Assets","item":[{"name":"What is an Asset?","item":[],"id":"b8af7783-8a4b-4473-9727-adc999927f6f","description":"<p>A digital entity for any physical conceptual element in your supply chain. Depending on the industry it can be a cow, box of apples, an apple, a piece of meat, a lasagna, a lot, batch or box etc. Every asset has a UniqueID that is crypto secured. </p>\n","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"3c784d8c-644d-4cef-93c9-9c8c2dc9570b"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"22ac836f-60e2-4a6c-bca0-b4dce8b15a6b"}}],"_postman_id":"b8af7783-8a4b-4473-9727-adc999927f6f","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"8280ebad-011a-47fb-a88d-00d8f6610d7e","id":"8280ebad-011a-47fb-a88d-00d8f6610d7e","name":"All about Assets","type":"folder"}}},{"name":"Creating an Asset","item":[{"name":"Mandatory Field List","item":[{"name":"Create Asset - Mandatory Fields Example","id":"639c5b45-901d-4b37-8369-1f010ef2e14e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"bearer bf6ee78a-e21b-4ca4-a1fe-a036a1e5f578","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"requestbody","value":"","type":"text"}]},"url":"http://35.180.207.79:8070/unova/api","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"8280ebad-011a-47fb-a88d-00d8f6610d7e","id":"8280ebad-011a-47fb-a88d-00d8f6610d7e","name":"All about Assets","type":"folder"}},"urlObject":{"protocol":"http","port":"8070","path":["unova","api"],"host":["35","180","207","79"],"query":[],"variable":[]}},"response":[{"id":"963d2af9-9a5d-4040-8f00-12b2cd741d97","name":"Create Asset - Mandatory Fields Example","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"bearer bf6ee78a-e21b-4ca4-a1fe-a036a1e5f578","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"requestbody","value":"{\"typeOfRequest\":\"asset\",\n\"privateKey\":\"0xbbfb395f3081ec……1d100db3cda6bd69\",\n\"eventType\":\"Commission\",\n\"companyIdentifier\":\"Primary producer/farm\",\n\"name\":\"Cow Birth\",\n\"uniqueID\":\"BE095698451\",\n\"timestamp\":\"2022-02-01 09:20:27\",\n\"organizationName\":\"Demo Facility 2\",\n\"streetAndNumber\":\"Mechelsestraat 161\",\n\"zipcodeAndCity\":\"3000 Leuven\",\n\"assetType\":\"cow\",\n\"packagingID\":\"Serial\"\n}","type":"text"}]},"url":"http://35.180.207.79:8070/unova/api"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"POST, GET, OPTIONS, DELETE, PUT"},{"key":"Access-Control-Max-Age","value":"3600"},{"key":"Access-Control-Allow-Headers","value":"x-requested-with, authorization, x-auth-token, origin, content-type, accept, nodejwttoken"},{"key":"Cache-Control","value":"no-store"},{"key":"Expires","value":"Thu, 01 Jan 1970 00:00:00 GMT"},{"key":"Pragma","value":"no-cache"},{"key":"Vary","value":"Origin"},{"key":"Vary","value":"Access-Control-Request-Method"},{"key":"Vary","value":"Access-Control-Request-Headers"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Type","value":"application/json;charset=utf-8"},{"key":"Content-Length","value":"1618"},{"key":"Date","value":"Mon, 21 Feb 2022 12:24:08 GMT"},{"key":"Keep-Alive","value":"timeout=60"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"response\": {\n        \"Event Response\": {\n            \"data\": {\n                \"organizationId\": 1,\n                \"eventId\": \"0x3d8fa5f92f882c79caae8276c0a93a932f5715ef1dcb77d886906ea03cfef4f1\",\n                \"metadata\": {\n                    \"bundleUploadTimestamp\": 1645446248,\n                    \"bundleId\": null\n                },\n                \"_id\": \"621384688fdc4f001aaa6add\",\n                \"content\": {\n                    \"data\": [\n                        {\n                            \"identifiers\": {\n                                \"uniqueID\": [\n                                    \"BE095698451\"\n                                ]\n                            }\n                        },\n                        {\n                            \"streetAndNumber\": \"Mechelsestraat 161\",\n                            \"organizationName\": \"Demo Facility 2\",\n                            \"companyIdentifier\": \"Primary producer/farm\",\n                            \"name\": \"Cow Birth\",\n                            \"creationTimestamp\": 1643707227,\n                            \"zipcodeAndCity\": \"3000 Leuven\",\n                            \"eventType\": \"Commission\",\n                            \"assetType\": \"cow\",\n                            \"packagingID\": \"Serial\"\n                        },\n                        {}\n                    ],\n                    \"signature\": \"0xe7894d5189134540015dd40ac12a44ea25bd79d32c01468bf35e22f79acf9ced4014297223eba381c392c2790c3ac939aaf1b3caf75ca00920dcc006d7a1d5ad1c\",\n                    \"idData\": {\n                        \"accessLevel\": 0,\n                        \"createdBy\": \"0xB5c5Eb50AF00f80a4B572e567B27d2032e34ea51\",\n                        \"dataHash\": \"0xa518d2e4671e55eb1b7dd4b46e8d4f9715eceefe44231e5ee4cc19251e29fccd\",\n                        \"assetId\": \"0x9bcb5c8c70383aa022d42d63de96c9b1929f137023913f0070b1d25456dbf500\",\n                        \"uniqueID\": \"BE095698451\",\n                        \"timestamp\": 1645446248\n                    }\n                }\n            },\n            \"meta\": {\n                \"code\": 200\n            }\n        },\n        \"Asset Response\": {\n            \"data\": {\n                \"organizationId\": 1,\n                \"metadata\": {\n                    \"bundleUploadTimestamp\": 1645446248,\n                    \"bundleId\": null\n                },\n                \"assetId\": \"0x9bcb5c8c70383aa022d42d63de96c9b1929f137023913f0070b1d25456dbf500\",\n                \"_id\": \"621384688fdc4f001aaa6adc\",\n                \"content\": {\n                    \"signature\": \"0xd283d49cf16009112276185647b025a86791c737b0139f98afd0614d8e51b29f7ea29009822a39a367b5725d718f702f2165cda5b4fa968f4dfacf31ac17ea561b\",\n                    \"idData\": {\n                        \"sequenceNumber\": 2542658303428685,\n                        \"createdBy\": \"0xB5c5Eb50AF00f80a4B572e567B27d2032e34ea51\",\n                        \"timestamp\": 1645446248\n                    }\n                }\n            },\n            \"meta\": {\n                \"code\": 200\n            }\n        }\n    },\n    \"message\": \"Asset created successfully\",\n    \"status\": \"Success\"\n}"}],"_postman_id":"639c5b45-901d-4b37-8369-1f010ef2e14e"}],"id":"34226b49-c6c6-4ab2-9bc0-dedadfbe0cfb","description":"<p><br /><br /></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field Name</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>typeOfRequest</td>\n<td>\"asset\"</td>\n</tr>\n<tr>\n<td>privateKey</td>\n<td>Private Key of Account</td>\n</tr>\n<tr>\n<td>companyIdentifier</td>\n<td>Type of Organization. Accepts only \"Primary producer/farm\"/\"Warehouse\"/\"Manufacturer of goods\"/\"Packaging\"/\"Distribution center\"/\"Store\"/\"Transporter\"</td>\n</tr>\n<tr>\n<td>name</td>\n<td>Name of asset creation. Validated against the asset creations added to Your Chain via the Unova Chain Builder</td>\n</tr>\n<tr>\n<td>eventType</td>\n<td>Type of asset creation. Validated against the eventType selected in Your Chain via the Unova Chain Builder. Accepts only \"Commission\"/\"Transformation\"/\"Aggregation\"</td>\n</tr>\n<tr>\n<td>packagingID</td>\n<td>Type of packaging of asset. Validated against the packagingID selected in Your Chain via the Unova Chain Builder. Accepts only \"Serial\"/\"Pallet\"/\"Lot\"</td>\n</tr>\n<tr>\n<td>assetType</td>\n<td>Type of Asset being traced</td>\n</tr>\n<tr>\n<td>uniqueID</td>\n<td>Unique ID of the asset - eg GTIN number</td>\n</tr>\n<tr>\n<td>timestamp</td>\n<td>Timestamp of asset creation. Validated input. Format : \"yyyy-mm-dd hh:mm:ss\"</td>\n</tr>\n<tr>\n<td>organizationName</td>\n<td>Name of Organization</td>\n</tr>\n<tr>\n<td>streetAndNumber</td>\n<td>Location of Organization - Street Name &amp; Street Number</td>\n</tr>\n<tr>\n<td>zipcodeAndCity</td>\n<td>Location of Organization - Zipcode &amp; City</td>\n</tr>\n</tbody>\n</table>\n</div>","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"dc4ec400-7720-4f25-a1c3-7e90defc280f"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"40ccf823-a646-4912-8d43-b8c1d773bb89"}}],"_postman_id":"34226b49-c6c6-4ab2-9bc0-dedadfbe0cfb","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"8280ebad-011a-47fb-a88d-00d8f6610d7e","id":"8280ebad-011a-47fb-a88d-00d8f6610d7e","name":"All about Assets","type":"folder"}}},{"name":"Additional Field Lists","item":[{"name":"Create Asset - Additional Fields Example","id":"69314f92-8314-4483-964e-f6e492221817","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"bearer bf6ee78a-e21b-4ca4-a1fe-a036a1e5f578","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"requestbody","value":"","type":"text"}]},"url":"http://35.180.207.79:8070/unova/api","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"8280ebad-011a-47fb-a88d-00d8f6610d7e","id":"8280ebad-011a-47fb-a88d-00d8f6610d7e","name":"All about Assets","type":"folder"}},"urlObject":{"protocol":"http","port":"8070","path":["unova","api"],"host":["35","180","207","79"],"query":[],"variable":[]}},"response":[{"id":"e3165452-0858-401a-b784-a9625d53e307","name":"Create Asset - Additional Fields Example","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"bearer bf6ee78a-e21b-4ca4-a1fe-a036a1e5f578","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"requestbody","value":"{\"typeOfRequest\":\"asset\",\n\"privateKey\":\"0xbbfb395f3081ec……1d100db3cda6bd69\",\n\"eventType\":\"Commission\",\n\"companyIdentifier\":\"Primary producer/farm\",\n\"name\":\"Cow Birth\",\n\"uniqueID\":\"BE095698452\",\n\"timestamp\":\"2022-02-01 09:20:27\",\n\"organizationName\":\"Demo Facility 2\",\n\"streetAndNumber\":\"Mechelsestraat 161\",\n\"zipcodeAndCity\":\"3000 Leuven\",\n\"assetType\":\"cow\",\n\"packagingID\":\"Serial\",\n\"herdCode\":\"HC1000\",\n\"race\":\"Limousin\",\n\"fur color\":\"brown\"\n}","type":"text"}]},"url":"http://35.180.207.79:8070/unova/api"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"POST, GET, OPTIONS, DELETE, PUT"},{"key":"Access-Control-Max-Age","value":"3600"},{"key":"Access-Control-Allow-Headers","value":"x-requested-with, authorization, x-auth-token, origin, content-type, accept, nodejwttoken"},{"key":"Cache-Control","value":"no-store"},{"key":"Expires","value":"Thu, 01 Jan 1970 00:00:00 GMT"},{"key":"Pragma","value":"no-cache"},{"key":"Vary","value":"Origin"},{"key":"Vary","value":"Access-Control-Request-Method"},{"key":"Vary","value":"Access-Control-Request-Headers"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Type","value":"application/json;charset=utf-8"},{"key":"Content-Length","value":"1676"},{"key":"Date","value":"Mon, 21 Feb 2022 12:34:04 GMT"},{"key":"Keep-Alive","value":"timeout=60"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"response\": {\n        \"Event Response\": {\n            \"data\": {\n                \"organizationId\": 1,\n                \"eventId\": \"0x017a308a8503e1d61a94ec83ed8ad7e247bb3a036aa15f604465297c5409dba0\",\n                \"metadata\": {\n                    \"bundleUploadTimestamp\": 1645446844,\n                    \"bundleId\": null\n                },\n                \"_id\": \"621386bc8fdc4f001aaa6ae2\",\n                \"content\": {\n                    \"data\": [\n                        {\n                            \"identifiers\": {\n                                \"uniqueID\": [\n                                    \"BE095698452\"\n                                ]\n                            }\n                        },\n                        {\n                            \"organizationName\": \"Demo Facility 2\",\n                            \"race\": \"Limousin\",\n                            \"herdCode\": \"HC1000\",\n                            \"eventType\": \"Commission\",\n                            \"assetType\": \"cow\",\n                            \"packagingID\": \"Serial\",\n                            \"fur color\": \"brown\",\n                            \"streetAndNumber\": \"Mechelsestraat 161\",\n                            \"companyIdentifier\": \"Primary producer/farm\",\n                            \"name\": \"Cow Birth\",\n                            \"creationTimestamp\": 1643707227,\n                            \"zipcodeAndCity\": \"3000 Leuven\"\n                        },\n                        {}\n                    ],\n                    \"signature\": \"0x478c99b31c9016ccc238f73bda87f039ad71e045d55afc0a2a7143089b7886bc4e324e15dbbfd45449300f6744c0c81073a0dc8e13617e04d47e0ef77dccde1f1c\",\n                    \"idData\": {\n                        \"accessLevel\": 0,\n                        \"createdBy\": \"0xB5c5Eb50AF00f80a4B572e567B27d2032e34ea51\",\n                        \"dataHash\": \"0xcb27fc8cc47f8590ebd280897cb8fdbeb3f6b07fcbae5b0ea1e8fe0a87994c59\",\n                        \"assetId\": \"0x69313efbda355af0937900aa92a4ac113625b0a258c8d59ca6d6dd8868b520c9\",\n                        \"uniqueID\": \"BE095698452\",\n                        \"timestamp\": 1645446844\n                    }\n                }\n            },\n            \"meta\": {\n                \"code\": 200\n            }\n        },\n        \"Asset Response\": {\n            \"data\": {\n                \"organizationId\": 1,\n                \"metadata\": {\n                    \"bundleUploadTimestamp\": 1645446844,\n                    \"bundleId\": null\n                },\n                \"assetId\": \"0x69313efbda355af0937900aa92a4ac113625b0a258c8d59ca6d6dd8868b520c9\",\n                \"_id\": \"621386bc8fdc4f001aaa6ae1\",\n                \"content\": {\n                    \"signature\": \"0xc1d4ab46f35934189012da7ce9d515aeae2be67cf4e41b1b63bbe879c40ab9626f0457adfb3b79b8a03810e9b6aeea2dbd454e1a376972c09161b0e4ab7a76041b\",\n                    \"idData\": {\n                        \"sequenceNumber\": 3024193873685655,\n                        \"createdBy\": \"0xB5c5Eb50AF00f80a4B572e567B27d2032e34ea51\",\n                        \"timestamp\": 1645446844\n                    }\n                }\n            },\n            \"meta\": {\n                \"code\": 200\n            }\n        }\n    },\n    \"message\": \"Asset created successfully\",\n    \"status\": \"Success\"\n}"}],"_postman_id":"69314f92-8314-4483-964e-f6e492221817"}],"id":"264bde9b-d110-4669-b01c-d6ccf8020584","description":"<p>Apart from the mandatory fields,each company needs to provide relevent data to the asset creations. The API accepts any number of additional fields that the company system might hold, and want to send to the blockchain. Here we use farm as an example and append additional fields with respect to the cow birth event.</p>\n","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"18a184ff-bfe8-444f-aab4-2539502d75b1"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"20f7b258-8381-45b1-bb09-9262028403ec"}}],"_postman_id":"264bde9b-d110-4669-b01c-d6ccf8020584","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"8280ebad-011a-47fb-a88d-00d8f6610d7e","id":"8280ebad-011a-47fb-a88d-00d8f6610d7e","name":"All about Assets","type":"folder"}}},{"name":"Add documents","item":[{"name":"Add documents - Asset - Example","id":"802ca5b2-3d81-46d4-9991-bf9b79abd33e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"bearer bf6ee78a-e21b-4ca4-a1fe-a036a1e5f578","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"requestbody","value":"","type":"text"},{"key":"files","type":"file","value":null}]},"url":"http://35.180.207.79:8070/unova/api","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"8280ebad-011a-47fb-a88d-00d8f6610d7e","id":"8280ebad-011a-47fb-a88d-00d8f6610d7e","name":"All about Assets","type":"folder"}},"urlObject":{"protocol":"http","port":"8070","path":["unova","api"],"host":["35","180","207","79"],"query":[],"variable":[]}},"response":[{"id":"7d4b4a6a-61a0-4ed2-ac46-56c845fa6c50","name":"Add documents - Asset - Example","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"bearer bf6ee78a-e21b-4ca4-a1fe-a036a1e5f578","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"requestbody","value":"{\"typeOfRequest\":\"asset\",\n\"privateKey\":\"0xbbfb395f3081ec……1d100db3cda6bd69\",\n\"eventType\":\"Commission\",\n\"companyIdentifier\":\"Primary producer/farm\",\n\"name\":\"Cow Birth\",\n\"uniqueID\":\"BE095698453\",\n\"timestamp\":\"2022-02-01 09:20:27\",\n\"organizationName\":\"Demo Facility 2\",\n\"streetAndNumber\":\"Mechelsestraat 161\",\n\"zipcodeAndCity\":\"3000 Leuven\",\n\"assetType\":\"cow\",\n\"packagingID\":\"Serial\",\n\"herdCode\":\"HC1000\",\n\"race\":\"Limousin\",\n\"fur color\":\"brown\"\n}","type":"text"},{"key":"files","type":"file","src":["/C:/Users/mdman/OneDrive/Desktop/Sample Documents/Sample document.docx"]}]},"url":"http://35.180.207.79:8070/unova/api"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"POST, GET, OPTIONS, DELETE, PUT"},{"key":"Access-Control-Max-Age","value":"3600"},{"key":"Access-Control-Allow-Headers","value":"x-requested-with, authorization, x-auth-token, origin, content-type, accept, nodejwttoken"},{"key":"Cache-Control","value":"no-store"},{"key":"Expires","value":"Thu, 01 Jan 1970 00:00:00 GMT"},{"key":"Pragma","value":"no-cache"},{"key":"Vary","value":"Origin"},{"key":"Vary","value":"Access-Control-Request-Method"},{"key":"Vary","value":"Access-Control-Request-Headers"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Type","value":"application/json;charset=utf-8"},{"key":"Content-Length","value":"1823"},{"key":"Date","value":"Mon, 21 Feb 2022 12:36:50 GMT"},{"key":"Keep-Alive","value":"timeout=60"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"response\": {\n        \"Event Response\": {\n            \"data\": {\n                \"organizationId\": 1,\n                \"eventId\": \"0x2b74e7ad257bb1d468e90d8b994cec8d4c04597e6be164b039680207ad6ae362\",\n                \"metadata\": {\n                    \"bundleUploadTimestamp\": 1645447010,\n                    \"bundleId\": null\n                },\n                \"_id\": \"621387628fdc4f001aaa6ae5\",\n                \"content\": {\n                    \"data\": [\n                        {\n                            \"identifiers\": {\n                                \"uniqueID\": [\n                                    \"BE095698453\"\n                                ]\n                            }\n                        },\n                        {\n                            \"organizationName\": \"Demo Facility 2\",\n                            \"race\": \"Limousin\",\n                            \"herdCode\": \"HC1000\",\n                            \"eventType\": \"Commission\",\n                            \"assetType\": \"cow\",\n                            \"packagingID\": \"Serial\",\n                            \"fur color\": \"brown\",\n                            \"streetAndNumber\": \"Mechelsestraat 161\",\n                            \"companyIdentifier\": \"Primary producer/farm\",\n                            \"name\": \"Cow Birth\",\n                            \"creationTimestamp\": 1643707227,\n                            \"zipcodeAndCity\": \"3000 Leuven\"\n                        },\n                        {\n                            \"documents\": {\n                                \"Sample document_2022_2_21_12_36_50\": {\n                                    \"url\": \"https://unova-chain-assets-event-files.s3.eu-west-3.amazonaws.com/Sample_document.docx\"\n                                }\n                            }\n                        }\n                    ],\n                    \"signature\": \"0x9f04b6edca6667cafafa3f794934646d3c92ca41f2e3d3cab6ab0cdcb1fd06e1457be968c5a88753d3eadb32c1752cc6e5cfbd72f585b906d8bccd919853ec0e1c\",\n                    \"idData\": {\n                        \"accessLevel\": 0,\n                        \"createdBy\": \"0xB5c5Eb50AF00f80a4B572e567B27d2032e34ea51\",\n                        \"dataHash\": \"0xf0d3a579b01b18113f80220ee9666a5ad32ffeeb217e609ee142aaf9b4483bfa\",\n                        \"assetId\": \"0x24382759480b93ca1faeff50d4ceaafa36d76902846e02aa9a6ebe71552cf626\",\n                        \"uniqueID\": \"BE095698453\",\n                        \"timestamp\": 1645447010\n                    }\n                }\n            },\n            \"meta\": {\n                \"code\": 200\n            }\n        },\n        \"Asset Response\": {\n            \"data\": {\n                \"organizationId\": 1,\n                \"metadata\": {\n                    \"bundleUploadTimestamp\": 1645447010,\n                    \"bundleId\": null\n                },\n                \"assetId\": \"0x24382759480b93ca1faeff50d4ceaafa36d76902846e02aa9a6ebe71552cf626\",\n                \"_id\": \"621387628fdc4f001aaa6ae4\",\n                \"content\": {\n                    \"signature\": \"0x0dbe0de0da961d68c031c29dd7343306f18ed9064a53d5ebcc7a058e05e409c145d6dfdfb16b3b76e2eb07569571ef85778a107571cb29f79cb94e48ede5c43c1b\",\n                    \"idData\": {\n                        \"sequenceNumber\": 1582262055365480,\n                        \"createdBy\": \"0xB5c5Eb50AF00f80a4B572e567B27d2032e34ea51\",\n                        \"timestamp\": 1645447010\n                    }\n                }\n            },\n            \"meta\": {\n                \"code\": 200\n            }\n        }\n    },\n    \"message\": \"Asset created successfully\",\n    \"status\": \"Success\"\n}"}],"_postman_id":"802ca5b2-3d81-46d4-9991-bf9b79abd33e"}],"id":"261f34cb-5c1a-4d0c-99e8-a76deb05a894","description":"<p>The API provides the functionality of adding documents to the asset creation. The API accepts form-data hence documents can be easily attached. However, if the asset is already created without attaching any documents, an event needs to be created to attach the said documents.</p>\n","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"bb87932b-a2c8-4672-8d3c-dbd5c7991b01"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"a3f31058-e845-4f76-b530-17167db25eda"}}],"_postman_id":"261f34cb-5c1a-4d0c-99e8-a76deb05a894","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"8280ebad-011a-47fb-a88d-00d8f6610d7e","id":"8280ebad-011a-47fb-a88d-00d8f6610d7e","name":"All about Assets","type":"folder"}}},{"name":"Referencing","item":[{"name":"Create asset with reference - Example","id":"7d1d2740-aa7d-460e-983c-1315f27f1e08","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"bearer 90451686-4858-441a-9465-d6aa14424ccc","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"requestbody","value":"","type":"text"}]},"url":"http://35.180.207.79:8070/unova/api","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"8280ebad-011a-47fb-a88d-00d8f6610d7e","id":"8280ebad-011a-47fb-a88d-00d8f6610d7e","name":"All about Assets","type":"folder"}},"urlObject":{"protocol":"http","port":"8070","path":["unova","api"],"host":["35","180","207","79"],"query":[],"variable":[]}},"response":[{"id":"09c2cc9d-e046-437a-8982-cc8b25d3229b","name":"Create asset with reference - Example","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"bearer 90451686-4858-441a-9465-d6aa14424ccc","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"requestbody","value":"{\"typeOfRequest\":\"asset\",\n\"privateKey\":\"0xbbfb395f3081ec……1d100db3cda6bd69\",\n\"eventType\":\"Transformation\",\n\"companyIdentifier\":\"Manufacturer of goods\",\n\"name\":\"Slaughter of animal\",\n\"uniqueID\":\"BE095698453.1\",\n\"timestamp\":\"2022-02-20 09:20:27\",\n\"organizationName\":\"Demo Facility 2\",\n\"streetAndNumber\":\"Mechelsestraat 161\",\n\"zipcodeAndCity\":\"3000 Leuven\",\n\"assetType\":\"quarter\",\n\"packagingID\":\"Serial\",\n\"assetsReferencedOrAdded\":\"BE095698453\"\n}","type":"text"}]},"url":"http://35.180.207.79:8070/unova/api"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"POST, GET, OPTIONS, DELETE, PUT"},{"key":"Access-Control-Max-Age","value":"3600"},{"key":"Access-Control-Allow-Headers","value":"x-requested-with, authorization, x-auth-token, origin, content-type, accept, nodejwttoken"},{"key":"Cache-Control","value":"no-store"},{"key":"Expires","value":"Thu, 01 Jan 1970 00:00:00 GMT"},{"key":"Pragma","value":"no-cache"},{"key":"Vary","value":"Origin"},{"key":"Vary","value":"Access-Control-Request-Method"},{"key":"Vary","value":"Access-Control-Request-Headers"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Type","value":"application/json;charset=utf-8"},{"key":"Content-Length","value":"1780"},{"key":"Date","value":"Mon, 21 Feb 2022 12:52:05 GMT"},{"key":"Keep-Alive","value":"timeout=60"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"response\": {\n        \"Event Response\": {\n            \"data\": {\n                \"organizationId\": 1,\n                \"eventId\": \"0x33bf8417eef85083855a897992f979d237974e7989ab868d5fa6072b10e33138\",\n                \"metadata\": {\n                    \"bundleUploadTimestamp\": 1645447925,\n                    \"bundleId\": null\n                },\n                \"_id\": \"62138af58fdc4f001aaa6aec\",\n                \"content\": {\n                    \"data\": [\n                        {\n                            \"identifiers\": {\n                                \"uniqueID\": [\n                                    \"BE095698453.1\"\n                                ],\n                                \"referenceID\": [\n                                    {\n                                        \"assetId\": \"0x24382759480b93ca1faeff50d4ceaafa36d76902846e02aa9a6ebe71552cf626\",\n                                        \"uniqueId\": \"BE095698453\",\n                                        \"assetType\": \"cow\"\n                                    }\n                                ]\n                            }\n                        },\n                        {\n                            \"streetAndNumber\": \"Mechelsestraat 161\",\n                            \"organizationName\": \"Demo Facility 2\",\n                            \"companyIdentifier\": \"Manufacturer of goods\",\n                            \"name\": \"Slaughter of animal\",\n                            \"creationTimestamp\": 1645348827,\n                            \"zipcodeAndCity\": \"3000 Leuven\",\n                            \"eventType\": \"Transformation\",\n                            \"assetType\": \"quarter\",\n                            \"packagingID\": \"Serial\"\n                        },\n                        {}\n                    ],\n                    \"signature\": \"0x788fed9fcbc097ac2a4daa6ea6a233086d814aa752a9006bf2b87906a2644ec009abab16fdbe1ad4947d29c83d3247540e2cba7d1e801cb80cc110ab976ea8f21c\",\n                    \"idData\": {\n                        \"accessLevel\": 0,\n                        \"createdBy\": \"0xB5c5Eb50AF00f80a4B572e567B27d2032e34ea51\",\n                        \"dataHash\": \"0x72c3846d212addbbe01ca9420f76922169af68c5f520b1ca684ada67ac392a2c\",\n                        \"assetId\": \"0xa208dc0fb84a32c0fc7fb280739c1bbb9ca414a13678ab9c4825abc860d6b4d0\",\n                        \"uniqueID\": \"BE095698453.1\",\n                        \"timestamp\": 1645447925\n                    }\n                }\n            },\n            \"meta\": {\n                \"code\": 200\n            }\n        },\n        \"Asset Response\": {\n            \"data\": {\n                \"organizationId\": 1,\n                \"metadata\": {\n                    \"bundleUploadTimestamp\": 1645447925,\n                    \"bundleId\": null\n                },\n                \"assetId\": \"0xa208dc0fb84a32c0fc7fb280739c1bbb9ca414a13678ab9c4825abc860d6b4d0\",\n                \"_id\": \"62138af58fdc4f001aaa6aeb\",\n                \"content\": {\n                    \"signature\": \"0x0214d96bd6f1c3a178132070ebfa761c02ca669e5de3789d3fc7ba636b616b650dd4a273d8ad49d6f0149b274fd60330b3c546f884b7b41d4722c4110b2943cf1b\",\n                    \"idData\": {\n                        \"sequenceNumber\": 5466233141639517,\n                        \"createdBy\": \"0xB5c5Eb50AF00f80a4B572e567B27d2032e34ea51\",\n                        \"timestamp\": 1645447925\n                    }\n                }\n            },\n            \"meta\": {\n                \"code\": 200\n            }\n        }\n    },\n    \"message\": \"Asset created successfully\",\n    \"status\": \"Success\"\n}"}],"_postman_id":"7d1d2740-aa7d-460e-983c-1315f27f1e08"}],"id":"36a4fc1a-5236-4fab-8f6b-ad5491693c43","description":"<p>Referencing (assetsReferencedOrAdded) is necessary to link the assets together and visualize the whole chain. Here we use slaughter house as an example, where of a piece of meat (asset) is being created with cow (asset) as the reference (assetsReferencedOrAdded)</p>\n","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"b3ebf327-2501-4434-b605-5fa0f5705567"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"764a9606-80fc-437d-afde-7df507739e84"}}],"_postman_id":"36a4fc1a-5236-4fab-8f6b-ad5491693c43","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"8280ebad-011a-47fb-a88d-00d8f6610d7e","id":"8280ebad-011a-47fb-a88d-00d8f6610d7e","name":"All about Assets","type":"folder"}}}],"id":"cb882706-fb8b-45bb-8bd0-63fbc8e5d684","description":"<p>To create an asset, the API expects a list of mandatory fields to be passed,with certain validations in place.In addition to the mandatory fields,the field list is open for use, and any number of data points can be posted to the API. For each company, a suggested list of fields is mentioned in the following sections.</p>\n","_postman_id":"cb882706-fb8b-45bb-8bd0-63fbc8e5d684","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"8280ebad-011a-47fb-a88d-00d8f6610d7e","id":"8280ebad-011a-47fb-a88d-00d8f6610d7e","name":"All about Assets","type":"folder"}}}],"id":"8280ebad-011a-47fb-a88d-00d8f6610d7e","auth":{"type":"noauth","isInherited":false},"event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"4d3bcae0-aed9-4931-803b-062c2f555b14"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"35e0afa5-f10f-4627-850c-ea8032fb9ce8"}}],"_postman_id":"8280ebad-011a-47fb-a88d-00d8f6610d7e","description":""},{"name":"All about Events","item":[{"name":"What is an Event? ","item":[],"id":"3d19c39b-9ec8-42b1-baf9-d18222432e62","description":"<p>Events record any relevant and time-stamped information that happened to one or multiple assets. Examples are transports, observations, quality controls medicines administered etc...</p>\n<p>All events must contain the name of the event, uniqueID, location, (street &amp; number, zipcode &amp; city) and any additional data field. Events are always associated with an asset. </p>\n","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"259793d8-3c69-4db4-a804-3bb665840e43"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"24985434-13d7-4d14-b8a5-409859d06ed6"}}],"_postman_id":"3d19c39b-9ec8-42b1-baf9-d18222432e62","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"7cc1bb4f-8d06-4568-932d-223d2eaaa7df","id":"7cc1bb4f-8d06-4568-932d-223d2eaaa7df","name":"All about Events","type":"folder"}}},{"name":"Creating an Event","item":[{"name":"Mandatory Field List","item":[{"name":"Create Event - Mandatory Fields Example","id":"8151e567-8924-4b2a-95e0-6528c7d5c617","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"bearer 90451686-4858-441a-9465-d6aa14424ccc","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"requestbody","value":"","type":"text"}]},"url":"http://35.180.207.79:8070/unova/api","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"7cc1bb4f-8d06-4568-932d-223d2eaaa7df","id":"7cc1bb4f-8d06-4568-932d-223d2eaaa7df","name":"All about Events","type":"folder"}},"urlObject":{"protocol":"http","port":"8070","path":["unova","api"],"host":["35","180","207","79"],"query":[],"variable":[]}},"response":[{"id":"cbb9baa4-c8d1-4247-9b57-b4dba487237c","name":"Create Event - Mandatory Fields Example","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"bearer 90451686-4858-441a-9465-d6aa14424ccc","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"requestbody","value":"{\"typeOfRequest\":\"event\",\n\"privateKey\":\"0xbbfb395f3081ec……1d100db3cda6bd69\",\n\"eventType\":\"Outbound Transport\",\n\"companyIdentifier\":\"Manufacturer of goods\",\n\"name\":\"outbound logistics\",\n\"uniqueID\":\"BE095698453.1\",\n\"timestamp\":\"2022-02-21 09:20:27\",\n\"organizationName\":\"Demo Facility 2\",\n\"streetAndNumber\":\"Mechelsestraat 161\",\n\"zipcodeAndCity\":\"3000 Leuven\"\n}","type":"text"}]},"url":"http://35.180.207.79:8070/unova/api"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"POST, GET, OPTIONS, DELETE, PUT"},{"key":"Access-Control-Max-Age","value":"3600"},{"key":"Access-Control-Allow-Headers","value":"x-requested-with, authorization, x-auth-token, origin, content-type, accept, nodejwttoken"},{"key":"Cache-Control","value":"no-store"},{"key":"Expires","value":"Thu, 01 Jan 1970 00:00:00 GMT"},{"key":"Pragma","value":"no-cache"},{"key":"Vary","value":"Origin"},{"key":"Vary","value":"Access-Control-Request-Method"},{"key":"Vary","value":"Access-Control-Request-Headers"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Type","value":"application/json;charset=utf-8"},{"key":"Content-Length","value":"988"},{"key":"Date","value":"Mon, 21 Feb 2022 13:39:55 GMT"},{"key":"Keep-Alive","value":"timeout=60"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"response\": {\n            \"data\": {\n                \"organizationId\": 1,\n                \"eventId\": \"0xf848a038bbc222da44669736ee770f3d135a5a24ad7b7f4dff64450e8cb230f5\",\n                \"metadata\": {\n                    \"bundleUploadTimestamp\": 1645450795,\n                    \"bundleId\": null\n                },\n                \"_id\": \"6213962b8fdc4f001aaa6afd\",\n                \"content\": {\n                    \"data\": [\n                        {\n                            \"streetAndNumber\": \"Mechelsestraat 161\",\n                            \"organizationName\": \"Demo Facility 2\",\n                            \"companyIdentifier\": \"Manufacturer of goods\",\n                            \"name\": \"outbound logistics\",\n                            \"creationTimestamp\": 1645435227,\n                            \"zipcodeAndCity\": \"3000 Leuven\",\n                            \"eventType\": \"Outbound Transport\"\n                        },\n                        {\n                            \"identifiers\": {\n                                \"uniqueID\": [\n                                    \"BE095698453.1\"\n                                ]\n                            }\n                        },\n                        {}\n                    ],\n                    \"signature\": \"0xc5f8021a2152c76fc3bdf7e87d62a7bb0c628fc3051ba61a70ae07abc949df6d6d13dec03c1e0fd7f580e5b3336a829a3a03f98d6fbf88cbe6db510858c2110c1c\",\n                    \"idData\": {\n                        \"accessLevel\": 0,\n                        \"createdBy\": \"0xB5c5Eb50AF00f80a4B572e567B27d2032e34ea51\",\n                        \"dataHash\": \"0x480d03d98a6c816d742a805227426084f406b98cc765bbd3e0b3cbda75fe28a9\",\n                        \"assetId\": \"\",\n                        \"uniqueID\": \"BE095698453.1\",\n                        \"timestamp\": 1645450795\n                    }\n                }\n            },\n            \"meta\": {\n                \"code\": 200\n            }\n        },\n        \"message\": \"Event created successfully\",\n        \"status\": \"Success\"\n    }\n]"}],"_postman_id":"8151e567-8924-4b2a-95e0-6528c7d5c617"}],"id":"c8d48f2a-56dc-4c4a-9661-c2be7cb85621","description":"<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field Name</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>typeOfRequest</td>\n<td>\"event\"</td>\n</tr>\n<tr>\n<td>privateKey</td>\n<td>Private Key of Account</td>\n</tr>\n<tr>\n<td>companyIdentifier</td>\n<td>Type of Organization. Accepts only \"Primary producer/farm\"/\"Warehouse\"/\"Manufacturer of goods\"/\"Packaging\"/\"Distribution center\"/\"Store\"/\"Transporter\"</td>\n</tr>\n<tr>\n<td>name</td>\n<td>Name of event. Validated against the events added to Your Chain via the Unova Chain Builder</td>\n</tr>\n<tr>\n<td>eventType</td>\n<td>Type of event. Validated against the eventType selected in Your Chain via the Unova Chain Builder. Accepts only \"Transport Inbound\"/\"Transport Outbound\"/\"Observation\"/\"Others\"</td>\n</tr>\n<tr>\n<td>assetType</td>\n<td>Type of Asset being traced</td>\n</tr>\n<tr>\n<td>uniqueID</td>\n<td>Unique ID of the asset - eg GTIN number</td>\n</tr>\n<tr>\n<td>timestamp</td>\n<td>Timestamp of asset creation. Validated input. Format : \"yyyy-mm-dd hh:mm:ss\"</td>\n</tr>\n<tr>\n<td>organizationName</td>\n<td>Name of Organization</td>\n</tr>\n<tr>\n<td>streetAndNumber</td>\n<td>Location of Organization - Street Name &amp; Street Number</td>\n</tr>\n<tr>\n<td>zipcodeAndCity</td>\n<td>Location of Organization - Zipcode &amp; City</td>\n</tr>\n</tbody>\n</table>\n</div>","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"6ab3bf2b-43a3-45fa-bfe2-f2badab1cb91"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"b63b608b-ddc7-42a2-ac6c-d63a066228a5"}}],"_postman_id":"c8d48f2a-56dc-4c4a-9661-c2be7cb85621","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"7cc1bb4f-8d06-4568-932d-223d2eaaa7df","id":"7cc1bb4f-8d06-4568-932d-223d2eaaa7df","name":"All about Events","type":"folder"}}},{"name":"Additional Field Lists","item":[{"name":"Create Event - Additional Fields Example","id":"6f8d3060-dda5-419c-b641-d4b420e7060c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"bearer fd37824c-6132-4b32-8a85-b74a6cfc0efd","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"requestbody","value":"","type":"text"}]},"url":"http://35.180.207.79:8070/unova/api","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"7cc1bb4f-8d06-4568-932d-223d2eaaa7df","id":"7cc1bb4f-8d06-4568-932d-223d2eaaa7df","name":"All about Events","type":"folder"}},"urlObject":{"protocol":"http","port":"8070","path":["unova","api"],"host":["35","180","207","79"],"query":[],"variable":[]}},"response":[{"id":"408a70f4-dff4-4790-a045-58fe1fca4ff7","name":"Create Event - Additional Fields Example","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"bearer fd37824c-6132-4b32-8a85-b74a6cfc0efd","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"requestbody","value":"{\"typeOfRequest\":\"event\",\n\"privateKey\":\"0xbbfb395f3081ec……1d100db3cda6bd69\",\n\"eventType\":\"Outbound Transport\",\n\"companyIdentifier\":\"Manufacturer of goods\",\n\"name\":\"outbound logistics\",\n\"uniqueID\":\"BE095698453.1\",\n\"timestamp\":\"2022-02-21 09:20:27\",\n\"organizationName\":\"Demo Facility 2\",\n\"streetAndNumber\":\"Mechelsestraat 161\",\n\"zipcodeAndCity\":\"3000 Leuven\",\n\"transporter\":\"Gheys Transports\",\n\"destinationCity\":\"Antwerp\"\n}","type":"text"}]},"url":"http://35.180.207.79:8070/unova/api"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"POST, GET, OPTIONS, DELETE, PUT"},{"key":"Access-Control-Max-Age","value":"3600"},{"key":"Access-Control-Allow-Headers","value":"x-requested-with, authorization, x-auth-token, origin, content-type, accept, nodejwttoken"},{"key":"Cache-Control","value":"no-store"},{"key":"Expires","value":"Thu, 01 Jan 1970 00:00:00 GMT"},{"key":"Pragma","value":"no-cache"},{"key":"Vary","value":"Origin"},{"key":"Vary","value":"Access-Control-Request-Method"},{"key":"Vary","value":"Access-Control-Request-Headers"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Type","value":"application/json;charset=utf-8"},{"key":"Content-Length","value":"1049"},{"key":"Date","value":"Mon, 21 Feb 2022 13:45:36 GMT"},{"key":"Keep-Alive","value":"timeout=60"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"response\": {\n            \"data\": {\n                \"organizationId\": 1,\n                \"eventId\": \"0x813c76b1ce5ddc466856f0fc3717d623df6bc4b3bfafddf0f01fbb84fd9d2b58\",\n                \"metadata\": {\n                    \"bundleUploadTimestamp\": 1645451136,\n                    \"bundleId\": null\n                },\n                \"_id\": \"621397808fdc4f001aaa6b01\",\n                \"content\": {\n                    \"data\": [\n                        {\n                            \"destinationCity\": \"Antwerp\",\n                            \"streetAndNumber\": \"Mechelsestraat 161\",\n                            \"organizationName\": \"Demo Facility 2\",\n                            \"companyIdentifier\": \"Manufacturer of goods\",\n                            \"transporter\": \"Gheys Transports\",\n                            \"name\": \"outbound logistics\",\n                            \"creationTimestamp\": 1645435227,\n                            \"zipcodeAndCity\": \"3000 Leuven\",\n                            \"eventType\": \"Outbound Transport\"\n                        },\n                        {\n                            \"identifiers\": {\n                                \"uniqueID\": [\n                                    \"BE095698453.1\"\n                                ]\n                            }\n                        },\n                        {}\n                    ],\n                    \"signature\": \"0xd958c1fddf2b0f23ca9d96a1eceeec5e36ed817e11409d2e644d51bf8c99f14100a935a2fc445a987c81133991489e4a5954e0595e9403c259ff4ef876d3a55f1c\",\n                    \"idData\": {\n                        \"accessLevel\": 0,\n                        \"createdBy\": \"0xB5c5Eb50AF00f80a4B572e567B27d2032e34ea51\",\n                        \"dataHash\": \"0x398f1f6fa40f7b20c81f3658cbaebf72a415949e0e0f830291314e1ff0a25d65\",\n                        \"assetId\": \"\",\n                        \"uniqueID\": \"BE095698453.1\",\n                        \"timestamp\": 1645451136\n                    }\n                }\n            },\n            \"meta\": {\n                \"code\": 200\n            }\n        },\n        \"message\": \"Event created successfully\",\n        \"status\": \"Success\"\n    }\n]"}],"_postman_id":"6f8d3060-dda5-419c-b641-d4b420e7060c"}],"id":"dd05ae53-8675-4acb-9bc0-28ff9269a532","description":"<p>Apart from the mandatory fields,each company needs to provide relevent data to the events. The API accepts any number of additional fields that the company system might hold, and want to send to the blockchain. Here we use farm as an example and append additional fields with respect to the veterinary event.</p>\n","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"403dcf5d-a738-4415-bdb0-35b00d7bf18a"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"dc05cfb4-a3c1-4903-ba34-1a159004bbba"}}],"_postman_id":"dd05ae53-8675-4acb-9bc0-28ff9269a532","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"7cc1bb4f-8d06-4568-932d-223d2eaaa7df","id":"7cc1bb4f-8d06-4568-932d-223d2eaaa7df","name":"All about Events","type":"folder"}}},{"name":"Add Documents","item":[{"name":"Add documents - Event - Example","id":"66d3a4b7-ed5f-4431-891a-82e3fccf4403","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"bearer fd37824c-6132-4b32-8a85-b74a6cfc0efd","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"requestbody","value":"","type":"text"},{"key":"files","type":"file","value":null}]},"url":"http://35.180.207.79:8070/unova/api","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"7cc1bb4f-8d06-4568-932d-223d2eaaa7df","id":"7cc1bb4f-8d06-4568-932d-223d2eaaa7df","name":"All about Events","type":"folder"}},"urlObject":{"protocol":"http","port":"8070","path":["unova","api"],"host":["35","180","207","79"],"query":[],"variable":[]}},"response":[{"id":"bda92673-63cf-47c7-9b98-dc814ec4aca3","name":"Add documents - Event - Example","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"bearer fd37824c-6132-4b32-8a85-b74a6cfc0efd","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"requestbody","value":"{\"typeOfRequest\":\"event\",\n\"privateKey\":\"0xbbfb395f3081ec……1d100db3cda6bd69\",\n\"eventType\":\"Outbound Transport\",\n\"companyIdentifier\":\"Manufacturer of goods\",\n\"name\":\"outbound logistics\",\n\"uniqueID\":\"BE095698453.1\",\n\"timestamp\":\"2022-02-21 09:20:27\",\n\"organizationName\":\"Demo Facility 2\",\n\"streetAndNumber\":\"Mechelsestraat 161\",\n\"zipcodeAndCity\":\"3000 Leuven\"\n}","type":"text"},{"key":"files","type":"file","src":["/C:/Users/mdman/OneDrive/Desktop/Sample Documents/Sample document.docx"]}]},"url":"http://35.180.207.79:8070/unova/api"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"POST, GET, OPTIONS, DELETE, PUT"},{"key":"Access-Control-Max-Age","value":"3600"},{"key":"Access-Control-Allow-Headers","value":"x-requested-with, authorization, x-auth-token, origin, content-type, accept, nodejwttoken"},{"key":"Cache-Control","value":"no-store"},{"key":"Expires","value":"Thu, 01 Jan 1970 00:00:00 GMT"},{"key":"Pragma","value":"no-cache"},{"key":"Vary","value":"Origin"},{"key":"Vary","value":"Access-Control-Request-Method"},{"key":"Vary","value":"Access-Control-Request-Headers"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Type","value":"application/json;charset=utf-8"},{"key":"Content-Length","value":"1135"},{"key":"Date","value":"Mon, 21 Feb 2022 13:49:39 GMT"},{"key":"Keep-Alive","value":"timeout=60"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"response\": {\n            \"data\": {\n                \"organizationId\": 1,\n                \"eventId\": \"0x2588a478a31d2f64335dea0e541b194a1bc946e507e60cc11ca843a562da9e51\",\n                \"metadata\": {\n                    \"bundleUploadTimestamp\": 1645451379,\n                    \"bundleId\": null\n                },\n                \"_id\": \"621398738fdc4f001aaa6b03\",\n                \"content\": {\n                    \"data\": [\n                        {\n                            \"streetAndNumber\": \"Mechelsestraat 161\",\n                            \"organizationName\": \"Demo Facility 2\",\n                            \"companyIdentifier\": \"Manufacturer of goods\",\n                            \"name\": \"outbound logistics\",\n                            \"creationTimestamp\": 1645435227,\n                            \"zipcodeAndCity\": \"3000 Leuven\",\n                            \"eventType\": \"Outbound Transport\"\n                        },\n                        {\n                            \"identifiers\": {\n                                \"uniqueID\": [\n                                    \"BE095698453.1\"\n                                ]\n                            }\n                        },\n                        {\n                            \"documents\": {\n                                \"Sample document_2022_2_21_13_49_39\": {\n                                    \"url\": \"https://unova-chain-assets-event-files.s3.eu-west-3.amazonaws.com/Sample_document.docx\"\n                                }\n                            }\n                        }\n                    ],\n                    \"signature\": \"0x15a0972a74a464133ac565205deaecb9873bbb3de62a3f6ce0e674b7c61d8e1216bf0d74a7b6f56ec0d7d969ae5f98d931446ab483141360333050efd8461e6b1c\",\n                    \"idData\": {\n                        \"accessLevel\": 0,\n                        \"createdBy\": \"0xB5c5Eb50AF00f80a4B572e567B27d2032e34ea51\",\n                        \"dataHash\": \"0x0f1a9e7547b8bdcf96c42e103cb165745184d71e304679e8d200dca1d06a6eb6\",\n                        \"assetId\": \"\",\n                        \"uniqueID\": \"BE095698453.1\",\n                        \"timestamp\": 1645451379\n                    }\n                }\n            },\n            \"meta\": {\n                \"code\": 200\n            }\n        },\n        \"message\": \"Event created successfully\",\n        \"status\": \"Success\"\n    }\n]"}],"_postman_id":"66d3a4b7-ed5f-4431-891a-82e3fccf4403"}],"id":"465ff9ce-ab85-4cc0-b206-0b6ac9734973","description":"<p>The API provides the functionality of adding documents to the event. The API accepts form-data hence documents can be easily attached.</p>\n","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"73acb43b-030d-46fc-81d5-e68d087f2f38"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"1b88f28a-0672-4374-8696-10b48df1404e"}}],"_postman_id":"465ff9ce-ab85-4cc0-b206-0b6ac9734973","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"7cc1bb4f-8d06-4568-932d-223d2eaaa7df","id":"7cc1bb4f-8d06-4568-932d-223d2eaaa7df","name":"All about Events","type":"folder"}}}],"id":"99781da2-4f93-4718-b425-b0201989b86d","description":"<p>To create an event, the API expects a list of mandatory fields to be passed,with certain validations in place.In addition to the mandatory fields,the field list is open for use, and any number of data points can be posted to the API. For each company, a suggested list of events and corresponding fields is mentioned in the following sections.</p>\n","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"2ad635d2-c079-427b-985d-ac33ac02410f"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"b61ee108-dd2f-48cb-b5be-23e529e25d6c"}}],"_postman_id":"99781da2-4f93-4718-b425-b0201989b86d","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"7cc1bb4f-8d06-4568-932d-223d2eaaa7df","id":"7cc1bb4f-8d06-4568-932d-223d2eaaa7df","name":"All about Events","type":"folder"}}}],"id":"7cc1bb4f-8d06-4568-932d-223d2eaaa7df","auth":{"type":"noauth","isInherited":false},"event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"3df17a92-3946-4c5d-ac83-0407f07ea682"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"8f1fcac4-0b41-4b2e-85d0-39f8e65c8dfe"}}],"_postman_id":"7cc1bb4f-8d06-4568-932d-223d2eaaa7df","description":""}],"event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"02b2f1cf-2bc0-4871-bdad-4da621a131b4"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"8d644817-127e-4381-9da8-005656083648"}}]}