{"info":{"_postman_id":"d5e37e02-85c9-4706-b615-6e97ec52f19e","name":"MY Compliance Management API","description":"<html><head></head><body><h2 id=\"usage\">Usage</h2>\n<p>Before using the MY Compliance API it is required that your account be authorised to use it. If your account is not currently authorised you will need to contact your Customer Support Manager and request this be done.</p>\n<p>Once your account is authorised to use the API you will need to generate an API key.<br>This can be done within the MY Compliance portal by going to Account &gt; Options &gt; Manage API Keys.</p>\n<p>If using this collection you will need to add the newly generated API Key as the <code>Bearer</code> variable within the collection settings</p>\n<h2 id=\"rate-limits\">Rate Limits</h2>\n<p>Each API Key has rate limit of 60 requests per minute. In addition to this each account has a global rate limit of 120 requests per minute.<br>If your application exceeds any of these you will receive a 429 response code with an error stating if the key or account rate limit has been exceeded.</p>\n<p>If you find yourself exceeding the rate limit on a regular basis you will need to implement throttling within your application.</p>\n<h4 id=\"tracking-rate-limit\">Tracking Rate limit</h4>\n<p>Each Request to the API will return header fields to help you track your usage in relation to the rate limit.<br>These are as follows</p>\n<ul>\n<li><p><code>RateLimit-Limit</code> - This is the amount of requests your api key can make per minute</p>\n</li>\n<li><p><code>RateLimit-Remaining</code> - This is how many request you have left in the current minute</p>\n</li>\n<li><p><code>RateLimit-Reset</code> - This is how long (in seconds) you have until the rate limit resets</p>\n</li>\n<li><p><code>RateLimit-Account-Limit</code> - This is the amount of requests your account can make per minute</p>\n</li>\n<li><p><code>RateLimit-Account-Remaining</code> - This is how many request your account has left in the current minute</p>\n</li>\n<li><p><code>RateLimit-Account-Reset</code> - This is how long (in seconds) you have until the rate limit resets for your account</p>\n</li>\n</ul>\n<h2 id=\"request-parameters\">Request Parameters</h2>\n<p>All index routes support a series of query parameters. These allow you to filter and customise the way in which the API will return data to your application. All request query parameters are optional</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>pageSize</td>\n<td>The <code>pageSize</code> query parameter allows you to specify the page size of the results the API will return up to a maximum of 100 resources per page</td>\n</tr>\n<tr>\n<td>page</td>\n<td>The <code>page</code> query parameter allows you to specify the page of results you would like from the API. In the event that an invalid page number is provided the API will return a 400 status code stating why it is invalid</td>\n</tr>\n<tr>\n<td>orderBy</td>\n<td>The <code>orderBy</code> query parameter allows you to specify a field by which to order the results by, If no orderBy query parameter is provided the API will automatically order the results by <code>id</code></td>\n</tr>\n<tr>\n<td>orderDirection</td>\n<td>The <code>orderDirection</code> query parameter allows you to specify a direction in which to order your data by. There are only 2 possible values for this Ascending <code>asc</code> or Descending <code>desc</code></td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"filters\">Filters</h2>\n<p>Filters allow you to filter the data you retrieve from the API<br>The MY Compliance API allows you to filter by any property within a resource apart from those returned as relationships.</p>\n<p>for example if you wanted to filter by reference numbers bigger than 10 you would add the following filter.</p>\n<p><code>/actions?filter=reference gt 10</code></p>\n<p>You can also filter by dates using the <code>gt</code> and <code>lt</code> operators this allows us to filter for resources in a date range like so<br><code>/actions?filter=due_date gt datetime'2020-12-15T08:46:40' AND due_date lt datetime'2022-12-15T08:46:40'</code></p>\n<p>The format of date filters is very important so please take care to make sure you use the same format. Filters that do not comply will be ignored by the API</p>\n<h5 id=\"filter-structure\">Filter structure</h5>\n<p>Filters are structured in 3 segments.</p>\n<ol>\n<li><p>The property you would like to filter by</p>\n</li>\n<li><p>The comparison operation you would like to use (You can see the available operators below)</p>\n</li>\n<li><p>The value are comparing to</p>\n</li>\n</ol>\n<h5 id=\"comparison-operators\">Comparison Operators</h5>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Operator</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>eq</td>\n<td>Check if the values are equal</td>\n</tr>\n<tr>\n<td>ne</td>\n<td>Check if the values are not equal</td>\n</tr>\n<tr>\n<td>gt</td>\n<td>Check if the property value is greater than the specified value</td>\n</tr>\n<tr>\n<td>lt</td>\n<td>Check if the property value is less than the specified value</td>\n</tr>\n</tbody>\n</table>\n</div></body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"13654287","collectionId":"d5e37e02-85c9-4706-b615-6e97ec52f19e","publishedId":"UV5dcE3v","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2022-05-03T14:40:46.000Z"},"item":[{"name":"Actions","item":[{"name":"Get Actions","id":"93bd0974-242b-44fb-a8b4-89f148100648","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"https://my-compliance.co.uk/api/v1/actions","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"$2y$10$SsWzzhf1/HJh/BsBj7VsluPrtJAb.nz42cUkZoHoLyhlgIomSRs2y"}]},"isInherited":true,"source":{"_postman_id":"d5e37e02-85c9-4706-b615-6e97ec52f19e","id":"d5e37e02-85c9-4706-b615-6e97ec52f19e","name":"MY Compliance Management API","type":"collection"}},"urlObject":{"path":["api","v1","actions"],"host":["https://my-compliance.co.uk"],"query":[],"variable":[]}},"response":[{"id":"8e757d31-9acf-41ec-92f4-857379f15913","name":"Get Actions","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"https://my-compliance.co.uk/api/v1/actions"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 21 Oct 2021 08:14:52 GMT"},{"key":"Server","value":"Apache/2.4.46 (Win64) PHP/7.4.9"},{"key":"X-Powered-By","value":"PHP/7.4.9"},{"key":"Access-Control-Allow-Headers","value":"content-type, X-Requested-With"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"RateLimit-Limit","value":"60"},{"key":"RateLimit-Remaining","value":"58"},{"key":"RateLimit-Reset","value":"8"},{"key":"RateLimit-Account-Limit","value":"120"},{"key":"RateLimit-Account-Remaining","value":"118"},{"key":"RateLimit-Account-Reset","value":"8"},{"key":"Content-Length","value":"2058"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"currentPage\": 1,\n    \"totalPages\": 1,\n    \"total\": 2,\n    \"pageSize\": 100,\n    \"resources\": [\n        {\n            \"id\": \"1\",\n            \"reference\": \"1\",\n            \"title\": \"Action 1\",\n            \"related_to\": \"Audit: Safety Audit\",\n            \"notes\": \"Action 1 Description\",\n            \"due_date\": \"2021-10-15T00:00:00+00:00\",\n            \"is_completed\": false,\n            \"completed_at\": \"\",\n            \"created_at\": \"2021-10-11T10:59:15+00:00\",\n            \"updated_at\": \"2021-10-11T10:59:15+00:00\",\n            \"relations\": {\n                \"assigned_to\": {\n                    \"id\": \"1\",\n                    \"first\": \"Bob\",\n                    \"last\": \"Jones\",\n                    \"email\": \"BobJones@example.com\",\n                    \"level\": \"Account Administrator\"\n                },\n                \"escalate_to\": {\n                    \"id\": \"2\",\n                    \"first\": \"John\",\n                    \"last\": \"Smith\",\n                    \"email\": \"JohnSmith@example.com\",\n                    \"level\": \"System Administrator\"\n                },\n                \"status\": \"Open\",\n                \"group\": {\n                    \"id\": \"1\",\n                    \"name\": \"Action Group 1\",\n                    \"completion_note_required\": false,\n                    \"private\": false,\n                    \"signature_required\": false,\n                    \"relations\": {\n                        \"created_by\": {\n                            \"id\": \"2\",\n                            \"first\": \"John\",\n                            \"last\": \"Smith\",\n                            \"email\": \"JohnSmith@example.com\",\n                            \"level\": \"System Administrator\"\n                        }\n                    }\n                },\n                \"created_by\": {\n                    \"id\": \"2\",\n                    \"first\": \"John\",\n                    \"last\": \"Smith\",\n                    \"email\": \"JohnSmith@example.com\",\n                    \"level\": \"System Administrator\"\n                },\n                \"custom_fields\": [\n                    {\n                        \"field\": \"Custom Field 2\",\n                        \"data\": \"Custom Field 2 Value\"\n                    },\n                    {\n                        \"field\": \"Custom field 1\",\n                        \"data\": \"Custom Field 1 Value\"\n                    }\n                ]\n            }\n        },\n        {\n            \"id\": \"2\",\n            \"reference\": \"2\",\n            \"title\": \"Action 2\",\n             \"related_to\": \"Incident: #209\",\n            \"notes\": \"Action 2 Description\",\n            \"due_date\": \"2024-12-15T09:46:40+00:00\",\n            \"is_completed\": false,\n            \"completed_at\": \"\",\n            \"created_at\": \"2021-10-11T11:00:16+00:00\",\n            \"updated_at\": \"2021-10-11T11:00:16+00:00\",\n            \"relations\": {\n                \"assigned_to\": {\n                    \"id\": \"1\",\n                    \"first\": \"Bob\",\n                    \"last\": \"Jones\",\n                    \"email\": \"BobJones@example.com\",\n                    \"level\": \"Account Administrator\"\n                },\n                \"escalate_to\": {\n                    \"id\": \"1\",\n                    \"first\": \"Bob\",\n                    \"last\": \"Jones\",\n                    \"email\": \"BobJones@example.com\",\n                    \"level\": \"Account Administrator\"\n                },\n                \"status\": \"Open\",\n                \"group\": {\n                    \"id\": \"1\",\n                    \"name\": \"Action Group 1\",\n                    \"completion_note_required\": false,\n                    \"private\": false,\n                    \"signature_required\": false,\n                    \"relations\": {\n                        \"created_by\": {\n                            \"id\": \"2\",\n                            \"first\": \"John\",\n                            \"last\": \"Smith\",\n                            \"email\": \"JohnSmith@example.com\",\n                            \"level\": \"System Administrator\"\n                        }\n                    }\n                },\n                \"created_by\": {\n                    \"id\": \"2\",\n                    \"first\": \"John\",\n                    \"last\": \"Smith\",\n                    \"email\": \"JohnSmith@example.com\",\n                    \"level\": \"System Administrator\"\n                },\n                \"custom_fields\": [\n                    {\n                        \"field\": \"Custom Field 2\",\n                        \"data\": \"\"\n                    },\n                    {\n                        \"field\": \"Custom field 1\",\n                        \"data\": \"Custom Field 1 Description\"\n                    }\n                ]\n            }\n        }\n    ]\n}"}],"_postman_id":"93bd0974-242b-44fb-a8b4-89f148100648"},{"name":"Get Actions With Parameters","id":"2502d5d9-63d7-42cc-93bf-e4d999b92195","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"https://my-compliance.co.uk/api/v1/actions?pageSize=10&orderBy=id&orderDirection=desc&page=1","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"$2y$10$SsWzzhf1/HJh/BsBj7VsluPrtJAb.nz42cUkZoHoLyhlgIomSRs2y"}]},"isInherited":true,"source":{"_postman_id":"d5e37e02-85c9-4706-b615-6e97ec52f19e","id":"d5e37e02-85c9-4706-b615-6e97ec52f19e","name":"MY Compliance Management API","type":"collection"}},"urlObject":{"path":["api","v1","actions"],"host":["https://my-compliance.co.uk"],"query":[{"key":"pageSize","value":"10"},{"key":"orderBy","value":"id"},{"key":"orderDirection","value":"desc"},{"key":"page","value":"1"}],"variable":[]}},"response":[{"id":"db4471f2-09ce-47f8-b4cb-2de91b1d9a60","name":"Get Actions With Parameters","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":{"raw":"https://my-compliance.co.uk/api/v1/actions?pageSize=10&orderBy=id&orderDirection=desc&page=1","host":["https://my-compliance.co.uk"],"path":["api","v1","actions"],"query":[{"key":"pageSize","value":"10"},{"key":"orderBy","value":"id"},{"key":"orderDirection","value":"desc"},{"key":"page","value":"1"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 21 Oct 2021 08:15:19 GMT"},{"key":"Server","value":"Apache/2.4.46 (Win64) PHP/7.4.9"},{"key":"X-Powered-By","value":"PHP/7.4.9"},{"key":"Access-Control-Allow-Headers","value":"content-type, X-Requested-With"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"RateLimit-Limit","value":"60"},{"key":"RateLimit-Remaining","value":"59"},{"key":"RateLimit-Reset","value":"41"},{"key":"RateLimit-Account-Limit","value":"120"},{"key":"RateLimit-Account-Remaining","value":"119"},{"key":"RateLimit-Account-Reset","value":"41"},{"key":"Content-Length","value":"2057"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"currentPage\": 1,\n    \"totalPages\": 1,\n    \"total\": 2,\n    \"pageSize\": 10,\n    \"resources\": [\n        {\n            \"id\": \"2\",\n            \"reference\": \"2\",\n            \"title\": \"Action 2\",\n            \"notes\": \"Action 2 Description\",\n            \"due_date\": \"2024-12-15T09:46:40+00:00\",\n            \"is_completed\": false,\n            \"completed_at\": \"\",\n            \"created_at\": \"2021-10-11T11:00:16+00:00\",\n            \"updated_at\": \"2021-10-11T11:00:16+00:00\",\n            \"relations\": {\n                \"assigned_to\": {\n                    \"id\": \"1\",\n                    \"first\": \"Bob\",\n                    \"last\": \"Jones\",\n                    \"email\": \"BobJones@example.com\",\n                    \"level\": \"Account Administrator\"\n                },\n                \"escalate_to\": {\n                    \"id\": \"1\",\n                    \"first\": \"Bob\",\n                    \"last\": \"Jones\",\n                    \"email\": \"BobJones@example.com\",\n                    \"level\": \"Account Administrator\"\n                },\n                \"status\": \"Open\",\n                \"group\": {\n                    \"id\": \"1\",\n                    \"name\": \"Action Group 1\",\n                    \"completion_note_required\": false,\n                    \"private\": false,\n                    \"signature_required\": false,\n                    \"relations\": {\n                        \"created_by\": {\n                            \"id\": \"2\",\n                            \"first\": \"John\",\n                            \"last\": \"Smith\",\n                            \"email\": \"JohnSmith@example.com\",\n                            \"level\": \"System Administrator\"\n                        }\n                    }\n                },\n                \"created_by\": {\n                    \"id\": \"2\",\n                    \"first\": \"John\",\n                    \"last\": \"Smith\",\n                    \"email\": \"JohnSmith@example.com\",\n                    \"level\": \"System Administrator\"\n                },\n                \"custom_fields\": [\n                    {\n                        \"field\": \"Custom Field 2\",\n                        \"data\": \"\"\n                    },\n                    {\n                        \"field\": \"Custom field 1\",\n                        \"data\": \"Custom Field 1 Description\"\n                    }\n                ]\n            }\n        },\n        {\n            \"id\": \"1\",\n            \"reference\": \"1\",\n            \"title\": \"Action 1\",\n            \"notes\": \"Action 1 Description\",\n            \"due_date\": \"2021-10-15T00:00:00+00:00\",\n            \"is_completed\": false,\n            \"completed_at\": \"\",\n            \"created_at\": \"2021-10-11T10:59:15+00:00\",\n            \"updated_at\": \"2021-10-11T10:59:15+00:00\",\n            \"relations\": {\n                \"assigned_to\": {\n                    \"id\": \"1\",\n                    \"first\": \"Bob\",\n                    \"last\": \"Jones\",\n                    \"email\": \"BobJones@example.com\",\n                    \"level\": \"Account Administrator\"\n                },\n                \"escalate_to\": {\n                    \"id\": \"2\",\n                    \"first\": \"John\",\n                    \"last\": \"Smith\",\n                    \"email\": \"JohnSmith@example.com\",\n                    \"level\": \"System Administrator\"\n                },\n                \"status\": \"Open\",\n                \"group\": {\n                    \"id\": \"1\",\n                    \"name\": \"Action Group 1\",\n                    \"completion_note_required\": false,\n                    \"private\": false,\n                    \"signature_required\": false,\n                    \"relations\": {\n                        \"created_by\": {\n                            \"id\": \"2\",\n                            \"first\": \"John\",\n                            \"last\": \"Smith\",\n                            \"email\": \"JohnSmith@example.com\",\n                            \"level\": \"System Administrator\"\n                        }\n                    }\n                },\n                \"created_by\": {\n                    \"id\": \"2\",\n                    \"first\": \"John\",\n                    \"last\": \"Smith\",\n                    \"email\": \"JohnSmith@example.com\",\n                    \"level\": \"System Administrator\"\n                },\n                \"custom_fields\": [\n                    {\n                        \"field\": \"Custom Field 2\",\n                        \"data\": \"Custom Field 2 Value\"\n                    },\n                    {\n                        \"field\": \"Custom field 1\",\n                        \"data\": \"Custom Field 1 Value\"\n                    }\n                ]\n            }\n        }\n    ]\n}"}],"_postman_id":"2502d5d9-63d7-42cc-93bf-e4d999b92195"},{"name":"Get Single Action","id":"e32b67be-b043-4eaf-ba64-0023d76d5725","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://my-compliance.co.uk/api/v1/actions/1","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"$2y$10$SsWzzhf1/HJh/BsBj7VsluPrtJAb.nz42cUkZoHoLyhlgIomSRs2y"}]},"isInherited":true,"source":{"_postman_id":"d5e37e02-85c9-4706-b615-6e97ec52f19e","id":"d5e37e02-85c9-4706-b615-6e97ec52f19e","name":"MY Compliance Management API","type":"collection"}},"urlObject":{"path":["api","v1","actions","1"],"host":["https://my-compliance.co.uk"],"query":[],"variable":[]}},"response":[{"id":"7c1501ae-a5f4-4afd-b316-36122ae29021","name":"Get Single Action","originalRequest":{"method":"GET","header":[],"url":"https://my-compliance.co.uk/api/v1/actions/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 21 Oct 2021 08:15:26 GMT"},{"key":"Server","value":"Apache/2.4.46 (Win64) PHP/7.4.9"},{"key":"X-Powered-By","value":"PHP/7.4.9"},{"key":"Access-Control-Allow-Headers","value":"content-type, X-Requested-With"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"RateLimit-Limit","value":"60"},{"key":"RateLimit-Remaining","value":"58"},{"key":"RateLimit-Reset","value":"34"},{"key":"RateLimit-Account-Limit","value":"120"},{"key":"RateLimit-Account-Remaining","value":"118"},{"key":"RateLimit-Account-Reset","value":"34"},{"key":"Content-Length","value":"1002"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": \"1\",\n        \"reference\": \"1\",\n        \"title\": \"Action 1\",\n        \"related_to\": \"Audit: Safety Audit\",\n        \"notes\": \"Action 1 Description\",\n        \"due_date\": \"2021-10-15T00:00:00+00:00\",\n        \"is_completed\": false,\n        \"completed_at\": \"\",\n        \"created_at\": \"2021-10-11T10:59:15+00:00\",\n        \"updated_at\": \"2021-10-11T10:59:15+00:00\",\n        \"relations\": {\n            \"assigned_to\": {\n                \"id\": \"1\",\n                \"first\": \"Bob\",\n                \"last\": \"Jones\",\n                \"email\": \"BobJones@example.com\",\n                \"level\": \"Account Administrator\"\n            },\n            \"escalate_to\": {\n                \"id\": \"2\",\n                \"first\": \"John\",\n                \"last\": \"Smith\",\n                \"email\": \"JohnSmith@example.com\",\n                \"level\": \"System Administrator\"\n            },\n            \"status\": \"Open\",\n            \"group\": {\n                \"id\": \"1\",\n                \"name\": \"Action Group 1\",\n                \"completion_note_required\": false,\n                \"private\": false,\n                \"signature_required\": false,\n                \"relations\": {\n                    \"created_by\": {\n                        \"id\": \"2\",\n                        \"first\": \"John\",\n                        \"last\": \"Smith\",\n                        \"email\": \"JohnSmith@example.com\",\n                        \"level\": \"System Administrator\"\n                    }\n                }\n            },\n            \"created_by\": {\n                \"id\": \"2\",\n                \"first\": \"John\",\n                \"last\": \"Smith\",\n                \"email\": \"JohnSmith@example.com\",\n                \"level\": \"System Administrator\"\n            },\n            \"custom_fields\": [\n                {\n                    \"field\": \"Custom field 1\",\n                    \"data\": \"Custom Field 1 Value\"\n                },\n                {\n                    \"field\": \"Custom Field 2\",\n                    \"data\": \"Custom Field 2 Value\"\n                }\n            ]\n        }\n    }\n]"}],"_postman_id":"e32b67be-b043-4eaf-ba64-0023d76d5725"}],"id":"540c986b-c300-4f9c-9848-7c46143b225e","_postman_id":"540c986b-c300-4f9c-9848-7c46143b225e","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"$2y$10$SsWzzhf1/HJh/BsBj7VsluPrtJAb.nz42cUkZoHoLyhlgIomSRs2y"}]},"isInherited":true,"source":{"_postman_id":"d5e37e02-85c9-4706-b615-6e97ec52f19e","id":"d5e37e02-85c9-4706-b615-6e97ec52f19e","name":"MY Compliance Management API","type":"collection"}}},{"name":"Assets","item":[{"name":"Get Assets","id":"6f91f8c7-120b-4323-9352-9b22e9cf6676","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://my-compliance.co.uk/api/v1/assets","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"$2y$10$SsWzzhf1/HJh/BsBj7VsluPrtJAb.nz42cUkZoHoLyhlgIomSRs2y"}]},"isInherited":true,"source":{"_postman_id":"d5e37e02-85c9-4706-b615-6e97ec52f19e","id":"d5e37e02-85c9-4706-b615-6e97ec52f19e","name":"MY Compliance Management API","type":"collection"}},"urlObject":{"path":["api","v1","assets"],"host":["https://my-compliance.co.uk"],"query":[],"variable":[]}},"response":[{"id":"9d55e4bd-ce07-4f7a-a357-2d9be4c86bc0","name":"Get Assets","originalRequest":{"method":"GET","header":[],"url":"https://my-compliance.co.uk/api/v1/assets"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 21 Oct 2021 08:15:37 GMT"},{"key":"Server","value":"Apache/2.4.46 (Win64) PHP/7.4.9"},{"key":"X-Powered-By","value":"PHP/7.4.9"},{"key":"Access-Control-Allow-Headers","value":"content-type, X-Requested-With"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"RateLimit-Limit","value":"60"},{"key":"RateLimit-Remaining","value":"57"},{"key":"RateLimit-Reset","value":"23"},{"key":"RateLimit-Account-Limit","value":"120"},{"key":"RateLimit-Account-Remaining","value":"117"},{"key":"RateLimit-Account-Reset","value":"23"},{"key":"Content-Length","value":"1626"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"currentPage\": 1,\n    \"totalPages\": 1,\n    \"total\": 2,\n    \"pageSize\": 100,\n    \"resources\": [\n        {\n            \"id\": \"1\",\n            \"name\": \"Digger 1\",\n            \"location\": \"Yard\",\n            \"type\": \"Machine\",\n            \"notes\": \"Some notes for the asset \",\n            \"has_parent\": false,\n            \"parent_id\": null,\n            \"archived\": false,\n            \"created_at\": \"2021-10-11T11:07:28+00:00\",\n            \"updated_at\": \"2021-10-11T11:07:28+00:00\",\n            \"relations\": {\n                \"created_by\": {\n                    \"id\": \"2\",\n                    \"first\": \"John\",\n                    \"last\": \"Smith\",\n                    \"email\": \"JohnSmith@example.com\",\n                    \"level\": \"System Administrator\"\n                },\n                \"manager\": {\n                    \"id\": \"2\",\n                    \"first\": \"John\",\n                    \"last\": \"Smith\",\n                    \"email\": \"JohnSmith@example.com\",\n                    \"level\": \"System Administrator\"\n                },\n                \"register\": {\n                    \"id\": \"1\",\n                    \"title\": \"Asset Register One\",\n                    \"private\": false,\n                    \"created_at\": \"2021-10-11T11:05:46+00:00\",\n                    \"updated_at\": \"2021-10-11T11:05:46+00:00\",\n                    \"relations\": {\n                        \"created_by\": {\n                            \"id\": \"2\",\n                            \"first\": \"John\",\n                            \"last\": \"Smith\",\n                            \"email\": \"JohnSmith@example.com\",\n                            \"level\": \"System Administrator\"\n                        }\n                    }\n                },\n                \"custom_fields\": []\n            }\n        },\n        {\n            \"id\": \"2\",\n            \"name\": \"Digger 2\",\n            \"location\": \"Yard\",\n            \"type\": \"Machine\",\n            \"notes\": \"Digger 2 notes\",\n            \"has_parent\": false,\n            \"parent_id\": null,\n            \"archived\": false,\n            \"created_at\": \"2021-10-11T11:08:06+00:00\",\n            \"updated_at\": \"2021-10-11T11:08:06+00:00\",\n            \"relations\": {\n                \"created_by\": {\n                    \"id\": \"2\",\n                    \"first\": \"John\",\n                    \"last\": \"Smith\",\n                    \"email\": \"JohnSmith@example.com\",\n                    \"level\": \"System Administrator\"\n                },\n                \"manager\": {\n                    \"id\": \"2\",\n                    \"first\": \"John\",\n                    \"last\": \"Smith\",\n                    \"email\": \"JohnSmith@example.com\",\n                    \"level\": \"System Administrator\"\n                },\n                \"register\": {\n                    \"id\": \"1\",\n                    \"title\": \"Asset Register One\",\n                    \"private\": false,\n                    \"created_at\": \"2021-10-11T11:05:46+00:00\",\n                    \"updated_at\": \"2021-10-11T11:05:46+00:00\",\n                    \"relations\": {\n                        \"created_by\": {\n                            \"id\": \"2\",\n                            \"first\": \"John\",\n                            \"last\": \"Smith\",\n                            \"email\": \"JohnSmith@example.com\",\n                            \"level\": \"System Administrator\"\n                        }\n                    }\n                },\n                \"custom_fields\": []\n            }\n        }\n    ]\n}"}],"_postman_id":"6f91f8c7-120b-4323-9352-9b22e9cf6676"},{"name":"Get Single Asset","id":"0e33701f-e46b-4e82-aa44-ebd0024c0ff0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://my-compliance.co.uk/api/v1/assets/1","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"$2y$10$SsWzzhf1/HJh/BsBj7VsluPrtJAb.nz42cUkZoHoLyhlgIomSRs2y"}]},"isInherited":true,"source":{"_postman_id":"d5e37e02-85c9-4706-b615-6e97ec52f19e","id":"d5e37e02-85c9-4706-b615-6e97ec52f19e","name":"MY Compliance Management API","type":"collection"}},"urlObject":{"path":["api","v1","assets","1"],"host":["https://my-compliance.co.uk"],"query":[],"variable":[]}},"response":[{"id":"0c261fb1-21ac-4443-a243-c067a4ef2382","name":"Get Single Asset","originalRequest":{"method":"GET","header":[],"url":"https://my-compliance.co.uk/api/v1/assets/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 21 Oct 2021 08:16:10 GMT"},{"key":"Server","value":"Apache/2.4.46 (Win64) PHP/7.4.9"},{"key":"X-Powered-By","value":"PHP/7.4.9"},{"key":"Access-Control-Allow-Headers","value":"content-type, X-Requested-With"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"RateLimit-Limit","value":"60"},{"key":"RateLimit-Remaining","value":"59"},{"key":"RateLimit-Reset","value":"50"},{"key":"RateLimit-Account-Limit","value":"120"},{"key":"RateLimit-Account-Remaining","value":"119"},{"key":"RateLimit-Account-Reset","value":"50"},{"key":"Content-Length","value":"780"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": \"1\",\n        \"name\": \"Digger 1\",\n        \"location\": \"Yard\",\n        \"type\": \"Machine\",\n        \"notes\": \"Some notes for the asset \",\n        \"has_parent\": false,\n        \"parent_id\": null,\n        \"archived\": false,\n        \"created_at\": \"2021-10-11T11:07:28+00:00\",\n        \"updated_at\": \"2021-10-11T11:07:28+00:00\",\n        \"relations\": {\n            \"created_by\": {\n                \"id\": \"2\",\n                \"first\": \"John\",\n                \"last\": \"Smith\",\n                \"email\": \"JohnSmith@example.com\",\n                \"level\": \"System Administrator\"\n            },\n            \"manager\": {\n                \"id\": \"2\",\n                \"first\": \"John\",\n                \"last\": \"Smith\",\n                \"email\": \"JohnSmith@example.com\",\n                \"level\": \"System Administrator\"\n            },\n            \"register\": {\n                \"id\": \"1\",\n                \"title\": \"Asset Register One\",\n                \"private\": false,\n                \"created_at\": \"2021-10-11T11:05:46+00:00\",\n                \"updated_at\": \"2021-10-11T11:05:46+00:00\",\n                \"relations\": {\n                    \"created_by\": {\n                        \"id\": \"2\",\n                        \"first\": \"John\",\n                        \"last\": \"Smith\",\n                        \"email\": \"JohnSmith@example.com\",\n                        \"level\": \"System Administrator\"\n                    }\n                }\n            },\n            \"custom_fields\": [],\n             \"requirements\": [\n                {\n                    \"requirement\": \"12 month inspection \",\n                    \"awarded\": \"2022-01-21T00:00:00+00:00\",\n                    \"expires\": \"2022-01-28T00:00:00+00:00\",\n                    \"valid\": true,\n                    \"in_progress\": false\n                },\n                {\n                    \"requirement\": \"Safety Check\",\n                    \"awarded\": \"2022-01-21T00:00:00+00:00\",\n                    \"expires\": \"2022-01-28T00:00:00+00:00\",\n                    \"valid\": true,\n                    \"in_progress\": false\n                }\n            ]\n        }\n    }\n]"}],"_postman_id":"0e33701f-e46b-4e82-aa44-ebd0024c0ff0"}],"id":"38f8e1dd-ca42-46e1-a62d-525a7757ca38","_postman_id":"38f8e1dd-ca42-46e1-a62d-525a7757ca38","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"$2y$10$SsWzzhf1/HJh/BsBj7VsluPrtJAb.nz42cUkZoHoLyhlgIomSRs2y"}]},"isInherited":true,"source":{"_postman_id":"d5e37e02-85c9-4706-b615-6e97ec52f19e","id":"d5e37e02-85c9-4706-b615-6e97ec52f19e","name":"MY Compliance Management API","type":"collection"}}},{"name":"Aspects","item":[{"name":"Get Aspects","id":"da83ea2a-bdce-49e7-8ec7-dd4cd22660d2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://my-compliance.co.uk/api/v1/aspects","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"$2y$10$SsWzzhf1/HJh/BsBj7VsluPrtJAb.nz42cUkZoHoLyhlgIomSRs2y"}]},"isInherited":true,"source":{"_postman_id":"d5e37e02-85c9-4706-b615-6e97ec52f19e","id":"d5e37e02-85c9-4706-b615-6e97ec52f19e","name":"MY Compliance Management API","type":"collection"}},"urlObject":{"path":["api","v1","aspects"],"host":["https://my-compliance.co.uk"],"query":[],"variable":[]}},"response":[{"id":"e57b7a42-d978-4291-829b-d68196a33123","name":"Get Aspects","originalRequest":{"method":"GET","header":[],"url":"https://my-compliance.co.uk/api/v1/aspects"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 21 Oct 2021 08:16:25 GMT"},{"key":"Server","value":"Apache/2.4.46 (Win64) PHP/7.4.9"},{"key":"X-Powered-By","value":"PHP/7.4.9"},{"key":"Access-Control-Allow-Headers","value":"content-type, X-Requested-With"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"RateLimit-Limit","value":"60"},{"key":"RateLimit-Remaining","value":"58"},{"key":"RateLimit-Reset","value":"35"},{"key":"RateLimit-Account-Limit","value":"120"},{"key":"RateLimit-Account-Remaining","value":"118"},{"key":"RateLimit-Account-Reset","value":"35"},{"key":"Content-Length","value":"3149"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"currentPage\": 1,\n    \"totalPages\": 1,\n    \"total\": 3,\n    \"pageSize\": 100,\n    \"resources\": [\n        {\n            \"id\": \"1\",\n            \"activity\": \"Waste Collection\",\n            \"aspect\": \"Aspect Example \",\n            \"impact\": \"Impact Example\",\n            \"environmental\": 0,\n            \"health_and_safety\": 0,\n            \"stakeholder\": 0,\n            \"legal\": 0,\n            \"cost\": 0,\n            \"frequency\": 0,\n            \"rating\": \"Medium\",\n            \"effective\": 50,\n            \"adequate_controls\": \"Yes\",\n            \"approved\": true,\n            \"archived\": false,\n            \"created_at\": \"2021-10-11T11:05:06+00:00\",\n            \"updated_at\": \"2021-10-11T11:05:06+00:00\",\n            \"relations\": {\n                \"owner\": {\n                    \"id\": \"2\",\n                    \"first\": \"John\",\n                    \"last\": \"Smith\",\n                    \"email\": \"JohnSmith@example.com\",\n                    \"level\": \"System Administrator\"\n                },\n                \"register\": {\n                    \"id\": \"1\",\n                    \"title\": \"Aspects Register 1\",\n                    \"description\": \"<p>Aspect Register 1 Description</p>\",\n                    \"private\": false,\n                    \"archived\": false,\n                    \"created_at\": \"2021-10-11T11:01:55+00:00\",\n                    \"updated_at\": \"2021-10-11T11:01:55+00:00\",\n                    \"relations\": {\n                        \"owner\": {\n                            \"id\": \"2\",\n                            \"first\": \"John\",\n                            \"last\": \"Smith\",\n                            \"email\": \"JohnSmith@example.com\",\n                            \"level\": \"System Administrator\"\n                        }\n                    }\n                },\n                \"custom_fields\": [],\n                \"chapter\": {\n                    \"id\": \"1\",\n                    \"chapter\": \"Aspects Chapter One\",\n                    \"created_at\": \"2021-10-11T11:02:49+00:00\",\n                    \"updated_at\": \"2021-10-11T11:02:49+00:00\"\n                }\n            }\n        },\n        {\n            \"id\": \"2\",\n            \"activity\": \"Activity Example\",\n            \"aspect\": \"Aspect Example \",\n            \"impact\": \"Impact Example\",\n            \"environmental\": 0,\n            \"health_and_safety\": 0,\n            \"stakeholder\": 0,\n            \"legal\": 0,\n            \"cost\": 0,\n            \"frequency\": 0,\n            \"rating\": \"Medium\",\n            \"effective\": 75,\n            \"adequate_controls\": \"Monitor\",\n            \"approved\": true,\n            \"archived\": false,\n            \"created_at\": \"2021-10-20T09:25:29+00:00\",\n            \"updated_at\": \"2021-10-20T09:25:29+00:00\",\n            \"relations\": {\n                \"owner\": {\n                    \"id\": \"2\",\n                    \"first\": \"John\",\n                    \"last\": \"Smith\",\n                    \"email\": \"JohnSmith@example.com\",\n                    \"level\": \"System Administrator\"\n                },\n                \"register\": {\n                    \"id\": \"1\",\n                    \"title\": \"Aspects Register 1\",\n                    \"description\": \"<p>Aspect Register 1 Description</p>\",\n                    \"private\": false,\n                    \"archived\": false,\n                    \"created_at\": \"2021-10-11T11:01:55+00:00\",\n                    \"updated_at\": \"2021-10-11T11:01:55+00:00\",\n                    \"relations\": {\n                        \"owner\": {\n                            \"id\": \"2\",\n                            \"first\": \"John\",\n                            \"last\": \"Smith\",\n                            \"email\": \"JohnSmith@example.com\",\n                            \"level\": \"System Administrator\"\n                        }\n                    }\n                },\n                \"custom_fields\": [],\n                \"chapter\": {\n                    \"id\": \"1\",\n                    \"chapter\": \"Aspects Chapter One\",\n                    \"created_at\": \"2021-10-11T11:02:49+00:00\",\n                    \"updated_at\": \"2021-10-11T11:02:49+00:00\"\n                }\n            }\n        },\n        {\n            \"id\": \"3\",\n            \"activity\": \"Activity Example\",\n            \"aspect\": \"Aspect Example \",\n            \"impact\": \"Impact Example\",\n            \"environmental\": 0,\n            \"health_and_safety\": 0,\n            \"stakeholder\": 0,\n            \"legal\": 0,\n            \"cost\": 0,\n            \"frequency\": 0,\n            \"rating\": \"Low\",\n            \"effective\": 100,\n            \"adequate_controls\": \"Yes\",\n            \"approved\": true,\n            \"archived\": false,\n            \"created_at\": \"2021-10-20T09:31:06+00:00\",\n            \"updated_at\": \"2021-10-20T09:31:06+00:00\",\n            \"relations\": {\n                \"owner\": {\n                    \"id\": \"2\",\n                    \"first\": \"John\",\n                    \"last\": \"Smith\",\n                    \"email\": \"JohnSmith@example.com\",\n                    \"level\": \"System Administrator\"\n                },\n                \"register\": {\n                    \"id\": \"1\",\n                    \"title\": \"Aspects Register 1\",\n                    \"description\": \"<p>Aspect Register 1 Description</p>\",\n                    \"private\": false,\n                    \"archived\": false,\n                    \"created_at\": \"2021-10-11T11:01:55+00:00\",\n                    \"updated_at\": \"2021-10-11T11:01:55+00:00\",\n                    \"relations\": {\n                        \"owner\": {\n                            \"id\": \"2\",\n                            \"first\": \"John\",\n                            \"last\": \"Smith\",\n                            \"email\": \"JohnSmith@example.com\",\n                            \"level\": \"System Administrator\"\n                        }\n                    }\n                },\n                \"custom_fields\": [\n                    {\n                        \"field\": \"Custom Field 2\",\n                        \"data\": \"Example custom field 2 data\"\n                    },\n                    {\n                        \"field\": \"Custom field 1\",\n                        \"data\": \"Example custom field 1 data\"\n                    }\n                ],\n                \"chapter\": {\n                    \"id\": \"1\",\n                    \"chapter\": \"Aspects Chapter One\",\n                    \"created_at\": \"2021-10-11T11:02:49+00:00\",\n                    \"updated_at\": \"2021-10-11T11:02:49+00:00\"\n                }\n            }\n        }\n    ]\n}"}],"_postman_id":"da83ea2a-bdce-49e7-8ec7-dd4cd22660d2"},{"name":"Get Single Aspect","id":"d9c1a6d4-1787-43fe-ae98-5bccc87c4f45","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://my-compliance.co.uk/api/v1/aspects/1","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"$2y$10$SsWzzhf1/HJh/BsBj7VsluPrtJAb.nz42cUkZoHoLyhlgIomSRs2y"}]},"isInherited":true,"source":{"_postman_id":"d5e37e02-85c9-4706-b615-6e97ec52f19e","id":"d5e37e02-85c9-4706-b615-6e97ec52f19e","name":"MY Compliance Management API","type":"collection"}},"urlObject":{"path":["api","v1","aspects","1"],"host":["https://my-compliance.co.uk"],"query":[],"variable":[]}},"response":[{"id":"b2c216ea-df64-4f84-bbec-d7b5b91a3446","name":"Get Single Aspect","originalRequest":{"method":"GET","header":[],"url":"https://my-compliance.co.uk/api/v1/aspects/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 21 Oct 2021 08:16:47 GMT"},{"key":"Server","value":"Apache/2.4.46 (Win64) PHP/7.4.9"},{"key":"X-Powered-By","value":"PHP/7.4.9"},{"key":"Access-Control-Allow-Headers","value":"content-type, X-Requested-With"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"RateLimit-Limit","value":"60"},{"key":"RateLimit-Remaining","value":"57"},{"key":"RateLimit-Reset","value":"13"},{"key":"RateLimit-Account-Limit","value":"120"},{"key":"RateLimit-Account-Remaining","value":"117"},{"key":"RateLimit-Account-Reset","value":"13"},{"key":"Content-Length","value":"984"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": \"1\",\n        \"activity\": \"Waste Collection\",\n        \"aspect\": \"Aspect Example \",\n        \"impact\": \"Impact Example\",\n        \"environmental\": 0,\n        \"health_and_safety\": 0,\n        \"stakeholder\": 0,\n        \"legal\": 0,\n        \"cost\": 0,\n        \"frequency\": 0,\n        \"rating\": \"Medium\",\n        \"effective\": 50,\n        \"adequate_controls\": \"Yes\",\n        \"approved\": true,\n        \"archived\": false,\n        \"created_at\": \"2021-10-11T11:05:06+00:00\",\n        \"updated_at\": \"2021-10-11T11:05:06+00:00\",\n        \"relations\": {\n            \"owner\": {\n                \"id\": \"2\",\n                \"first\": \"John\",\n                \"last\": \"Smith\",\n                \"email\": \"JohnSmith@example.com\",\n                \"level\": \"System Administrator\"\n            },\n            \"register\": {\n                \"id\": \"1\",\n                \"title\": \"Aspects Register 1\",\n                \"description\": \"<p>Aspect Register 1 Description</p>\",\n                \"private\": false,\n                \"archived\": false,\n                \"created_at\": \"2021-10-11T11:01:55+00:00\",\n                \"updated_at\": \"2021-10-11T11:01:55+00:00\",\n                \"relations\": {\n                    \"owner\": {\n                        \"id\": \"2\",\n                        \"first\": \"John\",\n                        \"last\": \"Smith\",\n                        \"email\": \"JohnSmith@example.com\",\n                        \"level\": \"System Administrator\"\n                    }\n                }\n            },\n            \"custom_fields\": [],\n            \"chapter\": {\n                \"id\": \"1\",\n                \"chapter\": \"Aspects Chapter One\",\n                \"created_at\": \"2021-10-11T11:02:49+00:00\",\n                \"updated_at\": \"2021-10-11T11:02:49+00:00\"\n            }\n        }\n    }\n]"}],"_postman_id":"d9c1a6d4-1787-43fe-ae98-5bccc87c4f45"}],"id":"c7dad4e5-b629-4203-8dde-014764997547","_postman_id":"c7dad4e5-b629-4203-8dde-014764997547","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"$2y$10$SsWzzhf1/HJh/BsBj7VsluPrtJAb.nz42cUkZoHoLyhlgIomSRs2y"}]},"isInherited":true,"source":{"_postman_id":"d5e37e02-85c9-4706-b615-6e97ec52f19e","id":"d5e37e02-85c9-4706-b615-6e97ec52f19e","name":"MY Compliance Management API","type":"collection"}}},{"name":"Audits","item":[{"name":"Runs","item":[{"name":"Get Audit Runs","id":"7233d5da-1894-4bf8-8cdb-f81d4b1fbe63","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://my-compliance.co.uk/api/v1/audit_runs","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"$2y$10$SsWzzhf1/HJh/BsBj7VsluPrtJAb.nz42cUkZoHoLyhlgIomSRs2y"}]},"isInherited":true,"source":{"_postman_id":"d5e37e02-85c9-4706-b615-6e97ec52f19e","id":"d5e37e02-85c9-4706-b615-6e97ec52f19e","name":"MY Compliance Management API","type":"collection"}},"urlObject":{"path":["api","v1","audit_runs"],"host":["https://my-compliance.co.uk"],"query":[],"variable":[]}},"response":[{"id":"a19b838b-6a1b-4e86-8723-1d0e9adcd2e7","name":"Get Audit Runs","originalRequest":{"method":"GET","header":[],"url":"https://my-compliance.co.uk/api/v1/audit_runs"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 21 Oct 2021 08:17:21 GMT"},{"key":"Server","value":"Apache/2.4.46 (Win64) PHP/7.4.9"},{"key":"X-Powered-By","value":"PHP/7.4.9"},{"key":"Access-Control-Allow-Headers","value":"content-type, X-Requested-With"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"RateLimit-Limit","value":"60"},{"key":"RateLimit-Remaining","value":"58"},{"key":"RateLimit-Reset","value":"39"},{"key":"RateLimit-Account-Limit","value":"120"},{"key":"RateLimit-Account-Remaining","value":"118"},{"key":"RateLimit-Account-Reset","value":"39"},{"key":"Content-Length","value":"2616"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"currentPage\": 1,\n    \"totalPages\": 1,\n    \"total\": 6,\n    \"pageSize\": 100,\n    \"resources\": [\n        {\n            \"id\": \"1\",\n            \"audit_id\": 1,\n            \"auditor\": \"John Smith\",\n            \"notes\": \"<p>Failed due to unasfe working conditions</p>\",\n            \"statement\": null,\n            \"score\": 0,\n            \"max_score\": 90,\n            \"audit_date\": \"2021-10-13T13:34:31+00:00\",\n            \"created_at\": \"2021-10-13T13:34:31+00:00\",\n            \"updated_at\": \"2021-10-13T13:35:09+00:00\",\n            \"relations\": {\n                \"created_by\": {\n                    \"id\": \"2\",\n                    \"first\": \"John\",\n                    \"last\": \"Smith\",\n                    \"email\": \"JohnSmith@example.com\",\n                    \"level\": \"System Administrator\"\n                },\n                \"status\": \"Failed\",\n                \"custom_fields\": []\n            }\n        },\n        {\n            \"id\": \"2\",\n            \"audit_id\": 3,\n            \"auditor\": \"John Smith\",\n            \"notes\": \"<p>Passed</p>\",\n            \"statement\": null,\n            \"score\": 90,\n            \"max_score\": 90,\n            \"audit_date\": \"2021-10-13T13:35:44+00:00\",\n            \"created_at\": \"2021-10-13T13:35:44+00:00\",\n            \"updated_at\": \"2021-10-13T13:36:09+00:00\",\n            \"relations\": {\n                \"created_by\": {\n                    \"id\": \"2\",\n                    \"first\": \"John\",\n                    \"last\": \"Smith\",\n                    \"email\": \"JohnSmith@example.com\",\n                    \"level\": \"System Administrator\"\n                },\n                \"status\": \"Passed\",\n                \"custom_fields\": []\n            }\n        },\n        {\n            \"id\": \"3\",\n            \"audit_id\": 1,\n            \"auditor\": \"John Smith\",\n            \"notes\": \"<p>Passed Audit</p>\",\n            \"statement\": \"Passed audit\",\n            \"score\": 100,\n            \"max_score\": 100,\n            \"audit_date\": \"2021-10-13T12:37:48+00:00\",\n            \"created_at\": \"2021-10-13T13:37:48+00:00\",\n            \"updated_at\": \"2021-10-13T13:39:03+00:00\",\n            \"relations\": {\n                \"created_by\": {\n                    \"id\": \"2\",\n                    \"first\": \"John\",\n                    \"last\": \"Smith\",\n                    \"email\": \"JohnSmith@example.com\",\n                    \"level\": \"System Administrator\"\n                },\n                \"status\": \"Passed\",\n                \"custom_fields\": []\n            }\n        },\n        {\n            \"id\": \"4\",\n            \"audit_id\": 7,\n            \"auditor\": \"John Smith\",\n            \"notes\": \"<p>Passed</p>\",\n            \"statement\": null,\n            \"score\": 90,\n            \"max_score\": 90,\n            \"audit_date\": \"2021-10-13T13:35:44+00:00\",\n            \"created_at\": \"2021-10-13T13:35:44+00:00\",\n            \"updated_at\": \"2021-10-13T13:36:09+00:00\",\n            \"relations\": {\n                \"created_by\": {\n                    \"id\": \"2\",\n                    \"first\": \"John\",\n                    \"last\": \"Smith\",\n                    \"email\": \"JohnSmith@example.com\",\n                    \"level\": \"System Administrator\"\n                },\n                \"status\": \"Passed\",\n                \"custom_fields\": []\n            }\n        },\n        {\n            \"id\": \"5\",\n            \"audit_id\": 1,\n            \"auditor\": \"John Smith\",\n            \"notes\": \"<p>Notes example</p>\",\n            \"statement\": null,\n            \"score\": 0,\n            \"max_score\": 0,\n            \"audit_date\": \"2021-10-20T13:37:59+00:00\",\n            \"created_at\": \"2021-10-20T14:37:59+00:00\",\n            \"updated_at\": \"2021-10-20T14:37:59+00:00\",\n            \"relations\": {\n                \"created_by\": {\n                    \"id\": \"2\",\n                    \"first\": \"John\",\n                    \"last\": \"Smith\",\n                    \"email\": \"JohnSmith@example.com\",\n                    \"level\": \"System Administrator\"\n                },\n                \"status\": \"Open\",\n                \"custom_fields\": []\n            }\n        },\n        {\n            \"id\": \"6\",\n            \"audit_id\": 1,\n            \"auditor\": \"John Smith\",\n            \"notes\": \"<p>Example Notes</p>\",\n            \"statement\": null,\n            \"score\": 90,\n            \"max_score\": 90,\n            \"audit_date\": \"2021-10-20T14:45:53+00:00\",\n            \"created_at\": \"2021-10-20T14:45:53+00:00\",\n            \"updated_at\": \"2021-10-20T14:46:46+00:00\",\n            \"relations\": {\n                \"created_by\": {\n                    \"id\": \"2\",\n                    \"first\": \"John\",\n                    \"last\": \"Smith\",\n                    \"email\": \"JohnSmith@example.com\",\n                    \"level\": \"System Administrator\"\n                },\n                \"status\": \"Passed\",\n                \"custom_fields\": [\n                    {\n                        \"field\": \"Custom Field 2\",\n                        \"data\": \"Example custom field 2 data\"\n                    },\n                    {\n                        \"field\": \"Custom Field 1\",\n                        \"data\": \"Example custom field 1 data\"\n                    }\n                ]\n            }\n        }\n    ]\n}"}],"_postman_id":"7233d5da-1894-4bf8-8cdb-f81d4b1fbe63"},{"name":"Get Single Audit Run","id":"a6f8864c-d06a-4bb1-a72e-c7e566b81a2b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://my-compliance.co.uk/api/v1/audit_runs/2","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"$2y$10$SsWzzhf1/HJh/BsBj7VsluPrtJAb.nz42cUkZoHoLyhlgIomSRs2y"}]},"isInherited":true,"source":{"_postman_id":"d5e37e02-85c9-4706-b615-6e97ec52f19e","id":"d5e37e02-85c9-4706-b615-6e97ec52f19e","name":"MY Compliance Management API","type":"collection"}},"urlObject":{"path":["api","v1","audit_runs","2"],"host":["https://my-compliance.co.uk"],"query":[],"variable":[]}},"response":[{"id":"f855c7c1-292c-4231-bbf0-b10c5cd36a62","name":"Get Single Audit Run","originalRequest":{"method":"GET","header":[],"url":"https://my-compliance.co.uk/api/v1/audit_runs/2"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 21 Oct 2021 08:17:27 GMT"},{"key":"Server","value":"Apache/2.4.46 (Win64) PHP/7.4.9"},{"key":"X-Powered-By","value":"PHP/7.4.9"},{"key":"Access-Control-Allow-Headers","value":"content-type, X-Requested-With"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"RateLimit-Limit","value":"60"},{"key":"RateLimit-Remaining","value":"57"},{"key":"RateLimit-Reset","value":"33"},{"key":"RateLimit-Account-Limit","value":"120"},{"key":"RateLimit-Account-Remaining","value":"117"},{"key":"RateLimit-Account-Reset","value":"33"},{"key":"Content-Length","value":"394"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": \"2\",\n        \"auditor\": \"John Smith\",\n        \"notes\": \"<p>Passed</p>\",\n        \"statement\": null,\n        \"score\": 90,\n        \"max_score\": 90,\n        \"audit_date\": \"2021-10-13T13:35:44+00:00\",\n        \"created_at\": \"2021-10-13T13:35:44+00:00\",\n        \"updated_at\": \"2021-10-13T13:36:09+00:00\",\n        \"relations\": {\n            \"created_by\": {\n                \"id\": \"2\",\n                \"first\": \"John\",\n                \"last\": \"Smith\",\n                \"email\": \"JohnSmith@example.com\",\n                \"level\": \"System Administrator\"\n            },\n            \"status\": \"Passed\",\n            \"custom_fields\": [],\n            \"criteria\":[{\n                    \"response_set\": \"1\",\n                    \"criteria\": \"New Environmental Policy\",\n                    \"response\": \"Passed\",\n                    \"score\": null,\n                    \"notes\": \"Have a strong policy - attached\"\n                },\n                {\n                    \"response_set\": \"1\",\n                    \"criteria\": \"No breach of legislation\",\n                    \"response\": \"In Progress\",\n                    \"score\": null,\n                    \"notes\": \"Company is responding to this\"\n                }]\n        }\n    }\n]"}],"_postman_id":"a6f8864c-d06a-4bb1-a72e-c7e566b81a2b"},{"name":"Get Runs for a specified audit","id":"79f35655-119f-4307-89dc-392f9f5a58e8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://my-compliance.co.uk/api/v1/audits/1/runs","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"$2y$10$SsWzzhf1/HJh/BsBj7VsluPrtJAb.nz42cUkZoHoLyhlgIomSRs2y"}]},"isInherited":true,"source":{"_postman_id":"d5e37e02-85c9-4706-b615-6e97ec52f19e","id":"d5e37e02-85c9-4706-b615-6e97ec52f19e","name":"MY Compliance Management API","type":"collection"}},"urlObject":{"path":["api","v1","audits","1","runs"],"host":["https://my-compliance.co.uk"],"query":[],"variable":[]}},"response":[{"id":"88e678d1-a82f-4c64-900d-4cdb3a0fc305","name":"Get Runs for a specified audit","originalRequest":{"method":"GET","header":[],"url":"https://my-compliance.co.uk/api/v1/audits/1/runs"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 21 Oct 2021 08:17:33 GMT"},{"key":"Server","value":"Apache/2.4.46 (Win64) PHP/7.4.9"},{"key":"X-Powered-By","value":"PHP/7.4.9"},{"key":"Access-Control-Allow-Headers","value":"content-type, X-Requested-With"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"RateLimit-Limit","value":"60"},{"key":"RateLimit-Remaining","value":"56"},{"key":"RateLimit-Reset","value":"27"},{"key":"RateLimit-Account-Limit","value":"120"},{"key":"RateLimit-Account-Remaining","value":"116"},{"key":"RateLimit-Account-Reset","value":"27"},{"key":"Content-Length","value":"1809"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"currentPage\": 1,\n    \"totalPages\": 1,\n    \"total\": 4,\n    \"pageSize\": 100,\n    \"resources\": [\n        {\n            \"id\": \"1\",\n            \"auditor\": \"John Smith\",\n            \"notes\": \"<p>Failed due to unasfe working conditions</p>\",\n            \"statement\": null,\n            \"score\": 0,\n            \"max_score\": 90,\n            \"audit_date\": \"2021-10-13T13:34:31+00:00\",\n            \"created_at\": \"2021-10-13T13:34:31+00:00\",\n            \"updated_at\": \"2021-10-13T13:35:09+00:00\",\n            \"relations\": {\n                \"created_by\": {\n                    \"id\": \"2\",\n                    \"first\": \"John\",\n                    \"last\": \"Smith\",\n                    \"email\": \"JohnSmith@example.com\",\n                    \"level\": \"System Administrator\"\n                },\n                \"status\": \"Failed\",\n                \"custom_fields\": []\n            }\n        },\n        {\n            \"id\": \"2\",\n            \"auditor\": \"John Smith\",\n            \"notes\": \"<p>Passed</p>\",\n            \"statement\": null,\n            \"score\": 90,\n            \"max_score\": 90,\n            \"audit_date\": \"2021-10-13T13:35:44+00:00\",\n            \"created_at\": \"2021-10-13T13:35:44+00:00\",\n            \"updated_at\": \"2021-10-13T13:36:09+00:00\",\n            \"relations\": {\n                \"created_by\": {\n                    \"id\": \"2\",\n                    \"first\": \"John\",\n                    \"last\": \"Smith\",\n                    \"email\": \"JohnSmith@example.com\",\n                    \"level\": \"System Administrator\"\n                },\n                \"status\": \"Passed\",\n                \"custom_fields\": []\n            }\n        },\n        {\n            \"id\": \"4\",\n            \"auditor\": \"John Smith\",\n            \"notes\": \"<p>Passed</p>\",\n            \"statement\": null,\n            \"score\": 90,\n            \"max_score\": 90,\n            \"audit_date\": \"2021-10-13T13:35:44+00:00\",\n            \"created_at\": \"2021-10-13T13:35:44+00:00\",\n            \"updated_at\": \"2021-10-13T13:36:09+00:00\",\n            \"relations\": {\n                \"created_by\": {\n                    \"id\": \"2\",\n                    \"first\": \"John\",\n                    \"last\": \"Smith\",\n                    \"email\": \"JohnSmith@example.com\",\n                    \"level\": \"System Administrator\"\n                },\n                \"status\": \"Passed\",\n                \"custom_fields\": []\n            }\n        },\n        {\n            \"id\": \"6\",\n            \"auditor\": \"John Smith\",\n            \"notes\": \"<p>Example Notes</p>\",\n            \"statement\": null,\n            \"score\": 90,\n            \"max_score\": 90,\n            \"audit_date\": \"2021-10-20T14:45:53+00:00\",\n            \"created_at\": \"2021-10-20T14:45:53+00:00\",\n            \"updated_at\": \"2021-10-20T14:46:46+00:00\",\n            \"relations\": {\n                \"created_by\": {\n                    \"id\": \"2\",\n                    \"first\": \"John\",\n                    \"last\": \"Smith\",\n                    \"email\": \"JohnSmith@example.com\",\n                    \"level\": \"System Administrator\"\n                },\n                \"status\": \"Passed\",\n                \"custom_fields\": [\n                    {\n                        \"field\": \"Custom Field 2\",\n                        \"data\": \"Example custom field 2 data\"\n                    },\n                    {\n                        \"field\": \"Custom Field 1\",\n                        \"data\": \"Example custom field 1 data\"\n                    }\n                ]\n            }\n        }\n    ]\n}"}],"_postman_id":"79f35655-119f-4307-89dc-392f9f5a58e8"}],"id":"f319f003-fb07-4c18-8053-934957423711","_postman_id":"f319f003-fb07-4c18-8053-934957423711","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"$2y$10$SsWzzhf1/HJh/BsBj7VsluPrtJAb.nz42cUkZoHoLyhlgIomSRs2y"}]},"isInherited":true,"source":{"_postman_id":"d5e37e02-85c9-4706-b615-6e97ec52f19e","id":"d5e37e02-85c9-4706-b615-6e97ec52f19e","name":"MY Compliance Management API","type":"collection"}}},{"name":"Get Audits","id":"93d8a90a-dd79-41b5-b88e-36ed2584fdec","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://my-compliance.co.uk/api/v1/audits","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"$2y$10$SsWzzhf1/HJh/BsBj7VsluPrtJAb.nz42cUkZoHoLyhlgIomSRs2y"}]},"isInherited":true,"source":{"_postman_id":"d5e37e02-85c9-4706-b615-6e97ec52f19e","id":"d5e37e02-85c9-4706-b615-6e97ec52f19e","name":"MY Compliance Management API","type":"collection"}},"urlObject":{"path":["api","v1","audits"],"host":["https://my-compliance.co.uk"],"query":[],"variable":[]}},"response":[{"id":"148fca52-6ad2-43fb-ae29-638ffb01718b","name":"Get Audits","originalRequest":{"method":"GET","header":[],"url":"https://my-compliance.co.uk/api/v1/audits"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 21 Oct 2021 08:17:53 GMT"},{"key":"Server","value":"Apache/2.4.46 (Win64) PHP/7.4.9"},{"key":"X-Powered-By","value":"PHP/7.4.9"},{"key":"Access-Control-Allow-Headers","value":"content-type, X-Requested-With"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"RateLimit-Limit","value":"60"},{"key":"RateLimit-Remaining","value":"55"},{"key":"RateLimit-Reset","value":"7"},{"key":"RateLimit-Account-Limit","value":"120"},{"key":"RateLimit-Account-Remaining","value":"115"},{"key":"RateLimit-Account-Reset","value":"7"},{"key":"Content-Length","value":"1275"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"currentPage\": 1,\n    \"totalPages\": 1,\n    \"total\": 3,\n    \"pageSize\": 100,\n    \"resources\": [\n        {\n            \"id\": \"1\",\n            \"reference\": \"1\",\n            \"name\": \"Dev Audit\",\n            \"purpose\": \"<p>API TESTING&nbsp;</p>\",\n            \"is_simple\": true,\n            \"pass_rate\": 75,\n            \"private\": true,\n            \"archived\": false,\n            \"created_at\": \"2021-10-13T13:32:31+00:00\",\n            \"updated_at\": \"2021-10-13T13:32:31+00:00\",\n            \"relations\": {\n                \"owner\": {\n                    \"id\": \"2\",\n                    \"first\": \"John\",\n                    \"last\": \"Smith\",\n                    \"email\": \"JohnSmith@example.com\",\n                    \"level\": \"System Administrator\"\n                },\n                \"type\": {\n                    \"id\": \"1\",\n                    \"type\": \"Dev Audit\",\n                    \"details\": \"Details example\"\n                }\n            }\n        },\n        {\n            \"id\": \"2\",\n            \"reference\": \"2\",\n            \"name\": \"Example Audit\",\n            \"purpose\": \"<p>Purpose example</p>\",\n            \"is_simple\": false,\n            \"pass_rate\": 75,\n            \"private\": false,\n            \"archived\": false,\n            \"created_at\": \"2021-10-13T13:36:38+00:00\",\n            \"updated_at\": \"2021-10-13T13:36:38+00:00\",\n            \"relations\": {\n                \"owner\": {\n                    \"id\": \"2\",\n                    \"first\": \"John\",\n                    \"last\": \"Smith\",\n                    \"email\": \"JohnSmith@example.com\",\n                    \"level\": \"System Administrator\"\n                },\n                \"type\": null\n            }\n        },\n        {\n            \"id\": \"3\",\n            \"reference\": \"3\",\n            \"name\": \"ISO14004\",\n            \"purpose\": \"<p>ISO14004 Audit</p>\",\n            \"is_simple\": false,\n            \"pass_rate\": 90,\n            \"private\": false,\n            \"archived\": false,\n            \"created_at\": \"2021-10-20T14:34:19+00:00\",\n            \"updated_at\": \"2021-10-20T14:34:19+00:00\",\n            \"relations\": {\n                \"owner\": {\n                    \"id\": \"2\",\n                    \"first\": \"John\",\n                    \"last\": \"Smith\",\n                    \"email\": \"JohnSmith@example.com\",\n                    \"level\": \"System Administrator\"\n                },\n                \"type\": {\n                    \"id\": \"1\",\n                    \"type\": \"Dev Audit\",\n                    \"details\": \"Details example\"\n                }\n            }\n        }\n    ]\n}"}],"_postman_id":"93d8a90a-dd79-41b5-b88e-36ed2584fdec"},{"name":"Get Single Audit","id":"a029ed92-9685-46e2-93d3-5d9f77df9f3f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://my-compliance.co.uk/api/v1/audits/1","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"$2y$10$SsWzzhf1/HJh/BsBj7VsluPrtJAb.nz42cUkZoHoLyhlgIomSRs2y"}]},"isInherited":true,"source":{"_postman_id":"d5e37e02-85c9-4706-b615-6e97ec52f19e","id":"d5e37e02-85c9-4706-b615-6e97ec52f19e","name":"MY Compliance Management API","type":"collection"}},"urlObject":{"path":["api","v1","audits","1"],"host":["https://my-compliance.co.uk"],"query":[],"variable":[]}},"response":[{"id":"39a6288e-9587-49df-a3b3-cdf71874e6ff","name":"Get Single Audit","originalRequest":{"method":"GET","header":[],"url":"https://my-compliance.co.uk/api/v1/audits/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 21 Oct 2021 08:18:41 GMT"},{"key":"Server","value":"Apache/2.4.46 (Win64) PHP/7.4.9"},{"key":"X-Powered-By","value":"PHP/7.4.9"},{"key":"Access-Control-Allow-Headers","value":"content-type, X-Requested-With"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"RateLimit-Limit","value":"60"},{"key":"RateLimit-Remaining","value":"59"},{"key":"RateLimit-Reset","value":"19"},{"key":"RateLimit-Account-Limit","value":"120"},{"key":"RateLimit-Account-Remaining","value":"119"},{"key":"RateLimit-Account-Reset","value":"19"},{"key":"Content-Length","value":"422"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": \"1\",\n        \"reference\": \"1\",\n        \"name\": \"Dev Audit\",\n        \"purpose\": \"<p>API TESTING&nbsp;</p>\",\n        \"is_simple\": true,\n        \"pass_rate\": 75,\n        \"private\": true,\n        \"archived\": false,\n        \"created_at\": \"2021-10-13T13:32:31+00:00\",\n        \"updated_at\": \"2021-10-13T13:32:31+00:00\",\n        \"relations\": {\n            \"owner\": {\n                \"id\": \"2\",\n                \"first\": \"John\",\n                \"last\": \"Smith\",\n                \"email\": \"JohnSmith@example.com\",\n                \"level\": \"System Administrator\"\n            },\n            \"type\": {\n                \"id\": \"1\",\n                \"type\": \"Dev Audit\",\n                \"details\": \"Details example\"\n            }\n        }\n    }\n]"}],"_postman_id":"a029ed92-9685-46e2-93d3-5d9f77df9f3f"}],"id":"da530508-b494-4f0b-8c6d-3afac0f53c94","_postman_id":"da530508-b494-4f0b-8c6d-3afac0f53c94","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"$2y$10$SsWzzhf1/HJh/BsBj7VsluPrtJAb.nz42cUkZoHoLyhlgIomSRs2y"}]},"isInherited":true,"source":{"_postman_id":"d5e37e02-85c9-4706-b615-6e97ec52f19e","id":"d5e37e02-85c9-4706-b615-6e97ec52f19e","name":"MY Compliance Management API","type":"collection"}}},{"name":"Contractors","item":[{"name":"Get Contractors","id":"493750c0-43b2-48e3-9335-9885cb2b2139","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://my-compliance.co.uk/api/v1/contractors","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"$2y$10$SsWzzhf1/HJh/BsBj7VsluPrtJAb.nz42cUkZoHoLyhlgIomSRs2y"}]},"isInherited":true,"source":{"_postman_id":"d5e37e02-85c9-4706-b615-6e97ec52f19e","id":"d5e37e02-85c9-4706-b615-6e97ec52f19e","name":"MY Compliance Management API","type":"collection"}},"urlObject":{"path":["api","v1","contractors"],"host":["https://my-compliance.co.uk"],"query":[],"variable":[]}},"response":[{"id":"cd1b4bb9-5fb9-4194-a92f-be46acd26aba","name":"Get Contractors","originalRequest":{"method":"GET","header":[],"url":"https://my-compliance.co.uk/api/v1/contractors"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 21 Oct 2021 08:18:53 GMT"},{"key":"Server","value":"Apache/2.4.46 (Win64) PHP/7.4.9"},{"key":"X-Powered-By","value":"PHP/7.4.9"},{"key":"Access-Control-Allow-Headers","value":"content-type, X-Requested-With"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"RateLimit-Limit","value":"60"},{"key":"RateLimit-Remaining","value":"58"},{"key":"RateLimit-Reset","value":"7"},{"key":"RateLimit-Account-Limit","value":"120"},{"key":"RateLimit-Account-Remaining","value":"118"},{"key":"RateLimit-Account-Reset","value":"7"},{"key":"Content-Length","value":"1077"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"currentPage\": 1,\n    \"totalPages\": 1,\n    \"total\": 2,\n    \"pageSize\": 100,\n    \"resources\": [\n        {\n            \"id\": \"1\",\n            \"reference\": \"1\",\n            \"contractor\": \"Clean Co\",\n            \"address\": \"14 Shrewsburry Road\\r\\n\\r\\nLondon\\r\\n\\r\\nLN14 GHY\",\n            \"contact\": \"Frank Willson\",\n            \"email\": \"fwilson@cleanco.co.uk\",\n            \"phone\": \"07472686428\",\n            \"notes\": \"Cleaning COmpany\",\n            \"created_at\": \"2021-10-20T12:22:58+00:00\",\n            \"updated_at\": \"2021-10-20T12:22:58+00:00\",\n            \"relations\": {\n                \"created_by\": {\n                    \"id\": \"2\",\n                    \"first\": \"John\",\n                    \"last\": \"Smith\",\n                    \"email\": \"JohnSmith@example.com\",\n                    \"level\": \"System Administrator\"\n                },\n                \"custom_fields\": []\n            }\n        },\n        {\n            \"id\": \"2\",\n            \"reference\": \"2\",\n            \"contractor\": \"Example Contractor\",\n            \"address\": \"Address here\",\n            \"contact\": \"Example Contractor\",\n            \"email\": \"contractor@example.com\",\n            \"phone\": \"0747536928\",\n            \"notes\": \"Example Notes\",\n            \"created_at\": \"2021-10-20T13:23:48+00:00\",\n            \"updated_at\": \"2021-10-20T13:23:48+00:00\",\n            \"relations\": {\n                \"created_by\": {\n                    \"id\": \"2\",\n                    \"first\": \"John\",\n                    \"last\": \"Smith\",\n                    \"email\": \"JohnSmith@example.com\",\n                    \"level\": \"System Administrator\"\n                },\n                \"custom_fields\": [\n                    {\n                        \"field\": \"Custom Field 2\",\n                        \"data\": \"Example custom field 2 data\"\n                    },\n                    {\n                        \"field\": \"Custom field 1\",\n                        \"data\": \"Example custom field 1 data\"\n                    }\n                ]\n            }\n        }\n    ]\n}"}],"_postman_id":"493750c0-43b2-48e3-9335-9885cb2b2139"},{"name":"Get Single Contractor","id":"76c71a02-bd83-4dff-9fa9-71136184a11b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://my-compliance.co.uk/api/v1/contractors/1","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"$2y$10$SsWzzhf1/HJh/BsBj7VsluPrtJAb.nz42cUkZoHoLyhlgIomSRs2y"}]},"isInherited":true,"source":{"_postman_id":"d5e37e02-85c9-4706-b615-6e97ec52f19e","id":"d5e37e02-85c9-4706-b615-6e97ec52f19e","name":"MY Compliance Management API","type":"collection"}},"urlObject":{"path":["api","v1","contractors","1"],"host":["https://my-compliance.co.uk"],"query":[],"variable":[]}},"response":[{"id":"2c2faf8d-38ec-4f0e-8635-d3b8db1d55cc","name":"Get Single Contractor","originalRequest":{"method":"GET","header":[],"url":"https://my-compliance.co.uk/api/v1/contractors/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 21 Oct 2021 08:19:34 GMT"},{"key":"Server","value":"Apache/2.4.46 (Win64) PHP/7.4.9"},{"key":"X-Powered-By","value":"PHP/7.4.9"},{"key":"Access-Control-Allow-Headers","value":"content-type, X-Requested-With"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"RateLimit-Limit","value":"60"},{"key":"RateLimit-Remaining","value":"57"},{"key":"RateLimit-Reset","value":"26"},{"key":"RateLimit-Account-Limit","value":"120"},{"key":"RateLimit-Account-Remaining","value":"117"},{"key":"RateLimit-Account-Reset","value":"26"},{"key":"Content-Length","value":"453"},{"key":"Keep-Alive","value":"timeout=5, max=99"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": \"1\",\n        \"reference\": \"1\",\n        \"contractor\": \"Clean Co\",\n        \"address\": \"14 Shrewsburry Road\\r\\n\\r\\nLondon\\r\\n\\r\\nLN14 GHY\",\n        \"contact\": \"Frank Willson\",\n        \"email\": \"fwilson@cleanco.co.uk\",\n        \"phone\": \"07472686428\",\n        \"notes\": \"Cleaning COmpany\",\n        \"created_at\": \"2021-10-20T12:22:58+00:00\",\n        \"updated_at\": \"2021-10-20T12:22:58+00:00\",\n        \"relations\": {\n            \"created_by\": {\n                \"id\": \"2\",\n                \"first\": \"John\",\n                \"last\": \"Smith\",\n                \"email\": \"JohnSmith@example.com\",\n                \"level\": \"System Administrator\"\n            },\n            \"custom_fields\": []\n        }\n    }\n]"}],"_postman_id":"76c71a02-bd83-4dff-9fa9-71136184a11b"}],"id":"32e970a4-8124-418d-9ca5-d7f1dd710f09","_postman_id":"32e970a4-8124-418d-9ca5-d7f1dd710f09","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"$2y$10$SsWzzhf1/HJh/BsBj7VsluPrtJAb.nz42cUkZoHoLyhlgIomSRs2y"}]},"isInherited":true,"source":{"_postman_id":"d5e37e02-85c9-4706-b615-6e97ec52f19e","id":"d5e37e02-85c9-4706-b615-6e97ec52f19e","name":"MY Compliance Management API","type":"collection"}}},{"name":"Incidents","item":[{"name":"Get Incidents","id":"e0da249d-9db3-4379-bd8c-52d8b6fae51e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://my-compliance.co.uk/api/v1/incidents","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"$2y$10$SsWzzhf1/HJh/BsBj7VsluPrtJAb.nz42cUkZoHoLyhlgIomSRs2y"}]},"isInherited":true,"source":{"_postman_id":"d5e37e02-85c9-4706-b615-6e97ec52f19e","id":"d5e37e02-85c9-4706-b615-6e97ec52f19e","name":"MY Compliance Management API","type":"collection"}},"urlObject":{"path":["api","v1","incidents"],"host":["https://my-compliance.co.uk"],"query":[],"variable":[]}},"response":[{"id":"52718a91-64fd-4138-a6cb-b72eee8bfcb5","name":"Get Incidents","originalRequest":{"method":"GET","header":[],"url":"https://my-compliance.co.uk/api/v1/incidents"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 21 Oct 2021 08:19:52 GMT"},{"key":"Server","value":"Apache/2.4.46 (Win64) PHP/7.4.9"},{"key":"X-Powered-By","value":"PHP/7.4.9"},{"key":"Access-Control-Allow-Headers","value":"content-type, X-Requested-With"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"RateLimit-Limit","value":"60"},{"key":"RateLimit-Remaining","value":"56"},{"key":"RateLimit-Reset","value":"8"},{"key":"RateLimit-Account-Limit","value":"120"},{"key":"RateLimit-Account-Remaining","value":"116"},{"key":"RateLimit-Account-Reset","value":"8"},{"key":"Content-Length","value":"1929"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"currentPage\": 1,\n    \"totalPages\": 1,\n    \"total\": 2,\n    \"pageSize\": 100,\n    \"resources\": [\n        {\n            \"id\": \"1\",\n            \"reference\": \"1\",\n            \"reported_by\": \"Darren Paton\",\n            \"incident_date\": \"12:00\",\n            \"location\": \"Workshop\",\n            \"weather\": \"Sunny\",\n            \"description\": \"there was a spillage \",\n            \"action_taken\": \"Nothing \",\n            \"root_cause\": \"root cause example\",\n            \"verified\": false,\n            \"reviewed\": false,\n            \"review\": \"\",\n            \"review_date\": \"\",\n            \"days_lost\": 0,\n            \"riddor\": false,\n            \"not_valid_reason\": \"\",\n            \"actions_completed_at\": \"\",\n            \"verified_at\": \"2021-10-11T11:15:32+00:00\",\n            \"created_at\": \"2021-10-11T11:15:02+00:00\",\n            \"updated_at\": \"2021-10-11T11:15:51+00:00\",\n            \"closed_at\": \"2021-10-11T11:15:51+00:00\",\n            \"relations\": {\n                \"register\": {\n                    \"id\": \"1\",\n                    \"title\": \"Incidents Register\",\n                    \"description\": \"Main Incidents Register\",\n                    \"private\": false\n                },\n                \"created_by\": {\n                    \"id\": \"2\",\n                    \"first\": \"John\",\n                    \"last\": \"Smith\",\n                    \"email\": \"JohnSmith@example.com\",\n                    \"level\": \"System Administrator\"\n                },\n                \"category\": {\n                    \"id\": \"1\",\n                    \"category\": \"Accident\"\n                },\n                \"area\": {\n                    \"id\": \"2\",\n                    \"area\": \"workshop\"\n                },\n                \"type\": {\n                    \"id\": \"1\",\n                    \"type\": \"Spillage\"\n                },\n                \"status\": \"Closed\",\n                \"severity\": {\n                    \"id\": \"4\",\n                    \"rank\": \"4\",\n                    \"severity\": \"Minor\"\n                }\n            }\n        },\n        {\n            \"id\": \"2\",\n            \"reference\": \"2\",\n            \"reported_by\": \"Darren Paton\",\n            \"incident_date\": \"12:00\",\n            \"location\": \"Office\",\n            \"weather\": \"Raining\",\n            \"description\": \"Hurt Hand \",\n            \"action_taken\": \"Nothing \",\n            \"root_cause\": \"root cause example\",\n            \"verified\": false,\n            \"reviewed\": false,\n            \"review\": \"\",\n            \"review_date\": \"\",\n            \"days_lost\": 0,\n            \"riddor\": false,\n            \"not_valid_reason\": \"\",\n            \"actions_completed_at\": \"\",\n            \"verified_at\": \"2021-10-11T11:15:32+00:00\",\n            \"created_at\": \"2021-10-11T11:15:02+00:00\",\n            \"updated_at\": \"2021-10-11T11:15:51+00:00\",\n            \"closed_at\": \"2021-10-11T11:15:51+00:00\",\n            \"relations\": {\n                \"register\": {\n                    \"id\": \"1\",\n                    \"title\": \"Incidents Register\",\n                    \"description\": \"Main Incidents Register\",\n                    \"private\": false\n                },\n                \"created_by\": {\n                    \"id\": \"1\",\n                    \"first\": \"Bob\",\n                    \"last\": \"Jones\",\n                    \"email\": \"BobJones@example.com\",\n                    \"level\": \"Account Administrator\"\n                },\n                \"category\": {\n                    \"id\": \"1\",\n                    \"category\": \"Accident\"\n                },\n                \"area\": {\n                    \"id\": \"2\",\n                    \"area\": \"workshop\"\n                },\n                \"type\": {\n                    \"id\": \"1\",\n                    \"type\": \"Spillage\"\n                },\n                \"status\": \"Closed\",\n                \"severity\": {\n                    \"id\": \"3\",\n                    \"rank\": \"3\",\n                    \"severity\": \"Moderate\"\n                }\n            }\n        }\n    ]\n}"}],"_postman_id":"e0da249d-9db3-4379-bd8c-52d8b6fae51e"},{"name":"Get Single Incident","id":"836b1643-318c-409a-83e2-9f734d1fa33f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://my-compliance.co.uk/api/v1/incidents/1","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"$2y$10$SsWzzhf1/HJh/BsBj7VsluPrtJAb.nz42cUkZoHoLyhlgIomSRs2y"}]},"isInherited":true,"source":{"_postman_id":"d5e37e02-85c9-4706-b615-6e97ec52f19e","id":"d5e37e02-85c9-4706-b615-6e97ec52f19e","name":"MY Compliance Management API","type":"collection"}},"urlObject":{"path":["api","v1","incidents","1"],"host":["https://my-compliance.co.uk"],"query":[],"variable":[]}},"response":[{"id":"2ae2cd02-08de-435f-94b1-cd891941fa51","name":"Get Single Incident","originalRequest":{"method":"GET","header":[],"url":"https://my-compliance.co.uk/api/v1/incidents/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 21 Oct 2021 08:20:42 GMT"},{"key":"Server","value":"Apache/2.4.46 (Win64) PHP/7.4.9"},{"key":"X-Powered-By","value":"PHP/7.4.9"},{"key":"Access-Control-Allow-Headers","value":"content-type, X-Requested-With"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"RateLimit-Limit","value":"60"},{"key":"RateLimit-Remaining","value":"59"},{"key":"RateLimit-Reset","value":"18"},{"key":"RateLimit-Account-Limit","value":"120"},{"key":"RateLimit-Account-Remaining","value":"119"},{"key":"RateLimit-Account-Reset","value":"18"},{"key":"Content-Length","value":"937"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": \"1\",\n        \"reference\": \"1\",\n        \"reported_by\": \"Darren Paton\",\n        \"incident_date\": \"12:00\",\n        \"location\": \"Workshop\",\n        \"weather\": \"Sunny\",\n        \"description\": \"there was a spillage \",\n        \"action_taken\": \"Nothing \",\n        \"root_cause\": \"Root cause Example\",\n        \"verified\": false,\n        \"reviewed\": false,\n        \"review\": \"\",\n        \"review_date\": \"\",\n        \"days_lost\": 0,\n        \"riddor\": false,\n        \"not_valid_reason\": \"\",\n        \"actions_completed_at\": \"\",\n        \"verified_at\": \"2021-10-11T11:15:32+00:00\",\n        \"created_at\": \"2021-10-11T11:15:02+00:00\",\n        \"updated_at\": \"2021-10-11T11:15:51+00:00\",\n        \"closed_at\": \"2021-10-11T11:15:51+00:00\",\n        \"relations\": {\n            \"register\": {\n                \"id\": \"1\",\n                \"title\": \"Incidents Register\",\n                \"description\": \"Main Incidents Register\",\n                \"private\": false\n            },\n            \"created_by\": {\n                \"id\": \"2\",\n                \"first\": \"John\",\n                \"last\": \"Smith\",\n                \"email\": \"JohnSmith@example.com\",\n                \"level\": \"System Administrator\"\n            },\n            \"category\": {\n                \"id\": \"1\",\n                \"category\": \"Accident\"\n            },\n            \"area\": {\n                \"id\": \"2\",\n                \"area\": \"workshop\"\n            },\n            \"type\": {\n                \"id\": \"1\",\n                \"type\": \"Spillage\"\n            },\n            \"status\": \"Closed\",\n            \"severity\": {\n                \"id\": \"4\",\n                \"rank\": \"4\",\n                \"severity\": \"Minor\"\n            },\n            \"people_involved\": [{\n                \"name\":\"Joe Bloggs\",\n                \"job\": \"Bricklayer\",\n                \"address\":\"123 street, Townshire, AA1 3BB\",\n                \"gender\":\"Male\",\n                \"age\": 22,\n                \"status\": \"Employee of company\",\n                \"consent\": false,\n                \"notes\": \"Recorded as injured person at time of creating the incident report\"\n            }],\n            \"contractors\":[{\n                \"id\":\"1\",\n                \"contractor\": \"Fabricated Example Ltd\"\n            }]\n        }\n    }\n]"}],"_postman_id":"836b1643-318c-409a-83e2-9f734d1fa33f"}],"id":"b394a8fb-8ec5-4d2c-93fe-ef302c3bc831","_postman_id":"b394a8fb-8ec5-4d2c-93fe-ef302c3bc831","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"$2y$10$SsWzzhf1/HJh/BsBj7VsluPrtJAb.nz42cUkZoHoLyhlgIomSRs2y"}]},"isInherited":true,"source":{"_postman_id":"d5e37e02-85c9-4706-b615-6e97ec52f19e","id":"d5e37e02-85c9-4706-b615-6e97ec52f19e","name":"MY Compliance Management API","type":"collection"}}},{"name":"NCR","item":[{"name":"Get Non Conformance Reports","id":"36279616-7a19-464e-95ae-3a79329b49a1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://my-compliance.co.uk/api/v1/ncr","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"$2y$10$SsWzzhf1/HJh/BsBj7VsluPrtJAb.nz42cUkZoHoLyhlgIomSRs2y"}]},"isInherited":true,"source":{"_postman_id":"d5e37e02-85c9-4706-b615-6e97ec52f19e","id":"d5e37e02-85c9-4706-b615-6e97ec52f19e","name":"MY Compliance Management API","type":"collection"}},"urlObject":{"path":["api","v1","ncr"],"host":["https://my-compliance.co.uk"],"query":[],"variable":[]}},"response":[{"id":"3677eae9-db94-49b8-9aa2-43574214ea49","name":"Get Non Conformance Reports","originalRequest":{"method":"GET","header":[],"url":"https://my-compliance.co.uk/api/v1/ncr"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 21 Oct 2021 08:21:53 GMT"},{"key":"Server","value":"Apache/2.4.46 (Win64) PHP/7.4.9"},{"key":"X-Powered-By","value":"PHP/7.4.9"},{"key":"Access-Control-Allow-Headers","value":"content-type, X-Requested-With"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"RateLimit-Limit","value":"60"},{"key":"RateLimit-Remaining","value":"58"},{"key":"RateLimit-Reset","value":"7"},{"key":"RateLimit-Account-Limit","value":"120"},{"key":"RateLimit-Account-Remaining","value":"118"},{"key":"RateLimit-Account-Reset","value":"7"},{"key":"Content-Length","value":"1885"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"currentPage\": 1,\n    \"totalPages\": 1,\n    \"total\": 3,\n    \"pageSize\": 100,\n    \"resources\": [\n        {\n            \"id\": \"1\",\n            \"reference\": \"1\",\n            \"title\": \"Poor Quality\",\n            \"notes\": \"Products are of a poor quality\",\n            \"status\": \"Closed\",\n            \"not_valid_reason\": null,\n            \"statement\": null,\n            \"statement_date\": null,\n            \"actions_completed_at\": null,\n            \"verified_at\": \"2021-10-20T11:15:55+00:00\",\n            \"closed_at\": \"2021-10-20T11:16:53+00:00\",\n            \"created_at\": \"2021-10-20T11:15:47+00:00\",\n            \"updated_at\": \"2021-10-20T11:16:53+00:00\",\n            \"relations\": {\n                \"created_by\": {\n                    \"id\": \"2\",\n                    \"first\": \"John\",\n                    \"last\": \"Smith\",\n                    \"email\": \"JohnSmith@example.com\",\n                    \"level\": \"System Administrator\"\n                },\n                \"section\": {\n                    \"id\": \"5\",\n                    \"section\": \"Quality\",\n                    \"private\": false\n                },\n                \"custom_fields\": []\n            }\n        },\n        {\n            \"id\": \"2\",\n            \"reference\": \"2\",\n            \"title\": \"Service\",\n            \"notes\": \"Example Details\",\n            \"status\": \"Resolution statement issued\",\n            \"not_valid_reason\": null,\n            \"statement\": null,\n            \"statement_date\": null,\n            \"actions_completed_at\": null,\n            \"verified_at\": \"2021-10-20T11:17:41+00:00\",\n            \"closed_at\": null,\n            \"created_at\": \"2021-10-20T11:17:22+00:00\",\n            \"updated_at\": \"2021-10-20T11:17:56+00:00\",\n            \"relations\": {\n                \"created_by\": {\n                    \"id\": \"2\",\n                    \"first\": \"John\",\n                    \"last\": \"Smith\",\n                    \"email\": \"JohnSmith@example.com\",\n                    \"level\": \"System Administrator\"\n                },\n                \"section\": {\n                    \"id\": \"1\",\n                    \"section\": \"Non-Conformance Report\",\n                    \"private\": false\n                },\n                \"custom_fields\": []\n            }\n        },\n        {\n            \"id\": \"3\",\n            \"reference\": \"3\",\n            \"title\": \"External\",\n            \"notes\": \"Details Example\",\n            \"status\": \"Closed\",\n            \"not_valid_reason\": null,\n            \"statement\": null,\n            \"statement_date\": null,\n            \"actions_completed_at\": null,\n            \"verified_at\": \"2021-10-20T14:58:12+00:00\",\n            \"closed_at\": \"2021-10-20T14:58:24+00:00\",\n            \"created_at\": \"2021-10-20T14:58:05+00:00\",\n            \"updated_at\": \"2021-10-20T14:58:24+00:00\",\n            \"relations\": {\n                \"created_by\": {\n                    \"id\": \"2\",\n                    \"first\": \"John\",\n                    \"last\": \"Smith\",\n                    \"email\": \"JohnSmith@example.com\",\n                    \"level\": \"System Administrator\"\n                },\n                \"section\": {\n                    \"id\": \"5\",\n                    \"section\": \"Quality\",\n                    \"private\": false\n                },\n                \"custom_fields\": [\n                    {\n                        \"field\": \"Custom Field 2\",\n                        \"data\": \"Example custom field 2 data\"\n                    },\n                    {\n                        \"field\": \"Custom field 1\",\n                        \"data\": \"Example custom field 1 data\"\n                    }\n                ]\n            }\n        }\n    ]\n}"}],"_postman_id":"36279616-7a19-464e-95ae-3a79329b49a1"},{"name":"Get Single Non Conformance Report","id":"7978220c-254f-4911-a21c-6d54e40e40f2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://my-compliance.co.uk/api/v1/ncr/1","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"$2y$10$SsWzzhf1/HJh/BsBj7VsluPrtJAb.nz42cUkZoHoLyhlgIomSRs2y"}]},"isInherited":true,"source":{"_postman_id":"d5e37e02-85c9-4706-b615-6e97ec52f19e","id":"d5e37e02-85c9-4706-b615-6e97ec52f19e","name":"MY Compliance Management API","type":"collection"}},"urlObject":{"path":["api","v1","ncr","1"],"host":["https://my-compliance.co.uk"],"query":[],"variable":[]}},"response":[{"id":"d16657de-0826-46e9-b5d8-88d68b19a2ba","name":"Get Single Non Conformance Report","originalRequest":{"method":"GET","header":[],"url":"https://my-compliance.co.uk/api/v1/ncr/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 21 Oct 2021 08:22:04 GMT"},{"key":"Server","value":"Apache/2.4.46 (Win64) PHP/7.4.9"},{"key":"X-Powered-By","value":"PHP/7.4.9"},{"key":"Access-Control-Allow-Headers","value":"content-type, X-Requested-With"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"RateLimit-Limit","value":"60"},{"key":"RateLimit-Remaining","value":"59"},{"key":"RateLimit-Reset","value":"56"},{"key":"RateLimit-Account-Limit","value":"120"},{"key":"RateLimit-Account-Remaining","value":"119"},{"key":"RateLimit-Account-Reset","value":"56"},{"key":"Content-Length","value":"572"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": \"1\",\n        \"reference\": \"1\",\n        \"title\": \"Poor Quality\",\n        \"notes\": \"Products are of a poor quality\",\n        \"status\": \"Closed\",\n        \"not_valid_reason\": null,\n        \"statement\": null,\n        \"statement_date\": null,\n        \"actions_completed_at\": null,\n        \"verified_at\": \"2021-10-20T11:15:55+00:00\",\n        \"closed_at\": \"2021-10-20T11:16:53+00:00\",\n        \"created_at\": \"2021-10-20T11:15:47+00:00\",\n        \"updated_at\": \"2021-10-20T11:16:53+00:00\",\n        \"relations\": {\n            \"created_by\": {\n                \"id\": \"2\",\n                \"first\": \"John\",\n                \"last\": \"Smith\",\n                \"email\": \"JohnSmith@example.com\",\n                \"level\": \"System Administrator\"\n            },\n            \"section\": {\n                \"id\": \"5\",\n                \"section\": \"Quality\",\n                \"private\": false\n            },\n            \"custom_fields\": []\n        }\n    }\n]"}],"_postman_id":"7978220c-254f-4911-a21c-6d54e40e40f2"}],"id":"522890da-12e7-4d0e-9e5d-ae0b03ee2a9d","_postman_id":"522890da-12e7-4d0e-9e5d-ae0b03ee2a9d","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"$2y$10$SsWzzhf1/HJh/BsBj7VsluPrtJAb.nz42cUkZoHoLyhlgIomSRs2y"}]},"isInherited":true,"source":{"_postman_id":"d5e37e02-85c9-4706-b615-6e97ec52f19e","id":"d5e37e02-85c9-4706-b615-6e97ec52f19e","name":"MY Compliance Management API","type":"collection"}}},{"name":"Risks","item":[{"name":"Get Risks","id":"c5578915-0756-4d01-8573-73e62c0ee662","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://my-compliance.co.uk/api/v1/risks","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"$2y$10$SsWzzhf1/HJh/BsBj7VsluPrtJAb.nz42cUkZoHoLyhlgIomSRs2y"}]},"isInherited":true,"source":{"_postman_id":"d5e37e02-85c9-4706-b615-6e97ec52f19e","id":"d5e37e02-85c9-4706-b615-6e97ec52f19e","name":"MY Compliance Management API","type":"collection"}},"urlObject":{"path":["api","v1","risks"],"host":["https://my-compliance.co.uk"],"query":[],"variable":[]}},"response":[{"id":"f2184223-d34e-4c41-8da8-255deba64a38","name":"Get Risks","originalRequest":{"method":"GET","header":[],"url":"https://my-compliance.co.uk/api/v1/risks"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 21 Oct 2021 08:22:17 GMT"},{"key":"Server","value":"Apache/2.4.46 (Win64) PHP/7.4.9"},{"key":"X-Powered-By","value":"PHP/7.4.9"},{"key":"Access-Control-Allow-Headers","value":"content-type, X-Requested-With"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"RateLimit-Limit","value":"60"},{"key":"RateLimit-Remaining","value":"58"},{"key":"RateLimit-Reset","value":"43"},{"key":"RateLimit-Account-Limit","value":"120"},{"key":"RateLimit-Account-Remaining","value":"118"},{"key":"RateLimit-Account-Reset","value":"43"},{"key":"Content-Length","value":"1339"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"currentPage\": 1,\n    \"totalPages\": 1,\n    \"total\": 1,\n    \"pageSize\": 100,\n    \"resources\": [\n        {\n            \"id\": \"1\",\n            \"reference\": \"1\",\n            \"description\": \"Slippery floor after cleaning\",\n            \"who_is_harmed\": \"Staff and visitors may slip after a floor has been cleaned\",\n            \"current_control_measures\": \" Signs placed by cleaning staff during and after cleaning\",\n            \"additional_controls_required\": \" None\",\n            \"risk_level\": \"4\",\n            \"probability\": null,\n            \"likelihood\": \"1\",\n            \"before_risk_level\": null,\n            \"before_probability\": null,\n            \"before_likelihood\": null,\n            \"status\": \"Verified\",\n            \"review_date\": \"2022-10-20T10:41:24+00:00\",\n            \"created_at\": \"2021-10-20T11:40:37+00:00\",\n            \"updated_at\": \"2021-10-20T11:41:24+00:00\",\n            \"relations\": {\n                \"created_by\": {\n                    \"id\": \"2\",\n                    \"first\": \"John\",\n                    \"last\": \"Smith\",\n                    \"email\": \"JohnSmith@example.com\",\n                    \"level\": \"System Administrator\"\n                },\n                \"hazard\": {\n                    \"id\": \"1\",\n                    \"hazard\": \"Slips\",\n                    \"created_at\": \"2021-10-20T11:38:44+00:00\",\n                    \"updated_at\": \"2021-10-20T11:38:44+00:00\",\n                    \"relations\": {\n                        \"created_by\": {\n                            \"id\": \"2\",\n                            \"first\": \"John\",\n                            \"last\": \"Smith\",\n                            \"email\": \"JohnSmith@example.com\",\n                            \"level\": \"System Administrator\"\n                        }\n                    }\n                },\n                \"register\": {\n                    \"id\": \"1\",\n                    \"title\": \"Risks Register\",\n                    \"description\": \"Main Risks Register\",\n                    \"private\": false,\n                    \"rating_scheme\": \"matrix\",\n                    \"created_at\": \"2021-09-17T15:06:35+00:00\",\n                    \"updated_at\": \"2021-09-17T15:06:35+00:00\"\n                },\n                \"notes\": [\n                    {\n                        \"id\": \"1\",\n                        \"note\": \"Risk Note example\",\n                        \"created_at\": \"2021-10-20T11:41:42+00:00\",\n                        \"updated_at\": \"2021-10-20T11:41:42+00:00\",\n                        \"relations\": {\n                            \"created_by\": {\n                                \"id\": \"2\",\n                                \"first\": \"John\",\n                                \"last\": \"Smith\",\n                                \"email\": \"JohnSmith@example.com\",\n                                \"level\": \"System Administrator\"\n                            }\n                        }\n                    }\n                ]\n            }\n        }\n    ]\n}"}],"_postman_id":"c5578915-0756-4d01-8573-73e62c0ee662"},{"name":"Get Single Risk","id":"15d8771b-4650-43dd-9808-1797ea0f7b3f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://my-compliance.co.uk/api/v1/risks/1","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"$2y$10$SsWzzhf1/HJh/BsBj7VsluPrtJAb.nz42cUkZoHoLyhlgIomSRs2y"}]},"isInherited":true,"source":{"_postman_id":"d5e37e02-85c9-4706-b615-6e97ec52f19e","id":"d5e37e02-85c9-4706-b615-6e97ec52f19e","name":"MY Compliance Management API","type":"collection"}},"urlObject":{"path":["api","v1","risks","1"],"host":["https://my-compliance.co.uk"],"query":[],"variable":[]}},"response":[{"id":"8b585716-48b5-4274-a096-b504efdd2471","name":"Get Single Risk","originalRequest":{"method":"GET","header":[],"url":"https://my-compliance.co.uk/api/v1/risks/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 21 Oct 2021 08:22:27 GMT"},{"key":"Server","value":"Apache/2.4.46 (Win64) PHP/7.4.9"},{"key":"X-Powered-By","value":"PHP/7.4.9"},{"key":"Access-Control-Allow-Headers","value":"content-type, X-Requested-With"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"RateLimit-Limit","value":"60"},{"key":"RateLimit-Remaining","value":"57"},{"key":"RateLimit-Reset","value":"33"},{"key":"RateLimit-Account-Limit","value":"120"},{"key":"RateLimit-Account-Remaining","value":"117"},{"key":"RateLimit-Account-Reset","value":"33"},{"key":"Content-Length","value":"1269"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": \"1\",\n        \"reference\": \"1\",\n        \"description\": \"Slippery floor after cleaning\",\n        \"who_is_harmed\": \"Staff and visitors may slip after a floor has been cleaned\",\n        \"current_control_measures\": \" Signs placed by cleaning staff during and after cleaning\",\n        \"additional_controls_required\": \" None\",\n        \"risk_level\": \"4\",\n        \"probability\": null,\n        \"likelihood\": \"1\",\n        \"before_risk_level\": null,\n        \"before_probability\": null,\n        \"before_likelihood\": null,\n        \"status\": \"Verified\",\n        \"review_date\": \"2022-10-20T10:41:24+00:00\",\n        \"created_at\": \"2021-10-20T11:40:37+00:00\",\n        \"updated_at\": \"2021-10-20T11:41:24+00:00\",\n        \"relations\": {\n            \"created_by\": {\n                \"id\": \"2\",\n                \"first\": \"John\",\n                \"last\": \"Smith\",\n                \"email\": \"JohnSmith@example.com\",\n                \"level\": \"System Administrator\"\n            },\n            \"hazard\": {\n                \"id\": \"1\",\n                \"hazard\": \"Slips\",\n                \"created_at\": \"2021-10-20T11:38:44+00:00\",\n                \"updated_at\": \"2021-10-20T11:38:44+00:00\",\n                \"relations\": {\n                    \"created_by\": {\n                        \"id\": \"2\",\n                        \"first\": \"John\",\n                        \"last\": \"Smith\",\n                        \"email\": \"JohnSmith@example.com\",\n                        \"level\": \"System Administrator\"\n                    }\n                }\n            },\n            \"register\": {\n                \"id\": \"1\",\n                \"title\": \"Risks Register\",\n                \"description\": \"Main Risks Register\",\n                \"private\": false,\n                \"rating_scheme\": \"matrix\",\n                \"created_at\": \"2021-09-17T15:06:35+00:00\",\n                \"updated_at\": \"2021-09-17T15:06:35+00:00\"\n            },\n            \"notes\": [\n                {\n                    \"id\": \"1\",\n                    \"note\": \"Risk Note example\",\n                    \"created_at\": \"2021-10-20T11:41:42+00:00\",\n                    \"updated_at\": \"2021-10-20T11:41:42+00:00\",\n                    \"relations\": {\n                        \"created_by\": {\n                            \"id\": \"2\",\n                            \"first\": \"John\",\n                            \"last\": \"Smith\",\n                            \"email\": \"JohnSmith@example.com\",\n                            \"level\": \"System Administrator\"\n                        }\n                    }\n                }\n            ]\n        }\n    }\n]"}],"_postman_id":"15d8771b-4650-43dd-9808-1797ea0f7b3f"}],"id":"bf0d274d-d155-40f3-a69b-dd42c834bd4c","_postman_id":"bf0d274d-d155-40f3-a69b-dd42c834bd4c","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"$2y$10$SsWzzhf1/HJh/BsBj7VsluPrtJAb.nz42cUkZoHoLyhlgIomSRs2y"}]},"isInherited":true,"source":{"_postman_id":"d5e37e02-85c9-4706-b615-6e97ec52f19e","id":"d5e37e02-85c9-4706-b615-6e97ec52f19e","name":"MY Compliance Management API","type":"collection"}}},{"name":"Risks Assessments","item":[{"name":"Get Risk Assessments","id":"fab1edcc-ca4d-4b19-959e-9db6f2ba80bb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://my-compliance.co.uk/api/v1/risk_assessments","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"$2y$10$SsWzzhf1/HJh/BsBj7VsluPrtJAb.nz42cUkZoHoLyhlgIomSRs2y"}]},"isInherited":true,"source":{"_postman_id":"d5e37e02-85c9-4706-b615-6e97ec52f19e","id":"d5e37e02-85c9-4706-b615-6e97ec52f19e","name":"MY Compliance Management API","type":"collection"}},"urlObject":{"path":["api","v1","risk_assessments"],"host":["https://my-compliance.co.uk"],"query":[],"variable":[]}},"response":[{"id":"94029684-913a-4410-b60a-6a7f7fc27ac5","name":"Get Risk Assessments","originalRequest":{"method":"GET","header":[],"url":"https://my-compliance.co.uk/api/v1/risk_assessments"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 21 Oct 2021 08:22:37 GMT"},{"key":"Server","value":"Apache/2.4.46 (Win64) PHP/7.4.9"},{"key":"X-Powered-By","value":"PHP/7.4.9"},{"key":"Access-Control-Allow-Headers","value":"content-type, X-Requested-With"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"RateLimit-Limit","value":"60"},{"key":"RateLimit-Remaining","value":"56"},{"key":"RateLimit-Reset","value":"23"},{"key":"RateLimit-Account-Limit","value":"120"},{"key":"RateLimit-Account-Remaining","value":"116"},{"key":"RateLimit-Account-Reset","value":"23"},{"key":"Content-Length","value":"625"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"currentPage\": 1,\n    \"totalPages\": 1,\n    \"total\": 1,\n    \"pageSize\": 100,\n    \"resources\": [\n        {\n            \"id\": \"1\",\n            \"project\": \"Task\",\n            \"description\": \"Description Example\",\n            \"site\": \"Address here\",\n            \"contact\": \"John Smith\",\n            \"phone\": \"07472218728\",\n            \"start_date\": \"2021-10-20T00:00:00+00:00\",\n            \"end_date\": \"2022-10-20T00:00:00+00:00\",\n            \"created_at\": \"2021-10-20T15:07:21+00:00\",\n            \"updated_at\": \"2021-10-20T15:09:32+00:00\",\n            \"relations\": {\n                \"created_by\": {\n                    \"id\": \"2\",\n                    \"first\": \"John\",\n                    \"last\": \"Smith\",\n                    \"email\": \"JohnSmith@example.com\",\n                    \"level\": \"System Administrator\"\n                },\n                \"custom_fields\": [\n                    {\n                        \"field\": \"Custom Field 1\",\n                        \"data\": \"Custom Field 1 Data\"\n                    },\n                    {\n                        \"field\": \"Custom Field 2\",\n                        \"data\": \"Custom Field 2 Data\"\n                    }\n                ]\n            }\n        }\n    ]\n}"}],"_postman_id":"fab1edcc-ca4d-4b19-959e-9db6f2ba80bb"},{"name":"Get Single Risk Assessment","id":"9d834cde-5d53-4bff-9f5b-93f0c59ecfae","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://my-compliance.co.uk/api/v1/risk_assessments/1","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"$2y$10$SsWzzhf1/HJh/BsBj7VsluPrtJAb.nz42cUkZoHoLyhlgIomSRs2y"}]},"isInherited":true,"source":{"_postman_id":"d5e37e02-85c9-4706-b615-6e97ec52f19e","id":"d5e37e02-85c9-4706-b615-6e97ec52f19e","name":"MY Compliance Management API","type":"collection"}},"urlObject":{"path":["api","v1","risk_assessments","1"],"host":["https://my-compliance.co.uk"],"query":[],"variable":[]}},"response":[{"id":"f736aabb-8a6d-4fa9-b177-76442f298f40","name":"Get Single Risk Assessment","originalRequest":{"method":"GET","header":[],"url":"https://my-compliance.co.uk/api/v1/risk_assessments/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 21 Oct 2021 08:23:01 GMT"},{"key":"Server","value":"Apache/2.4.46 (Win64) PHP/7.4.9"},{"key":"X-Powered-By","value":"PHP/7.4.9"},{"key":"Access-Control-Allow-Headers","value":"content-type, X-Requested-With"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"RateLimit-Limit","value":"60"},{"key":"RateLimit-Remaining","value":"59"},{"key":"RateLimit-Reset","value":"59"},{"key":"RateLimit-Account-Limit","value":"120"},{"key":"RateLimit-Account-Remaining","value":"119"},{"key":"RateLimit-Account-Reset","value":"59"},{"key":"Content-Length","value":"555"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": \"1\",\n        \"project\": \"Task\",\n        \"description\": \"Description Example\",\n        \"site\": \"Address here\",\n        \"contact\": \"John Smith\",\n        \"phone\": \"07472218728\",\n        \"start_date\": \"2021-10-20T00:00:00+00:00\",\n        \"end_date\": \"2022-10-20T00:00:00+00:00\",\n        \"created_at\": \"2021-10-20T15:07:21+00:00\",\n        \"updated_at\": \"2021-10-20T15:09:32+00:00\",\n        \"relations\": {\n            \"created_by\": {\n                \"id\": \"2\",\n                \"first\": \"John\",\n                \"last\": \"Smith\",\n                \"email\": \"JohnSmith@example.com\",\n                \"level\": \"System Administrator\"\n            },\n            \"custom_fields\": [\n                {\n                    \"field\": \"Custom Field 1\",\n                    \"data\": \"Custom Field 1 Data\"\n                },\n                {\n                    \"field\": \"Custom Field 2\",\n                    \"data\": \"Custom Field 2 Data\"\n                }\n            ]\n        }\n    }\n]"}],"_postman_id":"9d834cde-5d53-4bff-9f5b-93f0c59ecfae"}],"id":"a78e97e2-1d71-4346-a817-c39267b5135a","_postman_id":"a78e97e2-1d71-4346-a817-c39267b5135a","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"$2y$10$SsWzzhf1/HJh/BsBj7VsluPrtJAb.nz42cUkZoHoLyhlgIomSRs2y"}]},"isInherited":true,"source":{"_postman_id":"d5e37e02-85c9-4706-b615-6e97ec52f19e","id":"d5e37e02-85c9-4706-b615-6e97ec52f19e","name":"MY Compliance Management API","type":"collection"}}}],"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"$2y$10$SsWzzhf1/HJh/BsBj7VsluPrtJAb.nz42cUkZoHoLyhlgIomSRs2y"}]}},"event":[{"listen":"prerequest","script":{"id":"71997710-10e6-4a9b-92a0-f00fbb48a03c","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"056ea24e-5348-4b75-97e0-1b5ea6ce865c","type":"text/javascript","exec":[""]}}],"variable":[{"key":"bearer","value":"$2y$10$SsWzzhf1/HJh/BsBj7VsluPrtJAb.nz42cUkZoHoLyhlgIomSRs2y"},{"key":"host","value":"https://my-compliance.co.uk"},{"key":"endpoint","value":"api"},{"key":"version","value":"v1"},{"key":"staging_bearer","value":"$2y$10$6UCKQOq9dDGVVYJig.zip.Sas1vst6ZoApnHIFcBqav7UJu05I2wC","type":"string"}]}