{"info":{"_postman_id":"bd46f7ec-2f39-4add-9eff-160cb4bda033","name":"True Compliance Public API v2","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"description":"<html><head></head><body></body></html>","owner":"5479160","collectionId":"bd46f7ec-2f39-4add-9eff-160cb4bda033","publishedId":"2sBXwjuDC6","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"2D68C5"},"publishDate":"2026-05-20T11:37:00.000Z"},"item":[{"name":"Action","item":[{"name":"Get Actions","event":[{"listen":"test","script":{"id":"fa6bfab8-ef6c-44a9-b07d-937fa6d0a076","exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});"],"type":"text/javascript","packages":{},"requests":{}}}],"id":"f29f14d0-cfdd-481e-b3fd-ed2c9b0d6d15","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{api-key}}"}]},"isInherited":false},"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"{{public_api_v2_domain}}action","description":"<h2 id=\"get-actions\">Get Actions</h2>\n<p>Retrieves a paginated list of actions. Results can be filtered by action type, status, associated certificate, property, or material, as well as by creation or update date ranges.</p>\n<hr />\n<h2 id=\"query-parameters\">Query Parameters</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Type</th>\n<th>Required</th>\n<th>Default</th>\n<th>Description</th>\n<th>Example</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>page</code></td>\n<td>integer</td>\n<td>Optional</td>\n<td><code>1</code></td>\n<td>Page number for pagination</td>\n<td><code>1</code></td>\n</tr>\n<tr>\n<td><code>limit</code></td>\n<td>integer</td>\n<td>Optional</td>\n<td><code>100</code></td>\n<td>Number of results per page</td>\n<td><code>50</code></td>\n</tr>\n<tr>\n<td><code>action_type</code></td>\n<td>string</td>\n<td>Optional</td>\n<td>—</td>\n<td>Comma-separated list of action types. Available values can be retrieved via <code>GET library/action-types</code></td>\n<td><code>Water Risk Actions,Fire Risk Actions</code></td>\n</tr>\n<tr>\n<td><code>action_status</code></td>\n<td>string</td>\n<td>Optional</td>\n<td>—</td>\n<td>Comma-separated list of action statuses. Available values can be retrieved via <code>GET library/action-statuses</code></td>\n<td><code>Open,Closed</code></td>\n</tr>\n<tr>\n<td><code>certificate_id</code></td>\n<td>string</td>\n<td>Optional</td>\n<td>—</td>\n<td>Filter results by a specific certificate ID</td>\n<td><code>cert_abc123</code></td>\n</tr>\n<tr>\n<td><code>property_id</code></td>\n<td>string</td>\n<td>Optional</td>\n<td>—</td>\n<td>Filter results by a specific property ID</td>\n<td><code>prop_xyz456</code></td>\n</tr>\n<tr>\n<td><code>material_id</code></td>\n<td>string</td>\n<td>Optional</td>\n<td>—</td>\n<td>Filter results by a specific material ID</td>\n<td><code>mat_789def</code></td>\n</tr>\n<tr>\n<td><code>created_before</code></td>\n<td>string</td>\n<td>Optional</td>\n<td>—</td>\n<td>Return actions created before this date. Format: <code>YYYY-MM-DD</code></td>\n<td><code>2024-12-31</code></td>\n</tr>\n<tr>\n<td><code>created_since</code></td>\n<td>string</td>\n<td>Optional</td>\n<td>—</td>\n<td>Return actions created on or after this date. Format: <code>YYYY-MM-DD</code></td>\n<td><code>2024-01-01</code></td>\n</tr>\n<tr>\n<td><code>updated_before</code></td>\n<td>string</td>\n<td>Optional</td>\n<td>—</td>\n<td>Return actions last updated before this date. Format: <code>YYYY-MM-DD</code></td>\n<td><code>2024-12-31</code></td>\n</tr>\n<tr>\n<td><code>updated_since</code></td>\n<td>string</td>\n<td>Optional</td>\n<td>—</td>\n<td>Return actions last updated on or after this date. Format: <code>YYYY-MM-DD</code></td>\n<td><code>2024-01-01</code></td>\n</tr>\n<tr>\n<td><code>shallow</code></td>\n<td>boolean</td>\n<td>Optional</td>\n<td><code>false</code></td>\n<td>When <code>true</code>, returns a shallow response with no nested relationships</td>\n<td><code>true</code></td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h2 id=\"notes\">Notes</h2>\n<ul>\n<li><p><strong>Comma-separated list parameters:</strong> <code>action_type</code> and <code>action_status</code> accept multiple values as a comma-separated string (e.g., <code>Open,Closed</code>). Use the corresponding library endpoints to retrieve all valid values:</p>\n<ul>\n<li><p>Action types: <code>GET library/action-types</code></p>\n</li>\n<li><p>Action statuses: <code>GET library/action-statuses</code></p>\n</li>\n</ul>\n</li>\n<li><p><strong>Date filters</strong> (<code>created_before</code>, <code>created_since</code>, <code>updated_before</code>, <code>updated_since</code>) must follow the <code>YYYY-MM-DD</code> format.</p>\n</li>\n</ul>\n","urlObject":{"host":["{{public_api_v2_domain}}action"],"query":[{"disabled":true,"key":"limit","value":"100"},{"disabled":true,"key":"page","value":"1"},{"disabled":true,"description":{"content":"<p>Comma separated list of action types. You can find these by calling GET library/action-types</p>\n","type":"text/plain"},"key":"action_type","value":"Water Risk Actions,Fire Risk Actions"},{"disabled":true,"description":{"content":"<p>Comma separated list of action statuses. You can find these by calling GET library/action-statuses</p>\n","type":"text/plain"},"key":"action_status","value":"Open,Closed"},{"disabled":true,"key":"certificate_id","value":""},{"disabled":true,"key":"property_id","value":""},{"disabled":true,"key":"material_id","value":""},{"disabled":true,"description":{"content":"<p>YYYY-MM-DD</p>\n","type":"text/plain"},"key":"created_before","value":"2020-01-10"},{"disabled":true,"description":{"content":"<p>YYYY-MM-DD</p>\n","type":"text/plain"},"key":"created_since","value":"2025-01-10"},{"disabled":true,"description":{"content":"<p>YYYY-MM-DD</p>\n","type":"text/plain"},"key":"updated_before","value":"2020-01-10"},{"disabled":true,"description":{"content":"<p>YYYY-MM-DD</p>\n","type":"text/plain"},"key":"updated_since","value":"2025-01-10"},{"disabled":true,"description":{"content":"<p>Return shallow response (no nested relationships)</p>\n","type":"text/plain"},"key":"shallow","value":"false"}],"variable":[]}},"response":[],"_postman_id":"f29f14d0-cfdd-481e-b3fd-ed2c9b0d6d15"},{"name":"Get Action","event":[{"listen":"test","script":{"id":"6ab82aa4-f866-473c-b088-34a5f3c646e5","exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});"],"type":"text/javascript","packages":{},"requests":{}}}],"id":"b2ea1493-cc39-439c-8da2-877652a169db","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{api-key}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{public_api_v2_domain}}action/{{action_id}}","description":"<h2 id=\"get-action\">Get Action</h2>\n<p>Retrieves a single action by its unique identifier.</p>\n<hr />\n<h2 id=\"path-variables\">Path Variables</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Variable</th>\n<th>Type</th>\n<th>Required</th>\n<th>Description</th>\n<th>Example</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>action_id</code></td>\n<td>string</td>\n<td>Required</td>\n<td>The unique identifier of the action to retrieve</td>\n<td><code>123456</code></td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h2 id=\"query-parameters\">Query Parameters</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Type</th>\n<th>Required</th>\n<th>Default</th>\n<th>Description</th>\n<th>Example</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>shallow</code></td>\n<td>boolean</td>\n<td>Optional</td>\n<td><code>false</code></td>\n<td>When <code>true</code>, returns a shallow response with no nested relationships</td>\n<td><code>true</code></td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h2 id=\"notes\">Notes</h2>\n<ul>\n<li><p>The <code>action_id</code> path variable must correspond to an existing action. If the action is not found, a <code>404</code> response will be returned.</p>\n</li>\n<li><p>Set <code>shallow</code> to <code>true</code> to reduce response payload size by omitting nested relationship data.</p>\n</li>\n</ul>\n","urlObject":{"path":["{{action_id}}"],"host":["{{public_api_v2_domain}}action"],"query":[{"disabled":true,"description":{"content":"<p>Return shallow response (no nested relationships)</p>\n","type":"text/plain"},"key":"shallow","value":"false"}],"variable":[]}},"response":[],"_postman_id":"b2ea1493-cc39-439c-8da2-877652a169db"},{"name":"Add Flag","id":"fd1108e1-38de-44ea-8061-ba471537a992","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"flag_name\": \"Capped Meter\",\n    \"expiry_date\": \"2026-03-02\"\n}","options":{"raw":{"language":"json"}}},"url":"{{public_api_v2_domain}}action/{{action_id}}/flag","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{public_api_v2_token}}"}]},"isInherited":true,"source":{"_postman_id":"bd46f7ec-2f39-4add-9eff-160cb4bda033","id":"bd46f7ec-2f39-4add-9eff-160cb4bda033","name":"True Compliance Public API v2","type":"collection"}},"urlObject":{"path":["{{action_id}}","flag"],"host":["{{public_api_v2_domain}}action"],"query":[],"variable":[]}},"response":[],"_postman_id":"fd1108e1-38de-44ea-8061-ba471537a992"},{"name":"Add a Note to an Action","event":[{"listen":"test","script":{"exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});"],"type":"text/javascript","packages":{},"requests":{},"id":"3f44cbaa-72b7-4772-9089-26163b2184e3"}}],"id":"608f56e9-ce8a-4ed9-b920-7548404947cb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"note","value":"This is my note to add","type":"text","description":"<p>String</p>\n"},{"key":"evidence","description":"<p>File. Optional. 1mb max filesize.</p>\n","type":"file","src":"postman-cloud:///1f0b0e05-44f4-4750-b39c-8f0b6f5955b0"}]},"url":"{{public_api_v2_domain}}action/{{action_id}}/note","description":"<p>Will add a note to an Action, with optional attachment.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{public_api_v2_token}}"}]},"isInherited":true,"source":{"_postman_id":"bd46f7ec-2f39-4add-9eff-160cb4bda033","id":"bd46f7ec-2f39-4add-9eff-160cb4bda033","name":"True Compliance Public API v2","type":"collection"}},"urlObject":{"path":["{{action_id}}","note"],"host":["{{public_api_v2_domain}}action"],"query":[],"variable":[]}},"response":[],"_postman_id":"608f56e9-ce8a-4ed9-b920-7548404947cb"},{"name":"Close an Action","event":[{"listen":"test","script":{"exec":[""],"type":"text/javascript","packages":{},"requests":{},"id":"85bb63b0-9666-429c-aa0b-5baf536dbe95"}}],"id":"1ea4c654-20d0-4ec7-b35c-ce2881a68298","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"evidence","description":"<p>File. Optional. 1mb max filesize.</p>\n","type":"file","src":"postman-cloud:///1f0b0e05-44f4-4750-b39c-8f0b6f5955b0"},{"key":"note","value":"A completion note","description":"<p>String. Optional.</p>\n","type":"text"},{"key":"completed_by","value":"geoff.bronson@nhg.org.uk","description":"<p>A valid email address</p>\n","type":"text"},{"key":"approved_by","value":"helen.griffey@nhg.org.uk","description":"<p>A valid email address</p>\n","type":"text"},{"key":"_method","value":"PATCH","type":"text","uuid":"44f40da4-0fc2-4db6-99af-a7053d1666b6"}]},"url":"{{public_api_v2_domain}}action/{{action_id}}/close","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{public_api_v2_token}}"}]},"isInherited":true,"source":{"_postman_id":"bd46f7ec-2f39-4add-9eff-160cb4bda033","id":"bd46f7ec-2f39-4add-9eff-160cb4bda033","name":"True Compliance Public API v2","type":"collection"}},"urlObject":{"path":["{{action_id}}","close"],"host":["{{public_api_v2_domain}}action"],"query":[],"variable":[]}},"response":[],"_postman_id":"1ea4c654-20d0-4ec7-b35c-ce2881a68298"},{"name":"Reassign Action","event":[{"listen":"test","script":{"exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});"],"type":"text/javascript","packages":{},"requests":{},"id":"1ac7a255-ce8d-43b9-8965-2dc1751b1874"}}],"id":"cfe01046-a2a7-46da-9d93-a2dffb9df767","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"owner\": \"{{owner_email}}\",\n    \"team\": \"{{team_name}}\"\n}","options":{"raw":{"language":"json"}}},"url":"{{public_api_v2_domain}}action/{{action_id}}/reassign","description":"<p>Change the ownership of an action. Both owner_id and team_id are optional, but one of them must be present.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{public_api_v2_token}}"}]},"isInherited":true,"source":{"_postman_id":"bd46f7ec-2f39-4add-9eff-160cb4bda033","id":"bd46f7ec-2f39-4add-9eff-160cb4bda033","name":"True Compliance Public API v2","type":"collection"}},"urlObject":{"path":["{{action_id}}","reassign"],"host":["{{public_api_v2_domain}}action"],"query":[],"variable":[]}},"response":[],"_postman_id":"cfe01046-a2a7-46da-9d93-a2dffb9df767"},{"name":"Update Status","event":[{"listen":"test","script":{"exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});"],"type":"text/javascript","packages":{},"requests":{},"id":"aafff6ed-4a14-44d7-a9f6-d466bafb06a1"}}],"id":"ed1d378c-30f7-44aa-8065-69754af27e78","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"action_status\": \"sent for approval\",\n    \"completed_by\": \"{{user_email}}\"\n}","options":{"raw":{"language":"json"}}},"url":"{{public_api_v2_domain}}action/{{action_id}}/change-status","description":"<p>This will change the action to any status other than Closed (to close an action use the \"Close an Action\" endpoint).</p>\n<p>action_status_id must be either 1, 2 or 3:</p>\n<p>1 - Open\n2 - Sent for Approval\n3 - Rejected</p>\n<p>If the new status is 2 you can optionally send the completed_by_id, which is the user_id of the user who completed the action. If omitted the completed_by user will be the authenticated API user.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{public_api_v2_token}}"}]},"isInherited":true,"source":{"_postman_id":"bd46f7ec-2f39-4add-9eff-160cb4bda033","id":"bd46f7ec-2f39-4add-9eff-160cb4bda033","name":"True Compliance Public API v2","type":"collection"}},"urlObject":{"path":["{{action_id}}","change-status"],"host":["{{public_api_v2_domain}}action"],"query":[],"variable":[]}},"response":[],"_postman_id":"ed1d378c-30f7-44aa-8065-69754af27e78"},{"name":"Remove Flag","id":"9f654d62-ccd3-4d44-a06d-48985dae6d8b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":"{\n    \"flag_name\": \"Capped Meter\"\n}","options":{"raw":{"language":"json"}}},"url":"{{public_api_v2_domain}}action/{{action_id}}/flag","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{public_api_v2_token}}"}]},"isInherited":true,"source":{"_postman_id":"bd46f7ec-2f39-4add-9eff-160cb4bda033","id":"bd46f7ec-2f39-4add-9eff-160cb4bda033","name":"True Compliance Public API v2","type":"collection"}},"urlObject":{"path":["{{action_id}}","flag"],"host":["{{public_api_v2_domain}}action"],"query":[],"variable":[]}},"response":[],"_postman_id":"9f654d62-ccd3-4d44-a06d-48985dae6d8b"}],"id":"0ee146c2-5b1e-4576-8c0c-3bbdf52ea89d","_postman_id":"0ee146c2-5b1e-4576-8c0c-3bbdf52ea89d","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{public_api_v2_token}}"}]},"isInherited":true,"source":{"_postman_id":"bd46f7ec-2f39-4add-9eff-160cb4bda033","id":"bd46f7ec-2f39-4add-9eff-160cb4bda033","name":"True Compliance Public API v2","type":"collection"}}},{"name":"Asset","item":[{"name":"Get Assets","event":[{"listen":"test","script":{"exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});"],"type":"text/javascript","packages":{},"requests":{},"id":"9a87a552-0af4-4f09-aec3-cf1c5a4e17f9"}}],"id":"5dc1d230-af24-4ada-9ff0-f6b7a755ae02","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{public_api_v2_domain}}asset?limit=5&asset_type=Smoke Alarm&compliant=1&fault_status=Dismissed,To Review","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{public_api_v2_token}}"}]},"isInherited":true,"source":{"_postman_id":"bd46f7ec-2f39-4add-9eff-160cb4bda033","id":"bd46f7ec-2f39-4add-9eff-160cb4bda033","name":"True Compliance Public API v2","type":"collection"}},"urlObject":{"host":["{{public_api_v2_domain}}asset"],"query":[{"disabled":true,"key":"page","value":"1"},{"key":"limit","value":"5"},{"description":{"content":"<p>Comma separated list of asset types. You can find these by calling GET library/asset-types</p>\n","type":"text/plain"},"key":"asset_type","value":"Smoke Alarm"},{"disabled":true,"key":"certificate_id","value":"558568"},{"description":{"content":"<p>Must be 1 or 0 for true or false</p>\n","type":"text/plain"},"key":"compliant","value":"1"},{"description":{"content":"<p>Comma separated list of fault statuses. You can find these by calling GET library/fault-statuses</p>\n","type":"text/plain"},"key":"fault_status","value":"Dismissed,To Review"},{"disabled":true,"key":"property_id","value":"478562"},{"disabled":true,"key":"shallow","value":"false"},{"disabled":true,"key":"uprn","value":"136999"},{"disabled":true,"key":"created_since","value":"2020-01-01"},{"disabled":true,"key":"created_before","value":"2025-01-01"},{"disabled":true,"key":"updated_since","value":"2020-01-01"},{"disabled":true,"key":"updated_before","value":"2025-01-01"}],"variable":[]}},"response":[],"_postman_id":"5dc1d230-af24-4ada-9ff0-f6b7a755ae02"},{"name":"Get Asset","event":[{"listen":"test","script":{"exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});"],"type":"text/javascript","packages":{},"requests":{},"id":"25d6b23a-5a83-4cf0-9a53-09805fb0070d"}}],"id":"6329d6af-21cb-4304-9bf6-b9628465a54c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{public_api_v2_domain}}asset/{{asset_id}}","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{public_api_v2_token}}"}]},"isInherited":true,"source":{"_postman_id":"bd46f7ec-2f39-4add-9eff-160cb4bda033","id":"bd46f7ec-2f39-4add-9eff-160cb4bda033","name":"True Compliance Public API v2","type":"collection"}},"urlObject":{"path":["{{asset_id}}"],"host":["{{public_api_v2_domain}}asset"],"query":[{"disabled":true,"key":"shallow","value":"false"}],"variable":[]}},"response":[],"_postman_id":"6329d6af-21cb-4304-9bf6-b9628465a54c"}],"id":"5e3cdcab-612f-4081-af5c-2bdfa03a8c56","_postman_id":"5e3cdcab-612f-4081-af5c-2bdfa03a8c56","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{public_api_v2_token}}"}]},"isInherited":true,"source":{"_postman_id":"bd46f7ec-2f39-4add-9eff-160cb4bda033","id":"bd46f7ec-2f39-4add-9eff-160cb4bda033","name":"True Compliance Public API v2","type":"collection"}}},{"name":"Certificate","item":[{"name":"Get Certificates","event":[{"listen":"test","script":{"exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});"],"type":"text/javascript","packages":{},"requests":{},"id":"36f672dd-5553-4d91-9ff7-69c87f30e664"}}],"id":"eae79171-fa7a-48c0-b986-d8dc7e3133b8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{public_api_v2_domain}}certificate?search=BSW","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{public_api_v2_token}}"}]},"isInherited":true,"source":{"_postman_id":"bd46f7ec-2f39-4add-9eff-160cb4bda033","id":"bd46f7ec-2f39-4add-9eff-160cb4bda033","name":"True Compliance Public API v2","type":"collection"}},"urlObject":{"host":["{{public_api_v2_domain}}certificate"],"query":[{"disabled":true,"key":"limit","value":"5"},{"disabled":true,"key":"page","value":"1"},{"disabled":true,"description":{"content":"<p>Comma separated list of certificate instances. You can find these by calling GET library/certificate-instances</p>\n","type":"text/plain"},"key":"certificate_instance","value":"Met BSW LGSR"},{"disabled":true,"description":{"content":"<p>Comma separated list of complliance streams instances. You can find these by calling GET library/compliance-streams</p>\n","type":"text/plain"},"key":"compliance_stream","value":"Gas"},{"disabled":true,"key":"property_id","value":"478562"},{"description":{"content":"<p>Text search for instance, property address, contractor, compliance stream or filename</p>\n","type":"text/plain"},"key":"search","value":"BSW"},{"disabled":true,"key":"uprn","value":"58118841"},{"disabled":true,"key":"created_since","value":""},{"disabled":true,"key":"created_before","value":""},{"disabled":true,"key":"updated_since","value":""},{"disabled":true,"key":"updated_before","value":""}],"variable":[]}},"response":[],"_postman_id":"eae79171-fa7a-48c0-b986-d8dc7e3133b8"},{"name":"Get Certificate","event":[{"listen":"test","script":{"exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});"],"type":"text/javascript","packages":{},"requests":{},"id":"7fa05d5a-81b4-410b-a4b8-ae3d87e5ebd3"}}],"id":"756c2c6a-6609-40f3-8779-6e084af1cd9d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{public_api_v2_domain}}certificate/{{certificate_id}}","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{public_api_v2_token}}"}]},"isInherited":true,"source":{"_postman_id":"bd46f7ec-2f39-4add-9eff-160cb4bda033","id":"bd46f7ec-2f39-4add-9eff-160cb4bda033","name":"True Compliance Public API v2","type":"collection"}},"urlObject":{"path":["{{certificate_id}}"],"host":["{{public_api_v2_domain}}certificate"],"query":[{"disabled":true,"key":"shallow","value":"false"}],"variable":[]}},"response":[],"_postman_id":"756c2c6a-6609-40f3-8779-6e084af1cd9d"},{"name":"Add Flag","id":"f6bd5abc-2beb-412e-8f11-667398c609da","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"flag_name\": \"Capped Meter\",\n    \"expiry_date\": \"2026-03-02\"\n}","options":{"raw":{"language":"json"}}},"url":"{{public_api_v2_domain}}certificate/{{certificate_id}}/flag","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{public_api_v2_token}}"}]},"isInherited":true,"source":{"_postman_id":"bd46f7ec-2f39-4add-9eff-160cb4bda033","id":"bd46f7ec-2f39-4add-9eff-160cb4bda033","name":"True Compliance Public API v2","type":"collection"}},"urlObject":{"path":["{{certificate_id}}","flag"],"host":["{{public_api_v2_domain}}certificate"],"query":[],"variable":[]}},"response":[],"_postman_id":"f6bd5abc-2beb-412e-8f11-667398c609da"},{"name":"Remove Flag","id":"4288c8ea-854a-400a-90ee-787a0ccb5752","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":"{\n    \"flag_name\": \"Capped Meter\"\n}","options":{"raw":{"language":"json"}}},"url":"{{public_api_v2_domain}}action/{{action_id}}/flag","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{public_api_v2_token}}"}]},"isInherited":true,"source":{"_postman_id":"bd46f7ec-2f39-4add-9eff-160cb4bda033","id":"bd46f7ec-2f39-4add-9eff-160cb4bda033","name":"True Compliance Public API v2","type":"collection"}},"urlObject":{"path":["{{action_id}}","flag"],"host":["{{public_api_v2_domain}}action"],"query":[],"variable":[]}},"response":[],"_postman_id":"4288c8ea-854a-400a-90ee-787a0ccb5752"}],"id":"8f535831-3a2b-4783-91ea-649952fae9d7","_postman_id":"8f535831-3a2b-4783-91ea-649952fae9d7","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{public_api_v2_token}}"}]},"isInherited":true,"source":{"_postman_id":"bd46f7ec-2f39-4add-9eff-160cb4bda033","id":"bd46f7ec-2f39-4add-9eff-160cb4bda033","name":"True Compliance Public API v2","type":"collection"}}},{"name":"Document","item":[{"name":"Get Documents","event":[{"listen":"test","script":{"exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});"],"type":"text/javascript","packages":{},"requests":{},"id":"211f67d9-b646-47e5-a9b8-129f37751fc7"}}],"id":"d2dce7c1-1a04-43b9-a642-3ae535674c9e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{public_api_v2_domain}}document?limit=50&page=1&certificate_instance=Met EIC Standard,MTVH Aaron Services Alarm Record&document_status=LOADED_SUCCESSFULLY&created_since=2025-01-01","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{public_api_v2_token}}"}]},"isInherited":true,"source":{"_postman_id":"bd46f7ec-2f39-4add-9eff-160cb4bda033","id":"bd46f7ec-2f39-4add-9eff-160cb4bda033","name":"True Compliance Public API v2","type":"collection"}},"urlObject":{"host":["{{public_api_v2_domain}}document"],"query":[{"key":"limit","value":"50"},{"key":"page","value":"1"},{"description":{"content":"<p>Comma separated list of certificate instances. You can find these by calling GET library/certificate-instances</p>\n","type":"text/plain"},"key":"certificate_instance","value":"Met EIC Standard,MTVH Aaron Services Alarm Record"},{"description":{"content":"<p>Comma separated list of document statuses You can find these by calling GET library/document-statuses</p>\n","type":"text/plain"},"key":"document_status","value":"LOADED_SUCCESSFULLY"},{"key":"created_since","value":"2025-01-01"},{"disabled":true,"key":"created_before","value":""},{"disabled":true,"key":"updated_since","value":""},{"disabled":true,"key":"updated_before","value":""}],"variable":[]}},"response":[],"_postman_id":"d2dce7c1-1a04-43b9-a642-3ae535674c9e"},{"name":"Get Document","event":[{"listen":"test","script":{"exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});"],"type":"text/javascript","packages":{},"requests":{},"id":"f0cb589c-1a94-4ea3-98d4-db022d78fbe0"}}],"id":"e6ae5de8-a186-4e1b-a18d-91ae4118e2ad","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{public_api_v2_domain}}document/{{document_id}}","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{public_api_v2_token}}"}]},"isInherited":true,"source":{"_postman_id":"bd46f7ec-2f39-4add-9eff-160cb4bda033","id":"bd46f7ec-2f39-4add-9eff-160cb4bda033","name":"True Compliance Public API v2","type":"collection"}},"urlObject":{"path":["{{document_id}}"],"host":["{{public_api_v2_domain}}document"],"query":[{"disabled":true,"key":"shallow","value":"false"}],"variable":[]}},"response":[],"_postman_id":"e6ae5de8-a186-4e1b-a18d-91ae4118e2ad"},{"name":"Get Document Download URL","event":[{"listen":"test","script":{"exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});"],"type":"text/javascript","packages":{},"requests":{},"id":"e25b96c6-488a-4aec-bb14-a0b7f8f7f74c"}}],"id":"af328435-d17d-401f-840a-56998ae38b78","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{public_api_v2_domain}}document/{{document_id}}/download-url","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{public_api_v2_token}}"}]},"isInherited":true,"source":{"_postman_id":"bd46f7ec-2f39-4add-9eff-160cb4bda033","id":"bd46f7ec-2f39-4add-9eff-160cb4bda033","name":"True Compliance Public API v2","type":"collection"}},"urlObject":{"path":["{{document_id}}","download-url"],"host":["{{public_api_v2_domain}}document"],"query":[],"variable":[]}},"response":[],"_postman_id":"af328435-d17d-401f-840a-56998ae38b78"},{"name":"PDF","id":"05614f8c-0cf3-42ea-a592-9ba2a1ad101d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"document","type":"file","uuid":"8fb27b65-c0ab-4d37-b4de-6717bbb83979","src":"postman-cloud:///1f057f4b-653d-4730-bd1c-da84cc755da8"}]},"url":"{{public_api_v2_domain}}pdf","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{public_api_v2_token}}"}]},"isInherited":true,"source":{"_postman_id":"bd46f7ec-2f39-4add-9eff-160cb4bda033","id":"bd46f7ec-2f39-4add-9eff-160cb4bda033","name":"True Compliance Public API v2","type":"collection"}},"urlObject":{"host":["{{public_api_v2_domain}}pdf"],"query":[],"variable":[]}},"response":[],"_postman_id":"05614f8c-0cf3-42ea-a592-9ba2a1ad101d"},{"name":"Fetch Upload URL","id":"f7a39b52-5e8c-4d96-aa80-ae2ebb67c778","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"filename\": \"example-certificate.pdf\"\n}","options":{"raw":{"language":"json"}}},"url":"{{public_api_v2_domain}}pdf/upload-url","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{public_api_v2_token}}"}]},"isInherited":true,"source":{"_postman_id":"bd46f7ec-2f39-4add-9eff-160cb4bda033","id":"bd46f7ec-2f39-4add-9eff-160cb4bda033","name":"True Compliance Public API v2","type":"collection"}},"urlObject":{"path":["upload-url"],"host":["{{public_api_v2_domain}}pdf"],"query":[],"variable":[]}},"response":[],"_postman_id":"f7a39b52-5e8c-4d96-aa80-ae2ebb67c778"}],"id":"5dd4b941-f4cf-4005-ba7b-f40421026cb8","_postman_id":"5dd4b941-f4cf-4005-ba7b-f40421026cb8","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{public_api_v2_token}}"}]},"isInherited":true,"source":{"_postman_id":"bd46f7ec-2f39-4add-9eff-160cb4bda033","id":"bd46f7ec-2f39-4add-9eff-160cb4bda033","name":"True Compliance Public API v2","type":"collection"}}},{"name":"Library","item":[{"name":"Get Action Statuses","event":[{"listen":"test","script":{"exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});"],"type":"text/javascript","packages":{},"requests":{},"id":"89d311c1-b965-4929-8aec-811f071ea224"}}],"id":"d72394b2-8abe-4aec-af2f-78ad3e9a7160","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{public_api_v2_domain}}library/action-statuses?search=","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{public_api_v2_token}}"}]},"isInherited":true,"source":{"_postman_id":"bd46f7ec-2f39-4add-9eff-160cb4bda033","id":"bd46f7ec-2f39-4add-9eff-160cb4bda033","name":"True Compliance Public API v2","type":"collection"}},"urlObject":{"path":["action-statuses"],"host":["{{public_api_v2_domain}}library"],"query":[{"key":"search","value":""}],"variable":[]}},"response":[],"_postman_id":"d72394b2-8abe-4aec-af2f-78ad3e9a7160"},{"name":"Get Action Types","event":[{"listen":"test","script":{"exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});"],"type":"text/javascript","packages":{},"requests":{},"id":"d99e135d-db38-4814-a4ef-a870abd48786"}}],"id":"d489e428-0a42-4d48-a22b-f1f6c7eab512","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{public_api_v2_domain}}library/action-types?search=","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{public_api_v2_token}}"}]},"isInherited":true,"source":{"_postman_id":"bd46f7ec-2f39-4add-9eff-160cb4bda033","id":"bd46f7ec-2f39-4add-9eff-160cb4bda033","name":"True Compliance Public API v2","type":"collection"}},"urlObject":{"path":["action-types"],"host":["{{public_api_v2_domain}}library"],"query":[{"key":"search","value":""}],"variable":[]}},"response":[],"_postman_id":"d489e428-0a42-4d48-a22b-f1f6c7eab512"},{"name":"Get Asset Types","event":[{"listen":"test","script":{"exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});"],"type":"text/javascript","packages":{},"requests":{},"id":"4978cd48-2186-4c71-a4ff-a63e4663a9c4"}}],"id":"e0925103-884c-4bf4-94cd-befc52e973b5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{public_api_v2_domain}}library/asset-types?search=gas&page=1&limit=13","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{public_api_v2_token}}"}]},"isInherited":true,"source":{"_postman_id":"bd46f7ec-2f39-4add-9eff-160cb4bda033","id":"bd46f7ec-2f39-4add-9eff-160cb4bda033","name":"True Compliance Public API v2","type":"collection"}},"urlObject":{"path":["asset-types"],"host":["{{public_api_v2_domain}}library"],"query":[{"key":"search","value":"gas"},{"key":"page","value":"1"},{"key":"limit","value":"13"}],"variable":[]}},"response":[],"_postman_id":"e0925103-884c-4bf4-94cd-befc52e973b5"},{"name":"Get Certificate Instances","event":[{"listen":"test","script":{"exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});"],"type":"text/javascript","packages":{},"requests":{},"id":"9edfbc88-cb2a-41be-b07a-7b3457851626"}}],"id":"27369b8c-bc98-4c2e-9165-50c007a6d92e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{public_api_v2_domain}}library/certificate-instances?page=1","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{public_api_v2_token}}"}]},"isInherited":true,"source":{"_postman_id":"bd46f7ec-2f39-4add-9eff-160cb4bda033","id":"bd46f7ec-2f39-4add-9eff-160cb4bda033","name":"True Compliance Public API v2","type":"collection"}},"urlObject":{"path":["certificate-instances"],"host":["{{public_api_v2_domain}}library"],"query":[{"key":"page","value":"1"}],"variable":[]}},"response":[],"_postman_id":"27369b8c-bc98-4c2e-9165-50c007a6d92e"},{"name":"Get Compliance Streams","event":[{"listen":"test","script":{"exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});"],"type":"text/javascript","packages":{},"requests":{},"id":"c7ec304c-a8f9-4d76-bba5-57d4b79c2c98"}}],"id":"7e2f95c3-2994-4b37-873e-de4555afeffb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{public_api_v2_domain}}library/compliance-streams?search=","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{public_api_v2_token}}"}]},"isInherited":true,"source":{"_postman_id":"bd46f7ec-2f39-4add-9eff-160cb4bda033","id":"bd46f7ec-2f39-4add-9eff-160cb4bda033","name":"True Compliance Public API v2","type":"collection"}},"urlObject":{"path":["compliance-streams"],"host":["{{public_api_v2_domain}}library"],"query":[{"key":"search","value":""}],"variable":[]}},"response":[],"_postman_id":"7e2f95c3-2994-4b37-873e-de4555afeffb"},{"name":"Get Document Statuses","event":[{"listen":"test","script":{"exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});"],"type":"text/javascript","packages":{},"requests":{},"id":"f3b04e74-c156-460e-b827-8d600e4930f7"}}],"id":"d39fd569-fc0f-4b4b-9635-d21746cbedd1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{public_api_v2_domain}}library/document-statuses?search=","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{public_api_v2_token}}"}]},"isInherited":true,"source":{"_postman_id":"bd46f7ec-2f39-4add-9eff-160cb4bda033","id":"bd46f7ec-2f39-4add-9eff-160cb4bda033","name":"True Compliance Public API v2","type":"collection"}},"urlObject":{"path":["document-statuses"],"host":["{{public_api_v2_domain}}library"],"query":[{"key":"search","value":""}],"variable":[]}},"response":[],"_postman_id":"d39fd569-fc0f-4b4b-9635-d21746cbedd1"},{"name":"Get Fault Statuses","event":[{"listen":"test","script":{"exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});"],"type":"text/javascript","packages":{},"requests":{},"id":"d63a265c-e0aa-4506-ab28-e46cdff91a12"}}],"id":"bc96b4fe-c9d3-40ba-95dd-2cb9b54c24fe","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{public_api_v2_domain}}library/fault-statuses?search=","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{public_api_v2_token}}"}]},"isInherited":true,"source":{"_postman_id":"bd46f7ec-2f39-4add-9eff-160cb4bda033","id":"bd46f7ec-2f39-4add-9eff-160cb4bda033","name":"True Compliance Public API v2","type":"collection"}},"urlObject":{"path":["fault-statuses"],"host":["{{public_api_v2_domain}}library"],"query":[{"key":"search","value":""}],"variable":[]}},"response":[],"_postman_id":"bc96b4fe-c9d3-40ba-95dd-2cb9b54c24fe"},{"name":"Get Material Types","event":[{"listen":"test","script":{"exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});"],"type":"text/javascript","packages":{},"requests":{},"id":"e3f1c72c-7d26-4d91-ba3d-472254a7b7fe"}}],"id":"03d2e068-7ba0-4717-b47a-9873baa3b930","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{public_api_v2_domain}}library/material-types?search=","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{public_api_v2_token}}"}]},"isInherited":true,"source":{"_postman_id":"bd46f7ec-2f39-4add-9eff-160cb4bda033","id":"bd46f7ec-2f39-4add-9eff-160cb4bda033","name":"True Compliance Public API v2","type":"collection"}},"urlObject":{"path":["material-types"],"host":["{{public_api_v2_domain}}library"],"query":[{"key":"search","value":""}],"variable":[]}},"response":[],"_postman_id":"03d2e068-7ba0-4717-b47a-9873baa3b930"},{"name":"Get Flags","event":[{"listen":"test","script":{"exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});"],"type":"text/javascript","packages":{},"requests":{},"id":"4e1569cf-fd67-4f42-80ba-f58f3d9964d7"}}],"id":"3d8a20aa-bc78-4fc0-8d85-20328afa9de1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{public_api_v2_domain}}library/flags?search=warning&page=&limit&type=unit","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{public_api_v2_token}}"}]},"isInherited":true,"source":{"_postman_id":"bd46f7ec-2f39-4add-9eff-160cb4bda033","id":"bd46f7ec-2f39-4add-9eff-160cb4bda033","name":"True Compliance Public API v2","type":"collection"}},"urlObject":{"path":["flags"],"host":["{{public_api_v2_domain}}library"],"query":[{"key":"search","value":"warning"},{"key":"page","value":""},{"key":"limit","value":null},{"description":{"content":"<p>unit,certificate or action</p>\n","type":"text/plain"},"key":"type","value":"unit"}],"variable":[]}},"response":[],"_postman_id":"3d8a20aa-bc78-4fc0-8d85-20328afa9de1"},{"name":"Get Notification Types","event":[{"listen":"test","script":{"exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});"],"type":"text/javascript","packages":{},"requests":{},"id":"09d925a3-a3bd-43ba-ac23-2073578a0b97"}}],"id":"2c5889ab-9b92-4929-8fa7-06b79b473c2b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{public_api_v2_domain}}library/notification-types?search=","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{public_api_v2_token}}"}]},"isInherited":true,"source":{"_postman_id":"bd46f7ec-2f39-4add-9eff-160cb4bda033","id":"bd46f7ec-2f39-4add-9eff-160cb4bda033","name":"True Compliance Public API v2","type":"collection"}},"urlObject":{"path":["notification-types"],"host":["{{public_api_v2_domain}}library"],"query":[{"key":"search","value":""}],"variable":[]}},"response":[],"_postman_id":"2c5889ab-9b92-4929-8fa7-06b79b473c2b"},{"name":"Get Property Types","event":[{"listen":"test","script":{"exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});"],"type":"text/javascript","packages":{},"requests":{},"id":"3bf8899d-bc4c-4d3c-8417-48f0657d6893"}}],"id":"309101be-80f8-4d0c-953c-a557af5e5cad","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{public_api_v2_domain}}library/property-types?search=&in_use=1","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{public_api_v2_token}}"}]},"isInherited":true,"source":{"_postman_id":"bd46f7ec-2f39-4add-9eff-160cb4bda033","id":"bd46f7ec-2f39-4add-9eff-160cb4bda033","name":"True Compliance Public API v2","type":"collection"}},"urlObject":{"path":["property-types"],"host":["{{public_api_v2_domain}}library"],"query":[{"key":"search","value":""},{"key":"in_use","value":"1"},{"disabled":true,"key":"page","value":"1"}],"variable":[]}},"response":[],"_postman_id":"309101be-80f8-4d0c-953c-a557af5e5cad"},{"name":"Get Teams","event":[{"listen":"test","script":{"exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});"],"type":"text/javascript","packages":{},"requests":{},"id":"dde01eba-982b-4589-bdab-fbf1d753d839"}}],"id":"ac14825b-3ae2-4c25-91b8-5ecb251a9e3f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{public_api_v2_domain}}library/teams?search=Clear&page&limit","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{public_api_v2_token}}"}]},"isInherited":true,"source":{"_postman_id":"bd46f7ec-2f39-4add-9eff-160cb4bda033","id":"bd46f7ec-2f39-4add-9eff-160cb4bda033","name":"True Compliance Public API v2","type":"collection"}},"urlObject":{"path":["teams"],"host":["{{public_api_v2_domain}}library"],"query":[{"key":"search","value":"Clear"},{"key":"page","value":null},{"key":"limit","value":null}],"variable":[]}},"response":[],"_postman_id":"ac14825b-3ae2-4c25-91b8-5ecb251a9e3f"},{"name":"Get Users","event":[{"listen":"test","script":{"exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});"],"type":"text/javascript","packages":{},"requests":{},"id":"b7bdcc3a-39c2-444f-ba61-2e823efbf68f"}}],"id":"7750db4c-28c6-408e-90a3-99cfc3a3c3fc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{public_api_v2_domain}}library/users?limit=20&page=4","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{public_api_v2_token}}"}]},"isInherited":true,"source":{"_postman_id":"bd46f7ec-2f39-4add-9eff-160cb4bda033","id":"bd46f7ec-2f39-4add-9eff-160cb4bda033","name":"True Compliance Public API v2","type":"collection"}},"urlObject":{"path":["users"],"host":["{{public_api_v2_domain}}library"],"query":[{"disabled":true,"key":"search","value":""},{"disabled":true,"key":"organisation_id","value":null},{"key":"limit","value":"20"},{"key":"page","value":"4"}],"variable":[]}},"response":[],"_postman_id":"7750db4c-28c6-408e-90a3-99cfc3a3c3fc"}],"id":"fbbd180c-1094-4d9c-b2c1-bc5c6fc796cd","_postman_id":"fbbd180c-1094-4d9c-b2c1-bc5c6fc796cd","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{public_api_v2_token}}"}]},"isInherited":true,"source":{"_postman_id":"bd46f7ec-2f39-4add-9eff-160cb4bda033","id":"bd46f7ec-2f39-4add-9eff-160cb4bda033","name":"True Compliance Public API v2","type":"collection"}}},{"name":"Material","item":[{"name":"Get Materials","event":[{"listen":"test","script":{"exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});"],"type":"text/javascript","packages":{},"requests":{},"id":"9081e396-e864-47c6-86f3-aecd06e62eda"}}],"id":"46d6fffe-13a2-4372-b9b2-5fd38de6b4e9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{public_api_v2_domain}}material?limit=5&uprn=B020416","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{public_api_v2_token}}"}]},"isInherited":true,"source":{"_postman_id":"bd46f7ec-2f39-4add-9eff-160cb4bda033","id":"bd46f7ec-2f39-4add-9eff-160cb4bda033","name":"True Compliance Public API v2","type":"collection"}},"urlObject":{"host":["{{public_api_v2_domain}}material"],"query":[{"key":"limit","value":"5"},{"disabled":true,"key":"page","value":"1"},{"disabled":true,"description":{"content":"<p>Comma separated list of compliance streams. You can find these by calling GET library/compliance-streams</p>\n","type":"text/plain"},"key":"compliance_stream","value":"Asbestos"},{"disabled":true,"description":{"content":"<p>Comma separated list of material types. You can find these by calling GET library/material-types</p>\n","type":"text/plain"},"key":"material_type","value":"Amosite,Crocidolite,Other"},{"disabled":true,"key":"property_id","value":"509965"},{"key":"uprn","value":"B020416"},{"disabled":true,"key":"created_since","value":""},{"disabled":true,"key":"created_before","value":""},{"disabled":true,"key":"updated_since","value":""},{"disabled":true,"key":"updated_before","value":""}],"variable":[]}},"response":[],"_postman_id":"46d6fffe-13a2-4372-b9b2-5fd38de6b4e9"},{"name":"Get Material","event":[{"listen":"test","script":{"exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});"],"type":"text/javascript","packages":{},"requests":{},"id":"f78128a7-f35d-43fa-8184-ede8fbf00d36"}}],"id":"3cb12cb6-60aa-4150-94c2-3e54685b6a35","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{public_api_v2_domain}}material/{{material_id}}?shallow=false","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{public_api_v2_token}}"}]},"isInherited":true,"source":{"_postman_id":"bd46f7ec-2f39-4add-9eff-160cb4bda033","id":"bd46f7ec-2f39-4add-9eff-160cb4bda033","name":"True Compliance Public API v2","type":"collection"}},"urlObject":{"path":["{{material_id}}"],"host":["{{public_api_v2_domain}}material"],"query":[{"key":"shallow","value":"false"}],"variable":[]}},"response":[],"_postman_id":"3cb12cb6-60aa-4150-94c2-3e54685b6a35"},{"name":"Update Material","event":[{"listen":"test","script":{"exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});"],"type":"text/javascript","packages":{},"requests":{},"id":"ebfa66f6-1dd2-4129-941a-7ff9d040ae84"}}],"id":"9040bf8e-4be0-4096-8500-8b4c6f4e04ab","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n\t\"material_number\": \"EXAMPLE-MATERIAL-00001\",\n\t\"location\": \"Kitchen\",\n\t\"next_due_date\": \"2027-01-01\",\n\t\"sitemap_coordinates\": null,\n\t\"compliance_stream_id\": 26,\n\t\"material_type_id\": 1,\n\t\"material_status_id\": 1\n}","options":{"raw":{"language":"json"}}},"url":"{{public_api_v2_domain}}material/{{material_id}}","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{public_api_v2_token}}"}]},"isInherited":true,"source":{"_postman_id":"bd46f7ec-2f39-4add-9eff-160cb4bda033","id":"bd46f7ec-2f39-4add-9eff-160cb4bda033","name":"True Compliance Public API v2","type":"collection"}},"urlObject":{"path":["{{material_id}}"],"host":["{{public_api_v2_domain}}material"],"query":[],"variable":[]}},"response":[],"_postman_id":"9040bf8e-4be0-4096-8500-8b4c6f4e04ab"}],"id":"7053bd54-a92c-49df-8e8a-1cd7b0a7dc24","_postman_id":"7053bd54-a92c-49df-8e8a-1cd7b0a7dc24","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{public_api_v2_token}}"}]},"isInherited":true,"source":{"_postman_id":"bd46f7ec-2f39-4add-9eff-160cb4bda033","id":"bd46f7ec-2f39-4add-9eff-160cb4bda033","name":"True Compliance Public API v2","type":"collection"}}},{"name":"Notification","item":[{"name":"Get Notifications","event":[{"listen":"test","script":{"exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});"],"type":"text/javascript","packages":{},"requests":{},"id":"deb748e9-91dc-4687-a27f-e173cf597965"}}],"id":"69523302-bda8-4f44-9072-28eb3312c836","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{public_api_v2_domain}}notification?limit=15&page=1&notification_type=Document Unrecognised","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{public_api_v2_token}}"}]},"isInherited":true,"source":{"_postman_id":"bd46f7ec-2f39-4add-9eff-160cb4bda033","id":"bd46f7ec-2f39-4add-9eff-160cb4bda033","name":"True Compliance Public API v2","type":"collection"}},"urlObject":{"host":["{{public_api_v2_domain}}notification"],"query":[{"key":"limit","value":"15"},{"key":"page","value":"1"},{"description":{"content":"<p>Comma separated list of notification types. You can find these by calling GET library/notification-types</p>\n","type":"text/plain"},"key":"notification_type","value":"Document Unrecognised"},{"disabled":true,"key":"created_since","value":null},{"disabled":true,"key":"created_before","value":null},{"disabled":true,"key":"updated_since","value":null},{"disabled":true,"key":"updated_before","value":null}],"variable":[]}},"response":[],"_postman_id":"69523302-bda8-4f44-9072-28eb3312c836"},{"name":"Get Notification","event":[{"listen":"test","script":{"exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});"],"type":"text/javascript","packages":{},"requests":{},"id":"cc3a7430-ca9d-46c1-aa20-81a15dfaee32"}}],"id":"c83fa557-6cf7-45d1-9bf2-924247e8dce4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{public_api_v2_domain}}notification/{{notification_id}}?shallow=false","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{public_api_v2_token}}"}]},"isInherited":true,"source":{"_postman_id":"bd46f7ec-2f39-4add-9eff-160cb4bda033","id":"bd46f7ec-2f39-4add-9eff-160cb4bda033","name":"True Compliance Public API v2","type":"collection"}},"urlObject":{"path":["{{notification_id}}"],"host":["{{public_api_v2_domain}}notification"],"query":[{"key":"shallow","value":"false"}],"variable":[]}},"response":[],"_postman_id":"c83fa557-6cf7-45d1-9bf2-924247e8dce4"}],"id":"223ea1fc-be25-4dd5-a762-ca18cfd47d6b","_postman_id":"223ea1fc-be25-4dd5-a762-ca18cfd47d6b","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{public_api_v2_token}}"}]},"isInherited":true,"source":{"_postman_id":"bd46f7ec-2f39-4add-9eff-160cb4bda033","id":"bd46f7ec-2f39-4add-9eff-160cb4bda033","name":"True Compliance Public API v2","type":"collection"}}},{"name":"Organisation","item":[{"name":"Get Compliance","event":[{"listen":"test","script":{"exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});"],"type":"text/javascript","packages":{},"requests":{},"id":"9ee10853-ccb3-4a48-90e6-942a7776d324"}}],"id":"ae16339a-cdb5-4bf3-83bb-566db59edb4f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{public_api_v2_domain}}organisation/compliance","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{public_api_v2_token}}"}]},"isInherited":true,"source":{"_postman_id":"bd46f7ec-2f39-4add-9eff-160cb4bda033","id":"bd46f7ec-2f39-4add-9eff-160cb4bda033","name":"True Compliance Public API v2","type":"collection"}},"urlObject":{"path":["compliance"],"host":["{{public_api_v2_domain}}organisation"],"query":[],"variable":[]}},"response":[],"_postman_id":"ae16339a-cdb5-4bf3-83bb-566db59edb4f"}],"id":"c972e89d-54eb-43cf-bb5d-36a3279656b5","_postman_id":"c972e89d-54eb-43cf-bb5d-36a3279656b5","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{public_api_v2_token}}"}]},"isInherited":true,"source":{"_postman_id":"bd46f7ec-2f39-4add-9eff-160cb4bda033","id":"bd46f7ec-2f39-4add-9eff-160cb4bda033","name":"True Compliance Public API v2","type":"collection"}}},{"name":"Unit","item":[{"name":"Get Units","event":[{"listen":"test","script":{"exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});"],"type":"text/javascript","packages":{},"requests":{},"id":"2ffba160-c449-4c90-a505-fdaf408e9d42"}}],"id":"9df32262-fed4-44a2-9f37-1054e1e6100c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{public_api_v2_domain}}unit?limit=5&parent_property_uprn=B027552&uprn=659663","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{public_api_v2_token}}"}]},"isInherited":true,"source":{"_postman_id":"bd46f7ec-2f39-4add-9eff-160cb4bda033","id":"bd46f7ec-2f39-4add-9eff-160cb4bda033","name":"True Compliance Public API v2","type":"collection"}},"urlObject":{"host":["{{public_api_v2_domain}}unit"],"query":[{"key":"limit","value":"5"},{"disabled":true,"key":"page","value":"1"},{"disabled":true,"description":{"content":"<p>Comma separated list of property types. You can find these by calling GET library/property-types</p>\n","type":"text/plain"},"key":"property_type","value":"House,Flat"},{"disabled":true,"key":"parent_property_id","value":"510314"},{"key":"parent_property_uprn","value":"B027552"},{"key":"uprn","value":"659663"},{"disabled":true,"key":"created_since","value":""},{"disabled":true,"key":"created_before","value":""},{"disabled":true,"key":"updated_since","value":""},{"disabled":true,"key":"updated_before","value":""}],"variable":[]}},"response":[],"_postman_id":"9df32262-fed4-44a2-9f37-1054e1e6100c"},{"name":"Get Unit","event":[{"listen":"test","script":{"exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});"],"type":"text/javascript","packages":{},"requests":{},"id":"c06e1408-770f-4393-acaa-252a41aee381"}}],"id":"df81c88c-814b-450f-8cc7-f7ed77763074","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{public_api_v2_domain}}unit/{{unit_id}}","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{public_api_v2_token}}"}]},"isInherited":true,"source":{"_postman_id":"bd46f7ec-2f39-4add-9eff-160cb4bda033","id":"bd46f7ec-2f39-4add-9eff-160cb4bda033","name":"True Compliance Public API v2","type":"collection"}},"urlObject":{"path":["{{unit_id}}"],"host":["{{public_api_v2_domain}}unit"],"query":[],"variable":[]}},"response":[],"_postman_id":"df81c88c-814b-450f-8cc7-f7ed77763074"},{"name":"Create Unit","id":"999ad3e3-9224-4958-800d-a63b8ff1e0dc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n\t\"uprn\":\"SAU123\",\n\t\"address_1\":\"Flat 15, Alpha House\",\n\t\"address_2\":\"123 Main Road\",\n\t\"town\":\"London\",\n\t\"county\":\"\",\n\t\"postcode\":\"AB12 3CD\",\n\t\"property_type\": \"Residence\",\n\t\"parent_uprn\":\"43055444\",\n    \"parent_property_id\":\"\",\n    \"property_data\": [\n        {\n            \"key\": \"Property Number\",\n            \"value\": \"123456\"\n        },\n        {\n            \"key\": \"Tenancy Type\",\n            \"value\": \"Social Flat\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"{{public_api_v2_domain}}unit","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{public_api_v2_token}}"}]},"isInherited":true,"source":{"_postman_id":"bd46f7ec-2f39-4add-9eff-160cb4bda033","id":"bd46f7ec-2f39-4add-9eff-160cb4bda033","name":"True Compliance Public API v2","type":"collection"}},"urlObject":{"host":["{{public_api_v2_domain}}unit"],"query":[],"variable":[]}},"response":[],"_postman_id":"999ad3e3-9224-4958-800d-a63b8ff1e0dc"},{"name":"Update Unit","event":[{"listen":"test","script":{"exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});"],"type":"text/javascript","packages":{},"requests":{},"id":"a3c5a993-49e4-4802-9e2d-2094628b662b"}}],"id":"8c859880-d6ec-4b2f-8447-c0f04d0d62cd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \"address_1\": \"Updated address 1\"\n}","options":{"raw":{"language":"json"}}},"url":"{{public_api_v2_domain}}unit/{{unit_id}}","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{public_api_v2_token}}"}]},"isInherited":true,"source":{"_postman_id":"bd46f7ec-2f39-4add-9eff-160cb4bda033","id":"bd46f7ec-2f39-4add-9eff-160cb4bda033","name":"True Compliance Public API v2","type":"collection"}},"urlObject":{"path":["{{unit_id}}"],"host":["{{public_api_v2_domain}}unit"],"query":[],"variable":[]}},"response":[],"_postman_id":"8c859880-d6ec-4b2f-8447-c0f04d0d62cd"},{"name":"Delete Unit","event":[{"listen":"test","script":{"exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});"],"type":"text/javascript","packages":{},"requests":{},"id":"dc814dad-c192-40a4-bee0-0c9a868f76d1"}}],"id":"b20e0df5-3d5c-43c9-a391-fc955102b19c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"{{public_api_v2_domain}}unit/{{unit_id}}","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{public_api_v2_token}}"}]},"isInherited":true,"source":{"_postman_id":"bd46f7ec-2f39-4add-9eff-160cb4bda033","id":"bd46f7ec-2f39-4add-9eff-160cb4bda033","name":"True Compliance Public API v2","type":"collection"}},"urlObject":{"path":["{{unit_id}}"],"host":["{{public_api_v2_domain}}unit"],"query":[],"variable":[]}},"response":[],"_postman_id":"b20e0df5-3d5c-43c9-a391-fc955102b19c"},{"name":"Restore Unit","event":[{"listen":"test","script":{"exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});"],"type":"text/javascript","packages":{},"requests":{},"id":"7725fc45-00d4-4f74-b5d8-791193ca9127"}}],"id":"761b49a4-c4cd-4c53-bf11-21d5e9e5366f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"url":"{{public_api_v2_domain}}unit/{{unit_id}}/restore","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{public_api_v2_token}}"}]},"isInherited":true,"source":{"_postman_id":"bd46f7ec-2f39-4add-9eff-160cb4bda033","id":"bd46f7ec-2f39-4add-9eff-160cb4bda033","name":"True Compliance Public API v2","type":"collection"}},"urlObject":{"path":["{{unit_id}}","restore"],"host":["{{public_api_v2_domain}}unit"],"query":[],"variable":[]}},"response":[],"_postman_id":"761b49a4-c4cd-4c53-bf11-21d5e9e5366f"},{"name":"Add Supporting Document","id":"dac2057c-9870-45af-9d46-e2159f35dc1f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"document","type":"file","uuid":"8db63f4c-256c-44a6-9405-0997c996895f","src":"postman-cloud:///1f057f4b-653d-4730-bd1c-da84cc755da8"},{"key":"document_title","value":"New Supporting Doc","type":"text","uuid":"29e189ea-f514-43bb-83e4-b9e7b4cacae8"},{"key":"compliance_stream","value":"Gas","type":"text","uuid":"7bee1730-16eb-4a3b-9dc4-7fa83c99fe8e"},{"key":"folder","value":"documents","type":"text","uuid":"1eb70855-2900-44a7-b376-ae205bc1f7bb","disabled":true}]},"url":"{{public_api_v2_domain}}unit/{{property_id}}/supporting-document","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{public_api_v2_token}}"}]},"isInherited":true,"source":{"_postman_id":"bd46f7ec-2f39-4add-9eff-160cb4bda033","id":"bd46f7ec-2f39-4add-9eff-160cb4bda033","name":"True Compliance Public API v2","type":"collection"}},"urlObject":{"path":["{{property_id}}","supporting-document"],"host":["{{public_api_v2_domain}}unit"],"query":[],"variable":[]}},"response":[],"_postman_id":"dac2057c-9870-45af-9d46-e2159f35dc1f"},{"name":"Add Flag","id":"16b725ca-e2fa-4708-8a61-42ed0aaa42e1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"flag_name\": \"Example flag name\",\n    \"expiry_date\": \"2026-03-02\"\n}","options":{"raw":{"language":"json"}}},"url":"{{public_api_v2_domain}}unit/{{property_id}}/flag","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{public_api_v2_token}}"}]},"isInherited":true,"source":{"_postman_id":"bd46f7ec-2f39-4add-9eff-160cb4bda033","id":"bd46f7ec-2f39-4add-9eff-160cb4bda033","name":"True Compliance Public API v2","type":"collection"}},"urlObject":{"path":["{{property_id}}","flag"],"host":["{{public_api_v2_domain}}unit"],"query":[],"variable":[]}},"response":[],"_postman_id":"16b725ca-e2fa-4708-8a61-42ed0aaa42e1"},{"name":"Remove Flag","id":"c6e10a89-fb5c-47e5-8267-e78f2a0977ed","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":"{\n    \"flag_name\": \"Example flag name\"\n}","options":{"raw":{"language":"json"}}},"url":"{{public_api_v2_domain}}unit/{{property_id}}/flag","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{public_api_v2_token}}"}]},"isInherited":true,"source":{"_postman_id":"bd46f7ec-2f39-4add-9eff-160cb4bda033","id":"bd46f7ec-2f39-4add-9eff-160cb4bda033","name":"True Compliance Public API v2","type":"collection"}},"urlObject":{"path":["{{property_id}}","flag"],"host":["{{public_api_v2_domain}}unit"],"query":[],"variable":[]}},"response":[],"_postman_id":"c6e10a89-fb5c-47e5-8267-e78f2a0977ed"},{"name":"Add or Update Unit Data","event":[{"listen":"test","script":{"exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});"],"type":"text/javascript","packages":{},"requests":{},"id":"8b612b72-c6c9-4b2b-8482-5f0ec554335e"}}],"id":"effa9019-74f8-4615-8f8d-4c28aa52a5cd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \"tenure\": \"moo\",\n    \"new_key\": \"oink\"\n}","options":{"raw":{"language":"json"}}},"url":"{{public_api_v2_domain}}unit/{{unit_id}}/data","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{public_api_v2_token}}"}]},"isInherited":true,"source":{"_postman_id":"bd46f7ec-2f39-4add-9eff-160cb4bda033","id":"bd46f7ec-2f39-4add-9eff-160cb4bda033","name":"True Compliance Public API v2","type":"collection"}},"urlObject":{"path":["{{unit_id}}","data"],"host":["{{public_api_v2_domain}}unit"],"query":[],"variable":[]}},"response":[],"_postman_id":"effa9019-74f8-4615-8f8d-4c28aa52a5cd"},{"name":"Add Compliance Stream","event":[{"listen":"test","script":{"exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});"],"type":"text/javascript","packages":{},"requests":{},"id":"a61184a1-3429-4ffe-aa97-b8a2d9b8ff66"}}],"id":"949a4bf9-277e-446b-a116-2ce4f09db636","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \"compliance_stream\": \"Detectors\"\n}","options":{"raw":{"language":"json"}}},"url":"{{public_api_v2_domain}}unit/{{unit_id}}/stream","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{public_api_v2_token}}"}]},"isInherited":true,"source":{"_postman_id":"bd46f7ec-2f39-4add-9eff-160cb4bda033","id":"bd46f7ec-2f39-4add-9eff-160cb4bda033","name":"True Compliance Public API v2","type":"collection"}},"urlObject":{"path":["{{unit_id}}","stream"],"host":["{{public_api_v2_domain}}unit"],"query":[],"variable":[]}},"response":[],"_postman_id":"949a4bf9-277e-446b-a116-2ce4f09db636"},{"name":"Remove Compliance Stream","event":[{"listen":"test","script":{"exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});"],"type":"text/javascript","packages":{},"requests":{},"id":"9e61b2e4-e0db-4b99-b452-200d42d9bae2"}}],"id":"621c6dd2-7d6f-44b4-877a-c51880292bd7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":"{\n    \"compliance_stream\": \"Detectors\"\n}","options":{"raw":{"language":"json"}}},"url":"{{public_api_v2_domain}}unit/{{unit_id}}/stream","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{public_api_v2_token}}"}]},"isInherited":true,"source":{"_postman_id":"bd46f7ec-2f39-4add-9eff-160cb4bda033","id":"bd46f7ec-2f39-4add-9eff-160cb4bda033","name":"True Compliance Public API v2","type":"collection"}},"urlObject":{"path":["{{unit_id}}","stream"],"host":["{{public_api_v2_domain}}unit"],"query":[],"variable":[]}},"response":[],"_postman_id":"621c6dd2-7d6f-44b4-877a-c51880292bd7"}],"id":"d22f30c9-ece5-41ed-9718-19dbc6457b54","_postman_id":"d22f30c9-ece5-41ed-9718-19dbc6457b54","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{public_api_v2_token}}"}]},"isInherited":true,"source":{"_postman_id":"bd46f7ec-2f39-4add-9eff-160cb4bda033","id":"bd46f7ec-2f39-4add-9eff-160cb4bda033","name":"True Compliance Public API v2","type":"collection"}}},{"name":"Fault","item":[{"name":"Update Status","id":"35398c33-df8b-413b-b592-86aa196fba25","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \"fault_status\": \"To Reviews\"\n}","options":{"raw":{"language":"json"}}},"url":"{{public_api_v2_domain}}fault/805804/update-status","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{public_api_v2_token}}"}]},"isInherited":true,"source":{"_postman_id":"bd46f7ec-2f39-4add-9eff-160cb4bda033","id":"bd46f7ec-2f39-4add-9eff-160cb4bda033","name":"True Compliance Public API v2","type":"collection"}},"urlObject":{"path":["805804","update-status"],"host":["{{public_api_v2_domain}}fault"],"query":[],"variable":[]}},"response":[],"_postman_id":"35398c33-df8b-413b-b592-86aa196fba25"},{"name":"Add Note","id":"5fbf5a24-146c-4e09-904f-9f60a5949c11","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"note","value":"This is the note","type":"text","uuid":"3c924e1b-8676-4e46-84bb-89d1998a7973"},{"key":"evidence","description":"<p>File. Optional. 1mb max filesize.</p>\n","type":"file","uuid":"69637232-271e-41c3-844b-74501672cf24","value":null}]},"url":"{{public_api_v2_domain}}fault/805804/note","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{public_api_v2_token}}"}]},"isInherited":true,"source":{"_postman_id":"bd46f7ec-2f39-4add-9eff-160cb4bda033","id":"bd46f7ec-2f39-4add-9eff-160cb4bda033","name":"True Compliance Public API v2","type":"collection"}},"urlObject":{"path":["805804","note"],"host":["{{public_api_v2_domain}}fault"],"query":[],"variable":[]}},"response":[],"_postman_id":"5fbf5a24-146c-4e09-904f-9f60a5949c11"}],"id":"a4a8d0de-4e69-4290-a320-fbe39da72595","_postman_id":"a4a8d0de-4e69-4290-a320-fbe39da72595","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{public_api_v2_token}}"}]},"isInherited":true,"source":{"_postman_id":"bd46f7ec-2f39-4add-9eff-160cb4bda033","id":"bd46f7ec-2f39-4add-9eff-160cb4bda033","name":"True Compliance Public API v2","type":"collection"}}},{"name":"Report","item":[{"name":"Get Latest Report","id":"88628fb2-1a16-4361-9bdd-17e07c55882c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{public_api_v2_domain}}report/{{slug}}","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{public_api_v2_token}}"}]},"isInherited":true,"source":{"_postman_id":"bd46f7ec-2f39-4add-9eff-160cb4bda033","id":"bd46f7ec-2f39-4add-9eff-160cb4bda033","name":"True Compliance Public API v2","type":"collection"}},"urlObject":{"path":["{{slug}}"],"host":["{{public_api_v2_domain}}report"],"query":[],"variable":[]}},"response":[],"_postman_id":"88628fb2-1a16-4361-9bdd-17e07c55882c"},{"name":"Get Latest Report Tab","id":"03b857c8-225e-4c03-85c4-e33f35dde547","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{public_api_v2_domain}}report/{{slug}}/{{tabName}}","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{public_api_v2_token}}"}]},"isInherited":true,"source":{"_postman_id":"bd46f7ec-2f39-4add-9eff-160cb4bda033","id":"bd46f7ec-2f39-4add-9eff-160cb4bda033","name":"True Compliance Public API v2","type":"collection"}},"urlObject":{"path":["{{slug}}","{{tabName}}"],"host":["{{public_api_v2_domain}}report"],"query":[],"variable":[]}},"response":[],"_postman_id":"03b857c8-225e-4c03-85c4-e33f35dde547"}],"id":"f7a087da-30d5-4cc1-b40b-458947e68e30","_postman_id":"f7a087da-30d5-4cc1-b40b-458947e68e30","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{public_api_v2_token}}"}]},"isInherited":true,"source":{"_postman_id":"bd46f7ec-2f39-4add-9eff-160cb4bda033","id":"bd46f7ec-2f39-4add-9eff-160cb4bda033","name":"True Compliance Public API v2","type":"collection"}}}],"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{public_api_v2_token}}"}]}},"event":[{"listen":"prerequest","script":{"type":"text/javascript","packages":{},"exec":[""],"id":"7c2d2449-6842-4bc4-b3ca-5aa711c038e7"}},{"listen":"test","script":{"type":"text/javascript","packages":{},"exec":[""],"id":"a4f6c415-e06e-4092-bb09-9bfac6784e0b"}}]}