Table of Content
This document provides detailed information on how to use the provided API and code to retrieve, filter, and display product data from a product ID ([PID]).
[API_URL] = PRODUCTION: https://api.efixii.io
UAT: https://efixiidev-uat.azurewebsites.net
Product Search
Return the product data by Product id [PID]
Request
[API_URL]/search/jsonsearch?id=[PID]&searchMethod=Product
Result
Json
{
"productId": "Rouge1",
"batch": "Rouge1",
"motherPlant": "",
"grower": "",
"bestBefore": "15/11/2028",
"batchStatus": "Delivered",
"labResult": {
"testType": "N/A",
"cbd": "",
"thc": ""
},
"efficacyRating": "",
"notarisations": [
{
"name": "Name",
"answers": [
"Chateau Rouge"
],
"stepId": "21010",
"signingWallet": "0x2d72796996b201bd475b083dadae05a39cfeee96",
"createTime": "2023-01-16T13:51:05",
"fileName": "",
"description": "",
"gps": ""
},
{
"name": "Logo",
"answers": [
"EB741A7B8E417B872A38EC9C8858BB00950F73059CA828297C1DE535321DA43D",
"Chateau Rouge"
],
"stepId": "21020",
"signingWallet": "0x2d72796996b201bd475b083dadae05a39cfeee96",
"createTime": "2023-01-16T13:52:29.473",
"fileName": "EB741A7B8E417B872A38EC9C8858BB00950F73059CA828297C1DE535321DA43D.jpeg",
"description": "Chateau Rouge",
"gps": ""
},
{
"name": "Selfie",
"answers": [
"F9FA489CBEFC68D072EB20E71B1293E090469FD455B761DB3C0BA4E0CD7F6C80",
"Chateau Rouge"
],
"stepId": "21030",
"signingWallet": "0x2d72796996b201bd475b083dadae05a39cfeee96",
"createTime": "2023-01-16T13:52:55.147",
"fileName": "F9FA489CBEFC68D072EB20E71B1293E090469FD455B761DB3C0BA4E0CD7F6C80.jpeg",
"description": "Chateau Rouge",
"gps": ""
},
{
"name": "Location",
"answers": [
"9DFEF8ADEBF8C45C4F19E5BF3ED460A7249AD12653BBFFD04619EBB70FF1C0BC",
"Chateau Rouge"
],
"stepId": "21040",
"signingWallet": "0x2d72796996b201bd475b083dadae05a39cfeee96",
"createTime": "2023-01-16T13:55:26.193",
"fileName": "9DFEF8ADEBF8C45C4F19E5BF3ED460A7249AD12653BBFFD04619EBB70FF1C0BC.jpeg",
"description": "Chateau Rouge",
"gps": ""
},
{
"name": "Add Greenhouse",
"answers": [
"vine1",
"Chateau Rouge"
],
"stepId": "23010",
"signingWallet": "0x2d72796996b201bd475b083dadae05a39cfeee96",
"createTime": "2023-01-16T13:55:59.63",
"fileName": "",
"description": "",
"gps": ""
},
{
"name": "Create Grow Zone",
"answers": [
"zone1",
"Chateau Rouge"
],
"stepId": "23020",
"signingWallet": "0x2d72796996b201bd475b083dadae05a39cfeee96",
"createTime": "2023-01-16T13:58:18.123",
"fileName": "",
"description": "",
"gps": ""
},
{
"name": "Record Event: Photo Evidence",
"answers": [
"501ACC18FECB3F5D42EAC92695FC9EB03CF682FF9190AC26440E9343AC548F5F",
"zone1"
],
"stepId": "23050",
"signingWallet": "0x2d72796996b201bd475b083dadae05a39cfeee96",
"createTime": "2023-01-16T14:01:36.42",
"fileName": "501ACC18FECB3F5D42EAC92695FC9EB03CF682FF9190AC26440E9343AC548F5F.jpeg",
"description": "zone1",
"gps": ""
},
{
"name": "Create Batch",
"answers": [
"Rouge1",
"Chateau Rouge"
],
"stepId": "24010",
"signingWallet": "0x2d72796996b201bd475b083dadae05a39cfeee96",
"createTime": "2023-01-16T13:52:05.827",
"fileName": "",
"description": "",
"gps": ""
},
{
"name": "Create Tray",
"answers": [
"Branch1"
],
"stepId": "24020",
"signingWallet": "0x2d72796996b201bd475b083dadae05a39cfeee96",
"createTime": "2023-01-16T14:03:15.337",
"fileName": "",
"description": "",
"gps": ""
},
{
"name": "Add Tray to Batch",
"answers": [
"Rouge1",
"Branch1",
"500"
],
"stepId": "24030",
"signingWallet": "0x2d72796996b201bd475b083dadae05a39cfeee96",
"createTime": "2023-01-16T14:46:40.237",
"fileName": "",
"description": "",
"gps": ""
},
{
"name": "Photo Cutting-Tray",
"answers": [
"C544EA5C4EA793FDA219074F1CA8C8C4C64884D81552E6A976AB1AAE7BB0A33E",
"Branch1"
],
"stepId": "24040",
"signingWallet": "0x2d72796996b201bd475b083dadae05a39cfeee96",
"createTime": "2023-01-16T14:45:44.063",
"fileName": "C544EA5C4EA793FDA219074F1CA8C8C4C64884D81552E6A976AB1AAE7BB0A33E.jpeg",
"description": "Branch1",
"gps": ""
},
{
"name": "Photo Planted Zone",
"answers": [
"78958C6E5C05BA694D33A2A1E79E73453CD0D8019356648AA2EFA436872BBC36",
"zone1"
],
"stepId": "24060",
"signingWallet": "0x2d72796996b201bd475b083dadae05a39cfeee96",
"createTime": "2023-01-16T14:47:12.11",
"fileName": "78958C6E5C05BA694D33A2A1E79E73453CD0D8019356648AA2EFA436872BBC36.jpeg",
"description": "zone1",
"gps": ""
},
{
"name": "Photo Harvest",
"answers": [
"EA7EDD2D88B7111AF03A17DCCA9121CACBDFB4A700D8327D4F35789EAF9571CA",
"Rouge1"
],
"stepId": "24090",
"signingWallet": "0x2d72796996b201bd475b083dadae05a39cfeee96",
"createTime": "2023-01-16T14:49:33.52",
"fileName": "EA7EDD2D88B7111AF03A17DCCA9121CACBDFB4A700D8327D4F35789EAF9571CA.jpeg",
"description": "Rouge1",
"gps": ""
},
{
"name": "Photo Harvest",
"answers": [
"720D07E5035F28BF9BA86164E259A93A0533B3EFD05CBA8FC8D437568EF61EB5",
"Rouge1"
],
"stepId": "24090",
"signingWallet": "0x2d72796996b201bd475b083dadae05a39cfeee96",
"createTime": "2023-01-16T14:50:32.677",
"fileName": "720D07E5035F28BF9BA86164E259A93A0533B3EFD05CBA8FC8D437568EF61EB5.jpeg",
"description": "Rouge1",
"gps": ""
},
{
"name": "Record Event: Photo Evidence",
"answers": [
"3F3542AC8E33882BC4206DD1B7DA6686E15C054CA536D5A1160CB1F79A9B0456",
"Rouge1"
],
"stepId": "24130",
"signingWallet": "0x2d72796996b201bd475b083dadae05a39cfeee96",
"createTime": "2023-01-16T14:49:52.737",
"fileName": "3F3542AC8E33882BC4206DD1B7DA6686E15C054CA536D5A1160CB1F79A9B0456.jpeg",
"description": "Rouge1",
"gps": ""
},
{
"name": "Record Event: Photo Evidence",
"answers": [
"7278F10032B880F7B0C52A1008F561C2403C5C4802E37317243BBFD55D14D66E",
"Rouge1"
],
"stepId": "24130",
"signingWallet": "0x204f6f29afb531f07e8be60ca679d9857af609a9",
"createTime": "2023-02-08T13:49:12.233",
"fileName": "7278F10032B880F7B0C52A1008F561C2403C5C4802E37317243BBFD55D14D66E.jpeg",
"description": "Rouge1",
"gps": ""
},
{
"name": "Scan Product QR",
"answers": [
"Rouge1"
],
"stepId": "28010",
"signingWallet": "0xaa900b02959e01d1fc692f364d7fd6d9aba2916f",
"createTime": "2023-02-10T10:31:28.693",
"fileName": "",
"description": "",
"gps": ""
},
{
"name": "Create Product From Batch",
"answers": [
"Rouge1",
"Rouge1"
],
"stepId": "29010",
"signingWallet": "0x2d72796996b201bd475b083dadae05a39cfeee96",
"createTime": "2023-01-16T14:52:52.387",
"fileName": "",
"description": "",
"gps": ""
},
{
"name": "Create Product From Batch",
"answers": [
"Rouge1",
"Rouge1"
],
"stepId": "29010",
"signingWallet": "0x2d72796996b201bd475b083dadae05a39cfeee96",
"createTime": "2023-01-16T14:57:07.3",
"fileName": "",
"description": "",
"gps": ""
},
{
"name": "Product Name",
"answers": [
"Rouge1",
"RougeOne"
],
"stepId": "29020",
"signingWallet": "0x2d72796996b201bd475b083dadae05a39cfeee96",
"createTime": "2023-01-16T14:53:27.83",
"fileName": "",
"description": "",
"gps": ""
},
{
"name": "Best Before Date",
"answers": [
"Rouge1",
"15/11/2028"
],
"stepId": "29030",
"signingWallet": "0x2d72796996b201bd475b083dadae05a39cfeee96",
"createTime": "2023-01-16T14:54:30.16",
"fileName": "",
"description": "",
"gps": ""
},
{
"name": "Website URL",
"answers": [
"Rouge1",
"00TQTSWD"
],
"stepId": "29040",
"signingWallet": "0x2d72796996b201bd475b083dadae05a39cfeee96",
"createTime": "2023-01-16T14:55:10.957",
"fileName": "",
"description": "",
"gps": ""
},
{
"name": "Authentic Product Packaging",
"answers": [
"FC4D6DDDDC714FC8B1139FC1A03206D29B776F50FE247FEFBF92642EDB2A72AC",
"Rouge1"
],
"stepId": "29050",
"signingWallet": "0x2d72796996b201bd475b083dadae05a39cfeee96",
"createTime": "2023-01-16T14:55:48.253",
"fileName": "FC4D6DDDDC714FC8B1139FC1A03206D29B776F50FE247FEFBF92642EDB2A72AC.jpeg",
"description": "Rouge1",
"gps": ""
}
]
}
Product logo
Return the product logo url from the product data. [‘stepId’] == 21020
Request
[API_URL]/search/regtechnotarisations?id=' . $data['notarisations'][$i]['fileName'] . '&handler=view'
Product image
Return the product image from the product data. [‘stepId’] == 29050
Request
[API_URL]/search/regtechnotarisations?id=' . $data[$i]['fileName'] . '&handler=view'
Product reviews
Return the product review from the product data. [‘stepId’] == 28030
Request
[API_URL]/regtechnotarisations?id=' . $data[$i]['fileName'] . '&handler=view'