{"info":{"_postman_id":"b37733f7-e242-46c4-81d9-91643c7d4805","name":"Healthier Business Portal API V1","description":"<html><head></head><body><p>Healthier Business (HB) provides occupational health checks and online training for clients. Current portal processes require that candidates are added to the HB portal and that these candidates access the HB website to complete the necessary processes. This may require that candidate details held on client systems are rekeyed in the HB portal and that candidates log into both a client system and the portal to complete the required processing.<br>The API on the HB portal allows clients to integrate their internal systems with the portal in order to streamline this process as far as possible; provide two-directional communications between systems; keep the candidates on the client site where possible and offer feedback to the client system for monitoring the status of their candidates.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"24438176","collectionId":"b37733f7-e242-46c4-81d9-91643c7d4805","publishedId":"2s93m1ZQ5H","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2025-11-21T11:35:57.000Z"},"item":[{"name":"Candidate Requests","item":[{"name":"Get All Candidates","id":"9004d580-64bf-4a4c-8d79-38ed44dc1c86","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{"accept":true}},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"API-Version","value":"1.0","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"per_page","value":"10","type":"text","disabled":true}]},"url":"https://portal.hbcompliance.co.uk/api/candidates","description":"<p>This endpoint retrieves a list of all non-archived candidates.</p>\n<p>The URI format is: <a href=\"https://hb-host.tld/api/candidates/\">https://hb-host.tld/api/candidates/</a><br />The request is HTTP GET (RFC2616).</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"API-Key"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"b37733f7-e242-46c4-81d9-91643c7d4805","id":"b37733f7-e242-46c4-81d9-91643c7d4805","name":"Healthier Business Portal API V1","type":"collection"}},"urlObject":{"path":["candidates"],"host":["https://portal.hbcompliance.co.uk/api"],"query":[],"variable":[]}},"response":[{"id":"93256794-c4d0-4c99-88ce-945857932e65","name":"Get All Candidates","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"API-Version","value":"1.0","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"per_page","value":"10","type":"text","disabled":true}]},"url":"https://portal.hbcompliance.co.uk/api/candidates"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 19 May 2023 10:02:11 GMT"},{"key":"Server","value":"Apache"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"},{"key":"Expires","value":"Sat, 26 Jul 1997 05:00:00 GMT"},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate, max-age=0, post-check=0, pre-check=0"},{"key":"Pragma","value":"no-cache"},{"key":"Set-Cookie","value":"hbc_csrf_cookie=7c7f6ef5ebedca58e77e5b7c52908071; expires=Fri, 19-May-2023 12:02:11 GMT; Max-Age=7200; path=/"},{"key":"Set-Cookie","value":"PLAY_SESSION=a%3A5%3A%7Bs%3A10%3A%22session_id%22%3Bs%3A32%3A%2224798c8b3030357a639eb0600513e967%22%3Bs%3A10%3A%22ip_address%22%3Bs%3A13%3A%2280.194.180.42%22%3Bs%3A10%3A%22user_agent%22%3Bs%3A21%3A%22PostmanRuntime%2F7.32.2%22%3Bs%3A13%3A%22last_activity%22%3Bi%3A1684490531%3Bs%3A9%3A%22user_data%22%3Bs%3A0%3A%22%22%3B%7Df3435f5a8955009752f7a9a8050b213d0d4b6129; expires=Fri, 19-May-2023 12:02:11 GMT; Max-Age=7200; path=/"},{"key":"Upgrade","value":"h2,h2c"},{"key":"Connection","value":"Upgrade, Keep-Alive"},{"key":"Last-Modified","value":"Fri, 19 May 2023 10:02:11 GMT"},{"key":"x-frame-options","value":"SAMEORIGIN"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"candidates\": [\n            {\n                \"candidate_ref\": \"XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\",\n                \"candidate_id\": \"0000000\",\n                \"client_record_ref\": \"\",\n                \"first_name\": \"first_name\",\n                \"last_name\": \"last_name\",\n                \"email\": \"email@domain.co.uk\",\n                \"candidate_status\": \"activated\",\n                \"date_registered\": \"2017-03-31 14:08:27\",\n                \"last_login_date\": \"2023-05-19 08:11:16\",\n                \"renewal_date\": \"2019-06-12 09:07:52\",\n                \"assigned_course_count\": \"68\",\n                \"completed_course_count\": \"9\",\n                \"renewal_due_count\": \"0\",\n                \"expired_course_count\": \"5\",\n                \"renew_training\": \"0\"\n            },\n            {\n                \"candidate_ref\": \"XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\",\n                \"candidate_id\": \"0000000\",\n                \"client_record_ref\": \"\",\n                \"first_name\": \"first_name\",\n                \"last_name\": \"last_name\",\n                \"email\": \"email@domain.co.uk\",\n                \"candidate_status\": \"activated\",\n                \"date_registered\": \"2017-09-04 10:55:37\",\n                \"last_login_date\": \"2018-05-14 10:12:19\",\n                \"renewal_date\": \"2020-08-15 10:04:47\",\n                \"assigned_course_count\": \"21\",\n                \"completed_course_count\": \"0\",\n                \"renewal_due_count\": \"0\",\n                \"expired_course_count\": \"19\",\n                \"renew_training\": \"0\"\n            }\n        ]\n    }\n]"}],"_postman_id":"9004d580-64bf-4a4c-8d79-38ed44dc1c86"},{"name":"Get Candidate Data","id":"d8c98fa3-a610-468d-a429-fa55cdc35341","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{"accept":true}},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"API-Version","value":"1.0","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[]},"url":"https://portal.hbcompliance.co.uk/api/candidates/XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX","description":"<p>This endpoint retrieves candidate data. The URI format is: <a href=\"https://hb-host.tld/api/candidates/XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\">https://hb-host.tld/api/candidates/XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX</a></p>\n<p>The request is HTTP GET (RFC2616) and use candidate_ref as resource identifier,<br />which is a UUID string, identifying the candidate uniquely at HB.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"API-Key"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"b37733f7-e242-46c4-81d9-91643c7d4805","id":"b37733f7-e242-46c4-81d9-91643c7d4805","name":"Healthier Business Portal API V1","type":"collection"}},"urlObject":{"path":["candidates","XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX"],"host":["https://portal.hbcompliance.co.uk/api"],"query":[],"variable":[]}},"response":[{"id":"ad1b2d0d-b9df-4745-9f4b-783208460640","name":"Get Candidate Data","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"API-Version","value":"1.0","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[]},"url":"https://portal.hbcompliance.co.uk/api/candidates/XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 19 May 2023 10:51:41 GMT"},{"key":"Server","value":"Apache"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"},{"key":"Expires","value":"Sat, 26 Jul 1997 05:00:00 GMT"},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate, max-age=0, post-check=0, pre-check=0"},{"key":"Pragma","value":"no-cache"},{"key":"Set-Cookie","value":"hbc_csrf_cookie=7c7f6ef5ebedca58e77e5b7c52908071; expires=Fri, 19-May-2023 12:51:41 GMT; Max-Age=7200; path=/"},{"key":"Set-Cookie","value":"PLAY_SESSION=a%3A4%3A%7Bs%3A10%3A%22session_id%22%3Bs%3A32%3A%22efa318c0d045fd6c263f4e54eea8e766%22%3Bs%3A10%3A%22ip_address%22%3Bs%3A13%3A%2280.194.180.42%22%3Bs%3A10%3A%22user_agent%22%3Bs%3A21%3A%22PostmanRuntime%2F7.32.2%22%3Bs%3A13%3A%22last_activity%22%3Bi%3A1684493501%3B%7D6a21de6e411ecaaadea0e08455681aeb9a95919e; expires=Fri, 19-May-2023 12:51:41 GMT; Max-Age=7200; path=/"},{"key":"Upgrade","value":"h2,h2c"},{"key":"Connection","value":"Upgrade, Keep-Alive"},{"key":"Last-Modified","value":"Fri, 19 May 2023 10:51:41 GMT"},{"key":"x-frame-options","value":"SAMEORIGIN"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"candidate\": {\n            \"candidate_ref\": \"XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\",\n            \"candidate_id\": \"0000000\",\n            \"user_id\": \"0000000\",\n            \"training_id\": \"0000000\",\n            \"client_id\": \"000\",\n            \"first_name\": \"first_name\",\n            \"last_name\": \"last_name\",\n            \"email\": \"email@domain.co.uk\",\n            \"username\": \"username\",\n            \"client_record_ref\": \"\",\n            \"candidate_status\": \"activated\",\n            \"archived\": \"0\",\n            \"candidate_group_id\": \"0\",\n            \"framework_id\": \"0\",\n            \"candidate_framework\": \"\",\n            \"consultant_name\": \"\",\n            \"courses\": \"27,59,63,62,58,57,31,30,29,69,23,22,26,25,24,37,38,32,72,83,84,81,79,77,66,68,67,50,71,70,73,75,74,65,64,40,5,35,43,18,48,14,21,4,39,17,19,16,33,2,44,34,52,45,41,46,42,3,36,51,28,7,54,20,15,47,10,53,6\",\n            \"training_charge\": \"client\",\n            \"form_set\": \"clinical_occupational_health,driver_2_clinical_medical\",\n            \"job_role\": \"\",\n            \"clearance_type\": \"0\",\n            \"return_email\": \"\",\n            \"documents_required\": \"0\",\n            \"document_list\": \"0\",\n            \"date_registered\": \"2017-03-31 14:08:27\",\n            \"last_login\": \"2023-05-19 08:11:16\",\n            \"renewal_date\": \"2019-06-12 09:07:52\",\n            \"assigned_course_count\": \"68\",\n            \"completed_course_count\": \"9\",\n            \"renewal_due_course_count\": \"0\",\n            \"expired_course_count\": \"5\"\n        }\n    }\n]"}],"_postman_id":"d8c98fa3-a610-468d-a429-fa55cdc35341"},{"name":"Create New Candidate","id":"c6d03d71-3225-4bf8-85d9-8298ddfa4fbf","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{"accept":true}},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"API-Version","value":"1.0","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"first_name","value":"First Name","type":"text","description":"<p>First name</p>\n"},{"key":"last_name","value":"Last Name","description":"<p>Last Name</p>\n","type":"text"},{"key":"email","value":"email@domain.co.uk","description":"<p>E-mail address</p>\n","type":"text"},{"key":"client_record_ref","value":"Text","description":"<p>Foreign candidate identifier (at client) </p>\n","type":"text"},{"key":"consultant_name","value":"Text","description":"<p>Name of the consultant (at client) </p>\n","type":"text"},{"key":"activate_candidate","value":"1","description":"<p>Flag to activate the candidate at creation { 0 | 1 } default 0</p>\n","type":"text"},{"key":"archived","value":"0","description":"<p>Flag to show the archived state of the candidate { 0 | 1 } default 0</p>\n","type":"text"},{"key":"form_set","value":"","description":"<p>Comma-separated list of currently assigned form refs</p>\n","type":"text"},{"key":"return_email","value":"","description":"<p>Result e-mail address</p>\n","type":"text"},{"key":"send_activation_mail","value":"","description":"<p>Flag to ask HB backend to send the activation mail { 0 | 1 } default 1</p>\n","type":"text"},{"key":"clearance_type","value":"","description":"<p>Clearance Type { epp | non_epp }</p>\n","type":"text"},{"key":"job_role","value":"","description":"<p>Job Role</p>\n","type":"text"},{"key":"documents_required","value":"","description":"<p>Flag to indicate if candidate is required to submit documents with next the submission { 0 | 1 } default 0</p>\n","type":"text"},{"key":"document_list","value":"","description":"<p>List of documents required from the candidate in current submission; displayed to candidate in the portal; require</p>\n","type":"text"}]},"url":"https://portal.hbcompliance.co.uk/api/candidates","description":"<p>The request is HTTP POST (RFC 2616), application/x-www-form-urlencoded or multipart/form-data (RFC7578) and holds all the required details of the candidate.</p>\n<p>If the operation was successful, the response message is HTTP 201 Created , application/json, holding a JSON string in the following format:<br /><code>{   “response”: {   “candidate_ref”:”XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX”   “candidate_id”:””   }   }</code><br />where,<br />candidate_ref is a UUID string, identifying the candidate uniquely at HB.<br />candidate_id is an integer ID string, used internally by the portal to identify the candidate uniquely at HB when accessing candidate information via the portal.<br />If the candidate has already been created previously, based on matching email addresses, then the response should be HTTP 202 Accepted2 , and the message body should be the same as in case of HTTP 201 Created. The candidate details will not be updated in this case. The alternative candidate edit method should be used<br />instead.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"API-Key"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"b37733f7-e242-46c4-81d9-91643c7d4805","id":"b37733f7-e242-46c4-81d9-91643c7d4805","name":"Healthier Business Portal API V1","type":"collection"}},"urlObject":{"path":["candidates"],"host":["https://portal.hbcompliance.co.uk/api"],"query":[],"variable":[]}},"response":[{"id":"1f7186b9-8086-4d6c-996c-85208676c700","name":"Create New Candidate","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"API-Version","value":"1.0","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"first_name","value":"First Name","type":"text","description":"First name [* Required ]"},{"key":"last_name","value":"Last Name","description":"Last Name [* Required ]","type":"text"},{"key":"email","value":"email@domain.co.uk","description":"E-mail address [* Required ]","type":"text"},{"key":"client_record_ref","value":"Text","description":"Foreign candidate identifier (at client) ","type":"text"},{"key":"consultant_name","value":"Text","description":"Name of the consultant (at client) ","type":"text"},{"key":"activate_candidate","value":"1","description":"Flag to activate the candidate at creation { 0 | 1 } default 0","type":"text"},{"key":"archived","value":"0","description":"Flag to show the archived state of the candidate { 0 | 1 } default 0","type":"text"},{"key":"form_set","value":"","description":"Comma-separated list of currently assigned form refs","type":"text"},{"key":"return_email","value":"","description":"Result e-mail address","type":"text"},{"key":"send_activation_mail","value":"","description":"Flag to ask HB backend to send the activation mail { 0 | 1 } default 1","type":"text"},{"key":"clearance_type","value":"","description":"Clearance Type { epp | non_epp }","type":"text"},{"key":"job_role","value":"","description":"Job Role","type":"text"},{"key":"documents_required","value":"","description":"Flag to indicate if candidate is required to submit documents with next the submission { 0 | 1 } default 0","type":"text"},{"key":"document_list","value":"","description":"List of documents required from the candidate in current submission; displayed to candidate in the portal; require","type":"text"}]},"url":"https://portal.hbcompliance.co.uk/api/candidates"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 19 May 2023 11:02:37 GMT"},{"key":"Server","value":"Apache"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"},{"key":"Expires","value":"Sat, 26 Jul 1997 05:00:00 GMT"},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate, max-age=0, post-check=0, pre-check=0"},{"key":"Pragma","value":"no-cache"},{"key":"Upgrade","value":"h2,h2c"},{"key":"Connection","value":"Upgrade, Keep-Alive"},{"key":"Last-Modified","value":"Fri, 19 May 2023 11:02:37 GMT"},{"key":"x-frame-options","value":"SAMEORIGIN"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"response\": {\n            \"candidate_ref\": \"XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\",\n            \"candidate_id\": 0000000\n        }\n    }\n]"}],"_postman_id":"c6d03d71-3225-4bf8-85d9-8298ddfa4fbf"},{"name":"Update Candidate Details","id":"3c7cf6d1-4aae-46b5-972d-cef9673be446","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{"accept":true}},"request":{"method":"PATCH","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"API-Version","value":"1.0","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"first_name","value":"First Name","type":"text","description":"<p>First name 1</p>\n","disabled":true},{"key":"last_name","value":"Last Name","description":"<p>Last Name 2</p>\n","type":"text","disabled":true},{"key":"email","value":"email11@domain.co.uk","description":"<p>E-mail address</p>\n","type":"text"},{"key":"client_record_ref","value":"Text","description":"<p>Foreign candidate identifier (at client) </p>\n","type":"text"},{"key":"consultant_name","value":"Text","description":"<p>Name of the consultant (at client) </p>\n","type":"text"},{"key":"activate_candidate","value":"1","description":"<p>Flag to activate the candidate at creation { 0 | 1 } default 0</p>\n","type":"text"},{"key":"archived","value":"1","description":"<p>Flag to show the archived state of the candidate { 0 | 1 } default 0</p>\n","type":"text"},{"key":"form_set","value":"","description":"<p>Comma-separated list of currently assigned form refs</p>\n","type":"text"},{"key":"return_email","value":"","description":"<p>Result e-mail address</p>\n","type":"text"},{"key":"send_activation_mail","value":"","description":"<p>Flag to ask HB backend to send the activation mail { 0 | 1 } default 1</p>\n","type":"text"},{"key":"clearance_type","value":"","description":"<p>Clearance Type { epp | non_epp }</p>\n","type":"text"},{"key":"job_role","value":"","description":"<p>Job Role</p>\n","type":"text"},{"key":"documents_required","value":"","description":"<p>Flag to indicate if candidate is required to submit documents with next the submission { 0 | 1 } default 0</p>\n","type":"text"},{"key":"document_list","value":"","description":"<p>List of documents required from the candidate in current submission; displayed to candidate in the portal; require</p>\n","type":"text"}]},"url":"https://portal.hbcompliance.co.uk/api/candidates/XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX","description":"<p>The request is HTTP PATCH (RFC 5789), application/x-www-form-urlencoded or multipart/form-data (RFC7578) and holds the updated details of the candidate. This is a partial update call, which does not update every detail every time, only the modified ones. The available data fields are listed in Appendix 4.2.<br />If the operation was successful, the response message is HTTP 200 OK. If the request but the data was unchanged, the response message is HTTP 304 Unchanged. If the request cannot be processed due to misformatted or untranslatable data, the API should response with HTTP 400 Bad Request error.<br />If the candidate_ref is not valid then the API should response with HTTP 404 Not Found error.<br />If the request cannot be processed due to data validation errors, the API should respond with HTTP 403 Forbidden and an appropriate error response. (See section 3.6 Error responses).</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"API-Key"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"b37733f7-e242-46c4-81d9-91643c7d4805","id":"b37733f7-e242-46c4-81d9-91643c7d4805","name":"Healthier Business Portal API V1","type":"collection"}},"urlObject":{"path":["candidates","XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX"],"host":["https://portal.hbcompliance.co.uk/api"],"query":[],"variable":[]}},"response":[{"id":"4d3cfc29-3daa-419c-95cf-19166b827982","name":"Update Candidate Details","originalRequest":{"method":"PATCH","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"API-Version","value":"1.0","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"first_name","value":"First Name","type":"text","description":"First name 1","disabled":true},{"key":"last_name","value":"Last Name","description":"Last Name 2","type":"text","disabled":true},{"key":"email","value":"email11@domain.co.uk","description":"E-mail address","type":"text"},{"key":"client_record_ref","value":"Text","description":"Foreign candidate identifier (at client) ","type":"text"},{"key":"consultant_name","value":"Text","description":"Name of the consultant (at client) ","type":"text"},{"key":"activate_candidate","value":"1","description":"Flag to activate the candidate at creation { 0 | 1 } default 0","type":"text"},{"key":"archived","value":"1","description":"Flag to show the archived state of the candidate { 0 | 1 } default 0","type":"text"},{"key":"form_set","value":"","description":"Comma-separated list of currently assigned form refs","type":"text"},{"key":"return_email","value":"","description":"Result e-mail address","type":"text"},{"key":"send_activation_mail","value":"","description":"Flag to ask HB backend to send the activation mail { 0 | 1 } default 1","type":"text"},{"key":"clearance_type","value":"","description":"Clearance Type { epp | non_epp }","type":"text"},{"key":"job_role","value":"","description":"Job Role","type":"text"},{"key":"documents_required","value":"","description":"Flag to indicate if candidate is required to submit documents with next the submission { 0 | 1 } default 0","type":"text"},{"key":"document_list","value":"","description":"List of documents required from the candidate in current submission; displayed to candidate in the portal; require","type":"text"}]},"url":"https://portal.hbcompliance.co.uk/api/candidates/XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 19 May 2023 11:32:36 GMT"},{"key":"Server","value":"Apache"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"},{"key":"Expires","value":"Sat, 26 Jul 1997 05:00:00 GMT"},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate, max-age=0, post-check=0, pre-check=0"},{"key":"Pragma","value":"no-cache"},{"key":"Set-Cookie","value":"hbc_csrf_cookie=7c7f6ef5ebedca58e77e5b7c52908071; expires=Fri, 19-May-2023 13:32:36 GMT; Max-Age=7200; path=/"},{"key":"Upgrade","value":"h2,h2c"},{"key":"Connection","value":"Upgrade, Keep-Alive"},{"key":"Last-Modified","value":"Fri, 19 May 2023 11:32:36 GMT"},{"key":"x-frame-options","value":"SAMEORIGIN"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"[\n    \"\"\n]"}],"_postman_id":"3c7cf6d1-4aae-46b5-972d-cef9673be446"}],"id":"845abd7d-9518-4264-8e1d-912bad44d2ae","event":[{"listen":"prerequest","script":{"id":"dd17ff32-1330-4d42-82ca-09e23a6d5a78","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"d11e3ec9-da5b-4518-80c5-f5192bf748ce","type":"text/javascript","exec":[""]}}],"_postman_id":"845abd7d-9518-4264-8e1d-912bad44d2ae","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"API-Key"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"b37733f7-e242-46c4-81d9-91643c7d4805","id":"b37733f7-e242-46c4-81d9-91643c7d4805","name":"Healthier Business Portal API V1","type":"collection"}}},{"name":"Training Requests","item":[{"name":"Get Available Trainings","id":"c087fdaf-143f-482b-be4a-878ab9c84768","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"API-Version","value":"1.0","type":"text"}],"url":"https://portal.hbcompliance.co.uk/api/training-list/","description":"<p>The endpoint provides a method to retrieve the list of trainings provided by the authenticated client. The requests are HTTP GET (RFC2616) and uses api key as a resource identifier identifying the client uniquely at HB.</p>\n<p>If there’s no trainings assigned to your account, the API should send an HTTP 204 No Content response.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"API-Key"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"b37733f7-e242-46c4-81d9-91643c7d4805","id":"b37733f7-e242-46c4-81d9-91643c7d4805","name":"Healthier Business Portal API V1","type":"collection"}},"urlObject":{"path":["training-list",""],"host":["https://portal.hbcompliance.co.uk/api"],"query":[],"variable":[]}},"response":[{"id":"0452fa68-a420-457a-9553-0dd8f3ee5975","name":"Get Available Trainings","originalRequest":{"method":"GET","header":[{"key":"API-Version","value":"1.0","type":"text"}],"url":"https://portal.hbcompliance.co.uk/api/training-list/"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\r\n    \"count\": 3,\r\n    \"trainings\": [\r\n        {\r\n            \"course_id\": \"XX\",\r\n            \"testid\": \"XX\",\r\n            \"course_name\": \"Complaints Handling\",\r\n            \"notes\": \"\",\r\n            \"group_title\": \"Standard Training Pack\"\r\n        },\r\n        {\r\n            \"course_id\": \"XX\",\r\n            \"testid\": \"XX\",\r\n            \"course_name\": \"COSHH\",\r\n            \"notes\": \"\",\r\n            \"group_title\": \"Standard Training Pack\"\r\n        },\r\n        {\r\n            \"course_id\": \"XX\",\r\n            \"testid\": \"XX\",\r\n            \"course_name\": \"Countering Fraud Bribery and Corruption in the NHS\",\r\n            \"notes\": \"\",\r\n            \"group_title\": \"Standard Training Pack\"\r\n        },\r\n    ]\r\n}"}],"_postman_id":"c087fdaf-143f-482b-be4a-878ab9c84768"},{"name":"Get Candidate Course Result","id":"14d66222-309b-411c-8e65-a157299d3a15","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://portal.hbcompliance.co.uk/api/training-results/XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX/course/{{course_id}}","description":"<p>The endpoint provides a method to retrieve the status of an individual course whether currently assigned or not. The requests are HTTP GET (RFC2616) and uses candidate_ref as a resource identifier identifying the candidate uniquely at HB and the course_id to identify the course for which the status is requested.</p>\n<p>If the candidate_ref is unknown the response should be HTTP 404 Not Found.<br />If there’s no historical data from a previous assignment, the API should send an HTTP 204 No Content response.</p>\n<p>NOTE: API will return all dates in <strong>GMT (UTC+0)</strong> timezone only.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"API-Key"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"b37733f7-e242-46c4-81d9-91643c7d4805","id":"b37733f7-e242-46c4-81d9-91643c7d4805","name":"Healthier Business Portal API V1","type":"collection"}},"urlObject":{"path":["training-results","XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX","course","{{course_id}}"],"host":["https://portal.hbcompliance.co.uk/api"],"query":[],"variable":[]}},"response":[{"id":"6a143898-91b0-4e06-aebd-1cd509b9a735","name":"Get Candidate Course Result","originalRequest":{"method":"GET","header":[],"url":"https://portal.hbcompliance.co.uk/api/training-results/XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX/course/75"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 19 May 2023 12:02:37 GMT"},{"key":"Server","value":"Apache"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"},{"key":"Expires","value":"Sat, 26 Jul 1997 05:00:00 GMT"},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate, max-age=0, post-check=0, pre-check=0"},{"key":"Pragma","value":"no-cache"},{"key":"Set-Cookie","value":"hbc_csrf_cookie=7c7f6ef5ebedca58e77e5b7c52908071; expires=Fri, 19-May-2023 14:02:37 GMT; Max-Age=7200; path=/"},{"key":"Set-Cookie","value":"PLAY_SESSION=a%3A4%3A%7Bs%3A10%3A%22session_id%22%3Bs%3A32%3A%22cfd1f864d7f88448aa736e8154de51e6%22%3Bs%3A10%3A%22ip_address%22%3Bs%3A13%3A%2280.194.180.42%22%3Bs%3A10%3A%22user_agent%22%3Bs%3A21%3A%22PostmanRuntime%2F7.32.2%22%3Bs%3A13%3A%22last_activity%22%3Bi%3A1684497757%3B%7D59b3e95660a58bba47ab5852ebe3a3a369fcaa3c; expires=Fri, 19-May-2023 14:02:37 GMT; Max-Age=7200; path=/"},{"key":"Upgrade","value":"h2,h2c"},{"key":"Connection","value":"Upgrade, Keep-Alive"},{"key":"Last-Modified","value":"Fri, 19 May 2023 12:02:37 GMT"},{"key":"x-frame-options","value":"SAMEORIGIN"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"course\": {\n            \"course_id\": \"75\",\n            \"course_name\": \"Basic Numeracy\",\n            \"date_assigned\": \"2022-10-18 13:22:59\",\n            \"date_completed\": \"2022-12-06 13:17:18\",\n            \"renewal_date\": \"2023-12-06 13:17:18\",\n            \"grade\": \"0.9000\",\n            \"course_status\": \"complete\"\n        }\n    }\n]"}],"_postman_id":"14d66222-309b-411c-8e65-a157299d3a15"},{"name":"Get Candidate Training Report","id":"07e23a19-f92b-49c8-8f6d-3458d98f1804","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://portal.hbcompliance.co.uk/api/training-results/XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX","description":"<p>The endpoint provides a method to retrieve status results for each course currently assigned to the candidate.</p>\n<p>The requests are HTTP GET (RFC2616) and use candidate_ref as resource identifier, which is a UUID string, identifying the candidate uniquely at HB.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"API-Key"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"b37733f7-e242-46c4-81d9-91643c7d4805","id":"b37733f7-e242-46c4-81d9-91643c7d4805","name":"Healthier Business Portal API V1","type":"collection"}},"urlObject":{"path":["training-results","XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX"],"host":["https://portal.hbcompliance.co.uk/api"],"query":[],"variable":[]}},"response":[{"id":"d11b89f2-2248-4da6-b579-a539192c1ed9","name":"Get Candidate Training Report","originalRequest":{"method":"GET","header":[],"url":"https://portal.hbcompliance.co.uk/api/training-results/XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 19 May 2023 12:04:53 GMT"},{"key":"Server","value":"Apache"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"},{"key":"Expires","value":"Sat, 26 Jul 1997 05:00:00 GMT"},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate, max-age=0, post-check=0, pre-check=0"},{"key":"Pragma","value":"no-cache"},{"key":"Set-Cookie","value":"hbc_csrf_cookie=7c7f6ef5ebedca58e77e5b7c52908071; expires=Fri, 19-May-2023 14:04:53 GMT; Max-Age=7200; path=/"},{"key":"Upgrade","value":"h2,h2c"},{"key":"Connection","value":"Upgrade, Keep-Alive"},{"key":"Last-Modified","value":"Fri, 19 May 2023 12:04:53 GMT"},{"key":"x-frame-options","value":"SAMEORIGIN"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"courses\": [\n            {\n                \"course_id\": \"56\",\n                \"course_name\": \"Basic Life Support Video Link Practical Training\",\n                \"date_assigned\": \"2023-02-07 12:55:38\",\n                \"date_completed\": \"\",\n                \"renewal_date\": \"\",\n                \"course_status\": \"\",\n                \"grade\": \"\"\n            },\n            {\n                \"course_id\": \"74\",\n                \"course_name\": \"Basic Literacy\",\n                \"date_assigned\": \"2022-10-18 13:22:59\",\n                \"date_completed\": \"\",\n                \"renewal_date\": \"\",\n                \"course_status\": \"\",\n                \"grade\": \"\"\n            },\n            {\n                \"course_id\": \"75\",\n                \"course_name\": \"Basic Numeracy\",\n                \"date_assigned\": \"2022-10-18 13:22:59\",\n                \"date_completed\": \"2022-12-06 13:17:18\",\n                \"renewal_date\": \"2023-12-06 13:17:18\",\n                \"course_status\": \"1\",\n                \"grade\": \"0.9000\"\n            }\n        ]\n    }\n]"}],"_postman_id":"07e23a19-f92b-49c8-8f6d-3458d98f1804"},{"name":"Get Candidate Training Report - Unassigned","id":"37c0ef94-4391-4df4-8bd1-e67031928bf3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://portal.hbcompliance.co.uk/api/training-results/XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX/unassigned","description":"<p>This endpoint is available to retrieve historical results for courses that are no longer assigned to the candidate.</p>\n<p>The requests are HTTP GET (RFC2616) and use candidate_ref as resource identifier, which is a UUID string, identifying the candidate uniquely at HB.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"API-Key"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"b37733f7-e242-46c4-81d9-91643c7d4805","id":"b37733f7-e242-46c4-81d9-91643c7d4805","name":"Healthier Business Portal API V1","type":"collection"}},"urlObject":{"path":["training-results","XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX","unassigned"],"host":["https://portal.hbcompliance.co.uk/api"],"query":[],"variable":[]}},"response":[{"id":"a96c72a9-cc9c-4973-90a0-cefc18c748c1","name":"Get Candidate Training Report - Unassigned","originalRequest":{"method":"GET","header":[],"url":"https://portal.hbcompliance.co.uk/api/training-results/XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX/unassigned"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 19 May 2023 12:08:08 GMT"},{"key":"Server","value":"Apache"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"},{"key":"Expires","value":"Sat, 26 Jul 1997 05:00:00 GMT"},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate, max-age=0, post-check=0, pre-check=0"},{"key":"Pragma","value":"no-cache"},{"key":"Set-Cookie","value":"hbc_csrf_cookie=7c7f6ef5ebedca58e77e5b7c52908071; expires=Fri, 19-May-2023 14:08:08 GMT; Max-Age=7200; path=/"},{"key":"Set-Cookie","value":"PLAY_SESSION=a%3A4%3A%7Bs%3A10%3A%22session_id%22%3Bs%3A32%3A%22aa9447ef6fc853c29a1afad4203ce97c%22%3Bs%3A10%3A%22ip_address%22%3Bs%3A13%3A%2280.194.180.42%22%3Bs%3A10%3A%22user_agent%22%3Bs%3A21%3A%22PostmanRuntime%2F7.32.2%22%3Bs%3A13%3A%22last_activity%22%3Bi%3A1684498088%3B%7D5538a17b0ec43b8a3d1f000efb9ae5f22c8dff04; expires=Fri, 19-May-2023 14:08:08 GMT; Max-Age=7200; path=/"},{"key":"Upgrade","value":"h2,h2c"},{"key":"Connection","value":"Upgrade, Keep-Alive"},{"key":"Last-Modified","value":"Fri, 19 May 2023 12:08:08 GMT"},{"key":"x-frame-options","value":"SAMEORIGIN"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"courses\": [\n            {\n                \"course_id\": \"34\",\n                \"course_name\": \"Complaints Handling\",\n                \"date_assigned\": \"\",\n                \"date_completed\": \"2022-12-14 16:04:52\",\n                \"renewal_date\": \"2023-12-14 16:04:52\",\n                \"course_status\": \"1\",\n                \"grade\": \"1.0000\"\n            },\n            {\n                \"course_id\": \"44\",\n                \"course_name\": \"Conflict Resolution\",\n                \"date_assigned\": \"\",\n                \"date_completed\": \"2022-12-14 16:10:35\",\n                \"renewal_date\": \"2025-12-14 16:10:35\",\n                \"course_status\": \"1\",\n                \"grade\": \"1.0000\"\n            },\n            {\n                \"course_id\": \"2\",\n                \"course_name\": \"COSHH\",\n                \"date_assigned\": \"\",\n                \"date_completed\": \"2022-12-14 16:15:48\",\n                \"renewal_date\": \"2023-12-14 16:15:48\",\n                \"course_status\": \"1\",\n                \"grade\": \"1.0000\"\n            }\n        ]\n    }\n]"}],"_postman_id":"37c0ef94-4391-4df4-8bd1-e67031928bf3"}],"id":"055ebc1e-e5c9-4ea6-8db8-f48a9c17e7d6","_postman_id":"055ebc1e-e5c9-4ea6-8db8-f48a9c17e7d6","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"API-Key"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"b37733f7-e242-46c4-81d9-91643c7d4805","id":"b37733f7-e242-46c4-81d9-91643c7d4805","name":"Healthier Business Portal API V1","type":"collection"}}},{"name":"OH Requests","item":[{"name":"Get Available Forms","id":"e33a190a-5b8d-4bac-9d51-76f24e5bdc78","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"API-Version","value":"1.0","type":"text"}],"url":"https://portal.hbcompliance.co.uk/api/forms-list/","description":"<p>The endpoint provides a method to retrieve the list of forms provided by the authenticated client. The requests are HTTP GET (RFC2616) and uses api key as a resource identifier identifying the<br />client uniquely at HB.</p>\n<p>If there’s no forms assigned to your account, the API should send an HTTP 204 No Content response.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"API-Key"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"b37733f7-e242-46c4-81d9-91643c7d4805","id":"b37733f7-e242-46c4-81d9-91643c7d4805","name":"Healthier Business Portal API V1","type":"collection"}},"urlObject":{"path":["forms-list",""],"host":["https://portal.hbcompliance.co.uk/api"],"query":[],"variable":[]}},"response":[{"id":"cd0cb950-defb-4228-97c1-6d164a3ef43a","name":"Get Available Forms","originalRequest":{"method":"GET","header":[{"key":"API-Version","value":"1.0","type":"text"}],"url":"https://portal.hbcompliance.co.uk/api/forms-list/"},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\r\n    \"count\": 3,\r\n    \"forms\": [\r\n        {\r\n            \"form_id\": \"XX\",\r\n            \"form_type\": \"XX\",\r\n            \"form_name\": \"Annual Occupational Health\"\r\n        },\r\n        {\r\n            \"form_id\": \"XX\",\r\n            \"form_type\": \"XX\",\r\n            \"form_name\": \"Clinical Occupational Health\"\r\n        },\r\n        {\r\n            \"form_id\": \"XX\",\r\n            \"form_type\": \"XX\",\r\n            \"form_name\": \"Non-clinical Patient Facing Occupational Health\"\r\n        }\r\n    ]\r\n}"}],"_postman_id":"e33a190a-5b8d-4bac-9d51-76f24e5bdc78"},{"name":"Get Form Fields","id":"95c48f71-2dad-4f2c-be9d-7c89275b27ae","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"API-Version","value":"1.0","type":"text"}],"url":"https://portal.hbcompliance.co.uk/api/form-fields/XXXXXXXXXX","description":"<p>The endpoint provides a method to retrieve the list of forms fields for the perticular form_type provided by the authenticated client. The requests are HTTP GET (RFC2616) and uses api key as a resource identifier identifying the client uniquely at HB.</p>\n<p>If there’s no forms assigned to your account, the API should send an HTTP 204 No Content response.</p>\n<p>This endpoint can return a JSON response with the following data:</p>\n<ul>\n<li>count: the total number of fields in this form</li>\n<li>fields: a JSON body of fields which can contain the following data:<ul>\n<li>field_id: This is the field ID, indicating the unique ID of that field.</li>\n<li>field_type: This is the field type, such as text, date, radio, checkbox, etc.</li>\n<li>field_name: This indicates the unique field name which the user needs to pass as form_data with a POST request for creating a new submission.</li>\n<li>field_label: This indicates the label of this field.</li>\n<li>validations: This is provided for your reference; you can validate the data on your side before posting it to the HB API.</li>\n<li>maxlength: The maximum number of characters allowed for this field.</li>\n<li>options: If your field type is radio, checkbox, or selectbox, you can find the options here in serialized format.</li>\n<li>sort_order: The sort order of this field (in ascending order).</li>\n<li>required: A boolean value indicating if the field is required or not.</li>\n<li>field_group: The group name to which this field belongs.</li>\n<li>fieldset: The label of that group name.</li>\n</ul>\n</li>\n</ul>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"API-Key"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"b37733f7-e242-46c4-81d9-91643c7d4805","id":"b37733f7-e242-46c4-81d9-91643c7d4805","name":"Healthier Business Portal API V1","type":"collection"}},"urlObject":{"path":["form-fields","XXXXXXXXXX"],"host":["https://portal.hbcompliance.co.uk/api"],"query":[],"variable":[]}},"response":[{"id":"395c48a1-dc1f-402c-ad8a-c9e0fa56f85d","name":"Get Form Fields","originalRequest":{"method":"GET","header":[{"key":"API-Version","value":"1.0","type":"text"}],"url":"https://portal.hbcompliance.co.uk/api/form-fields/XXXXXXXXXX"},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"count\": 1,\n    \"fields\": [\n        {\n            \"field_id\": \"XX\",\n            \"field_type\": \"text\",\n            \"field_name\": \"first_name\",\n            \"field_lable\": \"First Name\",\n            \"validations\": \"alpha_text|max_length[40]\",\n            \"maxlength\": 120,\n            \"options\": \"\",\n            \"sort_order\": 1,\n            \"required\": 1,\n            \"field_group\": \"name\",\n            \"fieldset\": \"Personal information\"\n        }\n    ]\n}"}],"_postman_id":"95c48f71-2dad-4f2c-be9d-7c89275b27ae"},{"name":"Creating a new submission","id":"e23998e4-a395-4585-ba2d-25b37f6841ad","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"API-Version","value":"1.0","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"form_type","value":"","description":"<p>Form type selected from list of available form_types</p>\n","type":"text"},{"key":"title","value":"","description":"<p>Title</p>\n","type":"text"},{"key":"first_name","value":"","description":"<p>First name</p>\n","type":"text"},{"key":"last_name","value":"","description":"<p>Last name</p>\n","type":"text"},{"key":"home_tel","value":"","description":"<p>Home telephone</p>\n","type":"text"},{"key":"work_tel","value":"","description":"<p>Work telephone</p>\n","type":"text"},{"key":"mobile_tel","value":"","description":"<p>Mobile telephone</p>\n","type":"text"},{"key":"dob","value":"","description":"<p>Date of birth</p>\n","type":"text"},{"key":"home_address_line_1","value":"","description":"<p>Address line 1</p>\n","type":"text"},{"key":"home_address_line_2","value":"","description":"<p>Address line 2</p>\n","type":"text"},{"key":"home_address_line_3","value":"","description":"<p>Address line 3</p>\n","type":"text"},{"key":"home_address_town","value":"","description":"<p>Town</p>\n","type":"text"},{"key":"home_address_county","value":"","description":"<p>County</p>\n","type":"text"},{"key":"home_address_postcode","value":"","description":"<p>Postcode</p>\n","type":"text"},{"key":"home_address_country","value":"","description":"<p>Country</p>\n","type":"text"},{"key":"gp_address_line_1","value":"","description":"<p>GP address line 1</p>\n","type":"text"},{"key":"gp_address_line_2","value":"","description":"<p>GP address line 2</p>\n","type":"text"},{"key":"gp_address_line_3","value":"","description":"<p>GP address line 3</p>\n","type":"text"},{"key":"gp_address_town","value":"","description":"<p>GP Town</p>\n","type":"text"},{"key":"gp_address_county","value":"","description":"<p>GP County</p>\n","type":"text"},{"key":"gp_address_postcode","value":"","description":"<p>GP Postcode</p>\n","type":"text"},{"key":"gp_address_country","value":"","description":"<p>GP Country</p>\n","type":"text"},{"key":"curr_illness_2","value":"","description":"<p>Candidate has illness / impairment / disability that may affect its work</p>\n","type":"text"},{"key":"prev_illness","value":"","description":"<p>Candidate had illness / impairment / disability that affect its work</p>\n","type":"text"},{"key":"treatment","value":"","description":"<p>Candidate has or waits for treatment or investigation at present</p>\n","type":"text"},{"key":"adjustments","value":"","description":"<p>Candidate needs help to do the job</p>\n","type":"text"},{"key":"mrsa","value":"","description":"<p>Candidate has/had Meticillin Resistant Staphylococcus Aureus (MRSA)</p>\n","type":"text"},{"key":"mrsa_date","value":"","description":"<p>Date of MRSA</p>\n","type":"text"},{"key":"cdiff","value":"","description":"<p>Candidate has/had Clostridium Difficile (C-Diff)</p>\n","type":"text"},{"key":"cdiff_date","value":"","description":"<p>Date of C-Diff</p>\n","type":"text"},{"key":"additional_information_6","value":"","description":"<p>Additional information for Medical Screening</p>\n","type":"text"},{"key":"chicken_pox","value":"","description":"<p>Candidate has/had Chicken Pox</p>\n","type":"text"},{"key":"chicken_pox_date","value":"","description":"<p>Date of Chicken Pox</p>\n","type":"text"},{"key":"bbv","value":"","description":"<p>Candidate comes into contact with any BVV</p>\n","type":"text"},{"key":"lived_outside_country","value":"","description":"<p>Candidate lived outside the UK in the last year</p>\n","type":"text"},{"key":"countries","value":"","description":"<p>Countries visited</p>\n","type":"text"},{"key":"bcg","value":"","description":"<p>Candidate had BCG vaccination</p>\n","type":"text"},{"key":"bcg_date","value":"","description":"<p>Date of BCG</p>\n","type":"text"},{"key":"cough","value":"","description":"<p>Candidate has cough that lasted for 3 weeks</p>\n","type":"text"},{"key":"weight_loss","value":"","description":"<p>Candidate has unexplained weight loss</p>\n","type":"text"},{"key":"fever","value":"","description":"<p>Candidate has unexplained fever</p>\n","type":"text"},{"key":"tuberculosis_2","value":"","description":"<p>Candidate had tuberculosis or been in recent contact with</p>\n","type":"text"},{"key":"additional_information_3","value":"","description":"<p>Additional information for Tuberculosis</p>\n","type":"text"},{"key":"Epp","value":"","description":"<p>Candidate’s role involves Exposure Prone Procedures</p>\n","type":"text"},{"key":"other_information","value":"","description":"<p>Other information</p>\n","type":"text"},{"key":"declaration","value":"","description":"<p>Declaration</p>\n","type":"text"},{"key":"declaration_name","value":"","description":"<p>Name – Auto generate from candidate name fields</p>\n","type":"text"},{"key":"declaration_date","value":"","description":"<p>Date – Auto generated timestamp</p>\n","type":"text"},{"key":"job_role","value":"","description":"<p>Job Role</p>\n","type":"text"},{"key":"clearance_type","value":"","description":"<p>Clearance Type</p>\n","type":"text"}]},"url":"https://portal.hbcompliance.co.uk/api/submission/XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX","description":"<p>This endpoint creates a new submission for a candidate at HB and initiates the screening process. The URI format is: <a href>https://hb-host.tld/api/submissions/XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXX</a></p>\n<p>If the request cannot be processed due to misformatted or untranslatable data, the API should response with HTTP 400 Bad Request error</p>\n<p>If the candidate_ref is not valid then the API should response with HTTP 404 Not Found error.</p>\n<p>If the request cannot be processed due to data validation errors, the API should respond with HTTP 403 Forbidden and an appropriate error response.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"API-Key"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"b37733f7-e242-46c4-81d9-91643c7d4805","id":"b37733f7-e242-46c4-81d9-91643c7d4805","name":"Healthier Business Portal API V1","type":"collection"}},"urlObject":{"path":["submission","XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX"],"host":["https://portal.hbcompliance.co.uk/api"],"query":[],"variable":[]}},"response":[{"id":"a80ddd44-3aea-427f-8cd9-fb5a34a242b9","name":"Creating a new submission","originalRequest":{"method":"POST","header":[{"key":"API-Version","value":"1.0","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"form_type","value":"","description":"Form type selected from list of available form_types","type":"text"},{"key":"title","value":"","description":"Title","type":"text"},{"key":"first_name","value":"","description":"First name","type":"text"},{"key":"last_name","value":"","description":"Last name","type":"text"},{"key":"home_tel","value":"","description":"Home telephone","type":"text"},{"key":"work_tel","value":"","description":"Work telephone","type":"text"},{"key":"mobile_tel","value":"","description":"Mobile telephone","type":"text"},{"key":"dob","value":"","description":"Date of birth","type":"text"},{"key":"home_address_line_1","value":"","description":"Address line 1","type":"text"},{"key":"home_address_line_2","value":"","description":"Address line 2","type":"text"},{"key":"home_address_line_3","value":"","description":"Address line 3","type":"text"},{"key":"home_address_town","value":"","description":"Town","type":"text"},{"key":"home_address_county","value":"","description":"County","type":"text"},{"key":"home_address_postcode","value":"","description":"Postcode","type":"text"},{"key":"home_address_country","value":"","description":"Country","type":"text"},{"key":"gp_address_line_1","value":"","description":"GP address line 1","type":"text"},{"key":"gp_address_line_2","value":"","description":"GP address line 2","type":"text"},{"key":"gp_address_line_3","value":"","description":"GP address line 3","type":"text"},{"key":"gp_address_town","value":"","description":"GP Town","type":"text"},{"key":"gp_address_county","value":"","description":"GP County","type":"text"},{"key":"gp_address_postcode","value":"","description":"GP Postcode","type":"text"},{"key":"gp_address_country","value":"","description":"GP Country","type":"text"},{"key":"curr_illness_2","value":"","description":"Candidate has illness / impairment / disability that may affect its work","type":"text"},{"key":"prev_illness","value":"","description":"Candidate had illness / impairment / disability that affect its work","type":"text"},{"key":"treatment","value":"","description":"Candidate has or waits for treatment or investigation at present","type":"text"},{"key":"adjustments","value":"","description":"Candidate needs help to do the job","type":"text"},{"key":"mrsa","value":"","description":"Candidate has/had Meticillin Resistant Staphylococcus Aureus (MRSA)","type":"text"},{"key":"mrsa_date","value":"","description":"Date of MRSA","type":"text"},{"key":"cdiff","value":"","description":"Candidate has/had Clostridium Difficile (C-Diff)","type":"text"},{"key":"cdiff_date","value":"","description":"Date of C-Diff","type":"text"},{"key":"additional_information_6","value":"","description":"Additional information for Medical Screening","type":"text"},{"key":"chicken_pox","value":"","description":"Candidate has/had Chicken Pox","type":"text"},{"key":"chicken_pox_date","value":"","description":"Date of Chicken Pox","type":"text"},{"key":"bbv","value":"","description":"Candidate comes into contact with any BVV","type":"text"},{"key":"lived_outside_country","value":"","description":"Candidate lived outside the UK in the last year","type":"text"},{"key":"countries","value":"","description":"Countries visited","type":"text"},{"key":"bcg","value":"","description":"Candidate had BCG vaccination","type":"text"},{"key":"bcg_date","value":"","description":"Date of BCG","type":"text"},{"key":"cough","value":"","description":"Candidate has cough that lasted for 3 weeks","type":"text"},{"key":"weight_loss","value":"","description":"Candidate has unexplained weight loss","type":"text"},{"key":"fever","value":"","description":"Candidate has unexplained fever","type":"text"},{"key":"tuberculosis_2","value":"","description":"Candidate had tuberculosis or been in recent contact with","type":"text"},{"key":"additional_information_3","value":"","description":"Additional information for Tuberculosis","type":"text"},{"key":"Epp","value":"","description":"Candidate’s role involves Exposure Prone Procedures","type":"text"},{"key":"other_information","value":"","description":"Other information","type":"text"},{"key":"declaration","value":"","description":"Declaration","type":"text"},{"key":"declaration_name","value":"","description":"Name – Auto generate from candidate name fields","type":"text"},{"key":"declaration_date","value":"","description":"Date – Auto generated timestamp","type":"text"},{"key":"job_role","value":"","description":"Job Role","type":"text"},{"key":"clearance_type","value":"","description":"Clearance Type","type":"text"}]},"url":"https://portal.hbcompliance.co.uk/api/submission/XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\r\n    \"response\": {\r\n        \"submission_ref\":\"XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\"\r\n    }\r\n}"}],"_postman_id":"e23998e4-a395-4585-ba2d-25b37f6841ad"},{"name":"Modifying the details of an existing submission (Upload Documents)","id":"666a8cdf-a6a3-4233-b41d-ddbbc8a3008d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"API-Version","value":"1.0","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"file","value":"","type":"text"}]},"url":"https://portal.hbcompliance.co.uk/api/submissions/XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX","description":"<p>This end point allows additional information to be added to a previously submitted submission. This is a partial update call, which does not update every detail every\ntime, only the modified ones. It will usually be in response to a request for additional\ninformation during the screening process.</p>\n<p>The request is HTTP PATCH (RFC 5789), multipart/form-data (RFC7578) and holds the updated details of the submission and/or the files that serve as Proof of Immunity</p>\n<p>If the operation was successful, the response message is HTTP 200 OK. If the request cannot be processed due to misformatted or untranslatable data, the API should response with HTTP 400 Bad Request error.</p>\n<p>If the submission_ref is not valid then the API should response with HTTP 404 Not Found error.\nIf the request cannot be processed due to data validation errors, the API should respond with HTTP 403 Forbidden and an appropriate error response. </p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"API-Key"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"b37733f7-e242-46c4-81d9-91643c7d4805","id":"b37733f7-e242-46c4-81d9-91643c7d4805","name":"Healthier Business Portal API V1","type":"collection"}},"urlObject":{"path":["submissions","XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX"],"host":["https://portal.hbcompliance.co.uk/api"],"query":[],"variable":[]}},"response":[{"id":"33918fc3-be2e-4b0b-b3bd-6137abc963a4","name":"Modifying the details of an existing submission","originalRequest":{"method":"POST","header":[{"key":"API-Version","value":"1.0","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"file","value":"","type":"text"}]},"url":"https://portal.hbcompliance.co.uk/api/submissions/XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"[\r\n    \"\"\r\n]"}],"_postman_id":"666a8cdf-a6a3-4233-b41d-ddbbc8a3008d"},{"name":"Make final form submission (after uploading documents)","id":"4d6508b2-a96a-43a0-b57d-5e359c5ad08a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"API-Version","value":"1.0","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"file","value":"","type":"text"}]},"url":"https://portal.hbcompliance.co.uk/api/submit-form/XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX","description":"<p>This end point allows to submit the form after uploading required documents.</p>\n<p>The request is HTTP POST (RFC 2616), multipart/form-data (RFC7578) following with the submission reference.</p>\n<p>If the operation was successful, the response message is HTTP 200 OK. If the request cannot be processed due to misformatted or untranslatable data, the API should response with HTTP 400 Bad Request error.</p>\n<p>If the submission_ref is not valid then the API should response with HTTP 404 Not Found error.<br />If the request cannot be processed due to data validation errors, the API should respond with HTTP 403 Forbidden and an appropriate error response.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"API-Key"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"b37733f7-e242-46c4-81d9-91643c7d4805","id":"b37733f7-e242-46c4-81d9-91643c7d4805","name":"Healthier Business Portal API V1","type":"collection"}},"urlObject":{"path":["submit-form","XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX"],"host":["https://portal.hbcompliance.co.uk/api"],"query":[],"variable":[]}},"response":[{"id":"c6a18fe9-6b3a-44c8-bc7f-0d1b62e33535","name":"Make final form submission (after uploading documents)","originalRequest":{"method":"POST","header":[{"key":"API-Version","value":"1.0","type":"text"}],"url":"https://portal.hbcompliance.co.uk/api/submit-form/XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"[\r\n    \"\"\r\n]"}],"_postman_id":"4d6508b2-a96a-43a0-b57d-5e359c5ad08a"},{"name":"Get submission list","id":"5a405c28-a034-4669-99d6-a2057bd993d8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"API-Version","value":"1.0","type":"text"}],"url":"https://portal.hbcompliance.co.uk/api/submissions","description":"<p>The endpoint provides a method to retrieve a list of candidate form submissions in the last 90 days.<br />If the request is successful, the response message is HTTP 200 OK, If there are no submissions to report the API should send an HTTP 204 No Content response.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"API-Key"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"b37733f7-e242-46c4-81d9-91643c7d4805","id":"b37733f7-e242-46c4-81d9-91643c7d4805","name":"Healthier Business Portal API V1","type":"collection"}},"urlObject":{"path":["submissions"],"host":["https://portal.hbcompliance.co.uk/api"],"query":[{"disabled":true,"key":"API-Version","value":"1.0"}],"variable":[]}},"response":[{"id":"0a647e18-1186-49eb-98b4-136893a70f16","name":"Get submission list","originalRequest":{"method":"GET","header":[{"key":"API-Version","value":"1.0","type":"text"}],"url":{"raw":"https://portal.hbcompliance.co.uk/api/submissions","host":["https://portal.hbcompliance.co.uk/api"],"path":["submissions"],"query":[{"key":"API-Version","value":"1.0","type":"text","disabled":true}]}},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\r\n    \"submissions\": [\r\n        {\r\n            \"candidate_ref\":\"XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\",\r\n            \"submission_ref\":\"XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\",\r\n            \"date_submitted\":\"ISO-8601_date\",\r\n            \"form_type\":\"form_type\"\r\n        }\r\n    ]\r\n}"}],"_postman_id":"5a405c28-a034-4669-99d6-a2057bd993d8"},{"name":"Retrieve submission result details","id":"13db3a5b-deba-4129-a5c8-3f5e74cb36ab","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"API-Version","value":"1.0","type":"text"}],"url":"https://portal.hbcompliance.co.uk/api/submission-result/XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX","description":"<p>This endpoint retrieves the details of the finished screening operation.\nIf the request is successful, the response message is HTTP 200 OK, application/json, holding a JSON string in the following format:\nwhere,</p>\n<ul>\n<li><p>status is a string, holding one of the following values to describe the status of the result:</p>\n</li>\n<li><p>“pass” – certificate issued;</p>\n</li>\n<li><p>“pass with restrictions” – certificate issued, though candidate restricted from working in certain roles/areas;</p>\n</li>\n<li><p>“pass with recommendations” – certificate issued with recommended risk assessment/workstation etc.;</p>\n</li>\n<li><p>“pass with advisory letters” – certificate issued with Hep B/TB advisory letters, etc.;</p>\n</li>\n<li><p>“temporary clearance” – certificate issued, though cleared for a short time only;</p>\n</li>\n<li><p>“fail” – candidate did not provide evidence of sufficient immunity;</p>\n</li>\n<li><p>“other” – submission failed; HB screening process returns with optional information.</p>\n</li>\n<li><p>information is a string, that holds additional information regarding the result of the submission. Typically, HB uses this to provide explanation or further details about the outcome of the screening process, like if the candidate is not contactable, or candidate requires further blood tests, etc.</p>\n</li>\n<li><p>documents holds details of the status of each of the documents that are required in relation to the current submission. If documents are not required for the submission this tag is not populated:</p>\n</li>\n<li><p>document_id is the document reference,</p>\n</li>\n<li><p>document_status is the status of the document with values of either accepted or rejected</p>\n</li>\n<li><p>document_information is additional information relating to the document in the case of status rejected indicating the reason the reason for rejection.</p>\n</li>\n<li><p>result is holding details of the certificate (if certificate is available, otherwise this\ntag is not populated):</p>\n</li>\n<li><p>clearance_level is the level of clearance of candidate,</p>\n</li>\n<li><p>certificate_expire is the expiration date of the certificate.\nIf the screening process finished successfully the response is HTTP 200 OK. If the submission_ref is not valid then the API should respond with HTTP 404 Not Found error. If the screening process has not finished yet the response should be HTTP 202 Accepted without any other data.</p>\n</li>\n</ul>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"API-Key"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"b37733f7-e242-46c4-81d9-91643c7d4805","id":"b37733f7-e242-46c4-81d9-91643c7d4805","name":"Healthier Business Portal API V1","type":"collection"}},"urlObject":{"path":["submission-result","XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX"],"host":["https://portal.hbcompliance.co.uk/api"],"query":[{"disabled":true,"key":"API-Version","value":"1.0"}],"variable":[]}},"response":[{"id":"8e789506-e81e-4c48-98ef-db07a07945e6","name":"Retrieve submission result details","originalRequest":{"method":"GET","header":[{"key":"API-Version","value":"1.0","type":"text"}],"url":{"raw":"https://portal.hbcompliance.co.uk/api/submission-result/XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX","host":["https://portal.hbcompliance.co.uk/api"],"path":["submission-result","XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX"],"query":[{"key":"API-Version","value":"1.0","type":"text","disabled":true}]}},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\r\n    \"response\": {\r\n        \"candidate_ref\":\"XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\",\r\n        \"response_type\":\"submission\",\r\n        \"submission_ref\":\"XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\",\r\n        \"status\": \"status\",\r\n        \"information\": \"other_information\",\r\n        \"documents\": {\r\n            \"document\": [\r\n                {\r\n                    \"document_type\":\"doc_type\",\r\n                    \"document_status\":\"accepted|rejected\",\r\n                    \"information\":\"other_information\"\r\n                }\r\n            ]\r\n        },\r\n        \"result\": {\r\n            \"clearance_level\": \"clearance_level\",\r\n            \"certificate_expire\": \"ISO-8601_date\"\r\n        }\r\n    }\r\n}"}],"_postman_id":"13db3a5b-deba-4129-a5c8-3f5e74cb36ab"},{"name":"Retrieve the submission result documents for the employer","id":"93a6480d-bee5-4a49-8bdc-04242eff6d90","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/pdf","type":"text"},{"key":"API-Version","value":"1.0","type":"text"}],"url":"https://portal.hbcompliance.co.uk/api/submission-result/XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX/document/employer","description":"<p>This endpoint retrieves the result document in PDF format that should be forwarded to the employer.</p>\n<p>If the screening process finished successfully and the document is available, the response is an HTTP 200 OK, application/pdf or application/octet-stream and it wraps a binary data stream for the file content.<br />If the submission_ref is not valid then the API should response with HTTP 404 Not Found error.<br />If the screening process has not finished yet the response should be HTTP 202 Accepted without any other data.<br />If the candidate screening process did not result a downloadable certification, most likely because further information is required before the process can be completed, the API should send an HTTP 204 No Content response.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"API-Key"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"b37733f7-e242-46c4-81d9-91643c7d4805","id":"b37733f7-e242-46c4-81d9-91643c7d4805","name":"Healthier Business Portal API V1","type":"collection"}},"urlObject":{"path":["submission-result","XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX","document","employer"],"host":["https://portal.hbcompliance.co.uk/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"93a6480d-bee5-4a49-8bdc-04242eff6d90"}],"id":"77899518-7a77-4a36-ac27-f89e79f4df18","_postman_id":"77899518-7a77-4a36-ac27-f89e79f4df18","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"API-Key"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"b37733f7-e242-46c4-81d9-91643c7d4805","id":"b37733f7-e242-46c4-81d9-91643c7d4805","name":"Healthier Business Portal API V1","type":"collection"}}},{"name":"Certificates Requests","item":[{"name":"Get Training Certificate","id":"a8cbea56-5e20-4a9c-9dca-6c6022a16426","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/pdf","type":"text"}],"url":"https://portal.hbcompliance.co.uk/api/training-results/XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX/certificate","description":"<p>Assigned courses that have not expired [default]</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"API-Key"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"b37733f7-e242-46c4-81d9-91643c7d4805","id":"b37733f7-e242-46c4-81d9-91643c7d4805","name":"Healthier Business Portal API V1","type":"collection"}},"urlObject":{"path":["training-results","XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX","certificate"],"host":["https://portal.hbcompliance.co.uk/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"a8cbea56-5e20-4a9c-9dca-6c6022a16426"},{"name":"Get Training Certificate - including expired","id":"48385e22-b1a6-4121-a017-1e1db757186d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/pdf","type":"text"}],"url":"https://portal.hbcompliance.co.uk/api/training-results/XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX/certificate/incl_expired","description":"<p>Assigned courses including expired.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"API-Key"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"b37733f7-e242-46c4-81d9-91643c7d4805","id":"b37733f7-e242-46c4-81d9-91643c7d4805","name":"Healthier Business Portal API V1","type":"collection"}},"urlObject":{"path":["training-results","XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX","certificate","incl_expired"],"host":["https://portal.hbcompliance.co.uk/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"48385e22-b1a6-4121-a017-1e1db757186d"},{"name":"Get Training Certificate - including non-assigned courses, but excluding expired","id":"8bdeba5f-38c9-469d-9724-5ab333d7d81c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/pdf","type":"text"}],"url":"https://portal.hbcompliance.co.uk/api/training-results/XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX/certificate/all_excl_expired","description":"<p>All courses including non-assigned courses, but excluding expired results.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"API-Key"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"b37733f7-e242-46c4-81d9-91643c7d4805","id":"b37733f7-e242-46c4-81d9-91643c7d4805","name":"Healthier Business Portal API V1","type":"collection"}},"urlObject":{"path":["training-results","XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX","certificate","all_excl_expired"],"host":["https://portal.hbcompliance.co.uk/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"8bdeba5f-38c9-469d-9724-5ab333d7d81c"},{"name":"Get Training Certificate - All available courses","id":"ed293ff1-3cdf-4388-98f4-b8de3acfa420","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/pdf","type":"text"}],"url":"https://portal.hbcompliance.co.uk/api/training-results/XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX/certificate/all","description":"<p>All available results regardless of whether they’re assigned or expired.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"API-Key"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"b37733f7-e242-46c4-81d9-91643c7d4805","id":"b37733f7-e242-46c4-81d9-91643c7d4805","name":"Healthier Business Portal API V1","type":"collection"}},"urlObject":{"path":["training-results","XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX","certificate","all"],"host":["https://portal.hbcompliance.co.uk/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"ed293ff1-3cdf-4388-98f4-b8de3acfa420"},{"name":"Get Training Certificate - Specific Course","id":"76bb5186-3eca-4964-9e4f-44ed104abfaf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/pdf","type":"text"}],"url":"https://portal.hbcompliance.co.uk/api/training-results/XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX/certificate/course/{{course_id}}","description":"<p>The endpoint provides a method to retrieve a PDF training certificate for a candidate for an individual course.</p>\n<p>The URI format is: <a href=\"https://hb-host.tld/api/training-results/%7B%7Bcandidate_ref%7D%7D/certificate/course/%7B%7Bcourse_id%7D%7D\">https://hb-host.tld/api/training-results/XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX/certificate/course/{{course_id}}</a></p>\n<p>The requests are HTTP GET (RFC2616) and use candidate_ref as resource identifier, which is a UUID string, identifying the candidate uniquely at HB.<br />If the candidate_ref is not valid then the API should response with HTTP 404 Not Found error.<br />If there is no certificate available for the course, the API should send an HTTP 204 No Content response.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"API-Key"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"b37733f7-e242-46c4-81d9-91643c7d4805","id":"b37733f7-e242-46c4-81d9-91643c7d4805","name":"Healthier Business Portal API V1","type":"collection"}},"urlObject":{"path":["training-results","XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX","certificate","course","{{course_id}}"],"host":["https://portal.hbcompliance.co.uk/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"76bb5186-3eca-4964-9e4f-44ed104abfaf"}],"id":"fa9cb708-90db-4c72-bf58-af9e741cdab0","description":"<p>The default certificate incudes entries for all assigned courses that have not expired.<br />If the candidate has completed at least one course that meets the selection criteria, the response is an HTTP 200 OK, application/pdf or application/octet-stream and it wraps a binary data stream for the file content.<br />If the candidate_ref is not valid then the API should response with HTTP 404 Not Found error.<br />If there are no results that meet the selected criteria for the certificate and as a result there’s no data to include on the certificate, the API should send an HTTP 204 No Content response.</p>\n","_postman_id":"fa9cb708-90db-4c72-bf58-af9e741cdab0","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"API-Key"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"b37733f7-e242-46c4-81d9-91643c7d4805","id":"b37733f7-e242-46c4-81d9-91643c7d4805","name":"Healthier Business Portal API V1","type":"collection"}}},{"name":"Candidate FTW & Interview","item":[{"name":"Get Candidate FTW","id":"486f35a0-5306-42e9-ac07-97417852271a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"API-Version","value":"1.0","type":"text"}],"url":"https://portal.hbcompliance.co.uk/api/candidate-ftw/XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX","description":"<p>This API endpoint returns <strong>Fit to Work (FTW) details</strong> for a candidate, including:</p>\n<ul>\n<li><p><strong>Candidate ID &amp; Reference</strong>: Unique identifiers for the candidate.</p>\n</li>\n<li><p><strong>Client ID</strong>: Identifies the associated client.</p>\n</li>\n<li><p><strong>FTW Document URL</strong>: Link to the Fit to Work document.</p>\n</li>\n<li><p><strong>FTW Upload Time</strong>: Timestamp of when the document was uploaded.</p>\n</li>\n</ul>\n<p>It allows authorized users to retrieve FTW records for compliance and verification purposes.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"API-Key"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"b37733f7-e242-46c4-81d9-91643c7d4805","id":"b37733f7-e242-46c4-81d9-91643c7d4805","name":"Healthier Business Portal API V1","type":"collection"}},"urlObject":{"path":["candidate-ftw","XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX"],"host":["https://portal.hbcompliance.co.uk/api"],"query":[{"disabled":true,"key":"API-Version","value":"1.0"}],"variable":[]}},"response":[{"id":"c498e929-51b0-4998-b08c-c07da3c938d9","name":"Retrive candidate FTW details","originalRequest":{"method":"GET","header":[{"key":"API-Version","value":"1.0","type":"text"}],"url":{"raw":"https://portal.hbcompliance.co.uk/api/candidate-ftw/XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX","host":["https://portal.hbcompliance.co.uk/api"],"path":["candidate-ftw","XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX"],"query":[{"key":"API-Version","value":"1.0","type":"text","disabled":true}]}},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"[{\r\n    \"ftw\": {\r\n        \"candidate_id\": \"XXXXXXX\",\r\n        \"candidate_ref\": \"XXXXXX-XXXXXX-XXXXXX-XXXXXX-XXXXXX\",\r\n        \"client_id\": \"XXXXX\",\r\n        \"ftw_doc\": \"ftw-doc-url\",\r\n        \"ftw_upload_time\": \"2025-01-29 12:23:07\"\r\n    }\r\n}]"}],"_postman_id":"486f35a0-5306-42e9-ac07-97417852271a"},{"name":"Get Candidate Interview Outcome","id":"f8a21eba-6d23-40bf-b1de-0c9b4bf90224","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"API-Version","value":"1.0","type":"text"}],"url":"https://portal.hbcompliance.co.uk/api/candidate-interview/XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX","description":"<p>This API endpoint provides <strong>interview outcome details</strong> for a candidate, including:</p>\n<ul>\n<li><p><strong>Candidate ID &amp; Reference</strong>: Unique identifiers for the candidate.</p>\n</li>\n<li><p><strong>Client ID</strong>: Identifies the associated client.</p>\n</li>\n<li><p><strong>Interview Outcome</strong>: Indicates whether the candidate <strong>Attended</strong> or was a <strong>No Show</strong>.</p>\n</li>\n<li><p><strong>Interview Document URL</strong>: Link to the interview outcome document.</p>\n</li>\n<li><p><strong>Interview Upload Time</strong>: Timestamp of when the outcome was recorded.</p>\n</li>\n</ul>\n<p>This API enables authorized users to track candidate interview attendance and access relevant documentation for compliance and record-keeping.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"API-Key"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"b37733f7-e242-46c4-81d9-91643c7d4805","id":"b37733f7-e242-46c4-81d9-91643c7d4805","name":"Healthier Business Portal API V1","type":"collection"}},"urlObject":{"path":["candidate-interview","XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX"],"host":["https://portal.hbcompliance.co.uk/api"],"query":[{"disabled":true,"key":"API-Version","value":"1.0"}],"variable":[]}},"response":[{"id":"436ecb01-7fd2-4f85-b570-9bb356d56746","name":"Retrive candidate interview outcome details","originalRequest":{"method":"GET","header":[{"key":"API-Version","value":"1.0","type":"text"}],"url":{"raw":"https://portal.hbcompliance.co.uk/api/candidate-interview/XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX","host":["https://portal.hbcompliance.co.uk/api"],"path":["candidate-interview","XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX"],"query":[{"key":"API-Version","value":"1.0","type":"text","disabled":true}]}},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"[{\r\n    \"interview\": {\r\n        \"candidate_id\": \"XXXXXXX\",\r\n        \"candidate_ref\": \"XXXXXX-XXXXXX-XXXXXX-XXXXXX-XXXXXX\",\r\n        \"client_id\": \"XXXXX\",\r\n        \"interview_outcome\": \"Attended\",\r\n        \"interview_doc\": \"interview-outcome-doc-url\",\r\n        \"interview_upload_time\": \"2025-01-29 13:03:31\"\r\n    }\r\n}]"}],"_postman_id":"f8a21eba-6d23-40bf-b1de-0c9b4bf90224"}],"id":"558243ec-e879-4103-8119-bf8eee2c6e58","description":"<p>Our <strong>Candidate FTW (Fit to Work) and Interview APIs</strong> allow authorized users to retrieve critical candidate assessment details, including <strong>FTW document URLs, interview outcomes, and related documents</strong>. These APIs are designed to provide seamless access to essential hiring and compliance information.</p>\n<h3 id=\"key-features\"><strong>Key Features:</strong></h3>\n<ul>\n<li><p><strong>FTW API</strong>: Retrieve the Fit to Work document URL for a specific candidate.</p>\n</li>\n<li><p><strong>Interview API</strong>: Access interview outcomes along with the related document, ensuring a smooth hiring process.</p>\n</li>\n</ul>\n<h3 id=\"limited-availability\"><strong>Limited Availability:</strong></h3>\n<p>These APIs are <strong>exclusively available upon request</strong> and must be <strong>explicitly enabled</strong> for your account. To activate access, please contact your designated <strong>account manager</strong>.</p>\n<p>For further details or activation, reach out to our support team or your account manager.</p>\n","_postman_id":"558243ec-e879-4103-8119-bf8eee2c6e58","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"API-Key"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"b37733f7-e242-46c4-81d9-91643c7d4805","id":"b37733f7-e242-46c4-81d9-91643c7d4805","name":"Healthier Business Portal API V1","type":"collection"}}},{"name":"Webhooks","item":[{"name":"Training Completion","id":"8a637c60-feb2-4b26-9dba-1d57934af589","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"description":"<p>Training Completion Webhook call will be sent each time when any of your candidates completes any assigned module from their assigned trainings.<br />This webhook will send a POST/PATCH request (whichever available with OPTIONS) with api-key &amp; api-version headers and following raw json data.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"training\": {\n        \"candidate_id\": \"XXXXX\",\n        \"candidate_ref\": \"XXXXX-XXXXXX-XXXXXX-XXXXXX\",\n        \"date_completed\": \"2013-11-22 14:45:48\",\n        \"renewal_date\": \"2014-11-22 14:45:48\",\n        \"courses_assigned_count\": \"50\",\n        \"courses_completed_count\": \"2\",\n        \"courses_pending_count\": \"1\",\n        \"courses_expired_count\": \"27\",\n        \"training_status\": \"incomplete\"\n    }\n}\n\n</code></pre>\n<p>Client can chain the other HB Api calls with this webhook requests.<br />For more example on Training Requests please refer <a href=\"https://documenter.getpostman.com/view/24438176/2s93m1ZQ5H#055ebc1e-e5c9-4ea6-8db8-f48a9c17e7d6\">Training Requests Section</a>.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"API-Key"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"b37733f7-e242-46c4-81d9-91643c7d4805","id":"b37733f7-e242-46c4-81d9-91643c7d4805","name":"Healthier Business Portal API V1","type":"collection"}},"urlObject":{"query":[],"variable":[]},"url":""},"response":[{"id":"2fa4fd9a-b2b5-4b15-9263-b1311de82442","name":"Training Completion","originalRequest":{"method":"GET","header":[{"key":"api-key","value":"XXXXXXXXXXXXXX","type":"text"},{"key":"api-version","value":"1.0","type":"text"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"training\": {\r\n        \"candidate_id\": \"XXXXX\",\r\n        \"candidate_ref\": \"XXXXX-XXXXXX-XXXXXX-XXXXXX\",\r\n        \"date_completed\": \"2013-11-22 14:45:48\",\r\n        \"renewal_date\": \"2014-11-22 14:45:48\",\r\n        \"courses_assigned_count\": \"50\",\r\n        \"courses_completed_count\": \"2\",\r\n        \"courses_pending_count\": \"1\",\r\n        \"courses_expired_count\": \"27\",\r\n        \"training_status\": \"incomplete\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"https://webhook.site/a3bbb9c0-e050-43af-b6ff-6acf66bc9d17"},"status":"Accepted","code":202,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null}],"_postman_id":"8a637c60-feb2-4b26-9dba-1d57934af589"},{"name":"Course Completion","id":"f6c810ce-ba7e-4e1c-9bbc-531255f10a6e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"description":"<p>Training Completion Webhook call will be sent each time when any of your candidates completes any assigned module from their assigned trainings.<br />This webhook will send a POST/PATCH request (whichever available with OPTIONS) with api-key &amp; api-version headers and following raw json data.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"course\": {\n        \"candidate_ref\": \"a35691f0-12a0-4f3d-9b24-da8c5492a258\",\n        \"candidate_id\": \"XXXXXX\",\n        \"course_id\": \"7\",\n        \"course_name\": \"Health, Safety and Welfare\",\n        \"date_assigned\": \"2021-11-18 09:57:43\",\n        \"date_completed\": \"2021-12-01 01:42:59\",\n        \"renewal_date\": \"2022-12-01 01:42:59\",\n        \"course_status\": \"pass\",\n        \"grade\": 0.8\n    }\n}\n\n</code></pre>\n<p>Client can chain the other HB Api calls with this webhook requests.<br />For more example on Training Requests please refer <a href=\"https://documenter.getpostman.com/view/24438176/2s93m1ZQ5H#055ebc1e-e5c9-4ea6-8db8-f48a9c17e7d6\">Training Requests Section</a>.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"API-Key"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"b37733f7-e242-46c4-81d9-91643c7d4805","id":"b37733f7-e242-46c4-81d9-91643c7d4805","name":"Healthier Business Portal API V1","type":"collection"}},"urlObject":{"query":[],"variable":[]},"url":""},"response":[{"id":"8bdc00ce-4cce-438c-a7f5-e49709436ab3","name":"Course Completion","originalRequest":{"method":"GET","header":[{"key":"api-key","value":"XXXXXXXXXXXXXX","type":"text"},{"key":"api-version","value":"1.0","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"course\": {\r\n        \"candidate_ref\": \"a35691f0-12a0-4f3d-9b24-da8c5492a258\",\r\n        \"candidate_id\": \"XXXXXX\",\r\n        \"course_id\": \"7\",\r\n        \"course_name\": \"Health, Safety and Welfare\",\r\n        \"date_assigned\": \"2021-11-18 09:57:43\",\r\n        \"date_completed\": \"2021-12-01 01:42:59\",\r\n        \"renewal_date\": \"2022-12-01 01:42:59\",\r\n        \"course_status\": \"pass\",\r\n        \"grade\": 0.8\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"https://webhook.site/a3bbb9c0-e050-43af-b6ff-6acf66bc9d17"},"status":"Accepted","code":202,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null}],"_postman_id":"f6c810ce-ba7e-4e1c-9bbc-531255f10a6e"},{"name":"Form Completion","id":"8138d907-2ab6-44e5-8039-fc8c1c5b7a9e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"description":"<p>Form Completion Webhook call will be sent each time when any of your candidates completes &amp; submit any assigned form.<br />This webhook will send a POST/PATCH request (whichever available with OPTIONS) with api-key &amp; api-version headers and following raw json data.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"form\": {\n    \"candidate_ref\": \"XXXX-XXXX-XXXX-XXXX\",\n    \"candidate_id\": \"XXXXXX\",\n    \"submission_id\": \"00000000\",\n    \"submission_ref\": \"XXXXXXXXXXX\",\n    \"form_type\": \"form_type\"\n  }\n}\n\n</code></pre>\n<p>Client can chain the other HB Api calls with this webhook requests.<br />For more example on OH Requests please refer <a href=\"https://documenter.getpostman.com/view/24438176/2s93m1ZQ5H#77899518-7a77-4a36-ac27-f89e79f4df18\">OH Requests Section</a>.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"API-Key"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"b37733f7-e242-46c4-81d9-91643c7d4805","id":"b37733f7-e242-46c4-81d9-91643c7d4805","name":"Healthier Business Portal API V1","type":"collection"}},"urlObject":{"query":[],"variable":[]},"url":""},"response":[{"id":"a4def233-1910-42bb-ad99-1c20720627f5","name":"Form Completion","originalRequest":{"method":"GET","header":[{"key":"api-key","value":"XXXXXXXXXXXXXX","type":"text"},{"key":"api-version","value":"1.0","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"form\": {\r\n    \"candidate_ref\": \"XXXX-XXXX-XXXX-XXXX\",\r\n    \"candidate_id\": \"XXXXXX\",\r\n    \"submission_id\": \"00000000\",\r\n    \"submission_ref\": \"XXXXXXXXXXX\",\r\n    \"form_type\": \"form_type\"\r\n  }\r\n}","options":{"raw":{"language":"json"}}},"url":"https://webhook.site/a3bbb9c0-e050-43af-b6ff-6acf66bc9d17"},"status":"Accepted","code":202,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null}],"_postman_id":"8138d907-2ab6-44e5-8039-fc8c1c5b7a9e"},{"name":"FTW Uploaded (Limited Access)","id":"51be3dc1-98b5-4149-8f7b-be941d4cd81d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"description":"<p>An \"FTW Uploaded\" webhook call will be triggered each time an FTW document is uploaded for a specific Occupational Health submission.<br />This webhook will send a POST/PATCH request (whichever available with OPTIONS) with api-key &amp; api-version headers and following raw json data.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"form\": {\n    \"candidate_ref\": \"XXXX-XXXX-XXXX-XXXX\",\n    \"candidate_id\": \"XXXXXX\",\n    \"submission_id\": \"00000000\",\n    \"submission_ref\": \"XXXXXXXXXXX\",\n    \"form_type\": \"form_type\"\n  }\n}\n\n</code></pre>\n<p>Client can chain the other HB Api calls with this webhook requests.<br />For more example on OH Requests please refer <a href=\"https://documenter.getpostman.com/view/24438176/2s93m1ZQ5H#77899518-7a77-4a36-ac27-f89e79f4df18\">OH Requests Section</a>.</p>\n<p>*Note: This webhook call has limited availability and must be enabled by contacting your designated account manager.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"API-Key"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"b37733f7-e242-46c4-81d9-91643c7d4805","id":"b37733f7-e242-46c4-81d9-91643c7d4805","name":"Healthier Business Portal API V1","type":"collection"}},"urlObject":{"query":[],"variable":[]},"url":""},"response":[{"id":"bd684790-f777-4152-b9b5-902f25896b34","name":"FTW Uploaded","originalRequest":{"method":"GET","header":[{"key":"api-key","value":"XXXXXXXXXXXXXX","type":"text"},{"key":"api-version","value":"1.0","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"ftw\": {\r\n    \"candidate_ref\": \"XXXX-XXXX-XXXX-XXXX\",\r\n    \"candidate_id\": \"XXXXXX\",\r\n    \"submission_id\": \"00000000\",\r\n    \"submission_ref\": \"XXXXXXXXXXX\"\r\n  }\r\n}","options":{"raw":{"language":"json"}}},"url":"https://webhook.site/a3bbb9c0-e050-43af-b6ff-6acf66bc9d17"},"status":"Accepted","code":202,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null}],"_postman_id":"51be3dc1-98b5-4149-8f7b-be941d4cd81d"},{"name":"FTW Uploaded (per candidate) (Limited Access)","id":"5a4126dc-2571-4ef4-9796-c6fcf03b2930","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"description":"<p>An \"FTW Uploaded per candidate\" webhook call will be triggered each time an FTW document is uploaded for a specific Candidate.<br />This webhook will send a POST/PATCH request (whichever available with OPTIONS) with api-key &amp; api-version headers and following raw json data.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"ftw\": {\n      \"candidate_id\": \"XXXXXXX\",\n      \"candidate_ref\": \"XXXXXX-XXXXXX-XXXXXX-XXXXXX-XXXXXX\",\n      \"client_id\": \"XXXXX\",\n      \"ftw_doc\": \"ftw-doc-url\",\n      \"ftw_upload_time\": \"2025-01-29 12:23:07\"\n    }\n}\n\n</code></pre>\n<p>Client can chain the other HB Api calls with this webhook requests.<br />For more example on Candidate Requests please refer <a href=\"https://documenter.getpostman.com/view/24438176/2s93m1ZQ5H#845abd7d-9518-4264-8e1d-912bad44d2ae\">Candidate Requests Section</a>.</p>\n<p>*Note: This webhook call has limited availability and must be enabled by contacting your designated account manager.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"API-Key"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"b37733f7-e242-46c4-81d9-91643c7d4805","id":"b37733f7-e242-46c4-81d9-91643c7d4805","name":"Healthier Business Portal API V1","type":"collection"}},"urlObject":{"query":[],"variable":[]},"url":""},"response":[{"id":"dc146ff0-c20a-441f-8440-54db6a51ef29","name":"FTW Uploaded per candidate","originalRequest":{"method":"GET","header":[{"key":"api-key","value":"XXXXXXXXXXXXXX","type":"text"},{"key":"api-version","value":"1.0","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"ftw\": {\r\n      \"candidate_id\": \"XXXXXXX\",\r\n      \"candidate_ref\": \"XXXXXX-XXXXXX-XXXXXX-XXXXXX-XXXXXX\",\r\n      \"client_id\": \"XXXXX\",\r\n      \"ftw_doc\": \"ftw-doc-url\",\r\n      \"ftw_upload_time\": \"2025-01-29 12:23:07\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"https://webhook.site/a3bbb9c0-e050-43af-b6ff-6acf66bc9d17"},"status":"Accepted","code":202,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null}],"_postman_id":"5a4126dc-2571-4ef4-9796-c6fcf03b2930"},{"name":"Interview Outcome Uploaded (per candidate) (Limited Access)","id":"edd097f0-95f0-44d3-a770-d7ce6a8b0360","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"description":"<p>An \"Interview Outcome Uploaded per candidate\" webhook call will be triggered each time an Interview Outcome is uploaded for a specific Candidate.<br />This webhook will send a POST/PATCH request (whichever available with OPTIONS) with api-key &amp; api-version headers and following raw json data.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"interview\": {\n      \"candidate_id\": \"XXXXXXX\",\n      \"candidate_ref\": \"XXXXXX-XXXXXX-XXXXXX-XXXXXX-XXXXXX\",\n      \"client_id\": \"XXXXX\",\n      \"interview_outcome\": \"Attended\",\n      \"interview_doc\": \"interview-outcome-doc-url\",\n      \"interview_upload_time\": \"2025-01-29 13:03:31\"\n    }\n}\n\n</code></pre>\n<p>Client can chain the other HB Api calls with this webhook requests.<br />For more example on Candidate Requests please refer <a href=\"https://documenter.getpostman.com/view/24438176/2s93m1ZQ5H#845abd7d-9518-4264-8e1d-912bad44d2ae\">Candidate Requests Section</a>.</p>\n<p>*Note: This webhook call has limited availability and must be enabled by contacting your designated account manager.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"API-Key"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"b37733f7-e242-46c4-81d9-91643c7d4805","id":"b37733f7-e242-46c4-81d9-91643c7d4805","name":"Healthier Business Portal API V1","type":"collection"}},"urlObject":{"query":[],"variable":[]},"url":""},"response":[{"id":"ac32f726-6d8a-423f-ab48-d712f717131a","name":"Interview Outcome Uploaded per candidate","originalRequest":{"method":"GET","header":[{"key":"api-key","value":"XXXXXXXXXXXXXX","type":"text"},{"key":"api-version","value":"1.0","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"interview\": {\r\n      \"candidate_id\": \"XXXXXXX\",\r\n      \"candidate_ref\": \"XXXXXX-XXXXXX-XXXXXX-XXXXXX-XXXXXX\",\r\n      \"client_id\": \"XXXXX\",\r\n      \"interview_outcome\": \"Attended\",\r\n      \"interview_doc\": \"interview-outcome-doc-url\",\r\n      \"interview_upload_time\": \"2025-01-29 13:03:31\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"https://webhook.site/a3bbb9c0-e050-43af-b6ff-6acf66bc9d17"},"status":"Accepted","code":202,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null}],"_postman_id":"edd097f0-95f0-44d3-a770-d7ce6a8b0360"}],"id":"e5002f11-e730-4d99-9f5a-7673546996cb","description":"<p>Circumventing the issues with the scenario when the client needs to poll an endpoint for the status of a particular candidate, the API should send a notification to the client about the finished process. This should trigger the call to the relevant endpoint. In this way the number of calls will be kept to a minimum.<br />The client will provide the endpoint URL for the callback. The candidate_ref will be used to identify the candidate to whom the callback relates.<br />The request is HTTP POST, application/json, and uses the same message body as<br />the relevant endpoint. If the candidate_ref is unknown the response should be HTTP 404 Not Found.<br />The response is HTTP 202 Accepted, if the client system understood the message<br />and initiated the process to retrieve the details from the API in a separated call.<br />If HTTP 202 Accepted is not received the callback will attempted again up to a maximum of three times or until a direct call is made to the endpoint – whichever comes first.  </p>\n<p>The Webhook uses TLS protected communication over HTTP. Requests using non-secured communication should be refused with HTTP 403 Forbidden and an appropriate error response error.<br />The Webhook endpoints should identify whether the incoming request comes from trusted source. For this reason a whitelist of trusted IP addresses should be maintained. If the incoming request does not come from a trusted IP address, the endpoint should refuse the connection with HTTP 403 Forbidden and an appropriate error response error.<br />HB will provide a <strong>second unique API key</strong> to the consumers of the API to authenticate Wekhooks. This second key <strong>differs</strong> from the API-Key used for authentication by API endpoints. The key is a UUID string, represents the identifier in five groups separated by hyphens, in the form 8-4-4-4-12 for a total of 36 characters.</p>\n<p>The API key will be sent in the header of the HTTP request:<br />API-Key: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx</p>\n<p>The webhook uses this key to authenticate the sender. Requests that do not hold a valid key should be refused with HTTP 401 Unauthorized error.</p>\n","_postman_id":"e5002f11-e730-4d99-9f5a-7673546996cb","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"API-Key"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"b37733f7-e242-46c4-81d9-91643c7d4805","id":"b37733f7-e242-46c4-81d9-91643c7d4805","name":"Healthier Business Portal API V1","type":"collection"}}}],"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"API-Key"},{"key":"value","value":"<value>"}]}},"event":[{"listen":"prerequest","script":{"id":"cff5262b-95a0-4a5b-ab72-c3d4abeaf8cf","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"907a319d-210b-448a-8e70-cd15759b8142","type":"text/javascript","exec":[""]}}],"variable":[{"key":"url","value":"https://portal.hbcompliance.co.uk/api","type":"string"},{"key":"api_version","value":"1.0","type":"string"},{"key":"candidate_ref","value":"XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX"},{"key":"form_type","value":"XXXXXXXXXX","type":"string"},{"key":"submission_ref","value":"XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX","type":"string"}]}