{"info":{"_postman_id":"cce5ab2a-32cc-45e7-bae2-f3b49fe62e4f","name":"Doo - APIs","description":"<html><head></head><body><p>Below is our collection of APIs available for you to access your data in Doo. Access to the API is role based, speak to your HR manager or System Admin to gain access to the API Data Access role.</p>\n<p>Data access via this API is ring fenced to your company only.</p>\n<p>For any API support queries you can reach out to us on <a href=\"https://mailto:support@doogitaltech.com\">support@doogitaltech.com</a></p>\n<p>Doo - <a href=\"https://doo.software\">https://doo.software</a></p>\n<img src=\"https://content.pstmn.io/e4659228-4721-4f97-a33b-b2d24163e6b3/Q29weSBvZiBMaW5rZWRJbiBCYW5uZXIucG5n\"></body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"14587961","collectionId":"cce5ab2a-32cc-45e7-bae2-f3b49fe62e4f","publishedId":"2sB3dWqm8V","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"3c8fa5","highlight":"FF6C37"},"publishDate":"2025-12-20T21:31:06.000Z"},"item":[{"name":"Authentication","id":"78f7246d-2473-4cd5-be49-d3eeb2ba547f","protocolProfileBehavior":{"followAuthorizationHeader":false,"disabledSystemHeaders":{"content-type":true},"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"Username\":\"{{username}}\",\n    \"Password\":\"{{password}}\"\n}","options":{"raw":{"language":"json"}}},"url":"https://doo.software/api/v1/auth/login","description":"<h5 id=\"api-access-to-gain-access-to-the-api-speak-to-your-hr-manager--system-admin-to-give-you-access-to-the-api-data-access-role\"><strong>API Access: To gain access to the api, speak to your HR manager / system admin to give you access to the API Data Access role.</strong></h5>\n<hr />\n<h3 id=\"login-authentication\">Login Authentication</h3>\n<p>This endpoint is used to authenticate a user and obtain an access token, the access token must then be <strong>used as a Bearer token</strong> in subsequent requests.</p>\n<p><strong>HTTP Method:</strong> POST<br /><strong>Endpoint:</strong> <code>https://doo.software/api/v1/auth/login</code></p>\n<h4 id=\"request-body\">Request Body</h4>\n<p>The request body should be in JSON format and must include the following parameters:</p>\n<ul>\n<li><p><strong>Username</strong> (string, required): The username of the user.</p>\n</li>\n<li><p><strong>Password</strong> (string, required): The password of the user.</p>\n</li>\n</ul>\n<p>Example request body:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"Username\": \"{{username}}\",\n  \"Password\": \"{{password}}\"\n}\n\n</code></pre>\n<h4 id=\"response\">Response</h4>\n<p>On a successful authentication, the response will return a JSON object with a status code of 200. The response schema is as follows:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"$id\": \"string\",\n  \"token\": \"string\"\n}\n\n</code></pre>\n<p><strong>Example Response:</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"Token\": \"string\"\n}\n\n</code></pre>\n<p>This token can be used for subsequent authenticated requests.</p>\n","urlObject":{"protocol":"https","path":["api","v1","auth","login"],"host":["doo","software"],"query":[],"variable":[]}},"response":[{"id":"3678924c-0fdd-4611-bed2-ac58c03e66ad","name":"Authentication: Get Token","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"username\": \"{{employee@address.com}}\",\r\n    \"password\": \"{{doo_password}}\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://doo.software/api/v1/auth/login"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Length","value":"353"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Mon, 05 Aug 2024 23:11:53 GMT"},{"key":"Server","value":"Microsoft-IIS/10.0"},{"key":"Cache-Control","value":"no-cache"},{"key":"Content-Encoding","value":"gzip"},{"key":"Expires","value":"-1"},{"key":"Pragma","value":"no-cache"},{"key":"Set-Cookie","value":".ASPXAUTH=C8DF9909F7B5C9F5CC6119719C4D381B3D02BD67C7253C41F01497CB900D2750D6611BF354E57729D1ACECC319EAB5E8D5FB662AF9D703F2968B8E8D4C44A5C04F18AD88AA6C5BD0976CEA4B0415989EB33378CE8565340F831AD38EA3DB0D5619996A239B58C7080C4BFFD32B01AE8822D3A3502DD468D7C888BC1B20676049482AE03559906CD047E647956116CFDF45711A5346CC2AC69DA623FEFA79FF73B4899401B1EE21A2D6D52AEE501CCF32; path=/; HttpOnly; SameSite=Lax"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-AspNet-Version","value":"4.0.30319"},{"key":"X-Powered-By","value":"ASP.NET"}],"cookie":[],"responseTime":null,"body":"{\n    \"Token\": \"[Bearer_Token]\"\n}"}],"_postman_id":"78f7246d-2473-4cd5-be49-d3eeb2ba547f"},{"name":"Get all Employees","id":"234845d2-6d96-4178-878b-c082175517e1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"https://doo.software/api/v1/employees/getall","description":"<h3 id=\"get-all-employees\">Get All Employees</h3>\n<p>This endpoint retrieves a list of all employees associated with the authenticated user's CompanyId. It provides detailed information about each employee, which can be useful for managing employee records and understanding workforce demographics.</p>\n<h4 id=\"request\">Request</h4>\n<ul>\n<li><p><strong>Method:</strong> GET</p>\n</li>\n<li><p><strong>URL:</strong> <code>https://doo.software/api/v1/employees/getall</code></p>\n</li>\n</ul>\n<h4 id=\"response\">Response</h4>\n<ul>\n<li><p><strong>Status:</strong> 200</p>\n</li>\n<li><p><strong>Content-Type:</strong> application/json</p>\n</li>\n</ul>\n<p>The response is a JSON array containing objects that represent employees. Each object includes the following fields:</p>\n<ul>\n<li><p><strong>EmployeeID</strong>: Unique identifier for the employee.</p>\n</li>\n<li><p><strong>Title</strong>: The title of the employee (e.g., Mr, Ms).</p>\n</li>\n<li><p><strong>FirstName</strong>: The first name of the employee.</p>\n</li>\n<li><p><strong>MiddleName</strong>: The middle name of the employee (can be null).</p>\n</li>\n<li><p><strong>LastName</strong>: The last name of the employee.</p>\n</li>\n<li><p><strong>ID_Passport</strong>: Identification or passport number.</p>\n</li>\n<li><p><strong>DOB</strong>: Date of birth of the employee.</p>\n</li>\n<li><p><strong>Gender</strong>: Gender of the employee.</p>\n</li>\n<li><p><strong>EthnicGroup</strong>: Ethnic group of the employee.</p>\n</li>\n<li><p><strong>CriminalCheck</strong>: Status of the criminal check (can be null).</p>\n</li>\n<li><p><strong>Disability</strong>: Indicates if the employee has a disability (boolean).</p>\n</li>\n<li><p><strong>EmployeeNumber</strong>: Employee's unique number.</p>\n</li>\n<li><p><strong>HomeTelephone</strong>: Home telephone number (can be null).</p>\n</li>\n<li><p><strong>Cellphone</strong>: Cellphone number of the employee.</p>\n</li>\n<li><p><strong>EmergencyContactNumber</strong>: Emergency contact number.</p>\n</li>\n<li><p><strong>EmergencyContactPerson</strong>: Name of the emergency contact person.</p>\n</li>\n<li><p><strong>PersonalEmail</strong>: Personal email address (can be null).</p>\n</li>\n<li><p><strong>WorkEmail</strong>: Work email address.</p>\n</li>\n<li><p><strong>TaxNumber</strong>: Tax identification number (can be null).</p>\n</li>\n<li><p><strong>Nationality</strong>: Nationality of the employee.</p>\n</li>\n<li><p><strong>CreatedDate</strong>: Date when the employee record was created.</p>\n</li>\n<li><p><strong>StartDate</strong>: Date when the employee started working.</p>\n</li>\n<li><p><strong>DepartmentName</strong>: Name of the department the employee belongs to.</p>\n</li>\n<li><p><strong>Designation</strong>: Job designation of the employee.</p>\n</li>\n<li><p><strong>ManagerId</strong>: Identifier for the employee's manager.</p>\n</li>\n<li><p><strong>Manager</strong>: Name of the employee's manager.</p>\n</li>\n<li><p><strong>LastUpdated</strong>: Timestamp of the last update made to the employee's record.</p>\n</li>\n</ul>\n<h4 id=\"example-response-body\">Example Response Body:</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">[\n  {\n   \"EmployeeID\": 0,\n   \"Title\": \"\",\n   \"FirstName\": \"\",\n   \"MiddleName\": null,\n   \"LastName\": \"\",\n   \"ID_Passport\": \"\",\n   \"DOB\": \"\",\n   \"Gender\": \"\",\n   \"EthnicGroup\": \"\",\n   \"CriminalCheck\": null,\n   \"Disability\": true,\n   \"EmployeeNumber\": \"\",\n   \"HomeTelephone\": null,\n   \"Cellphone\": \"\",\n   \"EmergencyContactNumber\": \"\",\n   \"EmergencyContactPerson\": \"\",\n   \"PersonalEmail\": null,\n   \"WorkEmail\": \"\",\n   \"TaxNumber\": null,\n   \"Nationality\": \"\",\n   \"CreatedDate\": \"\",\n   \"StartDate\": \"\",\n   \"DepartmentName\": \"\",\n   \"Designation\": \"\",\n   \"ManagerId\": 0,\n   \"Manager\": \"\",\n   \"LastUpdated\": \"\"\n  }\n]\n\n</code></pre>\n<p><strong>Note:</strong> The response may vary based on the employees available in the authenticated user's company.</p>\n","urlObject":{"protocol":"https","path":["api","v1","employees","getall"],"host":["doo","software"],"query":[],"variable":[]}},"response":[{"id":"8c455ddc-1023-4f74-8ff0-d14daa59e68e","name":"Get all employees","originalRequest":{"method":"GET","header":[],"body":{"mode":"raw","raw":"{\r\n    \"workemail\":\"{{employee_workemail}}\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://doo.software/api/v1/employees/getall"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Length","value":"515"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Tue, 06 Aug 2024 00:16:09 GMT"},{"key":"Server","value":"Microsoft-IIS/10.0"},{"key":"Cache-Control","value":"no-cache"},{"key":"Content-Encoding","value":"gzip"},{"key":"Expires","value":"-1"},{"key":"Pragma","value":"no-cache"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-AspNet-Version","value":"4.0.30319"},{"key":"X-Powered-By","value":"ASP.NET"}],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"234845d2-6d96-4178-878b-c082175517e1"},{"name":"Get an Employee","id":"c6785c9e-5b7d-4bf3-8a03-9afb264dd708","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"https://doo.software/api/v1/Employees/getemployee?workemail={{employee@email.com}}","description":"<h3 id=\"get-employee-details\">Get Employee Details</h3>\n<p>This endpoint retrieves detailed information about a <strong>specific employee</strong> based on their <strong>work email address</strong>. It is useful for fetching employee data for management or HR purposes.</p>\n<h4 id=\"request\">Request</h4>\n<ul>\n<li><p><strong>Method:</strong> GET</p>\n</li>\n<li><p><strong>URL:</strong> <code>https://doo.software/api/v1/Employees/getemployee?workemail={workemail}</code></p>\n</li>\n</ul>\n<p><strong>Query Parameters:</strong></p>\n<ul>\n<li><strong>workemail</strong> (string): The work email of the employee whose details are being requested. This parameter is required.</li>\n</ul>\n<h4 id=\"authentication\">Authentication</h4>\n<p>This endpoint requires authentication. Ensure that you have valid credentials to access employee data.</p>\n<h4 id=\"response\">Response</h4>\n<ul>\n<li><p><strong>Status:</strong> 200</p>\n</li>\n<li><p><strong>Content-Type:</strong> application/json</p>\n</li>\n</ul>\n<p>The response is a JSON object containing the following fields:</p>\n<ul>\n<li><p><strong>$id</strong>: Identifier for the object (usually for internal tracking).</p>\n</li>\n<li><p><strong>employeeID</strong>: Unique identifier for the employee.</p>\n</li>\n<li><p><strong>title</strong>: The title of the employee (e.g., Mr, Ms).</p>\n</li>\n<li><p><strong>firstName</strong>: The first name of the employee.</p>\n</li>\n<li><p><strong>middleName</strong>: The middle name of the employee (can be null).</p>\n</li>\n<li><p><strong>lastName</strong>: The last name of the employee.</p>\n</li>\n<li><p><strong>ID_Passport</strong>: Identification or passport number.</p>\n</li>\n<li><p><strong>dob</strong>: Date of birth of the employee.</p>\n</li>\n<li><p><strong>gender</strong>: Gender of the employee.</p>\n</li>\n<li><p><strong>ethnicGroup</strong>: Ethnic group of the employee.</p>\n</li>\n<li><p><strong>criminalCheck</strong>: Status of the criminal check (can be null).</p>\n</li>\n<li><p><strong>disability</strong>: Indicates if the employee has a disability (boolean).</p>\n</li>\n<li><p><strong>employeeNumber</strong>: Employee's unique number.</p>\n</li>\n<li><p><strong>homeTelephone</strong>: Home telephone number (can be null).</p>\n</li>\n<li><p><strong>cellphone</strong>: Cellphone number of the employee.</p>\n</li>\n<li><p><strong>emergencyContactNumber</strong>: Emergency contact number.</p>\n</li>\n<li><p><strong>emergencyContactPerson</strong>: Name of the emergency contact person.</p>\n</li>\n<li><p><strong>personalEmail</strong>: Personal email address (can be null).</p>\n</li>\n<li><p><strong>workEmail</strong>: Work email address.</p>\n</li>\n<li><p><strong>taxNumber</strong>: Tax identification number (can be null).</p>\n</li>\n<li><p><strong>nationality</strong>: Nationality of the employee.</p>\n</li>\n<li><p><strong>createdDate</strong>: Date when the employee record was created.</p>\n</li>\n<li><p><strong>startDate</strong>: Date when the employee started working.</p>\n</li>\n<li><p><strong>departmentName</strong>: Name of the department the employee belongs to.</p>\n</li>\n<li><p><strong>designation</strong>: Job designation of the employee.</p>\n</li>\n<li><p><strong>managerId</strong>: Identifier for the employee's manager.</p>\n</li>\n<li><p><strong>manager</strong>: Name of the employee's manager.</p>\n</li>\n<li><p><strong>lastUpdated</strong>: Timestamp of the last update made to the employee's record.</p>\n</li>\n</ul>\n<h4 id=\"possible-error-responses\">Possible Error Responses</h4>\n<ul>\n<li><p><strong>400 Bad Request</strong>: If the <code>workemail</code> parameter is missing or invalid.</p>\n</li>\n<li><p><strong>404 Not Found</strong>: If no employee is found with the provided work email.</p>\n</li>\n<li><p><strong>401 Unauthorized</strong>: If authentication fails or is not provided.</p>\n</li>\n</ul>\n<h4 id=\"example-response-body\">Example Response Body:</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"$id\": \"\",\n  \"employeeID\": 0,\n  \"title\": \"\",\n  \"firstName\": \"\",\n  \"middleName\": null,\n  \"lastName\": \"\",\n  \"iD_Passport\": \"\",\n  \"dob\": \"\",\n  \"gender\": \"\",\n  \"ethnicGroup\": \"\",\n  \"criminalCheck\": null,\n  \"disability\": true,\n  \"employeeNumber\": \"\",\n  \"homeTelephone\": null,\n  \"cellphone\": \"\",\n  \"emergencyContactNumber\": \"\",\n  \"emergencyContactPerson\": \"\",\n  \"personalEmail\": null,\n  \"workEmail\": \"\",\n  \"taxNumber\": null,\n  \"nationality\": \"\",\n  \"createdDate\": \"\",\n  \"startDate\": \"\",\n  \"departmentName\": \"\",\n  \"designation\": \"\",\n  \"managerId\": 0,\n  \"manager\": \"\",\n  \"lastUpdated\": \"\"\n}\n\n</code></pre>\n<p><strong>Note:</strong> The response may vary based on the employee's details available in the system.</p>\n","urlObject":{"protocol":"https","path":["api","v1","Employees","getemployee"],"host":["doo","software"],"query":[{"key":"workemail","value":"{{employee@email.com}}"}],"variable":[]}},"response":[{"id":"a85a6bbc-ac39-4d7d-92eb-dd2ce2fb2d95","name":"Get an employee by workemail","originalRequest":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":{"raw":"https://doo.software/api/v1/employees/getemployee?workemail={{employee@address.com}}","protocol":"https","host":["doo","software"],"path":["api","v1","employees","getemployee"],"query":[{"key":"workemail","value":"{{employee@address.com}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Length","value":"515"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Tue, 06 Aug 2024 00:16:09 GMT"},{"key":"Server","value":"Microsoft-IIS/10.0"},{"key":"Cache-Control","value":"no-cache"},{"key":"Content-Encoding","value":"gzip"},{"key":"Expires","value":"-1"},{"key":"Pragma","value":"no-cache"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-AspNet-Version","value":"4.0.30319"},{"key":"X-Powered-By","value":"ASP.NET"}],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"c6785c9e-5b7d-4bf3-8a03-9afb264dd708"},{"name":"Get all Designations","id":"e62d948e-3908-4c20-97c0-c98f284ccb39","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"https://doo.software/api/v1/designations/getdesignation?designationid={{designationid}}","description":"<h3 id=\"get-designation\">Get Designation</h3>\n<p>This endpoint retrieves the designation details for a specific designation ID. It is useful for obtaining information about a particular designation within the system.</p>\n<h4 id=\"request\">Request</h4>\n<ul>\n<li><p><strong>Method:</strong> GET</p>\n</li>\n<li><p><strong>URL:</strong> <code>https://doo.software/api/v1/designations/getdesignation?designationid={designationId}</code></p>\n</li>\n<li><p><strong>Query Parameters:</strong></p>\n<ul>\n<li><strong>designationid</strong> (integer, required): The unique identifier for the designation you want to retrieve.</li>\n</ul>\n</li>\n</ul>\n<h4 id=\"response\">Response</h4>\n<ul>\n<li><p><strong>Status:</strong> 200</p>\n</li>\n<li><p><strong>Content-Type:</strong> application/json</p>\n</li>\n</ul>\n<p>The response is a JSON object containing the details of the requested designation. The structure of the response includes the following fields:</p>\n<ul>\n<li><p><strong>designationId</strong>: The unique identifier of the designation.</p>\n</li>\n<li><p><strong>designation</strong>: The name or title of the designation.</p>\n</li>\n<li><p><strong>description</strong>: A brief description of the designation (can be an empty string).</p>\n</li>\n<li><p><strong>createdDate</strong>: The date when the designation was created (can be an empty string).</p>\n</li>\n<li><p><strong>active</strong>: A boolean indicating whether the designation is currently active.</p>\n</li>\n<li><p><strong>objectives</strong>: An object containing additional details about the designation's objectives, which includes:</p>\n<ul>\n<li><p><strong>$id</strong>: Identifier for the objectives (can be an empty string).</p>\n</li>\n<li><p><strong>$values</strong>: An array of values related to the objectives (can be empty).</p>\n</li>\n</ul>\n</li>\n</ul>\n<h4 id=\"example-response-body\">Example Response Body:</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"$id\": \"\",\n  \"designationId\": 0,\n  \"designation1\": \"\",\n  \"description\": \"\",\n  \"createdDate\": \"\",\n  \"active\": true,\n  \"objectives\": {\n    \"$id\": \"\",\n    \"$values\": [{\n       \"title\": \"\",\n       \"objective\": \"\",\n       \"priority\": \"\"\n     }]\n  }\n}\n\n</code></pre>\n<p><strong>Note:</strong> The response may vary based on the designation ID provided in the request.</p>\n","urlObject":{"protocol":"https","path":["api","v1","designations","getdesignation"],"host":["doo","software"],"query":[{"key":"designationid","value":"{{designationid}}"}],"variable":[]}},"response":[{"id":"10d254fb-5db7-4a25-b399-3eb9ddb69aa3","name":"Get a designation","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6WyJsZW5lc2hAZG9vZ2l0YWx0ZWNoLmNvbSIsImxlbmVzaEBkb29naXRhbHRlY2guY29tIl0sIkNvbXBhbnlJZCI6IjE0IiwibmJmIjoxNzIyNTI4MDIwLCJleHAiOjE3MjI1MjgzMTksImlhdCI6MTcyMjUyODAyMH0.ezroIaac8ljig5cDM96oW-_VLs31tjQ6QMe7T_livBA","type":"text","disabled":true}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":{"raw":"https://doo.software/api/v1/designations/getdesignation?designationid={{designationid}}","protocol":"https","host":["doo","software"],"path":["api","v1","designations","getdesignation"],"query":[{"key":"designationid","value":"{{designationid}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Length","value":"515"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Tue, 06 Aug 2024 00:16:09 GMT"},{"key":"Server","value":"Microsoft-IIS/10.0"},{"key":"Cache-Control","value":"no-cache"},{"key":"Content-Encoding","value":"gzip"},{"key":"Expires","value":"-1"},{"key":"Pragma","value":"no-cache"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-AspNet-Version","value":"4.0.30319"},{"key":"X-Powered-By","value":"ASP.NET"}],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"e62d948e-3908-4c20-97c0-c98f284ccb39"},{"name":"Get a Designation","id":"67a1ab05-a3fb-4c5c-b68f-d574b1c81c4b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"https://doo.software/api/v1/designations/GetAll","description":"<h3 id=\"get-all-designations\">Get All Designations</h3>\n<p>This endpoint retrieves a list of all designations available for the user's company.</p>\n<h4 id=\"request\">Request</h4>\n<ul>\n<li><p><strong>Method:</strong> GET</p>\n</li>\n<li><p><strong>URL:</strong> <code>https://doo.software/api/v1/designations/GetAll</code></p>\n</li>\n</ul>\n<h4 id=\"response\">Response</h4>\n<ul>\n<li><p><strong>Status:</strong> 200</p>\n</li>\n<li><p><strong>Content-Type:</strong> application/json</p>\n</li>\n</ul>\n<p>The response is a JSON array containing objects that represent designations. Each object includes the following fields:</p>\n<ul>\n<li><p><strong>designationId</strong>: Unique identifier for the designation.</p>\n</li>\n<li><p><strong>designation:</strong> Name of the designation.</p>\n</li>\n<li><p><strong>description</strong>: Description of the designation (can be null).</p>\n</li>\n<li><p><strong>createdDate</strong>: Date when the designation was created.</p>\n</li>\n<li><p><strong>active</strong>: Indicates if the designation is active (boolean).</p>\n</li>\n<li><p><strong>objectives</strong>: An object containing objectives related to the designation, which may include an array of values.</p>\n</li>\n</ul>\n<h4 id=\"example-response-body\">Example Response Body:</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"$id\": \"\",\n  \"$values\": [\n    {\n      \"$id\": \"\",\n      \"designationId\": 0,\n      \"designation1\": \"\",\n      \"description\": \"\",\n      \"createdDate\": \"\",\n      \"active\": true,\n      \"objectives\": {\n        \"$id\": \"\",\n        \"$values\": [{\n            \"title\": \"\",\n            \"objective\": \"\",\n            \"priority\": \"\"\n         }]\n      }\n    }\n  ]\n}\n\n</code></pre>\n<p><strong>Note:</strong> The response structure may vary based on the designations available in the system.</p>\n","urlObject":{"protocol":"https","path":["api","v1","designations","GetAll"],"host":["doo","software"],"query":[],"variable":[]}},"response":[{"id":"fa2d0028-1073-4afd-8283-7cee82babdf9","name":"Get all designations","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6WyJsZW5lc2hAZG9vZ2l0YWx0ZWNoLmNvbSIsImxlbmVzaEBkb29naXRhbHRlY2guY29tIl0sIkNvbXBhbnlJZCI6IjE0IiwibmJmIjoxNzIyNTI4MDIwLCJleHAiOjE3MjI1MjgzMTksImlhdCI6MTcyMjUyODAyMH0.ezroIaac8ljig5cDM96oW-_VLs31tjQ6QMe7T_livBA","type":"text","disabled":true}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://doo.software/api/v1/designations/getall"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Length","value":"515"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Tue, 06 Aug 2024 00:16:09 GMT"},{"key":"Server","value":"Microsoft-IIS/10.0"},{"key":"Cache-Control","value":"no-cache"},{"key":"Content-Encoding","value":"gzip"},{"key":"Expires","value":"-1"},{"key":"Pragma","value":"no-cache"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-AspNet-Version","value":"4.0.30319"},{"key":"X-Powered-By","value":"ASP.NET"}],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"67a1ab05-a3fb-4c5c-b68f-d574b1c81c4b"},{"name":"Get all Public Holidays","id":"414b277c-0f3e-4025-8fdd-f2db661eb7fd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"https://doo.software/api/v1/publicholidays/getall","description":"<h3 id=\"get-all-public-holidays\">Get All Public Holidays</h3>\n<p>This endpoint retrieves a list of all public holidays available in the system.</p>\n<h4 id=\"request\">Request</h4>\n<ul>\n<li><p><strong>Method</strong>: GET</p>\n</li>\n<li><p><strong>URL</strong>: <code>https://doo.software/api/v1/publicholidays/getall</code></p>\n</li>\n</ul>\n<h4 id=\"response\">Response</h4>\n<ul>\n<li><p><strong>Status Code</strong>: 200 OK</p>\n</li>\n<li><p><strong>Content-Type</strong>: application/json</p>\n</li>\n</ul>\n<p>The response will contain a JSON object structured as follows:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"$id\": \"\",\n  \"$values\": [\n    {\n      \"$id\": \"\",\n      \"country\": \"\",\n      \"holiday\": \"\",\n      \"description\": \"\",\n      \"date\": \"\"\n    }\n  ]\n}\n\n</code></pre>\n<h4 id=\"response-structure\">Response Structure</h4>\n<ul>\n<li><p><strong>$id</strong>: A unique identifier for the response object.</p>\n</li>\n<li><p><strong>$values</strong>: An array containing holiday objects.</p>\n<ul>\n<li><p>Each holiday object includes:</p>\n<ul>\n<li><p><strong>$id</strong>: A unique identifier for the holiday.</p>\n</li>\n<li><p><strong>country</strong>: The country where the holiday is observed.</p>\n</li>\n<li><p><strong>holiday</strong>: The name of the holiday.</p>\n</li>\n<li><p><strong>description</strong>: A brief description of the holiday.</p>\n</li>\n<li><p><strong>date</strong>: The date on which the holiday occurs.</p>\n</li>\n</ul>\n</li>\n</ul>\n</li>\n</ul>\n<p>This endpoint does not require any input parameters and returns a comprehensive list of public holidays, which can be used for various applications, such as holiday scheduling or planning.</p>\n","urlObject":{"protocol":"https","path":["api","v1","publicholidays","getall"],"host":["doo","software"],"query":[],"variable":[]}},"response":[{"id":"1e00e5c7-25a3-4cfd-a5f4-2fa2540d7452","name":"Get all Public Holidays","originalRequest":{"method":"GET","header":[],"url":"https://doo.software/api/v1/publicholidays/getall"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null}],"_postman_id":"414b277c-0f3e-4025-8fdd-f2db661eb7fd"}],"auth":{"type":"bearer","bearer":{"basicConfig":[]}},"event":[{"listen":"prerequest","script":{"id":"20cd6c3b-c53a-402f-9f56-22c913b5fed0","type":"text/javascript","packages":{},"requests":{},"exec":[""]}},{"listen":"test","script":{"id":"32a5c011-9f58-494e-8eb6-160f2f12ee21","type":"text/javascript","packages":{},"requests":{},"exec":[""]}}]}