{"info":{"_postman_id":"59bfbd79-56b8-4afc-ba02-aaa84928a576","name":"Workfeed API (prod)","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"description":"<html><head></head><body></body></html>","owner":"11154454","collectionId":"59bfbd79-56b8-4afc-ba02-aaa84928a576","publishedId":"2s93eR3v2K","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"2f67ff"},"publishDate":"2024-03-01T19:29:17.000Z"},"item":[{"name":"Shifts","item":[{"name":"Create shift","id":"da24097a-1a79-409b-b2b7-a589b12f314c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"roleID\": \"roleID\",\n    \"start\": \"2023-05-18T14:00:00.000Z\",\n    \"end\": \"2023-05-19T02:00:00.000Z\",\n    \"employeeID\": null,\n    \"released\": true,\n    \"comment\": null\n}","options":{"raw":{"language":"json"}}},"url":"https://europe-west1-production-eu-327a3.cloudfunctions.net/api/companies/COMPANY_ID/shifts","description":"<h3 id=\"request-fields\"><strong>Request Fields</strong></h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Body</strong></th>\n<th><strong>Required</strong></th>\n<th><strong>Description</strong></th>\n<th><strong>Type / Format</strong></th>\n<th><strong>Example</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>roleID</code></td>\n<td>Yes</td>\n<td>GET your Roles <a href=\"https://documenter.postman.com/preview/30744173-7f2de8cc-0d2f-4cbd-a060-70becdaa6e21?environment=&amp;versionTag=latest&amp;apiName=CURRENT&amp;version=latest&amp;documentationLayout=classic-double-column&amp;documentationTheme=light&amp;logo=https%3A%2F%2Fres.cloudinary.com%2Fpostman%2Fimage%2Fupload%2Ft_team_logo%2Fv1698394511%2Fteam%2Fc80083d308271119df348a297ea71b34f04ba1b5dd8afdec4a985581d53114d6&amp;logoDark=https%3A%2F%2Fres.cloudinary.com%2Fpostman%2Fimage%2Fupload%2Ft_team_logo%2Fv1698394511%2Fteam%2Fc80083d308271119df348a297ea71b34f04ba1b5dd8afdec4a985581d53114d6&amp;right-sidebar=303030&amp;top-bar=FFFFFF&amp;highlight=FF6C37&amp;right-sidebar-dark=303030&amp;top-bar-dark=212121&amp;highlight-dark=FF6C37#a0402d1b-9f00-401a-82da-1bffb1b2b1ff\">here</a></td>\n<td><code>string</code></td>\n<td><code>hLbEKIPTlMh3ehotXl0w</code></td>\n</tr>\n<tr>\n<td><code>start</code></td>\n<td>Yes</td>\n<td>When Shift starts</td>\n<td>an <a href=\"https://en.wikipedia.org/wiki/ISO_8601\">ISO 8601</a> encoded <code>string</code></td>\n<td><code>2023-05-18T14:00:00.000Z</code></td>\n</tr>\n<tr>\n<td><code>end</code></td>\n<td>Yes</td>\n<td>When shift ends</td>\n<td>an <a href=\"https://en.wikipedia.org/wiki/ISO_8601\">ISO 8601</a> encoded <code>string</code></td>\n<td><code>2023-05-19T02:00:00.000Z</code></td>\n</tr>\n<tr>\n<td><code>employeeID</code></td>\n<td>Yes</td>\n<td>GET your Employees <a href=\"https://documenter.postman.com/preview/30744173-7f2de8cc-0d2f-4cbd-a060-70becdaa6e21?environment=&amp;versionTag=latest&amp;apiName=CURRENT&amp;version=latest&amp;documentationLayout=classic-double-column&amp;documentationTheme=light&amp;logo=https%3A%2F%2Fres.cloudinary.com%2Fpostman%2Fimage%2Fupload%2Ft_team_logo%2Fv1698394511%2Fteam%2Fc80083d308271119df348a297ea71b34f04ba1b5dd8afdec4a985581d53114d6&amp;logoDark=https%3A%2F%2Fres.cloudinary.com%2Fpostman%2Fimage%2Fupload%2Ft_team_logo%2Fv1698394511%2Fteam%2Fc80083d308271119df348a297ea71b34f04ba1b5dd8afdec4a985581d53114d6&amp;right-sidebar=303030&amp;top-bar=FFFFFF&amp;highlight=FF6C37&amp;right-sidebar-dark=303030&amp;top-bar-dark=212121&amp;highlight-dark=FF6C37#c3dbd4a7-4614-4866-93b9-860a7c027eb8\">here</a></td>\n<td><code>string</code> / <code>null</code></td>\n<td><code>j1TznpqVtLN0nmgPfK476U5fn2O2</code></td>\n</tr>\n<tr>\n<td><code>released</code></td>\n<td>Yes</td>\n<td>if Shift was released (Published)</td>\n<td><code>boolean</code></td>\n<td><code>true</code></td>\n</tr>\n<tr>\n<td><code>comment</code></td>\n<td>Yes</td>\n<td>Shift comments</td>\n<td><code>string</code> / <code>null</code></td>\n<td><code>null</code></td>\n</tr>\n<tr>\n<td><code>tagIDs</code></td>\n<td>No</td>\n<td>Shift tags</td>\n<td><code>string[]</code></td>\n<td><code>[\"tagID_1\", \"tagID_2\"]</code></td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"response-fields\">Response Fields</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Body</th>\n<th>Description</th>\n<th><strong>Type / Format</strong></th>\n<th><strong>Example</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>Created Shift Id</td>\n<td><code>string</code></td>\n<td><code>InOzjxrVqOjtIpqyTfF4</code></td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["companies","COMPANY_ID","shifts"],"host":["https://europe-west1-production-eu-327a3.cloudfunctions.net/api"],"query":[],"variable":[]}},"response":[{"id":"0b310116-b43d-48ae-a9e6-dd834a6a6a65","name":"Create shift","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"API-KEY","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"roleID\": \"hLbEKIPTlMh3ehotXl0w\",\n    \"start\": \"2023-05-18T14:00:00.000Z\",\n    \"end\": \"2023-05-19T02:00:00.000Z\",\n    \"employeeID\": null,\n    \"released\": true,\n    \"comment\": null\n}","options":{"raw":{"language":"json"}}},"url":"https://europe-west1-production-eu-327a3.cloudfunctions.net/api/companies/COMPANY_ID/shifts"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"InOzjxrVqOjtIpqyTfF4\"\n}"}],"_postman_id":"da24097a-1a79-409b-b2b7-a589b12f314c"},{"name":"Get shifts","id":"0807785c-d41e-4b2d-b4c4-72fb8968ffcd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":false},"method":"GET","header":[],"url":"https://europe-west1-production-eu-327a3.cloudfunctions.net/api/companies/COMPANY_ID/shifts?startFrom=2023-05-01T00:00:00.000Z&startTo=2023-05-07T00:00:00.000Z","description":"<h3 id=\"request-fields\">Request Fields</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Param</strong></th>\n<th><strong>Required</strong></th>\n<th><strong>Description</strong></th>\n<th><strong>Type / format</strong></th>\n<th><strong>Example</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>startFrom</code></td>\n<td>Yes</td>\n<td>Only get shifts starting <em>on or after</em> this time</td>\n<td>an <a href=\"https://en.wikipedia.org/wiki/ISO_8601\">ISO 8601</a> encoded <code>string</code></td>\n<td><code>2022-04-07T22:00:00.000Z</code></td>\n</tr>\n<tr>\n<td><code>startTo</code></td>\n<td>Yes</td>\n<td>Only get shifts starting <em>before</em> this time</td>\n<td>an <a href=\"https://en.wikipedia.org/wiki/ISO_8601\">ISO 8601</a> encoded <code>string</code></td>\n<td><code>2022-04-10T22:00:00.000Z</code></td>\n</tr>\n<tr>\n<td><code>employeeID</code></td>\n<td>No</td>\n<td>If present, only get shifts of the employee with this id</td>\n<td><code>string</code></td>\n<td><code>j1TznpqVtLN0nmgPfK476U5fn2O2</code></td>\n</tr>\n<tr>\n<td><code>released</code></td>\n<td>No</td>\n<td>If present, only get released (if <code>true</code>) or unreleased (if <code>false</code>) shifts</td>\n<td><code>boolean</code></td>\n<td><code>true</code></td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"response-fields\">Response Fields</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Body</strong></th>\n<th><strong>Description</strong></th>\n<th><strong>Type / format</strong></th>\n<th><strong>Example</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>Shift ID</td>\n<td><code>string</code></td>\n<td><code>Trcu7MKFomu5y5zv1B8G</code></td>\n</tr>\n<tr>\n<td>start</td>\n<td>When Shift starts</td>\n<td>an <a href=\"https://en.wikipedia.org/wiki/ISO_8601\">ISO 8601</a> encoded <code>string</code></td>\n<td><code>2023-10-23T08:00:00.000Z</code></td>\n</tr>\n<tr>\n<td>end</td>\n<td>When Shift ends</td>\n<td>an <a href=\"https://en.wikipedia.org/wiki/ISO_8601\">ISO 8601</a> encoded <code>string</code></td>\n<td><code>2023-10-23T16:00:00.000Z</code></td>\n</tr>\n<tr>\n<td>employeeID</td>\n<td>Employee associated to the Shift</td>\n<td><code>string</code> / <code>null</code></td>\n<td><code>null</code></td>\n</tr>\n<tr>\n<td>roleID</td>\n<td>Role associated with the Shift</td>\n<td><code>string</code></td>\n<td><code>hLbEKIPTlMh3ehotXl0w</code></td>\n</tr>\n<tr>\n<td>departmentID</td>\n<td>Department associated with the Shift</td>\n<td><code>string</code></td>\n<td><code>PKHaOSgFA4uguOqmLfWv</code></td>\n</tr>\n<tr>\n<td>released</td>\n<td>If Shift was released</td>\n<td><code>boolean</code></td>\n<td><code>false</code></td>\n</tr>\n<tr>\n<td>isForSale</td>\n<td>if Shift is for sale</td>\n<td><code>boolean</code></td>\n<td><code>false</code></td>\n</tr>\n<tr>\n<td>comment</td>\n<td>Shift comments</td>\n<td><code>object</code> / <code>null</code></td>\n<td></td>\n</tr>\n<tr>\n<td>comment.message</td>\n<td>Comment Text</td>\n<td><code>string</code></td>\n<td><code>Comments! 😍</code></td>\n</tr>\n<tr>\n<td>comment.creatorID</td>\n<td>How was this comment created, via UI or API</td>\n<td><code>string</code></td>\n<td><code>API</code></td>\n</tr>\n<tr>\n<td>comment.createdOn</td>\n<td>When comment was created</td>\n<td>an <a href=\"https://en.wikipedia.org/wiki/ISO_8601\">ISO 8601</a> encoded <code>string</code></td>\n<td><code>2023-10-27T09:43:36.542Z</code></td>\n</tr>\n<tr>\n<td>customBreak</td>\n<td>Employee Break for example \"Lunch Break\"</td>\n<td><code>object</code> / <code>null</code></td>\n<td><code>null</code></td>\n</tr>\n<tr>\n<td>customBreak.creatorID</td>\n<td>If it was created by the Employee or automatically</td>\n<td><code>string</code> / <code>\"automatic\"</code></td>\n<td><code>null</code></td>\n</tr>\n<tr>\n<td>customBreak.duration</td>\n<td>Break duration in Hours</td>\n<td><code>number</code></td>\n<td><code>1</code></td>\n</tr>\n<tr>\n<td>customBreak.createdOn</td>\n<td>When Break was created</td>\n<td>an <a href=\"https://en.wikipedia.org/wiki/ISO_8601\">ISO 8601</a> encoded <code>string</code></td>\n<td><code>2023-10-27T09:10:30.336Z</code></td>\n</tr>\n<tr>\n<td>overlappingLeaveID</td>\n<td>If there is a Leave overlapping the Shift, for example a Vacation, Parental leave, etc...</td>\n<td><code>string</code> / <code>null</code></td>\n<td><code>null</code></td>\n</tr>\n<tr>\n<td>approval</td>\n<td>Shift Approval</td>\n<td><code>object</code> / <code>null</code></td>\n<td><code>null</code></td>\n</tr>\n<tr>\n<td>approval.approver</td>\n<td><code>EmployeeID</code> / <code>\"automatic\"</code></td>\n<td><code>string</code></td>\n<td><code>automatic</code></td>\n</tr>\n<tr>\n<td>approval.date</td>\n<td>Shift Date</td>\n<td>an <a href=\"https://en.wikipedia.org/wiki/ISO_8601\">ISO 8601</a> encoded <code>string</code></td>\n<td><code>2023-12-27T09:10:30.336Z</code></td>\n</tr>\n<tr>\n<td>approval.originalStart</td>\n<td>Shift Original Start Date</td>\n<td>an <a href=\"https://en.wikipedia.org/wiki/ISO_8601\">ISO 8601</a> encoded <code>string</code></td>\n<td><code>2023-12-07T09:10:30.336Z</code></td>\n</tr>\n<tr>\n<td>approval.originalEnd</td>\n<td>Shift Original End Date</td>\n<td>an <a href=\"https://en.wikipedia.org/wiki/ISO_8601\">ISO 8601</a> encoded <code>string</code></td>\n<td><code>2023-12-08T09:10:30.336Z</code></td>\n</tr>\n<tr>\n<td>grossPay</td>\n<td>Shift Salary. If <code>employeeID</code>  <br />is null, this value will not be calculated and return <code>null</code>  <br />  <br /><strong>Note:</strong> While grossPay has been rigorously tested, its accuracy in some unique cases might vary. We welcome <strong>feedback</strong> to enhance its precision.</td>\n<td><code>number</code> / <code>null</code></td>\n<td><code>null</code></td>\n</tr>\n<tr>\n<td><code>tagIDs</code></td>\n<td>Shift tags</td>\n<td><code>string[]</code></td>\n<td><code>[\"tagID_1\", \"tagID_2\"]</code></td>\n</tr>\n<tr>\n<td>createTime</td>\n<td>When Shift was created</td>\n<td>an <a href=\"https://en.wikipedia.org/wiki/ISO_8601\">ISO 8601</a> encoded <code>string</code></td>\n<td><code>2023-10-27T09:10:30.336Z</code></td>\n</tr>\n<tr>\n<td>updateTime</td>\n<td>When Shift was updated</td>\n<td>an <a href=\"https://en.wikipedia.org/wiki/ISO_8601\">ISO 8601</a> encoded <code>string</code></td>\n<td><code>2023-10-27T09:10:30.336Z</code></td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["companies","COMPANY_ID","shifts"],"host":["https://europe-west1-production-eu-327a3.cloudfunctions.net/api"],"query":[{"description":{"content":"<p>Only get shifts starting <em>on or after</em> this time</p>\n","type":"text/plain"},"key":"startFrom","value":"2023-05-01T00:00:00.000Z"},{"description":{"content":"<p>Only get shifts starting <em>before</em> this time</p>\n","type":"text/plain"},"key":"startTo","value":"2023-05-07T00:00:00.000Z"},{"disabled":true,"description":{"content":"<p>If present, only get shifts of the employee with this id</p>\n","type":"text/plain"},"key":"employeeID","value":"89nzICSt3oZJWhTeco6AmO958Bz1"},{"disabled":true,"description":{"content":"<p>If present, only get released (if <code>true</code>) or unreleased (if <code>false</code>) shifts</p>\n","type":"text/plain"},"key":"released","value":"true"}],"variable":[]}},"response":[{"id":"503e46b7-121c-4031-ab5e-a184c8184466","name":"Get shifts","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"API-KEY","type":"text"}],"url":{"raw":"https://europe-west1-production-eu-327a3.cloudfunctions.net/api/companies/COMPANY_ID/shifts?startFrom=2023-05-01T00:00:00.000Z&startTo=2023-10-30T00:00:00.000Z","protocol":"https","host":["europe-west1-production-eu-327a3","cloudfunctions","net"],"path":["api","companies","COMPANY_ID","shifts"],"query":[{"key":"employeeID","value":"89nzICSt3oZJWhTeco6AmO958Bz1","disabled":true},{"key":"released","value":"true","disabled":true},{"key":"startFrom","value":"2023-05-01T00:00:00.000Z"},{"key":"startTo","value":"2023-10-30T00:00:00.000Z"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": \"Trcu7MKFomu5y5zv1B8G\",\n        \"start\": \"2023-10-23T08:00:00.000Z\",\n        \"end\": \"2023-10-23T16:00:00.000Z\",\n        \"employeeID\": null,\n        \"roleID\": \"hLbEKIPTlMh3ehotXl0w\",\n        \"departmentID\": \"PKHaOSgFA4uguOqmLfWv\",\n        \"released\": false,\n        \"isForSale\": false,\n        \"comment\": null,\n        \"customBreak\": null,\n        \"overlappingLeaveID\": null,\n        \"approval\": null,\n        \"grossPay\": null,\n        \"createTime\": \"2023-10-27T09:10:30.336Z\",\n        \"updateTime\": \"2023-10-27T09:10:30.422Z\"\n    }\n]"}],"_postman_id":"0807785c-d41e-4b2d-b4c4-72fb8968ffcd"},{"name":"Get shift","id":"1e09229b-602c-40c2-9b2f-eb169d17f9ec","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":false},"method":"GET","header":[],"url":"https://europe-west1-production-eu-327a3.cloudfunctions.net/api/companies/COMPANY_ID/shifts/:shiftID","description":"<h3 id=\"response-fields\">Response Fields</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Body</strong></th>\n<th><strong>Description</strong></th>\n<th><strong>Type / format</strong></th>\n<th><strong>Example</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>Shift ID</td>\n<td><code>string</code></td>\n<td><code>Trcu7MKFomu5y5zv1B8G</code></td>\n</tr>\n<tr>\n<td>start</td>\n<td>When Shift starts</td>\n<td>an <a href=\"https://en.wikipedia.org/wiki/ISO_8601\">ISO 8601</a> encoded <code>string</code></td>\n<td><code>2023-10-23T08:00:00.000Z</code></td>\n</tr>\n<tr>\n<td>end</td>\n<td>When Shift ends</td>\n<td>an <a href=\"https://en.wikipedia.org/wiki/ISO_8601\">ISO 8601</a> encoded <code>string</code></td>\n<td><code>2023-10-23T16:00:00.000Z</code></td>\n</tr>\n<tr>\n<td>employeeID</td>\n<td>Employee associated to the Shift</td>\n<td><code>string</code> / <code>null</code></td>\n<td><code>null</code></td>\n</tr>\n<tr>\n<td>roleID</td>\n<td>Role associated with the Shift</td>\n<td><code>string</code></td>\n<td><code>hLbEKIPTlMh3ehotXl0w</code></td>\n</tr>\n<tr>\n<td>departmentID</td>\n<td>Department associated with the Shift</td>\n<td><code>string</code></td>\n<td><code>PKHaOSgFA4uguOqmLfWv</code></td>\n</tr>\n<tr>\n<td>released</td>\n<td>If Shift was released</td>\n<td><code>boolean</code></td>\n<td><code>false</code></td>\n</tr>\n<tr>\n<td>isForSale</td>\n<td>if Shift is for sale</td>\n<td><code>boolean</code></td>\n<td><code>false</code></td>\n</tr>\n<tr>\n<td>comment</td>\n<td>Shift comments</td>\n<td><code>object</code> / <code>null</code></td>\n<td></td>\n</tr>\n<tr>\n<td>comment.message</td>\n<td>Comment Text</td>\n<td><code>string</code></td>\n<td><code>Comments! 😍</code></td>\n</tr>\n<tr>\n<td>comment.creatorID</td>\n<td>How was this comment created, via UI or API</td>\n<td><code>string</code></td>\n<td><code>API</code></td>\n</tr>\n<tr>\n<td>comment.createdOn</td>\n<td>When comment was created</td>\n<td>an <a href=\"https://en.wikipedia.org/wiki/ISO_8601\">ISO 8601</a> encoded <code>string</code></td>\n<td><code>2023-10-27T09:43:36.542Z</code></td>\n</tr>\n<tr>\n<td>customBreak</td>\n<td>Employee Break for example \"Lunch Break\"</td>\n<td><code>object</code> / <code>null</code></td>\n<td><code>null</code></td>\n</tr>\n<tr>\n<td>customBreak.creatorID</td>\n<td>If it was created by the Employee or automatically</td>\n<td><code>string</code> / <code>\"automatic\"</code></td>\n<td><code>null</code></td>\n</tr>\n<tr>\n<td>customBreak.duration</td>\n<td>Break duration in Hours</td>\n<td><code>number</code></td>\n<td><code>1</code></td>\n</tr>\n<tr>\n<td>customBreak.createdOn</td>\n<td>When Break was created</td>\n<td>an <a href=\"https://en.wikipedia.org/wiki/ISO_8601\">ISO 8601</a> encoded <code>string</code></td>\n<td><code>2023-10-27T09:10:30.336Z</code></td>\n</tr>\n<tr>\n<td>overlappingLeaveID</td>\n<td>If there is a Leave overlapping the Shift, for example a Vacation, Parental leave, etc...</td>\n<td><code>string</code> / <code>null</code></td>\n<td><code>null</code></td>\n</tr>\n<tr>\n<td>approval</td>\n<td>Shift Approval</td>\n<td><code>object</code> / <code>null</code></td>\n<td><code>null</code></td>\n</tr>\n<tr>\n<td>approval.approver</td>\n<td><code>EmployeeID</code> / <code>\"automatic\"</code></td>\n<td><code>string</code></td>\n<td><code>automatic</code></td>\n</tr>\n<tr>\n<td>approval.date</td>\n<td>Shift Date</td>\n<td>an <a href=\"https://en.wikipedia.org/wiki/ISO_8601\">ISO 8601</a> encoded <code>string</code></td>\n<td><code>2023-12-27T09:10:30.336Z</code></td>\n</tr>\n<tr>\n<td>approval.originalStart</td>\n<td>Shift Original Start Date</td>\n<td>an <a href=\"https://en.wikipedia.org/wiki/ISO_8601\">ISO 8601</a> encoded <code>string</code></td>\n<td><code>2023-12-07T09:10:30.336Z</code></td>\n</tr>\n<tr>\n<td>approval.originalEnd</td>\n<td>Shift Original End Date</td>\n<td>an <a href=\"https://en.wikipedia.org/wiki/ISO_8601\">ISO 8601</a> encoded <code>string</code></td>\n<td><code>2023-12-08T09:10:30.336Z</code></td>\n</tr>\n<tr>\n<td>grossPay</td>\n<td>Shift Salary. If <code>employeeID</code>  <br />is null, this value will not be calculated and return <code>null</code>  <br />  <br /><strong>Note:</strong> While grossPay has been rigorously tested, its accuracy in some unique cases might vary. We welcome <strong>feedback</strong> to enhance its precision.</td>\n<td><code>number</code> / <code>null</code></td>\n<td><code>null</code></td>\n</tr>\n<tr>\n<td><code>tagIDs</code></td>\n<td>Shift tags</td>\n<td><code>string[]</code></td>\n<td><code>[\"tagID_1\", \"tagID_2\"]</code></td>\n</tr>\n<tr>\n<td>createTime</td>\n<td>When Shift was created</td>\n<td>an <a href=\"https://en.wikipedia.org/wiki/ISO_8601\">ISO 8601</a> encoded <code>string</code></td>\n<td><code>2023-10-27T09:10:30.336Z</code></td>\n</tr>\n<tr>\n<td>updateTime</td>\n<td>When Shift was updated</td>\n<td>an <a href=\"https://en.wikipedia.org/wiki/ISO_8601\">ISO 8601</a> encoded <code>string</code></td>\n<td><code>2023-10-27T09:10:30.336Z</code></td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["companies","COMPANY_ID","shifts",":shiftID"],"host":["https://europe-west1-production-eu-327a3.cloudfunctions.net/api"],"query":[],"variable":[{"description":{"content":"<p>Shift ID</p>\n","type":"text/plain"},"type":"any","value":"","key":"shiftID"}]}},"response":[{"id":"98f13a09-b32d-49f9-935c-9071ebcfbcbd","name":"Get shift","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"API-KEY","type":"text"}],"url":"https://europe-west1-production-eu-327a3.cloudfunctions.net/api/companies/COMPANY_ID/shifts/Trcu7MKFomu5y5zv1B8G"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n  \"id\": \"Trcu7MKFomu5y5zv1B8G\",\n  \"start\": \"2023-10-23T08:00:00.000Z\",\n  \"end\": \"2023-10-23T16:00:00.000Z\",\n  \"employeeID\": null,\n  \"roleID\": \"hLbEKIPTlMh3ehotXl0w\",\n  \"departmentID\": \"PKHaOSgFA4uguOqmLfWv\",\n  \"released\": false,\n  \"isForSale\": false,\n  \"comment\": null,\n  \"customBreak\": null,\n  \"overlappingLeaveID\": null,\n  \"approval\": null,\n  \"grossPay\": null,\n  \"createTime\": \"2023-10-27T09:10:30.336Z\",\n  \"updateTime\": \"2023-10-27T09:10:30.422Z\"\n}"}],"_postman_id":"1e09229b-602c-40c2-9b2f-eb169d17f9ec"},{"name":"Update shift","id":"4f040678-cf6e-49bd-8e60-fe326f839cf9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":false},"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"start\": \"2023-05-04T19:30:00.000Z\",\n    \"end\": \"2023-05-05T02:00:00.000Z\",\n    \"employeeID\": \"c6gzyUOTsof8xGUBwJhKZ6l0Pwi1\",\n    \"roleID\": \"lkADAqIEiefMkhwkdmeL\",\n    \"released\": true,\n    \"comment\": \"Comments! 😍\"\n}","options":{"raw":{"language":"json"}}},"url":"https://europe-west1-production-eu-327a3.cloudfunctions.net/api/companies/COMPANY_ID/shifts/:shiftID","description":"<p><strong>NOTE:</strong> You cannot change the date of a shift</p>\n<h3 id=\"request-fields\"><strong>Request Fields</strong></h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Body</strong></th>\n<th><strong>Required</strong></th>\n<th><strong>Description</strong></th>\n<th><strong>Type / Format</strong></th>\n<th><strong>Example</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>roleID</code></td>\n<td>No</td>\n<td>Role ID associated to the Shift</td>\n<td><code>string</code></td>\n<td><code>hLbEKIPTlMh3ehotXl0w</code></td>\n</tr>\n<tr>\n<td><code>start</code></td>\n<td>No</td>\n<td>When Shift starts</td>\n<td>an <a href=\"https://en.wikipedia.org/wiki/ISO_8601\">ISO 8601</a> encoded <code>string</code></td>\n<td><code>2023-05-18T14:00:00.000Z</code></td>\n</tr>\n<tr>\n<td><code>end</code></td>\n<td>No</td>\n<td>When Shift ends</td>\n<td>an <a href=\"https://en.wikipedia.org/wiki/ISO_8601\">ISO 8601</a> encoded <code>string</code></td>\n<td><code>2023-05-19T02:00:00.000Z</code></td>\n</tr>\n<tr>\n<td><code>employeeID</code></td>\n<td>No</td>\n<td>Employee ID associated to the Shift</td>\n<td><code>boolean</code> / <code>null</code></td>\n<td><code>null</code></td>\n</tr>\n<tr>\n<td><code>released</code></td>\n<td>No</td>\n<td>If Shift was released</td>\n<td><code>boolean</code></td>\n<td><code>true</code></td>\n</tr>\n<tr>\n<td><code>comment</code></td>\n<td>No</td>\n<td>Shift comments</td>\n<td><code>string</code> / <code>null</code></td>\n<td><code>Comments! 😍</code></td>\n</tr>\n<tr>\n<td><code>tagIDs</code></td>\n<td>No</td>\n<td>Shift tags</td>\n<td><code>string[]</code></td>\n<td><code>[\"tagID_1\", \"tagID_2\"]</code></td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"response-fields\">Response Fields</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Body</th>\n<th>Description</th>\n<th><strong>Type / Format</strong></th>\n<th><strong>Example</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>Shift Id</td>\n<td><code>string</code></td>\n<td><code>Trcu7MKFomu5y5zv1B8G</code></td>\n</tr>\n<tr>\n<td>start</td>\n<td>When Shift starts</td>\n<td>an <a href=\"https://en.wikipedia.org/wiki/ISO_8601\">ISO 8601</a> encoded <code>string</code></td>\n<td><code>2023-10-23T08:00:00.000Z</code></td>\n</tr>\n<tr>\n<td>end</td>\n<td>When Shift ends</td>\n<td>an <a href=\"https://en.wikipedia.org/wiki/ISO_8601\">ISO 8601</a> encoded <code>string</code></td>\n<td><code>2023-10-23T16:00:00.000Z</code></td>\n</tr>\n<tr>\n<td>employeeID</td>\n<td>Employee ID associated to the Shift</td>\n<td><code>string</code> / <code>null</code></td>\n<td><code>null</code></td>\n</tr>\n<tr>\n<td>roleID</td>\n<td>Role ID associated to the Shift</td>\n<td><code>string</code></td>\n<td><code>hLbEKIPTlMh3ehotXl0w</code></td>\n</tr>\n<tr>\n<td>departmentID</td>\n<td>Department ID associated to the Shift</td>\n<td><code>string</code></td>\n<td><code>PKHaOSgFA4uguOqmLfWv</code></td>\n</tr>\n<tr>\n<td>released</td>\n<td>If Shift was released</td>\n<td><code>boolean</code></td>\n<td><code>true</code></td>\n</tr>\n<tr>\n<td>isForSale</td>\n<td>if Shift is for sale</td>\n<td><code>boolean</code></td>\n<td><code>false</code></td>\n</tr>\n<tr>\n<td>comment</td>\n<td>Shift comments</td>\n<td><code>object</code></td>\n<td></td>\n</tr>\n<tr>\n<td>comment.message</td>\n<td>Comment Text</td>\n<td><code>string</code></td>\n<td><code>Comments! 😍</code></td>\n</tr>\n<tr>\n<td>comment.creatorID</td>\n<td>How was this comment created, via UI or API</td>\n<td><code>string</code></td>\n<td><code>API</code></td>\n</tr>\n<tr>\n<td>comment.createdOn</td>\n<td>When comment was created</td>\n<td>an <a href=\"https://en.wikipedia.org/wiki/ISO_8601\">ISO 8601</a> encoded <code>string</code></td>\n<td><code>2023-10-27T09:43:36.542Z</code></td>\n</tr>\n<tr>\n<td>customBreak</td>\n<td>Employee Break for example \"Lunch Break\"</td>\n<td><code>object</code> / <code>null</code></td>\n<td><code>null</code></td>\n</tr>\n<tr>\n<td>customBreak.creatorID</td>\n<td>If it was created by the Employee or automatically</td>\n<td><code>string</code> / <code>\"automatic\"</code></td>\n<td><code>null</code></td>\n</tr>\n<tr>\n<td>customBreak.duration</td>\n<td>Break duration in Hours</td>\n<td><code>number</code></td>\n<td><code>1</code></td>\n</tr>\n<tr>\n<td>customBreak.createdOn</td>\n<td>When Break was created</td>\n<td>an <a href=\"https://en.wikipedia.org/wiki/ISO_8601\">ISO 8601</a> encoded <code>string</code></td>\n<td><code>2023-10-27T09:10:30.336Z</code></td>\n</tr>\n<tr>\n<td>overlappingLeaveID</td>\n<td>If there is a Leave overlapping the Shift, for example a Vacation, Parental leave, etc...</td>\n<td><code>string</code> / <code>null</code></td>\n<td><code>null</code></td>\n</tr>\n<tr>\n<td>approval</td>\n<td>Shift Approval</td>\n<td><code>object</code> / <code>null</code></td>\n<td><code>null</code></td>\n</tr>\n<tr>\n<td>approval.approver</td>\n<td><code>EmployeeID</code> / <code>\"automatic\"</code></td>\n<td><code>string</code></td>\n<td><code>automatic</code></td>\n</tr>\n<tr>\n<td>approval.date</td>\n<td>Shift Date</td>\n<td>an <a href=\"https://en.wikipedia.org/wiki/ISO_8601\">ISO 8601</a> encoded <code>string</code></td>\n<td><code>2023-12-27T09:10:30.336Z</code></td>\n</tr>\n<tr>\n<td>approval.originalStart</td>\n<td>Shift Original Start Date</td>\n<td>an <a href=\"https://en.wikipedia.org/wiki/ISO_8601\">ISO 8601</a> encoded <code>string</code></td>\n<td><code>2023-12-07T09:10:30.336Z</code></td>\n</tr>\n<tr>\n<td>approval.originalEnd</td>\n<td>Shift Original End Date</td>\n<td>an <a href=\"https://en.wikipedia.org/wiki/ISO_8601\">ISO 8601</a> encoded <code>string</code></td>\n<td><code>2023-12-08T09:10:30.336Z</code></td>\n</tr>\n<tr>\n<td>grossPay</td>\n<td>Shift Salary. If <code>employeeID</code>  <br />is null, this value will not be calculated and return <code>null</code>  <br />  <br /><strong>Note:</strong> While grossPay has been rigorously tested, its accuracy in some unique cases might vary. We welcome <strong>feedback</strong> to enhance its precision.</td>\n<td><code>number</code> / <code>null</code></td>\n<td><code>null</code></td>\n</tr>\n<tr>\n<td><code>tagIDs</code></td>\n<td>Shift tags</td>\n<td><code>string[]</code></td>\n<td><code>[\"tagID_1\", \"tagID_2\"]</code></td>\n</tr>\n<tr>\n<td>createTime</td>\n<td>When Shift was created</td>\n<td>an <a href=\"https://en.wikipedia.org/wiki/ISO_8601\">ISO 8601</a> encoded <code>string</code></td>\n<td><code>2023-10-27T09:10:30.336Z</code></td>\n</tr>\n<tr>\n<td>updateTime</td>\n<td>When Shift was updated</td>\n<td>an <a href=\"https://en.wikipedia.org/wiki/ISO_8601\">ISO 8601</a> encoded <code>string</code></td>\n<td><code>2023-10-27T09:43:36.597Z</code></td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["companies","COMPANY_ID","shifts",":shiftID"],"host":["https://europe-west1-production-eu-327a3.cloudfunctions.net/api"],"query":[],"variable":[{"id":"30f73282-f123-468d-9a07-d9159664a22d","description":{"content":"<p>Shift ID</p>\n","type":"text/plain"},"type":"any","value":"","key":"shiftID"}]}},"response":[{"id":"4ed9f299-c390-4683-87e4-0c17ee890cf4","name":"Update shift","originalRequest":{"method":"PUT","header":[{"key":"Authorization","value":"API-KEY","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"employeeID\": null,\n    \"roleID\": \"hLbEKIPTlMh3ehotXl0w\",\n    \"start\": \"2023-05-18T14:00:00.000Z\",\n    \"end\": \"2023-05-19T02:00:00.000Z\",\n    \"released\": true,\n    \"comment\": \"Comments! 😍\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://europe-west1-production-eu-327a3.cloudfunctions.net/api/companies/COMPANY_ID/shifts/:shiftID","protocol":"https","host":["europe-west1-production-eu-327a3","cloudfunctions","net"],"path":["api","companies","COMPANY_ID","shifts",":shiftID"],"variable":[{"key":"shiftID","value":"Trcu7MKFomu5y5zv1B8G"}]}},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"Trcu7MKFomu5y5zv1B8G\",\n    \"start\": \"2023-10-23T08:00:00.000Z\",\n    \"end\": \"2023-10-23T16:00:00.000Z\",\n    \"employeeID\": null,\n    \"roleID\": \"hLbEKIPTlMh3ehotXl0w\",\n    \"departmentID\": \"PKHaOSgFA4uguOqmLfWv\",\n    \"released\": true,\n    \"isForSale\": false,\n    \"comment\": {\n        \"message\": \"Comments! 😍\",\n        \"creatorID\": \"API\",\n        \"createdOn\": \"2023-10-27T09:43:36.542Z\"\n    },\n    \"customBreak\": null,\n    \"overlappingLeaveID\": null,\n    \"approval\": null,\n    \"grossPay\": null,\n    \"createTime\": \"2023-10-27T09:10:30.336Z\",\n    \"updateTime\": \"2023-10-27T09:43:36.597Z\"\n}"}],"_postman_id":"4f040678-cf6e-49bd-8e60-fe326f839cf9"},{"name":"Delete shift","id":"41ef151d-e929-4a74-99b1-9e861552afc6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":false},"method":"DELETE","header":[],"url":"https://europe-west1-production-eu-327a3.cloudfunctions.net/api/companies/COMPANY_ID/shifts/:shiftID","urlObject":{"path":["companies","COMPANY_ID","shifts",":shiftID"],"host":["https://europe-west1-production-eu-327a3.cloudfunctions.net/api"],"query":[],"variable":[{"id":"765efd63-e5d0-466c-a9fc-c6a157ef24e6","description":{"content":"<p>Shift ID</p>\n","type":"text/plain"},"type":"any","value":"","key":"shiftID"}]}},"response":[{"id":"58174a57-6f4b-4f5d-86c0-bfbd73a2a98c","name":"Delete shift","originalRequest":{"method":"DELETE","header":[{"key":"Authorization","value":"API-KEY","type":"text"}],"url":{"raw":"https://europe-west1-production-eu-327a3.cloudfunctions.net/api/companies/COMPANY_ID/shifts/:shiftID","host":["https://europe-west1-production-eu-327a3.cloudfunctions.net/api"],"path":["companies","COMPANY_ID","shifts",":shiftID"],"variable":[{"key":"shiftID","value":"Trcu7MKFomu5y5zv1B8G"}]}},"status":"No Content","code":204,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null}],"_postman_id":"41ef151d-e929-4a74-99b1-9e861552afc6"}],"id":"0db7d7f2-0504-41ee-8e6e-d0895c8fbc77","_postman_id":"0db7d7f2-0504-41ee-8e6e-d0895c8fbc77","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"API_KEY"}]},"isInherited":true,"source":{"_postman_id":"59bfbd79-56b8-4afc-ba02-aaa84928a576","id":"59bfbd79-56b8-4afc-ba02-aaa84928a576","name":"Workfeed API (prod)","type":"collection"}}},{"name":"Tags","item":[{"name":"Create tag","id":"c12c3692-1198-4e82-a578-34aa3d450c39","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"Tag Name\",\n    \"color\": \"#E9379D\"\n}","options":{"raw":{"language":"json"}}},"url":"https://europe-west1-production-eu-327a3.cloudfunctions.net/api/companies/COMPANY_ID/tags","description":"<h3 id=\"request-fields\"><strong>Request Fields</strong></h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Body</strong></th>\n<th><strong>Description</strong></th>\n<th><strong>Type / Format</strong></th>\n<th><strong>Example</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>name</code></td>\n<td>Name of the tag</td>\n<td><code>string</code></td>\n<td><code>Cool tag name!</code></td>\n</tr>\n<tr>\n<td><code>color</code></td>\n<td>Color of the tag</td>\n<td>One of the supported colors from this list: \"#85909F\", \"#3D7AFF\", \"#5FD0C8\", \"#6DABC0\", \"#5A992C\", \"#07BE62\", \"#555ACF\", \"#8824BC\", \"#A35BD8\", \"#E9379D\", \"#EC4D3D\", \"#F19D9B\", \"#FF8000\", \"#F7CD45\", \"#7E4F19\"</td>\n<td><code>#85909F</code></td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"response-fields\">Response Fields</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Body</th>\n<th>Description</th>\n<th><strong>Type / Format</strong></th>\n<th><strong>Example</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>id</code></td>\n<td>Created tag id</td>\n<td><code>string</code></td>\n<td><code>4FfT87ZfNpOj5aP4E4N3</code></td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["companies","COMPANY_ID","tags"],"host":["https://europe-west1-production-eu-327a3.cloudfunctions.net/api"],"query":[],"variable":[]}},"response":[{"id":"6f6e069f-65b7-4d6a-98e6-d6ce8edcccdb","name":"Create tag","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"API-KEY","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"Tag Name\",\n    \"color\": \"#E9379D\"\n}","options":{"raw":{"language":"json"}}},"url":"https://europe-west1-production-eu-327a3.cloudfunctions.net/api/companies/COMPANY_ID/tags"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"4FfT87ZfNpOj5aP4E4N3\"\n}"}],"_postman_id":"c12c3692-1198-4e82-a578-34aa3d450c39"},{"name":"Get tags","id":"c6b48b40-b173-453f-8201-4cef641cdcc5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":false},"method":"GET","header":[],"url":"https://europe-west1-production-eu-327a3.cloudfunctions.net/api/companies/COMPANY_ID/tags","description":"<h3 id=\"response-fields\">Response Fields</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Body</strong></th>\n<th><strong>Description</strong></th>\n<th><strong>Type / format</strong></th>\n<th><strong>Example</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>id</code></td>\n<td>Tag ID</td>\n<td><code>string</code></td>\n<td><code>4FfT87ZfNpOj5aP4E4N3</code></td>\n</tr>\n<tr>\n<td><code>name</code></td>\n<td>Name of the tag</td>\n<td><code>string</code></td>\n<td><code>Cool tag name!</code></td>\n</tr>\n<tr>\n<td><code>color</code></td>\n<td>Color of the tag</td>\n<td>One of the supported colors from this list: \"#85909F\", \"#3D7AFF\", \"#5FD0C8\", \"#6DABC0\", \"#5A992C\", \"#07BE62\", \"#555ACF\", \"#8824BC\", \"#A35BD8\", \"#E9379D\", \"#EC4D3D\", \"#F19D9B\", \"#FF8000\", \"#F7CD45\", \"#7E4F19\"</td>\n<td><code>\"#F7CD45\"</code></td>\n</tr>\n<tr>\n<td><code>deletedOn</code></td>\n<td>When the tag was soft-deleted or <code>null</code> if not deleted</td>\n<td>an <a href=\"https://en.wikipedia.org/wiki/ISO_8601\">ISO 8601</a> encoded <code>string</code> / <code>null</code></td>\n<td><code>null</code></td>\n</tr>\n<tr>\n<td><code>createTime</code></td>\n<td>When the tag was created</td>\n<td>an <a href=\"https://en.wikipedia.org/wiki/ISO_8601\">ISO 8601</a> encoded <code>string</code></td>\n<td><code>\"2026-01-01T00:00:00.000Z\"</code></td>\n</tr>\n<tr>\n<td><code>updateTime</code></td>\n<td>When the tag was updated</td>\n<td>an <a href=\"https://en.wikipedia.org/wiki/ISO_8601\">ISO 8601</a> encoded <code>string</code></td>\n<td><code>\"2026-01-01T00:00:00.000Z\"</code></td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["companies","COMPANY_ID","tags"],"host":["https://europe-west1-production-eu-327a3.cloudfunctions.net/api"],"query":[],"variable":[]}},"response":[{"id":"b14cbe4b-8c70-48e5-b715-c40e6dae1168","name":"Get tags","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"API-KEY","type":"text"}],"url":"https://europe-west1-production-eu-327a3.cloudfunctions.net/api/companies/COMPANY_ID/tags"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": \"4FfT87ZfNpOj5aP4E4N3\",\n        \"name\": \"Tag Name\",\n        \"color\": \"#E9379D\",\n        \"deletedOn\": null,\n        \"createTime\": \"2026-01-01T00:00:00.000Z\",\n        \"updateTime\": \"2026-01-01T00:00:00.000Z\"\n    }\n]"}],"_postman_id":"c6b48b40-b173-453f-8201-4cef641cdcc5"},{"name":"Get tag","id":"a861b925-c8ed-475a-87c1-9ca0727e6725","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":false},"method":"GET","header":[],"url":"https://europe-west1-production-eu-327a3.cloudfunctions.net/api/companies/COMPANY_ID/tags/:tagID","description":"<h3 id=\"response-fields\">Response Fields</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Body</strong></th>\n<th><strong>Description</strong></th>\n<th><strong>Type / format</strong></th>\n<th><strong>Example</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>id</code></td>\n<td>Tag ID</td>\n<td><code>string</code></td>\n<td><code>4FfT87ZfNpOj5aP4E4N3</code></td>\n</tr>\n<tr>\n<td><code>name</code></td>\n<td>Name of the tag</td>\n<td><code>string</code></td>\n<td><code>Cool tag name!</code></td>\n</tr>\n<tr>\n<td><code>color</code></td>\n<td>Color of the tag</td>\n<td>One of the supported colors from this list: \"#85909F\", \"#3D7AFF\", \"#5FD0C8\", \"#6DABC0\", \"#5A992C\", \"#07BE62\", \"#555ACF\", \"#8824BC\", \"#A35BD8\", \"#E9379D\", \"#EC4D3D\", \"#F19D9B\", \"#FF8000\", \"#F7CD45\", \"#7E4F19\"</td>\n<td><code>\"#F7CD45\"</code></td>\n</tr>\n<tr>\n<td><code>deletedOn</code></td>\n<td>When the tag was soft-deleted or <code>null</code> if not deleted</td>\n<td>an <a href=\"https://en.wikipedia.org/wiki/ISO_8601\">ISO 8601</a> encoded <code>string</code> / <code>null</code></td>\n<td><code>null</code></td>\n</tr>\n<tr>\n<td><code>createTime</code></td>\n<td>When the tag was created</td>\n<td>an <a href=\"https://en.wikipedia.org/wiki/ISO_8601\">ISO 8601</a> encoded <code>string</code></td>\n<td><code>\"2026-01-01T00:00:00.000Z\"</code></td>\n</tr>\n<tr>\n<td><code>updateTime</code></td>\n<td>When the tag was updated</td>\n<td>an <a href=\"https://en.wikipedia.org/wiki/ISO_8601\">ISO 8601</a> encoded <code>string</code></td>\n<td><code>\"2026-01-01T00:00:00.000Z\"</code></td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["companies","COMPANY_ID","tags",":tagID"],"host":["https://europe-west1-production-eu-327a3.cloudfunctions.net/api"],"query":[],"variable":[{"type":"any","value":"","key":"tagID"}]}},"response":[{"id":"e7176ccb-4809-4249-9beb-20d9164ff986","name":"Get tag","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"API-KEY","type":"text"}],"url":"https://europe-west1-production-eu-327a3.cloudfunctions.net/api/companies/COMPANY_ID/tags/4FfT87ZfNpOj5aP4E4N3"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"4FfT87ZfNpOj5aP4E4N3\",\n    \"name\": \"Tag Name\",\n    \"color\": \"#E9379D\",\n    \"deletedOn\": null,\n    \"createTime\": \"2026-01-01T00:00:00.000Z\",\n    \"updateTime\": \"2026-01-01T00:00:00.000Z\"\n}"}],"_postman_id":"a861b925-c8ed-475a-87c1-9ca0727e6725"},{"name":"Update tag","id":"8b4229a2-cf41-4cb2-9ec0-fd371e7869dd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":false},"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"Updated Tag Name\",\n    \"color\": \"#F7CD45\"\n}","options":{"raw":{"language":"json"}}},"url":"https://europe-west1-production-eu-327a3.cloudfunctions.net/api/companies/COMPANY_ID/tag/:tagID","description":"<h3 id=\"request-fields\"><strong>Request Fields</strong></h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Body</strong></th>\n<th><strong>Required?</strong></th>\n<th><strong>Description</strong></th>\n<th><strong>Type / Format</strong></th>\n<th><strong>Example</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>name</code></td>\n<td>No</td>\n<td>Name of the tag</td>\n<td><code>string</code></td>\n<td><code>Cool tag name!</code></td>\n</tr>\n<tr>\n<td><code>color</code></td>\n<td>No</td>\n<td>Color of the tag</td>\n<td>One of the supported colors from this list: \"#85909F\", \"#3D7AFF\", \"#5FD0C8\", \"#6DABC0\", \"#5A992C\", \"#07BE62\", \"#555ACF\", \"#8824BC\", \"#A35BD8\", \"#E9379D\", \"#EC4D3D\", \"#F19D9B\", \"#FF8000\", \"#F7CD45\", \"#7E4F19\"</td>\n<td><code>#85909F</code></td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"response-fields\">Response Fields</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Body</strong></th>\n<th><strong>Description</strong></th>\n<th><strong>Type / format</strong></th>\n<th><strong>Example</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>id</code></td>\n<td>Tag ID</td>\n<td><code>string</code></td>\n<td><code>4FfT87ZfNpOj5aP4E4N3</code></td>\n</tr>\n<tr>\n<td><code>name</code></td>\n<td>Name of the tag</td>\n<td><code>string</code></td>\n<td><code>Cool tag name!</code></td>\n</tr>\n<tr>\n<td><code>color</code></td>\n<td>Color of the tag</td>\n<td>One of the supported colors from this list: \"#85909F\", \"#3D7AFF\", \"#5FD0C8\", \"#6DABC0\", \"#5A992C\", \"#07BE62\", \"#555ACF\", \"#8824BC\", \"#A35BD8\", \"#E9379D\", \"#EC4D3D\", \"#F19D9B\", \"#FF8000\", \"#F7CD45\", \"#7E4F19\"</td>\n<td><code>\"#F7CD45\"</code></td>\n</tr>\n<tr>\n<td><code>deletedOn</code></td>\n<td>When the tag was soft-deleted or <code>null</code> if not deleted</td>\n<td>an <a href=\"https://en.wikipedia.org/wiki/ISO_8601\">ISO 8601</a> encoded <code>string</code> / <code>null</code></td>\n<td><code>null</code></td>\n</tr>\n<tr>\n<td><code>createTime</code></td>\n<td>When the tag was created</td>\n<td>an <a href=\"https://en.wikipedia.org/wiki/ISO_8601\">ISO 8601</a> encoded <code>string</code></td>\n<td><code>\"2026-01-01T00:00:00.000Z\"</code></td>\n</tr>\n<tr>\n<td><code>updateTime</code></td>\n<td>When the tag was updated</td>\n<td>an <a href=\"https://en.wikipedia.org/wiki/ISO_8601\">ISO 8601</a> encoded <code>string</code></td>\n<td><code>\"2026-01-01T00:00:00.000Z\"</code></td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["companies","COMPANY_ID","tag",":tagID"],"host":["https://europe-west1-production-eu-327a3.cloudfunctions.net/api"],"query":[],"variable":[{"type":"any","value":"","key":"tagID"}]}},"response":[{"id":"791f3b1f-2dab-4395-a8c2-f9c5e3f2ac4e","name":"Update tag","originalRequest":{"method":"PUT","header":[{"key":"Authorization","value":"API-KEY","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"Updated Tag Name\",\n    \"color\": \"#F7CD45\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://europe-west1-production-eu-327a3.cloudfunctions.net/api/companies/COMPANY_ID/tags/:tagID","protocol":"https","host":["europe-west1-production-eu-327a3","cloudfunctions","net"],"path":["api","companies","COMPANY_ID","tags",":tagID"],"variable":[{"key":"tagID","value":"4FfT87ZfNpOj5aP4E4N3"}]}},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"4FfT87ZfNpOj5aP4E4N3\",\n    \"name\": \"Updated Tag Name\",\n    \"color\": \"#F7CD45\",\n    \"deletedOn\": null,\n    \"createTime\": \"2026-01-01T00:00:00.000Z\",\n    \"updateTime\": \"2026-01-01T00:00:00.000Z\"\n}"}],"_postman_id":"8b4229a2-cf41-4cb2-9ec0-fd371e7869dd"},{"name":"Delete tag","id":"806a8544-8630-43b1-8687-a89f85ec7c3a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":false},"method":"DELETE","header":[],"url":"https://europe-west1-production-eu-327a3.cloudfunctions.net/api/companies/COMPANY_ID/tags/:tagID","urlObject":{"path":["companies","COMPANY_ID","tags",":tagID"],"host":["https://europe-west1-production-eu-327a3.cloudfunctions.net/api"],"query":[],"variable":[{"type":"any","value":"","key":"tagID"}]}},"response":[{"id":"9a586ae8-a9cc-400b-83e1-27495469db80","name":"Delete tag","originalRequest":{"method":"DELETE","header":[{"key":"Authorization","value":"API-KEY","type":"text"}],"url":{"raw":"https://europe-west1-production-eu-327a3.cloudfunctions.net/api/companies/COMPANY_ID/tags/:tagID","host":["https://europe-west1-production-eu-327a3.cloudfunctions.net/api"],"path":["companies","COMPANY_ID","tags",":tagID"],"variable":[{"key":"tagID","value":"4FfT87ZfNpOj5aP4E4N3"}]}},"status":"No Content","code":204,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null}],"_postman_id":"806a8544-8630-43b1-8687-a89f85ec7c3a"}],"id":"d99e96cd-5357-4fe1-9c3a-e98e07587805","_postman_id":"d99e96cd-5357-4fe1-9c3a-e98e07587805","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"API_KEY"}]},"isInherited":true,"source":{"_postman_id":"59bfbd79-56b8-4afc-ba02-aaa84928a576","id":"59bfbd79-56b8-4afc-ba02-aaa84928a576","name":"Workfeed API (prod)","type":"collection"}}},{"name":"Transactions","item":[{"name":"Create transactions","id":"76a40dd2-8809-4e13-a1d6-803183bc1f77","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"[\n    {\n        \"date\": \"2023-07-14T13:37:00.000Z\",\n        \"source\": \"Superb\",\n        \"externalCompanyID\": \"externalCompanyID\",\n        \"transactionType\": \"OTHER\",\n        \"externalID\": \"externalID\",\n        \"currency\": \"DKK\",\n        \"netAmount\": 80,\n        \"taxAmount\": 20,\n        \"externalEmployeeID\": \"externalEmployeeID\",\n        \"externalDepartmentID\": \"externalDepartmentID\",\n        \"transactionLines\": [\n            {\n                \"quantity\": 1,\n                \"externalProductID\": \"externalProductID1\",\n                \"externalVariantID\": \"externalVariantID1\",\n                \"productPrice\": 45,\n                \"netAmount\": 36,\n                \"taxAmount\": 9,\n                \"productSpecificDiscountValue\": null\n            },\n            {\n                \"quantity\": 1,\n                \"externalProductID\": \"externalProductID2\",\n                \"externalVariantID\": \"externalVariantID2\",\n                \"productPrice\": 55,\n                \"netAmount\": 44,\n                \"taxAmount\": 11,\n                \"productSpecificDiscountValue\": null\n            }\n        ],\n        \"transactionDiscount\": null\n    }\n]","options":{"raw":{"language":"json"}}},"url":"https://europe-west1-production-eu-327a3.cloudfunctions.net/api/companies/COMPANY_ID/transactions","description":"<h3 id=\"request-fields\"><strong>Request Fields</strong></h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Body</strong></th>\n<th><strong>Description</strong></th>\n<th><strong>Type / Format</strong></th>\n<th><strong>Example</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>date</code></td>\n<td>Transaction Date</td>\n<td>an <a href=\"https://en.wikipedia.org/wiki/ISO_8601\">ISO 8601</a> encoded <code>string</code></td>\n<td><code>2023-07-14T13:37:00.000Z</code></td>\n</tr>\n<tr>\n<td>source</td>\n<td>Options:  <br /><code>Ajour</code> / <code>NemPOS</code> / <code>OnlinePOS</code> / <code>Zettle</code> / <code>Superb</code> / <code>Shopify</code> / <code>Square</code> / <code>Clover</code> / <code>Piranya</code> / <code>Sitoo / Fresto</code></td>\n<td><code>string</code></td>\n<td><code>Superb</code></td>\n</tr>\n<tr>\n<td>externalCompanyID</td>\n<td>Your External Company ID</td>\n<td><code>string</code></td>\n<td><code>83642</code></td>\n</tr>\n<tr>\n<td>transactionType</td>\n<td>Options:  <br /><code>POS</code> / <code>WEB_SHOP</code> / <code>OTHER</code></td>\n<td><code>string</code></td>\n<td><code>OTHER</code></td>\n</tr>\n<tr>\n<td>externalID</td>\n<td>Your External Transaction ID</td>\n<td><code>string</code></td>\n<td><code>9217836611</code></td>\n</tr>\n<tr>\n<td>currency</td>\n<td>Options:  <br /><code>EUR</code> / <code>JPY</code> / <code>GBP</code> / <code>DKK</code> etc...</td>\n<td>an <a href=\"https://en.wikipedia.org/wiki/ISO_4217\">ISO 4217</a> encoded <code>string</code></td>\n<td><code>DKK</code></td>\n</tr>\n<tr>\n<td>netAmount</td>\n<td>Transaction Total Net Value</td>\n<td><code>number</code></td>\n<td><code>80</code></td>\n</tr>\n<tr>\n<td>taxAmount</td>\n<td>Total Tax applied to the Transaction</td>\n<td><code>number</code></td>\n<td><code>20</code></td>\n</tr>\n<tr>\n<td>tipAmountReceived</td>\n<td>Total amount of tips received for the Transaction</td>\n<td><code>number</code> / <code>null</code></td>\n<td><code>25</code></td>\n</tr>\n<tr>\n<td>externalEmployeeID</td>\n<td>Your External Employee ID</td>\n<td><code>string</code></td>\n<td><code>1234</code></td>\n</tr>\n<tr>\n<td>externalDepartmentID</td>\n<td>Your External Department ID</td>\n<td><code>string</code></td>\n<td><code>4321</code></td>\n</tr>\n<tr>\n<td>transactionLines</td>\n<td>Array of Products</td>\n<td><code>Array of Objects</code></td>\n<td><code>[{...}...]</code></td>\n</tr>\n<tr>\n<td>object.quantity</td>\n<td>Nr of Products</td>\n<td><code>number</code></td>\n<td><code>1</code></td>\n</tr>\n<tr>\n<td>object.externalProductID</td>\n<td>Your Product ID</td>\n<td><code>string</code></td>\n<td></td>\n</tr>\n<tr>\n<td>object.externalVariantID</td>\n<td>Your Product Variant ID</td>\n<td><code>string</code></td>\n<td></td>\n</tr>\n<tr>\n<td>object.productPrice</td>\n<td>Product price</td>\n<td><code>number</code> / <code>null</code></td>\n<td><code>45</code></td>\n</tr>\n<tr>\n<td>object.netAmount</td>\n<td>Transaction Net Amount</td>\n<td><code>number</code> / <code>null</code></td>\n<td><code>36</code></td>\n</tr>\n<tr>\n<td>object.taxAmount</td>\n<td>Tax applied to the Transaction</td>\n<td><code>number</code> / <code>null</code></td>\n<td><code>9</code></td>\n</tr>\n<tr>\n<td>object.productSpecificDiscountValue</td>\n<td>If Product has a Discount</td>\n<td><code>number</code> / <code>null</code></td>\n<td><code>null</code></td>\n</tr>\n<tr>\n<td>transactionDiscount</td>\n<td>Transaction Discount Object</td>\n<td><code>object</code> / <code>null</code></td>\n<td></td>\n</tr>\n<tr>\n<td>transactionDiscount.percentage</td>\n<td>Percentage Discounted applied to transaction</td>\n<td><code>number</code></td>\n<td><code>10</code></td>\n</tr>\n<tr>\n<td>transactionDiscount.quantity</td>\n<td>How many Discounts</td>\n<td><code>number</code></td>\n<td><code>1</code></td>\n</tr>\n<tr>\n<td>transactionDiscount.value</td>\n<td>Number Discounted applied to transaction</td>\n<td><code>number</code></td>\n<td><code>15</code></td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"response-fields\">Response Fields</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Body</th>\n<th>Description</th>\n<th><strong>Type / Format</strong></th>\n<th><strong>Example</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>Array of created Transactions IDs</td>\n<td><code>string[]</code></td>\n<td>{ \"ids\": [\"\"...] }</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["companies","COMPANY_ID","transactions"],"host":["https://europe-west1-production-eu-327a3.cloudfunctions.net/api"],"query":[],"variable":[]}},"response":[{"id":"7b5bc0af-8475-4691-b303-11f4942692e1","name":"Create transactions","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"API-KEY","type":"text"}],"body":{"mode":"raw","raw":"[\n    {\n        \"date\": \"2023-07-14T13:37:00.000Z\",\n        \"source\": \"Superb\",\n        \"externalCompanyID\": \"externalCompanyID\",\n        \"transactionType\": \"OTHER\",\n        \"externalID\": \"externalID\",\n        \"currency\": \"DKK\",\n        \"netAmount\": 80,\n        \"taxAmount\": 20,\n        \"externalEmployeeID\": \"externalEmployeeID\",\n        \"externalDepartmentID\": \"externalDepartmentID\",\n        \"transactionLines\": [\n            {\n                \"quantity\": 1,\n                \"externalProductID\": \"externalProductID1\",\n                \"externalVariantID\": \"externalVariantID1\",\n                \"productPrice\": 45,\n                \"netAmount\": 36,\n                \"taxAmount\": 9,\n                \"productSpecificDiscountValue\": null\n            },\n            {\n                \"quantity\": 1,\n                \"externalProductID\": \"externalProductID2\",\n                \"externalVariantID\": \"externalVariantID2\",\n                \"productPrice\": 55,\n                \"netAmount\": 44,\n                \"taxAmount\": 11,\n                \"productSpecificDiscountValue\": null\n            }\n        ],\n        \"transactionDiscount\": null\n    }\n]","options":{"raw":{"language":"json"}}},"url":"https://europe-west1-production-eu-327a3.cloudfunctions.net/api/companies/COMPANY_ID/transactions"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"ids\": [\n        \"6mRbTZW5tT2zAbqZyNNQ\"\n    ]\n}"}],"_postman_id":"76a40dd2-8809-4e13-a1d6-803183bc1f77"},{"name":"Get transaction","id":"01aada66-602f-4f93-b6ec-271a2f01b98a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":false},"method":"GET","header":[],"url":"https://europe-west1-production-eu-327a3.cloudfunctions.net/api/companies/COMPANY_ID/transactions/:transactionID","description":"<h3 id=\"response-fields\"><strong>Response Fields</strong></h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Body</strong></th>\n<th><strong>Description</strong></th>\n<th><strong>Type / Format</strong></th>\n<th><strong>Example</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>id</code></td>\n<td>Transaction Id</td>\n<td><code>string</code></td>\n<td><code>6mRbTZW5tT2zAbqZyNNQ</code></td>\n</tr>\n<tr>\n<td>currency</td>\n<td>Options:  <br /><code>EUR</code> / <code>JPY</code> / <code>GBP</code> / <code>DKK</code> etc...</td>\n<td>an <a href=\"https://en.wikipedia.org/wiki/ISO_4217\">ISO 4217</a> encoded <code>string</code></td>\n<td><code>DKK</code></td>\n</tr>\n<tr>\n<td><code>date</code></td>\n<td>Transaction Date</td>\n<td>an <a href=\"https://en.wikipedia.org/wiki/ISO_8601\">ISO 8601</a> encoded <code>string</code></td>\n<td><code>2023-07-14T13:37:00.000Z</code></td>\n</tr>\n<tr>\n<td>externalCompanyID</td>\n<td>Your External Company ID</td>\n<td><code>string</code></td>\n<td></td>\n</tr>\n<tr>\n<td>externalEmployeeID</td>\n<td>Your External Employee ID</td>\n<td><code>string</code></td>\n<td><code>1234</code></td>\n</tr>\n<tr>\n<td>externalDepartmentID</td>\n<td>Your External Department ID</td>\n<td><code>string</code></td>\n<td><code>4321</code></td>\n</tr>\n<tr>\n<td>externalID</td>\n<td>Your External Transaction ID</td>\n<td><code>string</code></td>\n<td><code>9217836611</code></td>\n</tr>\n<tr>\n<td>netAmount</td>\n<td>Transaction Total Net Value</td>\n<td><code>number</code></td>\n<td><code>80</code></td>\n</tr>\n<tr>\n<td>source</td>\n<td>Options:  <br /><code>Ajour</code> / <code>NemPOS</code> / <code>OnlinePOS</code> / <code>Zettle</code> / <code>Superb</code> / <code>Shopify</code> / <code>Square</code> / <code>Clover</code> / <code>Piranya</code> / <code>Sitoo / Fresto</code></td>\n<td><code>string</code></td>\n<td><code>Superb</code></td>\n</tr>\n<tr>\n<td>taxAmount</td>\n<td>Total Tax applied to the Transaction</td>\n<td><code>number</code></td>\n<td><code>20</code></td>\n</tr>\n<tr>\n<td>tipAmountReceived</td>\n<td>Total amount of tips received for the Transaction</td>\n<td><code>number</code> / <code>null</code></td>\n<td><code>25</code></td>\n</tr>\n<tr>\n<td>transactionDiscount</td>\n<td>Transaction Discount Object</td>\n<td><code>object</code> / <code>null</code></td>\n<td></td>\n</tr>\n<tr>\n<td>transactionDiscount.percentage</td>\n<td>Percentage Discounted applied to transaction</td>\n<td><code>number</code></td>\n<td><code>10</code></td>\n</tr>\n<tr>\n<td>transactionDiscount.quantity</td>\n<td>How many Discounts</td>\n<td><code>number</code></td>\n<td><code>1</code></td>\n</tr>\n<tr>\n<td>transactionDiscount.value</td>\n<td>Number Discounted applied to transaction</td>\n<td><code>number</code></td>\n<td><code>15</code></td>\n</tr>\n<tr>\n<td>transactionLines</td>\n<td>Array of Products</td>\n<td><code>Array of Objects</code></td>\n<td><code>[{...}...]</code></td>\n</tr>\n<tr>\n<td>object.quantity</td>\n<td>Nr of Products</td>\n<td><code>number</code></td>\n<td><code>1</code></td>\n</tr>\n<tr>\n<td>object.externalProductID</td>\n<td>Your Product ID</td>\n<td><code>string</code></td>\n<td></td>\n</tr>\n<tr>\n<td>object.externalVariantID</td>\n<td>Your Product Variant ID</td>\n<td><code>string</code></td>\n<td></td>\n</tr>\n<tr>\n<td>object.productPrice</td>\n<td>Product price</td>\n<td><code>number</code> / <code>null</code></td>\n<td><code>45</code></td>\n</tr>\n<tr>\n<td>object.netAmount</td>\n<td>Transaction Net Amount</td>\n<td><code>number</code> / <code>null</code></td>\n<td><code>36</code></td>\n</tr>\n<tr>\n<td>object.taxAmount</td>\n<td>Tax applied to the Transaction</td>\n<td><code>number</code> / <code>null</code></td>\n<td><code>9</code></td>\n</tr>\n<tr>\n<td>object.productSpecificDiscountValue</td>\n<td>If Product has a Discount</td>\n<td><code>number</code> / <code>null</code></td>\n<td><code>null</code></td>\n</tr>\n<tr>\n<td>transactionType</td>\n<td>Options:  <br /><code>POS</code> / <code>WEB_SHOP</code> / <code>OTHER</code></td>\n<td><code>string</code></td>\n<td><code>OTHER</code></td>\n</tr>\n<tr>\n<td>createTime</td>\n<td>When Transaction was created</td>\n<td>an <a href=\"https://en.wikipedia.org/wiki/ISO_8601\">ISO 8601</a> encoded <code>string</code></td>\n<td><code>2023-10-28T16:19:41.998Z</code></td>\n</tr>\n<tr>\n<td>updateTime</td>\n<td>When Transaction was updated</td>\n<td>an <a href=\"https://en.wikipedia.org/wiki/ISO_8601\">ISO 8601</a> encoded <code>string</code></td>\n<td><code>2023-10-28T16:19:41.998Z</code></td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["companies","COMPANY_ID","transactions",":transactionID"],"host":["https://europe-west1-production-eu-327a3.cloudfunctions.net/api"],"query":[],"variable":[{"description":{"content":"<p>Transaction Id</p>\n","type":"text/plain"},"type":"any","value":"","key":"transactionID"}]}},"response":[{"id":"72623cbb-7e14-4e84-9a87-273f1eef7513","name":"Get transaction","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"API-KEY","type":"text"}],"url":{"raw":"https://europe-west1-production-eu-327a3.cloudfunctions.net/api/companies/COMPANY_ID/transactions/:transactionID","host":["https://europe-west1-production-eu-327a3.cloudfunctions.net/api"],"path":["companies","COMPANY_ID","transactions",":transactionID"],"variable":[{"key":"transactionID","value":"6mRbTZW5tT2zAbqZyNNQ"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"6mRbTZW5tT2zAbqZyNNQ\",\n    \"currency\": \"DKK\",\n    \"date\": \"2023-07-14T13:37:00.000Z\",\n    \"externalCompanyID\": \"externalCompanyID\",\n    \"externalDepartmentID\": \"externalDepartmentID\",\n    \"externalEmployeeID\": \"externalEmployeeID\",\n    \"externalID\": \"externalID\",\n    \"netAmount\": 80,\n    \"source\": \"Superb\",\n    \"taxAmount\": 20,\n    \"transactionDiscount\": null,\n    \"transactionLines\": [\n        {\n            \"quantity\": 1,\n            \"netAmount\": 36,\n            \"externalVariantID\": \"externalVariantID1\",\n            \"productSpecificDiscountValue\": null,\n            \"externalProductID\": \"externalProductID1\",\n            \"taxAmount\": 9,\n            \"productPrice\": 45\n        },\n        {\n            \"quantity\": 1,\n            \"netAmount\": 44,\n            \"externalVariantID\": \"externalVariantID2\",\n            \"productSpecificDiscountValue\": null,\n            \"externalProductID\": \"externalProductID2\",\n            \"taxAmount\": 11,\n            \"productPrice\": 55\n        }\n    ],\n    \"transactionType\": \"OTHER\",\n    \"createTime\": \"2023-10-28T16:19:41.998Z\",\n    \"updateTime\": \"2023-10-28T16:19:41.998Z\"\n}"}],"_postman_id":"01aada66-602f-4f93-b6ec-271a2f01b98a"},{"name":"Get transactions","id":"5e00b536-9a6a-418f-a565-6fe3597a49d5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":false},"method":"GET","header":[],"url":"https://europe-west1-production-eu-327a3.cloudfunctions.net/api/companies/COMPANY_ID/transactions?from=2023-07-01T00:00:00.000Z&to=2023-08-02T00:00:00.000Z","description":"<h3 id=\"request-fields\">Request Fields</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Param</strong></th>\n<th><strong>Required</strong></th>\n<th><strong>Description</strong></th>\n<th><strong>Type / format</strong></th>\n<th><strong>Example</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>from</td>\n<td>Yes</td>\n<td>Only get Transactions starting <em>on or after</em> this time</td>\n<td>an <a href=\"https://en.wikipedia.org/wiki/ISO_8601\">ISO 8601</a> encoded <code>string</code></td>\n<td><code>2023-07-01T00:00:00.000Z</code></td>\n</tr>\n<tr>\n<td>to</td>\n<td>Yes</td>\n<td>Only get Transactions starting <em>before</em> this time</td>\n<td>an <a href=\"https://en.wikipedia.org/wiki/ISO_8601\">ISO 8601</a> encoded <code>string</code></td>\n<td><code>2023-10-30T00:00:00.000Z</code></td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"response-fields\"><strong>Response Fields</strong></h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Body</strong></th>\n<th><strong>Description</strong></th>\n<th><strong>Type / Format</strong></th>\n<th><strong>Example</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>id</code></td>\n<td>Transaction Id</td>\n<td><code>string</code></td>\n<td><code>6mRbTZW5tT2zAbqZyNNQ</code></td>\n</tr>\n<tr>\n<td>currency</td>\n<td>Options:  <br /><code>EUR</code> / <code>JPY</code> / <code>GBP</code> / <code>DKK</code> etc...</td>\n<td>an <a href=\"https://en.wikipedia.org/wiki/ISO_4217\">ISO 4217</a> encoded <code>string</code></td>\n<td><code>DKK</code></td>\n</tr>\n<tr>\n<td><code>date</code></td>\n<td>Transaction Date</td>\n<td>an <a href=\"https://en.wikipedia.org/wiki/ISO_8601\">ISO 8601</a> encoded <code>string</code></td>\n<td><code>2023-07-14T13:37:00.000Z</code></td>\n</tr>\n<tr>\n<td>externalCompanyID</td>\n<td>Your External Company ID</td>\n<td><code>string</code></td>\n<td></td>\n</tr>\n<tr>\n<td>externalEmployeeID</td>\n<td>Your External Employee ID</td>\n<td><code>string</code></td>\n<td><code>1234</code></td>\n</tr>\n<tr>\n<td>externalDepartmentID</td>\n<td>Your External Department ID</td>\n<td><code>string</code></td>\n<td><code>4321</code></td>\n</tr>\n<tr>\n<td>externalID</td>\n<td>Your External Transaction ID</td>\n<td><code>string</code></td>\n<td><code>9217836611</code></td>\n</tr>\n<tr>\n<td>netAmount</td>\n<td>Transaction Total Net Value</td>\n<td><code>number</code></td>\n<td><code>80</code></td>\n</tr>\n<tr>\n<td>source</td>\n<td>Options:  <br /><code>Ajour</code> / <code>NemPOS</code> / <code>OnlinePOS</code> / <code>Zettle</code> / <code>Superb</code> / <code>Shopify</code> / <code>Square</code> / <code>Clover</code> / <code>Piranya</code> / <code>Sitoo / Fresto</code></td>\n<td><code>string</code></td>\n<td><code>Superb</code></td>\n</tr>\n<tr>\n<td>taxAmount</td>\n<td>Total Tax applied to the Transaction</td>\n<td><code>number</code></td>\n<td><code>20</code></td>\n</tr>\n<tr>\n<td>tipAmountReceived</td>\n<td>Total amount of tips received for the Transaction</td>\n<td><code>number</code> / <code>null</code></td>\n<td><code>25</code></td>\n</tr>\n<tr>\n<td>transactionDiscount</td>\n<td>Transaction Discount Object</td>\n<td><code>object</code> / <code>null</code></td>\n<td></td>\n</tr>\n<tr>\n<td>transactionDiscount.percentage</td>\n<td>Percentage Discounted applied to transaction</td>\n<td><code>number</code></td>\n<td><code>10</code></td>\n</tr>\n<tr>\n<td>transactionDiscount.quantity</td>\n<td>How many Discounts</td>\n<td><code>number</code></td>\n<td><code>1</code></td>\n</tr>\n<tr>\n<td>transactionDiscount.value</td>\n<td>Number Discounted applied to transaction</td>\n<td><code>number</code></td>\n<td><code>15</code></td>\n</tr>\n<tr>\n<td>transactionLines</td>\n<td>Array of Products</td>\n<td><code>Array of Objects</code></td>\n<td><code>[{...}...]</code></td>\n</tr>\n<tr>\n<td>object.quantity</td>\n<td>Nr of Products</td>\n<td><code>number</code></td>\n<td><code>1</code></td>\n</tr>\n<tr>\n<td>object.externalProductID</td>\n<td>Your Product ID</td>\n<td><code>string</code></td>\n<td></td>\n</tr>\n<tr>\n<td>object.externalVariantID</td>\n<td>Your Product Variant ID</td>\n<td><code>string</code></td>\n<td></td>\n</tr>\n<tr>\n<td>object.productPrice</td>\n<td>Product price</td>\n<td><code>number</code> / <code>null</code></td>\n<td><code>45</code></td>\n</tr>\n<tr>\n<td>object.netAmount</td>\n<td>Transaction Net Amount</td>\n<td><code>number</code> / <code>null</code></td>\n<td><code>36</code></td>\n</tr>\n<tr>\n<td>object.taxAmount</td>\n<td>Tax applied to the Transaction</td>\n<td><code>number</code> / <code>null</code></td>\n<td><code>9</code></td>\n</tr>\n<tr>\n<td>object.productSpecificDiscountValue</td>\n<td>If Product has a Discount</td>\n<td><code>number</code> / <code>null</code></td>\n<td><code>null</code></td>\n</tr>\n<tr>\n<td>transactionType</td>\n<td>Options:  <br /><code>POS</code> / <code>WEB_SHOP</code> / <code>OTHER</code></td>\n<td><code>string</code></td>\n<td><code>OTHER</code></td>\n</tr>\n<tr>\n<td>createTime</td>\n<td>When Transaction was created</td>\n<td>an <a href=\"https://en.wikipedia.org/wiki/ISO_8601\">ISO 8601</a> encoded <code>string</code></td>\n<td><code>2023-10-28T16:19:41.998Z</code></td>\n</tr>\n<tr>\n<td>updateTime</td>\n<td>When Transaction was updated</td>\n<td>an <a href=\"https://en.wikipedia.org/wiki/ISO_8601\">ISO 8601</a> encoded <code>string</code></td>\n<td><code>2023-10-28T16:19:41.998Z</code></td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["companies","COMPANY_ID","transactions"],"host":["https://europe-west1-production-eu-327a3.cloudfunctions.net/api"],"query":[{"key":"from","value":"2023-07-01T00:00:00.000Z"},{"key":"to","value":"2023-08-02T00:00:00.000Z"}],"variable":[]}},"response":[{"id":"970a43df-dd62-487f-a377-0bc4d6f99dbe","name":"Get transactions","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"API-KEY","type":"text"}],"url":{"raw":"https://europe-west1-production-eu-327a3.cloudfunctions.net/api/companies/COMPANY_ID/transactions?from=2023-07-01T00:00:00.000Z&to=2023-10-30T00:00:00.000Z","host":["https://europe-west1-production-eu-327a3.cloudfunctions.net/api"],"path":["companies","COMPANY_ID","transactions"],"query":[{"key":"from","value":"2023-07-01T00:00:00.000Z"},{"key":"to","value":"2023-10-30T00:00:00.000Z"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": \"6mRbTZW5tT2zAbqZyNNQ\",\n        \"currency\": \"DKK\",\n        \"date\": \"2023-07-14T13:37:00.000Z\",\n        \"externalCompanyID\": \"externalCompanyID\",\n        \"externalDepartmentID\": \"externalDepartmentID\",\n        \"externalEmployeeID\": \"externalEmployeeID\",\n        \"externalID\": \"externalID\",\n        \"netAmount\": 80,\n        \"source\": \"Superb\",\n        \"taxAmount\": 20,\n        \"transactionDiscount\": null,\n        \"transactionLines\": [\n            {\n                \"quantity\": 1,\n                \"netAmount\": 36,\n                \"externalVariantID\": \"externalVariantID1\",\n                \"productSpecificDiscountValue\": null,\n                \"externalProductID\": \"externalProductID1\",\n                \"taxAmount\": 9,\n                \"productPrice\": 45\n            },\n            {\n                \"quantity\": 1,\n                \"netAmount\": 44,\n                \"externalVariantID\": \"externalVariantID2\",\n                \"productSpecificDiscountValue\": null,\n                \"externalProductID\": \"externalProductID2\",\n                \"taxAmount\": 11,\n                \"productPrice\": 55\n            }\n        ],\n        \"transactionType\": \"OTHER\",\n        \"createTime\": \"2023-10-28T16:19:41.998Z\",\n        \"updateTime\": \"2023-10-28T16:19:41.998Z\"\n    }\n]"}],"_postman_id":"5e00b536-9a6a-418f-a565-6fe3597a49d5"},{"name":"Delete transaction","id":"a2c80220-84f0-456b-9ecd-17b32f70372f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":false},"method":"DELETE","header":[],"url":"https://europe-west1-production-eu-327a3.cloudfunctions.net/api/companies/COMPANY_ID/transactions/:transactionID","urlObject":{"path":["companies","COMPANY_ID","transactions",":transactionID"],"host":["https://europe-west1-production-eu-327a3.cloudfunctions.net/api"],"query":[],"variable":[{"id":"216c3f55-4b8c-497d-a9a9-f5b43a8a3d26","description":{"content":"<p>Transaction Id</p>\n","type":"text/plain"},"type":"any","value":"","key":"transactionID"}]}},"response":[{"id":"35ee1998-fd77-43f7-bc66-59ce768959b8","name":"Delete transaction","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"https://europe-west1-production-eu-327a3.cloudfunctions.net/api/companies/COMPANY_ID/transactions/:transactionID","host":["https://europe-west1-production-eu-327a3.cloudfunctions.net/api"],"path":["companies","COMPANY_ID","transactions",":transactionID"],"variable":[{"key":"transactionID","value":"6mRbTZW5tT2zAbqZyNNQ"}]}},"status":"No Content","code":204,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null}],"_postman_id":"a2c80220-84f0-456b-9ecd-17b32f70372f"}],"id":"4c5fa6cb-6fb0-43d6-9bc2-7096efa7272b","_postman_id":"4c5fa6cb-6fb0-43d6-9bc2-7096efa7272b","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"API_KEY"}]},"isInherited":true,"source":{"_postman_id":"59bfbd79-56b8-4afc-ba02-aaa84928a576","id":"59bfbd79-56b8-4afc-ba02-aaa84928a576","name":"Workfeed API (prod)","type":"collection"}}},{"name":"Table Bookings","item":[{"name":"Create table booking","id":"30e1583f-644a-4323-aa34-4e208171b923","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n \"tableBookingIntegration\": \"EasyTableBooking\",\n \"externalBookingID\": \"12345678\",\n \"from\": \"2024-05-28T00:00:00Z\",\n \"durationInMinutes\": 60,\n \"status\": \"ACTIVE\",\n \"numberOfGuests\": 12,\n \"walkIn\": false,\n \"placeToken\": \"#1234FBTest\"\n}","options":{"raw":{"language":"json"}}},"url":"https://europe-west1-production-eu-327a3.cloudfunctions.net/api/companies/COMPANY_ID/table-booking","description":"<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>TableBookingIntegration</strong></th>\n<th><strong>Status</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>EasyTableBooking</td>\n<td><code>ACTIVE</code> / <code>CANCELLED</code> / <code>NOT_ARRIVED</code></td>\n</tr>\n<tr>\n<td>DinnerBooking</td>\n<td><code>current</code> / <code>waiting</code> / <code>deleted</code> / <code>no_show</code> / <code>payment_error</code> / <code>moved</code></td>\n</tr>\n<tr>\n<td>Formitable</td>\n<td><code>created</code> / <code>accepted</code> / <code>cancelled</code> / <code>failed</code> / <code>expired</code></td>\n</tr>\n<tr>\n<td>BookEtBord</td>\n<td><code>temporary</code> / <code>created</code> / <code>arrived</code> / <code>payed</code> / <code>completed</code> / <code>cancelled</code> / <code>deleted</code> / <code>noshow</code></td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"request-fields\"><strong>Request Fields</strong></h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Body</strong></th>\n<th><strong>Required</strong></th>\n<th><strong>Description</strong></th>\n<th><strong>Type / Format</strong></th>\n<th><strong>Example</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>tableBookingIntegration</code></td>\n<td>Yes</td>\n<td>Options:  <br /><code>EasyTableBooking</code> / <code>DinnerBooking</code> / <code>Formitable</code> / <code>BookEtBord</code></td>\n<td><code>string</code></td>\n<td><code>EasyTableBooking</code></td>\n</tr>\n<tr>\n<td>externalBookingID</td>\n<td>Yes</td>\n<td>External booking ID from the integration system</td>\n<td><code>string</code></td>\n<td><code>12345678</code></td>\n</tr>\n<tr>\n<td>from</td>\n<td>Yes</td>\n<td>Timestamp representing the start time of the booking</td>\n<td>an <a href=\"https://en.wikipedia.org/wiki/ISO_8601\">ISO 8601</a> encoded <code>string</code></td>\n<td><code>2024-05-28T00:00:00Z</code></td>\n</tr>\n<tr>\n<td>durationInMinutes</td>\n<td>Yes</td>\n<td>Duration of the booking in minutes</td>\n<td><code>number</code></td>\n<td><code>60</code></td>\n</tr>\n<tr>\n<td>status</td>\n<td>Yes</td>\n<td>Table Booking Status.  <br />  <br />Note: See the Table above with the list of possible status, according to <code>tableBookingIntegration</code></td>\n<td><code>string</code></td>\n<td><code>ACTIVE</code></td>\n</tr>\n<tr>\n<td>numberOfGuests</td>\n<td>Yes</td>\n<td>Number of guests for the booking</td>\n<td><code>number</code></td>\n<td><code>12</code></td>\n</tr>\n<tr>\n<td>walkIn</td>\n<td>Yes</td>\n<td>Indicates whether the booking is a walk-in</td>\n<td><code>boolean</code></td>\n<td><code>false</code></td>\n</tr>\n<tr>\n<td>placeToken</td>\n<td>Yes</td>\n<td>Token representing the place of the booking</td>\n<td><code>string</code></td>\n<td><code>#1234FBTest</code></td>\n</tr>\n<tr>\n<td>employeeNote</td>\n<td>False</td>\n<td>Note from the employee handling the booking</td>\n<td><code>string</code></td>\n<td><code>Test Note</code></td>\n</tr>\n<tr>\n<td>arrived</td>\n<td>False</td>\n<td>Indicates whether the customer has arrived</td>\n<td><code>boolean</code></td>\n<td><code>False</code></td>\n</tr>\n<tr>\n<td>timeOfBooking</td>\n<td>False</td>\n<td>Timestamp representing the time of the booking</td>\n<td>an <a href=\"https://en.wikipedia.org/wiki/ISO_8601\">ISO 8601</a> encoded <code>string</code></td>\n<td><code>2024-05-28T00:00:00Z</code></td>\n</tr>\n<tr>\n<td>customerID</td>\n<td>False</td>\n<td>ID of the customer</td>\n<td><code>string</code></td>\n<td><code>1234</code></td>\n</tr>\n<tr>\n<td>customerName</td>\n<td>False</td>\n<td>Name of the customer</td>\n<td><code>string</code></td>\n<td><code>Foo</code></td>\n</tr>\n<tr>\n<td>customerEmail</td>\n<td>False</td>\n<td>Email of the customer</td>\n<td><code>string</code></td>\n<td><code>test@example.com</code></td>\n</tr>\n<tr>\n<td>customerNote</td>\n<td>False</td>\n<td>Note from the customer</td>\n<td><code>string</code></td>\n<td><code>Test Note</code></td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"response-fields\">Response Fields</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Body</th>\n<th>Description</th>\n<th><strong>Type / Format</strong></th>\n<th><strong>Example</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>ID of created Table Booking</td>\n<td><code>string</code></td>\n<td>{ \"id\": \"\" }</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["companies","COMPANY_ID","table-booking"],"host":["https://europe-west1-production-eu-327a3.cloudfunctions.net/api"],"query":[],"variable":[]}},"response":[{"id":"89dd03af-7525-4a5f-9b28-0e34c3ee2cde","name":"Create table booking","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"API-KEY","type":"text"}],"body":{"mode":"raw","raw":"{\n \"tableBookingIntegration\": \"EasyTableBooking\",\n \"externalBookingID\": \"12345678\",\n \"from\": \"2024-05-28T00:00:00Z\",\n \"durationInMinutes\": 60,\n \"status\": \"ACTIVE\",\n \"numberOfGuests\": 12,\n \"walkIn\": false,\n \"placeToken\": \"#1234FBTest\"\n}","options":{"raw":{"language":"json"}}},"url":"https://europe-west1-production-eu-327a3.cloudfunctions.net/api/companies/COMPANY_ID/table-booking"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"4LZ5mgZsezQcwvVsA6UC\"\n}"}],"_postman_id":"30e1583f-644a-4323-aa34-4e208171b923"},{"name":"Update table booking","id":"05f5df04-26e4-4ffd-adf3-982568762b61","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":false},"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n \"tableBookingIntegration\": \"EasyTableBooking\",\n \"externalBookingID\": \"12345678\",\n \"from\": \"2024-05-28T00:00:00Z\",\n \"durationInMinutes\": 60,\n \"status\": \"ACTIVE\",\n \"numberOfGuests\": 12,\n \"walkIn\": false,\n \"placeToken\": \"#1234FBTest\"\n}","options":{"raw":{"language":"json"}}},"url":"https://europe-west1-production-eu-327a3.cloudfunctions.net/api/companies/COMPANY_ID/table-booking/:tableBookingID","description":"<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>TableBookingIntegration</strong></th>\n<th><strong>Status</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>EasyTableBooking</td>\n<td><code>ACTIVE</code> / <code>CANCELLED</code> / <code>NOT_ARRIVED</code></td>\n</tr>\n<tr>\n<td>DinnerBooking</td>\n<td><code>current</code> / <code>waiting</code> / <code>deleted</code> / <code>no_show</code> / <code>payment_error</code> / <code>moved</code></td>\n</tr>\n<tr>\n<td>Formitable</td>\n<td><code>created</code> / <code>accepted</code> / <code>cancelled</code> / <code>failed</code> / <code>expired</code></td>\n</tr>\n<tr>\n<td>BookEtBord</td>\n<td><code>temporary</code> / <code>created</code> / <code>arrived</code> / <code>payed</code> / <code>completed</code> / <code>cancelled</code> / <code>deleted</code> / <code>noshow</code></td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"request-fields\"><strong>Request Fields</strong></h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Body</strong></th>\n<th><strong>Required</strong></th>\n<th><strong>Description</strong></th>\n<th><strong>Type / Format</strong></th>\n<th><strong>Example</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>tableBookingIntegration</td>\n<td>False</td>\n<td>Options:  <br /><code>EasyTableBooking</code> / <code>DinnerBooking</code> / <code>Formitable</code> / <code>BookEtBord</code></td>\n<td><code>string</code></td>\n<td><code>EasyTableBooking</code></td>\n</tr>\n<tr>\n<td>externalBookingID</td>\n<td>False</td>\n<td>External booking ID from the integration system</td>\n<td><code>string</code></td>\n<td><code>12345678</code></td>\n</tr>\n<tr>\n<td>from</td>\n<td>False</td>\n<td>Timestamp representing the start time of the booking.  <br />  <br />NOTE: if <code>from</code> is present in the body, <code>durationInMinutes</code> must also be present</td>\n<td>an <a href=\"https://en.wikipedia.org/wiki/ISO_8601\">ISO 8601</a> encoded <code>string</code></td>\n<td><code>2024-05-28T00:00:00Z</code></td>\n</tr>\n<tr>\n<td>durationInMinutes</td>\n<td>False</td>\n<td>Duration of the booking in minutes  <br />  <br />NOTE: if <code>durationInMinutes</code> is present in the body, <code>from</code> must also be present</td>\n<td><code>number</code></td>\n<td><code>60</code></td>\n</tr>\n<tr>\n<td>status</td>\n<td>False</td>\n<td>Table Booking Status.  <br />  <br />Note: See the Table above with the list of possible status, according to <code>tableBookingIntegration</code></td>\n<td><code>string</code></td>\n<td><code>ACTIVE</code></td>\n</tr>\n<tr>\n<td>numberOfGuests</td>\n<td>False</td>\n<td>Number of guests for the booking</td>\n<td><code>number</code></td>\n<td><code>12</code></td>\n</tr>\n<tr>\n<td>walkIn</td>\n<td>False</td>\n<td>Indicates whether the booking is a walk-in</td>\n<td><code>boolean</code></td>\n<td><code>false</code></td>\n</tr>\n<tr>\n<td>placeToken</td>\n<td>False</td>\n<td>Token representing the place of the booking</td>\n<td><code>string</code></td>\n<td><code>#1234FBTest</code></td>\n</tr>\n<tr>\n<td>employeeNote</td>\n<td>False</td>\n<td>Note from the employee handling the booking</td>\n<td><code>string</code></td>\n<td><code>Test Note</code></td>\n</tr>\n<tr>\n<td>arrived</td>\n<td>False</td>\n<td>Indicates whether the customer has arrived</td>\n<td><code>boolean</code></td>\n<td><code>False</code></td>\n</tr>\n<tr>\n<td>timeOfBooking</td>\n<td>False</td>\n<td>Timestamp representing the time of the booking</td>\n<td>an <a href=\"https://en.wikipedia.org/wiki/ISO_8601\">ISO 8601</a> encoded <code>string</code></td>\n<td><code>2024-05-28T00:00:00Z</code></td>\n</tr>\n<tr>\n<td>customerID</td>\n<td>False</td>\n<td>ID of the customer</td>\n<td><code>string</code></td>\n<td><code>1234</code></td>\n</tr>\n<tr>\n<td>customerName</td>\n<td>False</td>\n<td>Name of the customer</td>\n<td><code>string</code></td>\n<td><code>Foo</code></td>\n</tr>\n<tr>\n<td>customerEmail</td>\n<td>False</td>\n<td>Email of the customer</td>\n<td><code>string</code></td>\n<td><code>test@example.com</code></td>\n</tr>\n<tr>\n<td>customerNote</td>\n<td>False</td>\n<td>Note from the customer</td>\n<td><code>string</code></td>\n<td><code>Test Note</code></td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Response Fields</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Body</strong></th>\n<th><strong>Description</strong></th>\n<th><strong>Type / Format</strong></th>\n<th><strong>Example</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>Table Booking ID</td>\n<td><code>string</code></td>\n<td><code>4LZ5mgZsezQcwvVsA6UC</code></td>\n</tr>\n<tr>\n<td>start</td>\n<td>When Table Booking starts</td>\n<td><code>string</code></td>\n<td><code>2024-05-28T00:00:00Z</code></td>\n</tr>\n<tr>\n<td>end</td>\n<td>When Table Booking ends. Can be <code>null</code> for certain booking sources that don't support end times.</td>\n<td><code>string</code> / <code>null</code></td>\n<td><code>2024-05-28T01:00:00Z</code></td>\n</tr>\n<tr>\n<td>tableBookingIntegration</td>\n<td></td>\n<td><code>string</code></td>\n<td><code>EasyTableBooking</code></td>\n</tr>\n<tr>\n<td>externalBookingID</td>\n<td>External booking ID from the integration system</td>\n<td><code>string</code></td>\n<td><code>12345678</code></td>\n</tr>\n<tr>\n<td>durationInMinutes</td>\n<td>Duration of the booking in minutes. Can be <code>null</code> for certain booking sources that don't support end times.</td>\n<td><code>number</code> / <code>null</code></td>\n<td><code>60</code></td>\n</tr>\n<tr>\n<td>status</td>\n<td>Table Booking Status.  <br />  <br />Note: See the Table above with the list of possible status, according to <code>tableBookingIntegration</code></td>\n<td><code>string</code></td>\n<td><code>ACTIVE</code></td>\n</tr>\n<tr>\n<td>numberOfGuests</td>\n<td>Number of guests for the booking</td>\n<td><code>number</code></td>\n<td><code>12</code></td>\n</tr>\n<tr>\n<td>walkIn</td>\n<td>Indicates whether the booking is a walk-in</td>\n<td><code>boolean</code></td>\n<td><code>false</code></td>\n</tr>\n<tr>\n<td>placeToken</td>\n<td>Token representing the place of the booking</td>\n<td><code>string</code></td>\n<td><code>#1234FBTest</code></td>\n</tr>\n<tr>\n<td>employeeNote</td>\n<td>Note from the employee handling the booking</td>\n<td><code>string</code></td>\n<td><code>Test Note</code></td>\n</tr>\n<tr>\n<td>arrived</td>\n<td>Indicates whether the customer has arrived</td>\n<td><code>boolean</code></td>\n<td><code>False</code></td>\n</tr>\n<tr>\n<td>timeOfBooking</td>\n<td>Timestamp representing the time of the booking</td>\n<td>an <a href=\"https://en.wikipedia.org/wiki/ISO_8601\">ISO 8601</a> encoded <code>string</code></td>\n<td><code>2024-05-28T00:00:00Z</code></td>\n</tr>\n<tr>\n<td>customerID</td>\n<td>ID of the customer</td>\n<td><code>string</code></td>\n<td><code>1234</code></td>\n</tr>\n<tr>\n<td>customerName</td>\n<td>Name of the customer</td>\n<td><code>string</code></td>\n<td><code>Foo</code></td>\n</tr>\n<tr>\n<td>customerEmail</td>\n<td>Email of the customer</td>\n<td><code>string</code></td>\n<td><code>test@example.com</code></td>\n</tr>\n<tr>\n<td>customerNote</td>\n<td>Note from the customer</td>\n<td><code>string</code></td>\n<td><code>Test Note</code></td>\n</tr>\n<tr>\n<td>createTime</td>\n<td>When Table Booking was created</td>\n<td>an <a href=\"https://en.wikipedia.org/wiki/ISO_8601\">ISO 8601</a> encoded <code>string</code></td>\n<td><code>2023-10-28T16:19:41.998Z</code></td>\n</tr>\n<tr>\n<td>updateTime</td>\n<td>When Table Booking was updated</td>\n<td>an <a href=\"https://en.wikipedia.org/wiki/ISO_8601\">ISO 8601</a> encoded <code>string</code></td>\n<td><code>2023-10-28T16:19:41.998Z</code></td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["companies","COMPANY_ID","table-booking",":tableBookingID"],"host":["https://europe-west1-production-eu-327a3.cloudfunctions.net/api"],"query":[],"variable":[{"type":"any","value":"","key":"tableBookingID"}]}},"response":[{"id":"78f57426-b669-4ab0-9f96-e011b2d53765","name":"Update table booking","originalRequest":{"method":"PUT","header":[{"key":"Authorization","value":"API-KEY","type":"text"}],"body":{"mode":"raw","raw":"{\n \"tableBookingIntegration\": \"EasyTableBooking\",\n \"externalBookingID\": \"12345678\",\n \"from\": \"2024-05-28T00:00:00Z\",\n \"durationInMinutes\": 60,\n \"status\": \"ACTIVE\",\n \"numberOfGuests\": 12,\n \"walkIn\": false,\n \"placeToken\": \"#1234FBTest\"\n}","options":{"raw":{"language":"json"}}},"url":"https://europe-west1-production-eu-327a3.cloudfunctions.net/api/companies/COMPANY_ID/table-booking"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"4LZ5mgZsezQcwvVsA6UC\",\n    \"start\": \"2024-05-28T00:00:00.000Z\",\n    \"end\": \"2024-05-28T01:00:00.000Z\",\n    \"tableBookingIntegration\": \"EasyTableBooking\",\n    \"externalBookingID\": \"12345678\",\n    \"durationInMinutes\": 60,\n    \"arrived\": null,\n    \"status\": \"ACTIVE\",\n    \"numberOfGuests\": 12,\n    \"walkIn\": false,\n    \"customerID\": null,\n    \"customerName\": null,\n    \"customerEmail\": null,\n    \"placeToken\": \"#1234FBTest\",\n    \"customerNote\": null,\n    \"employeeNote\": null,\n    \"timeOfBooking\": null,\n    \"createTime\": \"2024-06-10T15:09:11.484Z\",\n    \"updateTime\": \"2024-06-10T15:09:11.484Z\"\n}"}],"_postman_id":"05f5df04-26e4-4ffd-adf3-982568762b61"},{"name":"Get table booking","id":"b423d676-c5fa-4c50-99ec-f0975c9bbf4e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":false},"method":"GET","header":[],"url":"https://europe-west1-production-eu-327a3.cloudfunctions.net/api/companies/COMPANY_ID/table-booking/:tableBookingID","description":"<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>TableBookingIntegration</strong></th>\n<th><strong>Status</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>EasyTableBooking</td>\n<td><code>ACTIVE</code> / <code>CANCELLED</code> / <code>NOT_ARRIVED</code></td>\n</tr>\n<tr>\n<td>DinnerBooking</td>\n<td><code>current</code> / <code>waiting</code> / <code>deleted</code> / <code>no_show</code> / <code>payment_error</code> / <code>moved</code></td>\n</tr>\n<tr>\n<td>Formitable</td>\n<td><code>created</code> / <code>accepted</code> / <code>cancelled</code> / <code>failed</code> / <code>expired</code></td>\n</tr>\n<tr>\n<td>BookEtBord</td>\n<td><code>temporary</code> / <code>created</code> / <code>arrived</code> / <code>payed</code> / <code>completed</code> / <code>cancelled</code> / <code>deleted</code> / <code>noshow</code></td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"response-fields\"><strong>Response Fields</strong></h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Body</strong></th>\n<th><strong>Description</strong></th>\n<th><strong>Type / Format</strong></th>\n<th><strong>Example</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>Table Booking ID</td>\n<td><code>string</code></td>\n<td><code>4LZ5mgZsezQcwvVsA6UC</code></td>\n</tr>\n<tr>\n<td>start</td>\n<td>When Table Booking starts</td>\n<td><code>string</code></td>\n<td><code>2024-05-28T00:00:00Z</code></td>\n</tr>\n<tr>\n<td>end</td>\n<td>When Table Booking ends. Can be <code>null</code> for certain booking sources that don't support end times.</td>\n<td><code>string</code> / <code>null</code></td>\n<td><code>2024-05-28T01:00:00Z</code></td>\n</tr>\n<tr>\n<td>tableBookingIntegration</td>\n<td>Options:  <br /><code>EasyTableBooking</code> / <code>DinnerBooking</code> / <code>Formitable</code> / <code>BookEtBord</code></td>\n<td><code>string</code></td>\n<td><code>EasyTableBooking</code></td>\n</tr>\n<tr>\n<td>externalBookingID</td>\n<td>External booking ID from the integration system</td>\n<td><code>string</code></td>\n<td><code>12345678</code></td>\n</tr>\n<tr>\n<td>durationInMinutes</td>\n<td>Duration of the booking in minutes. Can be <code>null</code> for certain booking sources that don't support end times.</td>\n<td><code>number</code> / <code>null</code></td>\n<td><code>60</code></td>\n</tr>\n<tr>\n<td>status</td>\n<td>Table Booking Status.  <br />  <br />Note: See the Table above with the list of possible status, according to <code>tableBookingIntegration</code></td>\n<td><code>string</code></td>\n<td><code>ACTIVE</code></td>\n</tr>\n<tr>\n<td>numberOfGuests</td>\n<td>Number of guests for the booking</td>\n<td><code>number</code></td>\n<td><code>12</code></td>\n</tr>\n<tr>\n<td>walkIn</td>\n<td>Indicates whether the booking is a walk-in</td>\n<td><code>boolean</code></td>\n<td><code>false</code></td>\n</tr>\n<tr>\n<td>placeToken</td>\n<td>Token representing the place of the booking</td>\n<td><code>string</code></td>\n<td><code>#1234FBTest</code></td>\n</tr>\n<tr>\n<td>employeeNote</td>\n<td>Note from the employee handling the booking</td>\n<td><code>string</code></td>\n<td><code>Test Note</code></td>\n</tr>\n<tr>\n<td>arrived</td>\n<td>Indicates whether the customer has arrived</td>\n<td><code>boolean</code></td>\n<td><code>False</code></td>\n</tr>\n<tr>\n<td>timeOfBooking</td>\n<td>Timestamp representing the time of the booking</td>\n<td>an <a href=\"https://en.wikipedia.org/wiki/ISO_8601\">ISO 8601</a> encoded <code>string</code></td>\n<td><code>2024-05-28T00:00:00Z</code></td>\n</tr>\n<tr>\n<td>customerID</td>\n<td>ID of the customer</td>\n<td><code>string</code></td>\n<td><code>1234</code></td>\n</tr>\n<tr>\n<td>customerName</td>\n<td>Name of the customer</td>\n<td><code>string</code></td>\n<td><code>Foo</code></td>\n</tr>\n<tr>\n<td>customerEmail</td>\n<td>Email of the customer</td>\n<td><code>string</code></td>\n<td><code>test@example.com</code></td>\n</tr>\n<tr>\n<td>customerNote</td>\n<td>Note from the customer</td>\n<td><code>string</code></td>\n<td><code>Test Note</code></td>\n</tr>\n<tr>\n<td>createTime</td>\n<td>When Table Booking was created</td>\n<td>an <a href=\"https://en.wikipedia.org/wiki/ISO_8601\">ISO 8601</a> encoded <code>string</code></td>\n<td><code>2023-10-28T16:19:41.998Z</code></td>\n</tr>\n<tr>\n<td>updateTime</td>\n<td>When Table Booking was updated</td>\n<td>an <a href=\"https://en.wikipedia.org/wiki/ISO_8601\">ISO 8601</a> encoded <code>string</code></td>\n<td><code>2023-10-28T16:19:41.998Z</code></td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["companies","COMPANY_ID","table-booking",":tableBookingID"],"host":["https://europe-west1-production-eu-327a3.cloudfunctions.net/api"],"query":[],"variable":[{"type":"any","value":"","key":"tableBookingID"}]}},"response":[{"id":"b47a21d3-6eba-40d2-baf1-13256ed19d5b","name":"Get table booking","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"API-KEY","type":"text"}],"url":{"raw":"https://europe-west1-production-eu-327a3.cloudfunctions.net/api/companies/COMPANY_ID/table-booking/:tableBookingID","host":["https://europe-west1-production-eu-327a3.cloudfunctions.net/api"],"path":["companies","COMPANY_ID","table-booking",":tableBookingID"],"variable":[{"key":"tableBookingID","value":""}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"4LZ5mgZsezQcwvVsA6UC\",\n    \"start\": \"2024-05-28T00:00:00.000Z\",\n    \"end\": \"2024-05-28T01:00:00.000Z\",\n    \"tableBookingIntegration\": \"EasyTableBooking\",\n    \"externalBookingID\": \"12345678\",\n    \"durationInMinutes\": 60,\n    \"arrived\": null,\n    \"status\": \"ACTIVE\",\n    \"numberOfGuests\": 12,\n    \"walkIn\": false,\n    \"customerID\": null,\n    \"customerName\": null,\n    \"customerEmail\": null,\n    \"placeToken\": \"#1234FBTest\",\n    \"customerNote\": null,\n    \"employeeNote\": null,\n    \"timeOfBooking\": null,\n    \"createTime\": \"2024-06-10T15:09:11.484Z\",\n    \"updateTime\": \"2024-06-10T15:09:11.484Z\"\n}"}],"_postman_id":"b423d676-c5fa-4c50-99ec-f0975c9bbf4e"},{"name":"Get table bookings","id":"64d2b395-6d69-4a3e-ab24-ee56f1206d46","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":false},"method":"GET","header":[],"url":"https://europe-west1-production-eu-327a3.cloudfunctions.net/api/companies/COMPANY_ID/table-booking?from=2024-05-26T00:00:00.000Z&to=2024-05-30T00:00:00.000Z","description":"<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>TableBookingIntegration</strong></th>\n<th><strong>Status</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>EasyTableBooking</td>\n<td><code>ACTIVE</code> / <code>CANCELLED</code> / <code>NOT_ARRIVED</code></td>\n</tr>\n<tr>\n<td>DinnerBooking</td>\n<td><code>current</code> / <code>waiting</code> / <code>deleted</code> / <code>no_show</code> / <code>payment_error</code> / <code>moved</code></td>\n</tr>\n<tr>\n<td>Formitable</td>\n<td><code>created</code> / <code>accepted</code> / <code>cancelled</code> / <code>failed</code> / <code>expired</code></td>\n</tr>\n<tr>\n<td>BookEtBord</td>\n<td><code>temporary</code> / <code>created</code> / <code>arrived</code> / <code>payed</code> / <code>completed</code> / <code>cancelled</code> / <code>deleted</code> / <code>noshow</code></td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"request-fields\">Request Fields</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Param</strong></th>\n<th><strong>Required</strong></th>\n<th><strong>Description</strong></th>\n<th><strong>Type / format</strong></th>\n<th><strong>Example</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>from</td>\n<td>Yes</td>\n<td>Only get Table Bookings starting <em>on or after</em> this time</td>\n<td>an <a href=\"https://en.wikipedia.org/wiki/ISO_8601\">ISO 8601</a> encoded <code>string</code></td>\n<td><code>2023-07-01T00:00:00.000Z</code></td>\n</tr>\n<tr>\n<td>to</td>\n<td>Yes</td>\n<td>Only get Table Bookings starting <em>before</em> this time</td>\n<td>an <a href=\"https://en.wikipedia.org/wiki/ISO_8601\">ISO 8601</a> encoded <code>string</code></td>\n<td><code>2023-10-30T00:00:00.000Z</code></td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"response-fields\"><strong>Response Fields</strong></h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Body</strong></th>\n<th><strong>Description</strong></th>\n<th><strong>Type / Format</strong></th>\n<th><strong>Example</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>Table Booking ID</td>\n<td><code>string</code></td>\n<td><code>4LZ5mgZsezQcwvVsA6UC</code></td>\n</tr>\n<tr>\n<td>start</td>\n<td>When Table Booking starts</td>\n<td><code>string</code></td>\n<td><code>2024-05-28T00:00:00Z</code></td>\n</tr>\n<tr>\n<td>end</td>\n<td>When Table Booking ends. Can be <code>null</code> for certain booking sources that don't support end times.</td>\n<td><code>string</code> / <code>null</code></td>\n<td><code>2024-05-28T01:00:00Z</code></td>\n</tr>\n<tr>\n<td>tableBookingIntegration</td>\n<td>Options:  <br /><code>EasyTableBooking</code> / <code>DinnerBooking</code> / <code>Formitable</code> / <code>BookEtBord</code></td>\n<td><code>string</code></td>\n<td><code>EasyTableBooking</code></td>\n</tr>\n<tr>\n<td>externalBookingID</td>\n<td>External booking ID from the integration system</td>\n<td><code>string</code></td>\n<td><code>12345678</code></td>\n</tr>\n<tr>\n<td>durationInMinutes</td>\n<td>Duration of the booking in minutes. Can be <code>null</code> for certain booking sources that don't support end times.</td>\n<td><code>number</code> / <code>null</code></td>\n<td><code>60</code></td>\n</tr>\n<tr>\n<td>status</td>\n<td>Table Booking Status.  <br />  <br />Note: See the Table above with the list of possible status, according to <code>tableBookingIntegration</code></td>\n<td><code>string</code></td>\n<td><code>ACTIVE</code></td>\n</tr>\n<tr>\n<td>numberOfGuests</td>\n<td>Number of guests for the booking</td>\n<td><code>number</code></td>\n<td><code>12</code></td>\n</tr>\n<tr>\n<td>walkIn</td>\n<td>Indicates whether the booking is a walk-in</td>\n<td><code>boolean</code></td>\n<td><code>false</code></td>\n</tr>\n<tr>\n<td>placeToken</td>\n<td>Token representing the place of the booking</td>\n<td><code>string</code></td>\n<td><code>#1234FBTest</code></td>\n</tr>\n<tr>\n<td>employeeNote</td>\n<td>Note from the employee handling the booking</td>\n<td><code>string</code></td>\n<td><code>Test Note</code></td>\n</tr>\n<tr>\n<td>arrived</td>\n<td>Indicates whether the customer has arrived</td>\n<td><code>boolean</code></td>\n<td><code>False</code></td>\n</tr>\n<tr>\n<td>timeOfBooking</td>\n<td>Timestamp representing the time of the booking</td>\n<td>an <a href=\"https://en.wikipedia.org/wiki/ISO_8601\">ISO 8601</a> encoded <code>string</code></td>\n<td><code>2024-05-28T00:00:00Z</code></td>\n</tr>\n<tr>\n<td>customerID</td>\n<td>ID of the customer</td>\n<td><code>string</code></td>\n<td><code>1234</code></td>\n</tr>\n<tr>\n<td>customerName</td>\n<td>Name of the customer</td>\n<td><code>string</code></td>\n<td><code>Foo</code></td>\n</tr>\n<tr>\n<td>customerEmail</td>\n<td>Email of the customer</td>\n<td><code>string</code></td>\n<td><code>test@example.com</code></td>\n</tr>\n<tr>\n<td>customerNote</td>\n<td>Note from the customer</td>\n<td><code>string</code></td>\n<td><code>Test Note</code></td>\n</tr>\n<tr>\n<td>createTime</td>\n<td>When Table Booking was created</td>\n<td>an <a href=\"https://en.wikipedia.org/wiki/ISO_8601\">ISO 8601</a> encoded <code>string</code></td>\n<td><code>2023-10-28T16:19:41.998Z</code></td>\n</tr>\n<tr>\n<td>updateTime</td>\n<td>When Table Booking was updated</td>\n<td>an <a href=\"https://en.wikipedia.org/wiki/ISO_8601\">ISO 8601</a> encoded <code>string</code></td>\n<td><code>2023-10-28T16:19:41.998Z</code></td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["companies","COMPANY_ID","table-booking"],"host":["https://europe-west1-production-eu-327a3.cloudfunctions.net/api"],"query":[{"key":"from","value":"2024-05-26T00:00:00.000Z"},{"key":"to","value":"2024-05-30T00:00:00.000Z"}],"variable":[]}},"response":[{"id":"8981d442-ac48-48b5-badd-777a46f50fb5","name":"Get table bookings","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"API-KEY","type":"text"}],"url":{"raw":"https://europe-west1-production-eu-327a3.cloudfunctions.net/api/companies/COMPANY_ID/table-booking?from=2024-05-26T00:00:00.000Z&to=2024-05-30T00:00:00.000Z","host":["https://europe-west1-production-eu-327a3.cloudfunctions.net/api"],"path":["companies","COMPANY_ID","table-booking"],"query":[{"key":"from","value":"2024-05-26T00:00:00.000Z"},{"key":"to","value":"2024-05-30T00:00:00.000Z"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": \"4LZ5mgZsezQcwvVsA6UC\",\n        \"start\": \"2024-05-28T00:00:00.000Z\",\n        \"end\": \"2024-05-28T01:00:00.000Z\",\n        \"tableBookingIntegration\": \"EasyTableBooking\",\n        \"externalBookingID\": \"12345678\",\n        \"durationInMinutes\": 60,\n        \"arrived\": null,\n        \"status\": \"ACTIVE\",\n        \"numberOfGuests\": 12,\n        \"walkIn\": false,\n        \"customerID\": null,\n        \"customerName\": null,\n        \"customerEmail\": null,\n        \"placeToken\": \"#1234FBTest\",\n        \"customerNote\": null,\n        \"employeeNote\": null,\n        \"timeOfBooking\": null,\n        \"createTime\": \"2024-06-10T15:09:11.484Z\",\n        \"updateTime\": \"2024-06-10T15:09:11.484Z\"\n    }\n]"}],"_postman_id":"64d2b395-6d69-4a3e-ab24-ee56f1206d46"},{"name":"Delete table booking","id":"7648c24f-8f0a-4d14-9ebd-1e52f7c6b832","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":false},"method":"DELETE","header":[],"url":"https://europe-west1-production-eu-327a3.cloudfunctions.net/api/companies/COMPANY_ID/table-booking/:tableBookingID","urlObject":{"path":["companies","COMPANY_ID","table-booking",":tableBookingID"],"host":["https://europe-west1-production-eu-327a3.cloudfunctions.net/api"],"query":[],"variable":[{"type":"any","value":"","key":"tableBookingID"}]}},"response":[{"id":"fc04c07a-a987-42fe-9764-9f43032a8600","name":"Delete table booking","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"https://europe-west1-production-eu-327a3.cloudfunctions.net/api/companies/COMPANY_ID/table-booking/:tableBookingID","host":["https://europe-west1-production-eu-327a3.cloudfunctions.net/api"],"path":["companies","COMPANY_ID","table-booking",":tableBookingID"],"variable":[{"key":"tableBookingID","value":""}]}},"status":"No Content","code":204,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null}],"_postman_id":"7648c24f-8f0a-4d14-9ebd-1e52f7c6b832"}],"id":"925486f0-b3a5-4766-862f-3ab083c3e0a6","_postman_id":"925486f0-b3a5-4766-862f-3ab083c3e0a6","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"API_KEY"}]},"isInherited":true,"source":{"_postman_id":"59bfbd79-56b8-4afc-ba02-aaa84928a576","id":"59bfbd79-56b8-4afc-ba02-aaa84928a576","name":"Workfeed API (prod)","type":"collection"}}},{"name":"Employees","item":[{"name":"Create employee","id":"f7f72bc2-c3ce-4aec-90bd-77f1d488c458","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"firstname\": \"API\",\n    \"lastname\": \"Test\",\n    \"email\": \"test2@example.com\",\n    \"phone\": \"12345678\",\n    \"roles\": [\n        \"roleID\"\n    ],\n    \"departments\": [\n        \"departmentID\"\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://europe-west1-production-eu-327a3.cloudfunctions.net/api/companies/COMPANY_ID/employees","description":"<h3 id=\"request-fields\">Request Fields</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Body</strong></th>\n<th><strong>Required</strong></th>\n<th><strong>Description</strong></th>\n<th><strong>Type / format</strong></th>\n<th><strong>Example</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>firstname</code></td>\n<td>Yes</td>\n<td>The first name of the employee</td>\n<td><code>string</code></td>\n<td><code>Foo</code></td>\n</tr>\n<tr>\n<td><code>lastname</code></td>\n<td>Yes</td>\n<td>The last name of the employee</td>\n<td><code>string</code></td>\n<td><code>Bar</code></td>\n</tr>\n<tr>\n<td><code>email</code></td>\n<td>Yes</td>\n<td>The email of the employee. This is also the email at which they'll receive their invite to Workfeed</td>\n<td><code>string</code></td>\n<td><code>test@example.com</code></td>\n</tr>\n<tr>\n<td><code>phone</code></td>\n<td>Yes</td>\n<td>The phone number of the employee</td>\n<td><code>string</code></td>\n<td><code>12345678</code></td>\n</tr>\n<tr>\n<td><code>roles</code></td>\n<td>Yes</td>\n<td>The roles to assign the new employee</td>\n<td><code>string[]</code></td>\n<td><code>[\"roleID1\", \"roleID2\"]</code></td>\n</tr>\n<tr>\n<td><code>departments</code></td>\n<td>Yes</td>\n<td>The departments to assign the new employee</td>\n<td><code>string[]</code></td>\n<td><code>[\"departmentID1\"]</code></td>\n</tr>\n<tr>\n<td><code>deletedOn</code></td>\n<td>No</td>\n<td>The date and time when the employee was or will be soft-deleted</td>\n<td>an <a href=\"https://en.wikipedia.org/wiki/ISO_8601\">ISO 8601</a> encoded <code>string</code></td>\n<td><code>2026-01-20T12:42:02.000Z</code></td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"response-fields\">Response Fields</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Body</strong></th>\n<th><strong>Description</strong></th>\n<th><strong>Type / format</strong></th>\n<th><strong>Example</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>New Employee ID</td>\n<td><code>string</code></td>\n<td><code>J9QAIiTG0nRC1OsC5YvHfLWdDHn1</code></td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["companies","COMPANY_ID","employees"],"host":["https://europe-west1-production-eu-327a3.cloudfunctions.net/api"],"query":[],"variable":[]}},"response":[{"id":"1eee2039-1e13-49cd-94c5-8fbe6b9894ce","name":"Create employee","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"API-KEY","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"firstname\": \"API\",\n    \"lastname\": \"Test\",\n    \"email\": \"test2@example.com\",\n    \"phone\": \"12345678\",\n    \"roles\": [\n        \"hLbEKIPTlMh3ehotXl0w\"\n    ],\n    \"departments\": [\n        \"PKHaOSgFA4uguOqmLfWv\"\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://europe-west1-production-eu-327a3.cloudfunctions.net/api/companies/COMPANY_ID/employees"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"J9QAIiTG0nRC1OsC5YvHfLWdDHn1\"\n}"}],"_postman_id":"f7f72bc2-c3ce-4aec-90bd-77f1d488c458"},{"name":"Update employee","id":"8c7fc854-efbe-417f-8b0c-81a86aff0f6a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":false},"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"firstname\": \"API\",\n    \"lastname\": \"Test\",\n    \"phone\": \"12345678\",\n    \"roles\": [\n        \"roleID1\",\n        \"roleID2\",\n        \"roleID3\"\n    ],\n    \"departments\": [\n        \"departmentID\"\n    ],\n    \"email\": \"test@example.com\"\n}","options":{"raw":{"language":"json"}}},"url":"https://europe-west1-production-eu-327a3.cloudfunctions.net/api/companies/COMPANY_ID/employees/:employeeID","description":"<p><strong>Note:</strong> If you don't want to update a specific a field do not send it in the body</p>\n<h3 id=\"request-fields\">Request Fields</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Body</strong></th>\n<th><strong>Required</strong></th>\n<th><strong>Description</strong></th>\n<th><strong>Type / format</strong></th>\n<th><strong>Example</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>firstname</code></td>\n<td>No</td>\n<td>The first name of the employee</td>\n<td><code>string</code></td>\n<td><code>Foo</code></td>\n</tr>\n<tr>\n<td><code>lastname</code></td>\n<td>No</td>\n<td>The last name of the employee</td>\n<td><code>string</code></td>\n<td><code>Bar</code></td>\n</tr>\n<tr>\n<td><code>email</code></td>\n<td>No</td>\n<td>The email of the employee. This is also the email at which they'll receive their invite to Workfeed</td>\n<td><code>string</code></td>\n<td><code>test@example.com</code></td>\n</tr>\n<tr>\n<td><code>phone</code></td>\n<td>No</td>\n<td>The phone number of the employee</td>\n<td><code>string</code></td>\n<td><code>12345678</code></td>\n</tr>\n<tr>\n<td><code>roles</code></td>\n<td>No</td>\n<td>The roles to assign the new employee</td>\n<td><code>string[]</code></td>\n<td><code>[\"roleID1\", \"roleID2\"]</code></td>\n</tr>\n<tr>\n<td><code>departments</code></td>\n<td>No</td>\n<td>The departments to assign the new employee</td>\n<td><code>string[]</code></td>\n<td><code>[\"departmentID1\"]</code></td>\n</tr>\n<tr>\n<td><code>deletedOn</code></td>\n<td>No</td>\n<td>The date and time when the employee was or will be soft-deleted. It is not possible to un-delete an employee after they've been deleted. That can only be done via the UI.</td>\n<td>an <a href=\"https://en.wikipedia.org/wiki/ISO_8601\">ISO 8601</a> encoded <code>string</code></td>\n<td><code>2026-01-20T12:42:02.000Z</code></td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"response-fields\">Response Fields</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Body</strong></th>\n<th><strong>Description</strong></th>\n<th><strong>Type / format</strong></th>\n<th><strong>Example</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>Employee ID</td>\n<td><code>string</code></td>\n<td><code>J9QAIiTG0nRC1OsC5YvHfLWdDHn1</code></td>\n</tr>\n<tr>\n<td>firstname</td>\n<td>The first name of the employee</td>\n<td><code>string</code></td>\n<td><code>API 2</code></td>\n</tr>\n<tr>\n<td>lastname</td>\n<td>The last name of the employee</td>\n<td><code>string</code></td>\n<td><code>Test 2</code></td>\n</tr>\n<tr>\n<td>email</td>\n<td>The email of the employee. This is also the email at which they'll receive their invite to Workfeed</td>\n<td><code>string</code></td>\n<td><code>test2@example.com</code></td>\n</tr>\n<tr>\n<td>phone</td>\n<td>The phone number of the employee</td>\n<td><code>string</code></td>\n<td><code>12345678</code></td>\n</tr>\n<tr>\n<td>birthdate</td>\n<td>The birthdate of the employee</td>\n<td>An <a href=\"https://en.wikipedia.org/wiki/ISO_8601\">ISO 8601</a> encoded <code>string</code> (only the date part)  <br /><code>null</code> if no birthdate.</td>\n<td><code>2025-09-25</code></td>\n</tr>\n<tr>\n<td><code>roleIDs</code></td>\n<td>The roles to assign the new employee</td>\n<td><code>string[]</code></td>\n<td><code>[\"hLbEKIPTlMh3ehotXl0w\"]</code></td>\n</tr>\n<tr>\n<td><code>departmentIDs</code></td>\n<td>The departments to assign the new employee</td>\n<td><code>string[]</code></td>\n<td><code>[\"PKHaOSgFA4uguOqmLfWv\"]</code></td>\n</tr>\n<tr>\n<td>primaryDepartmentID</td>\n<td>Employee Primary Department. Which means it will auto assign the Employee to the Department Shifts</td>\n<td><code>string</code> / <code>null</code></td>\n<td><code>null</code></td>\n</tr>\n<tr>\n<td>street</td>\n<td>The Street of the employee</td>\n<td><code>string</code></td>\n<td><code>\"\"</code></td>\n</tr>\n<tr>\n<td>city</td>\n<td>The City of the employee</td>\n<td><code>string</code></td>\n<td><code>\"\"</code></td>\n</tr>\n<tr>\n<td>zip</td>\n<td>The Zip Code of the employee</td>\n<td><code>string</code></td>\n<td><code>\"\"</code></td>\n</tr>\n<tr>\n<td>accessLevel</td>\n<td>Options:  <br /><code>employee</code> / <code>admin</code> / <code>manager</code></td>\n<td><code>string</code></td>\n<td><code>employee</code></td>\n</tr>\n<tr>\n<td>wage</td>\n<td>Employee Wage Object</td>\n<td><code>object</code> / <code>null</code></td>\n<td><code>null</code></td>\n</tr>\n<tr>\n<td>wage.amount</td>\n<td>Amount by Hour when <code>wage.type</code> is set to hourly. Otherwise it represents Amount by Month</td>\n<td><code>number</code></td>\n<td><code>20</code></td>\n</tr>\n<tr>\n<td>wage.type</td>\n<td>Options:  <br /><code>\"hourly\"</code> / <code>\"monthly\"</code></td>\n<td><code>string</code></td>\n<td><code>monthly</code></td>\n</tr>\n<tr>\n<td>minHours</td>\n<td>Employee Minimum <strong>Weekly</strong> Working Hours</td>\n<td><code>number</code> / <code>null</code></td>\n<td><code>null</code></td>\n</tr>\n<tr>\n<td>maxHours</td>\n<td>Employee Maximum <strong>Weekly</strong> Working Hours</td>\n<td><code>number</code> / <code>null</code></td>\n<td><code>null</code></td>\n</tr>\n<tr>\n<td>isDeleted</td>\n<td>If Employee was deleted</td>\n<td><code>boolean</code></td>\n<td><code>false</code></td>\n</tr>\n<tr>\n<td>deletedOn</td>\n<td>When the employee was or will be soft-deleted</td>\n<td>an <a href=\"https://en.wikipedia.org/wiki/ISO_8601\">ISO 8601</a> encoded <code>string</code> / <code>null</code></td>\n<td><code>2026-01-20T12:42:02.000Z</code></td>\n</tr>\n<tr>\n<td>ssn</td>\n<td>SSN (Social Security Number), associdated with Employee</td>\n<td><code>string</code> / <code>null</code></td>\n<td><code>null</code></td>\n</tr>\n<tr>\n<td>imageURL</td>\n<td>Employee Image URL</td>\n<td><code>string</code> / <code>null</code></td>\n<td><code>null</code></td>\n</tr>\n<tr>\n<td>createTime</td>\n<td>When Employee was created</td>\n<td>an <a href=\"https://en.wikipedia.org/wiki/ISO_8601\">ISO 8601</a> encoded <code>string</code></td>\n<td><code>2023-10-28T18:22:45.695Z</code></td>\n</tr>\n<tr>\n<td>updateTime</td>\n<td>When Employee was updated</td>\n<td>an <a href=\"https://en.wikipedia.org/wiki/ISO_8601\">ISO 8601</a> encoded <code>string</code></td>\n<td><code>2023-10-28T18:34:37.191Z</code></td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["companies","COMPANY_ID","employees",":employeeID"],"host":["https://europe-west1-production-eu-327a3.cloudfunctions.net/api"],"query":[],"variable":[{"id":"fe098312-1e82-4b29-9857-6bb5a573a17d","description":{"content":"<p>Employee ID</p>\n","type":"text/plain"},"type":"string","value":"","key":"employeeID"}]}},"response":[{"id":"a6844cc7-60a7-4427-b3d0-b7b96cd8593c","name":"Update employee","originalRequest":{"method":"PUT","header":[{"key":"Authorization","value":"API-KEY","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"firstname\": \"API 2\",\n    \"lastname\": \"Test 2\"\n    \n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://europe-west1-production-eu-327a3.cloudfunctions.net/api/companies/COMPANY_ID/employees/:employeeID","host":["https://europe-west1-production-eu-327a3.cloudfunctions.net/api"],"path":["companies","COMPANY_ID","employees",":employeeID"],"variable":[{"key":"employeeID","value":"J9QAIiTG0nRC1OsC5YvHfLWdDHn1","type":"string"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"J9QAIiTG0nRC1OsC5YvHfLWdDHn1\",\n    \"firstname\": \"API 2\",\n    \"lastname\": \"Test 2\",\n    \"email\": \"test2@example.com\",\n    \"phone\": \"12345678\",\n    \"roleIDs\": [\n        \"hLbEKIPTlMh3ehotXl0w\"\n    ],\n    \"departmentIDs\": [\n        \"PKHaOSgFA4uguOqmLfWv\"\n    ],\n    \"primaryDepartmentID\": null,\n    \"street\": \"\",\n    \"city\": \"\",\n    \"zip\": \"\",\n    \"accessLevel\": \"employee\",\n    \"wage\": null,\n    \"minHours\": null,\n    \"maxHours\": null,\n    \"isDeleted\": false,\n    \"cpr\": \"\",\n    \"createTime\": \"2023-10-28T18:22:45.695Z\",\n    \"updateTime\": \"2023-10-28T18:34:37.191Z\"\n}"}],"_postman_id":"8c7fc854-efbe-417f-8b0c-81a86aff0f6a"},{"name":"Get employee","event":[{"listen":"test","script":{"id":"c75cc279-4425-409a-baed-4c9af80b4411","exec":["var template = `","    <table bgcolor=\"#FFFFFF\">","        <tr>","            <th>Name</th>","            <th>Id</th>","            <th>Deleted</th>","            <th>Roles</th>","            <!--","                <th>Create time</th>","                <th>Update time</th>","            -->","                 ","        </tr>","","        {{#each response}}","            {{#unless isDeleted}}","                <tr>","                    <td>{{firstname}} {{lastname}}</td>","                    <td>{{id}}</td>","                    <td>{{isDeleted}}</td>","                    <td> <ol>","                        {{#each roleIDs}}","                            <li>{{this}}</li>","                        {{/each}}","                        </ol>","                    </td>","                    <!--","                        <td>{{createTime}}</td>","                        <td>{{updateTime}}</td>","                    -->","                </tr>","            {{/unless}}","        {{/each}}","    </table>","`;","","// Set visualizer","pm.visualizer.set(template, {","    // Pass the response body parsed as JSON as `data`","    response: pm.response.json()","});"],"type":"text/javascript"}}],"id":"6cb310d0-1593-4ae0-afaa-b893acb68c50","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":false},"method":"GET","header":[],"url":"https://europe-west1-production-eu-327a3.cloudfunctions.net/api/companies/COMPANY_ID/employees/:employeeID","description":"<h3 id=\"response-fields\">Response Fields</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th></th>\n<th><strong>Description</strong></th>\n<th><strong>Type / format</strong></th>\n<th><strong>Example</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>Employee ID</td>\n<td><code>string</code></td>\n<td><code>J9QAIiTG0nRC1OsC5YvHfLWdDHn1</code></td>\n</tr>\n<tr>\n<td>firstname</td>\n<td>The first name of the employee</td>\n<td><code>string</code></td>\n<td><code>API 2</code></td>\n</tr>\n<tr>\n<td>lastname</td>\n<td>The last name of the employee</td>\n<td><code>string</code></td>\n<td><code>Test 2</code></td>\n</tr>\n<tr>\n<td>email</td>\n<td>The email of the employee. This is also the email at which they'll receive their invite to Workfeed</td>\n<td><code>string</code></td>\n<td><code>test2@example.com</code></td>\n</tr>\n<tr>\n<td>phone</td>\n<td>The phone number of the employee</td>\n<td><code>string</code></td>\n<td><code>12345678</code></td>\n</tr>\n<tr>\n<td>birthdate</td>\n<td>The birthdate of the employee</td>\n<td>An <a href=\"https://en.wikipedia.org/wiki/ISO_8601\">ISO 8601</a> encoded <code>string</code> (only the date part)  <br /><code>null</code> if no birthdate.</td>\n<td><code>2025-09-25</code></td>\n</tr>\n<tr>\n<td><code>roleIDs</code></td>\n<td>The roles to assign the new employee</td>\n<td><code>string[]</code></td>\n<td><code>[\"hLbEKIPTlMh3ehotXl0w\"]</code></td>\n</tr>\n<tr>\n<td><code>departmentIDs</code></td>\n<td>The departments to assign the new employee</td>\n<td><code>string[]</code></td>\n<td><code>[\"PKHaOSgFA4uguOqmLfWv\"]</code></td>\n</tr>\n<tr>\n<td>primaryDepartmentID</td>\n<td>Employee Primary Department. Which means it will auto assign the Employee to the Department Shifts</td>\n<td><code>string</code> / <code>null</code></td>\n<td><code>null</code></td>\n</tr>\n<tr>\n<td>street</td>\n<td>The Street of the employee</td>\n<td><code>string</code></td>\n<td><code>\"\"</code></td>\n</tr>\n<tr>\n<td>city</td>\n<td>The City of the employee</td>\n<td><code>string</code></td>\n<td><code>\"\"</code></td>\n</tr>\n<tr>\n<td>zip</td>\n<td>The Zip Code of the employee</td>\n<td><code>string</code></td>\n<td><code>\"\"</code></td>\n</tr>\n<tr>\n<td>accessLevel</td>\n<td>Options:  <br /><code>employee</code> / <code>admin</code> / <code>manager</code></td>\n<td><code>string</code></td>\n<td><code>employee</code></td>\n</tr>\n<tr>\n<td>wage</td>\n<td>Employee Wage Object</td>\n<td><code>object</code> / <code>null</code></td>\n<td><code>null</code></td>\n</tr>\n<tr>\n<td>wage.amount</td>\n<td>Amount by Hour when <code>wage.type</code> is set to hourly. Otherwise it represents Amount by Month</td>\n<td><code>number</code></td>\n<td><code>20</code></td>\n</tr>\n<tr>\n<td>wage.type</td>\n<td>Options:  <br /><code>\"hourly\"</code> / <code>\"monthly\"</code></td>\n<td><code>string</code></td>\n<td><code>monthly</code></td>\n</tr>\n<tr>\n<td>minHours</td>\n<td>Employee Minimum <strong>Weekly</strong> Working Hours</td>\n<td><code>number</code> / <code>null</code></td>\n<td><code>null</code></td>\n</tr>\n<tr>\n<td>maxHours</td>\n<td>Employee Maximum <strong>Weekly</strong> Working Hours</td>\n<td><code>number</code> / <code>null</code></td>\n<td><code>null</code></td>\n</tr>\n<tr>\n<td>isDeleted</td>\n<td>If Employee was deleted</td>\n<td><code>boolean</code></td>\n<td><code>false</code></td>\n</tr>\n<tr>\n<td>deletedOn</td>\n<td>When the employee was or will be soft-deleted.  <br /><code>null</code> if no deletion has happened or is pending.</td>\n<td>an <a href=\"https://en.wikipedia.org/wiki/ISO_8601\">ISO 8601</a> encoded <code>string</code> / <code>null</code></td>\n<td><code>2026-01-20T12:42:02.000Z</code></td>\n</tr>\n<tr>\n<td>ssn</td>\n<td>SSN (Social Security Number), associdated with Employee</td>\n<td><code>string</code> / <code>null</code></td>\n<td><code>null</code></td>\n</tr>\n<tr>\n<td>imageURL</td>\n<td>Employee Image URL</td>\n<td><code>string</code> / <code>null</code></td>\n<td><code>null</code></td>\n</tr>\n<tr>\n<td>createTime</td>\n<td>When Employee was created</td>\n<td>an <a href=\"https://en.wikipedia.org/wiki/ISO_8601\">ISO 8601</a> encoded <code>string</code></td>\n<td><code>2023-10-28T18:22:45.695Z</code></td>\n</tr>\n<tr>\n<td>updateTime</td>\n<td>When Employee was updated</td>\n<td>an <a href=\"https://en.wikipedia.org/wiki/ISO_8601\">ISO 8601</a> encoded <code>string</code></td>\n<td><code>2023-10-28T18:34:37.191</code></td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["companies","COMPANY_ID","employees",":employeeID"],"host":["https://europe-west1-production-eu-327a3.cloudfunctions.net/api"],"query":[],"variable":[{"id":"2a6a4a26-84c6-4cfe-997f-404819a1c04a","description":{"content":"<p>Employee ID</p>\n","type":"text/plain"},"type":"any","value":"","key":"employeeID"}]}},"response":[{"id":"8046be07-6a69-47b8-a50b-7fe6e5bc27ab","name":"Get employee","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"API-KEY","type":"text"}],"url":{"raw":"https://europe-west1-production-eu-327a3.cloudfunctions.net/api/companies/COMPANY_ID/employees/:employeeID","protocol":"https","host":["europe-west1-production-eu-327a3","cloudfunctions","net"],"path":["api","companies","COMPANY_ID","employees",":employeeID"],"variable":[{"key":"employeeID","value":"J9QAIiTG0nRC1OsC5YvHfLWdDHn1"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"J9QAIiTG0nRC1OsC5YvHfLWdDHn1\",\n    \"firstname\": \"API 2\",\n    \"lastname\": \"Test 2\",\n    \"email\": \"test2@example.com\",\n    \"phone\": \"12345678\",\n    \"roleIDs\": [\n        \"hLbEKIPTlMh3ehotXl0w\"\n    ],\n    \"departmentIDs\": [\n        \"PKHaOSgFA4uguOqmLfWv\"\n    ],\n    \"primaryDepartmentID\": null,\n    \"street\": \"\",\n    \"city\": \"\",\n    \"zip\": \"\",\n    \"accessLevel\": \"employee\",\n    \"wage\": null,\n    \"minHours\": null,\n    \"maxHours\": null,\n    \"isDeleted\": false,\n    \"ssn\": \"\",\n    \"imageURL\": null,\n    \"createTime\": \"2023-10-28T18:22:45.695Z\",\n    \"updateTime\": \"2023-10-28T18:34:37.191Z\"\n}"}],"_postman_id":"6cb310d0-1593-4ae0-afaa-b893acb68c50"},{"name":"Get employees","event":[{"listen":"test","script":{"id":"feec7235-17fa-425c-a90d-cc052ce0237a","exec":["var template = `","    <table bgcolor=\"#FFFFFF\">","        <tr>","            <th>Name</th>","            <th>Id</th>","            <th>Deleted</th>","            <th>Roles</th>","            <!--","                <th>Create time</th>","                <th>Update time</th>","            -->","                 ","        </tr>","","        {{#each response}}","            {{#unless isDeleted}}","                <tr>","                    <td>{{firstname}} {{lastname}}</td>","                    <td>{{id}}</td>","                    <td>{{isDeleted}}</td>","                    <td> <ol>","                        {{#each roleIDs}}","                            <li>{{this}}</li>","                        {{/each}}","                        </ol>","                    </td>","                    <!--","                        <td>{{createTime}}</td>","                        <td>{{updateTime}}</td>","                    -->","                </tr>","            {{/unless}}","        {{/each}}","    </table>","`;","","// Set visualizer","pm.visualizer.set(template, {","    // Pass the response body parsed as JSON as `data`","    response: pm.response.json()","});"],"type":"text/javascript","packages":{}}}],"id":"c64c11ad-608d-45da-b258-d8ac05a68679","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":false},"method":"GET","header":[],"url":"https://europe-west1-production-eu-327a3.cloudfunctions.net/api/companies/COMPANY_ID/employees","description":"<h3 id=\"response-fields\">Response Fields</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th></th>\n<th><strong>Description</strong></th>\n<th><strong>Type / format</strong></th>\n<th><strong>Example</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>Employee ID</td>\n<td><code>string</code></td>\n<td><code>J9QAIiTG0nRC1OsC5YvHfLWdDHn1</code></td>\n</tr>\n<tr>\n<td>firstname</td>\n<td>The first name of the employee</td>\n<td><code>string</code></td>\n<td><code>API 2</code></td>\n</tr>\n<tr>\n<td>lastname</td>\n<td>The last name of the employee</td>\n<td><code>string</code></td>\n<td><code>Test 2</code></td>\n</tr>\n<tr>\n<td>email</td>\n<td>The email of the employee. This is also the email at which they'll receive their invite to Workfeed</td>\n<td><code>string</code></td>\n<td><code>test2@example.com</code></td>\n</tr>\n<tr>\n<td>phone</td>\n<td>The phone number of the employee</td>\n<td><code>string</code></td>\n<td><code>12345678</code></td>\n</tr>\n<tr>\n<td>birthdate</td>\n<td>The birthdate of the employee</td>\n<td>An <a href=\"https://en.wikipedia.org/wiki/ISO_8601\">ISO 8601</a> encoded <code>string</code> (only the date part)  <br /><code>null</code> if no birthdate.</td>\n<td><code>2025-09-25</code></td>\n</tr>\n<tr>\n<td><code>roleIDs</code></td>\n<td>The roles to assign the new employee</td>\n<td><code>string[]</code></td>\n<td><code>[\"hLbEKIPTlMh3ehotXl0w\"]</code></td>\n</tr>\n<tr>\n<td><code>departmentIDs</code></td>\n<td>The departments to assign the new employee</td>\n<td><code>string[]</code></td>\n<td><code>[\"PKHaOSgFA4uguOqmLfWv\"]</code></td>\n</tr>\n<tr>\n<td>primaryDepartmentID</td>\n<td>Employee Primary Department. Which means it will auto assign the Employee to the Department Shifts</td>\n<td><code>string</code> / <code>null</code></td>\n<td><code>null</code></td>\n</tr>\n<tr>\n<td>street</td>\n<td>The Street of the employee</td>\n<td><code>string</code></td>\n<td><code>\"\"</code></td>\n</tr>\n<tr>\n<td>city</td>\n<td>The City of the employee</td>\n<td><code>string</code></td>\n<td><code>\"\"</code></td>\n</tr>\n<tr>\n<td>zip</td>\n<td>The Zip Code of the employee</td>\n<td><code>string</code></td>\n<td><code>\"\"</code></td>\n</tr>\n<tr>\n<td>accessLevel</td>\n<td>Options:  <br /><code>employee</code> / <code>admin</code> / <code>manager</code></td>\n<td><code>string</code></td>\n<td><code>employee</code></td>\n</tr>\n<tr>\n<td>wage</td>\n<td>Employee Wage Object</td>\n<td><code>object</code> / <code>null</code></td>\n<td><code>null</code></td>\n</tr>\n<tr>\n<td>wage.amount</td>\n<td>Amount by Hour when <code>wage.type</code> is set to hourly. Otherwise it represents Amount by Month</td>\n<td><code>number</code></td>\n<td><code>20</code></td>\n</tr>\n<tr>\n<td>wage.type</td>\n<td>Options:  <br /><code>\"hourly\"</code> / <code>\"monthly\"</code></td>\n<td><code>string</code></td>\n<td><code>monthly</code></td>\n</tr>\n<tr>\n<td>minHours</td>\n<td>Employee Minimum <strong>Weekly</strong> Working Hours</td>\n<td><code>number</code> / <code>null</code></td>\n<td><code>null</code></td>\n</tr>\n<tr>\n<td>maxHours</td>\n<td>Employee Maximum <strong>Weekly</strong> Working Hours</td>\n<td><code>number</code> / <code>null</code></td>\n<td><code>null</code></td>\n</tr>\n<tr>\n<td>isDeleted</td>\n<td>If Employee was deleted</td>\n<td><code>boolean</code></td>\n<td><code>false</code></td>\n</tr>\n<tr>\n<td>deletedOn</td>\n<td>When the employee was or will be soft-deleted.  <br /><code>null</code> if no deletion has happened or is pending.</td>\n<td>an <a href=\"https://en.wikipedia.org/wiki/ISO_8601\">ISO 8601</a> encoded <code>string</code> / <code>null</code></td>\n<td><code>2026-01-20T12:42:02.000Z</code></td>\n</tr>\n<tr>\n<td>ssn</td>\n<td>SSN (Social Security Number), associdated with Employee</td>\n<td><code>string</code> / <code>null</code></td>\n<td><code>null</code></td>\n</tr>\n<tr>\n<td>imageURL</td>\n<td>Employee Image URL</td>\n<td><code>string</code> / <code>null</code></td>\n<td><code>null</code></td>\n</tr>\n<tr>\n<td>createTime</td>\n<td>When Employee was created</td>\n<td>an <a href=\"https://en.wikipedia.org/wiki/ISO_8601\">ISO 8601</a> encoded <code>string</code></td>\n<td><code>2023-10-28T18:22:45.695Z</code></td>\n</tr>\n<tr>\n<td>updateTime</td>\n<td>When Employee was updated</td>\n<td>an <a href=\"https://en.wikipedia.org/wiki/ISO_8601\">ISO 8601</a> encoded <code>string</code></td>\n<td><code>2023-10-28T18:34:37.191</code></td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["companies","COMPANY_ID","employees"],"host":["https://europe-west1-production-eu-327a3.cloudfunctions.net/api"],"query":[],"variable":[]}},"response":[{"id":"d9a17fd0-4e10-4918-a8c6-d75ff70bebc9","name":"Get employees","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"API-KEY","type":"text"}],"url":"https://europe-west1-production-eu-327a3.cloudfunctions.net/api/companies/COMPANY_ID/employees"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": \"J9QAIiTG0nRC1OsC5YvHfLWdDHn1\",\n        \"firstname\": \"API 2\",\n        \"lastname\": \"Test 2\",\n        \"email\": \"test2@example.com\",\n        \"phone\": \"12345678\",\n        \"roleIDs\": [\n            \"hLbEKIPTlMh3ehotXl0w\"\n        ],\n        \"departmentIDs\": [\n            \"PKHaOSgFA4uguOqmLfWv\"\n        ],\n        \"primaryDepartmentID\": null,\n        \"street\": \"\",\n        \"city\": \"\",\n        \"zip\": \"\",\n        \"accessLevel\": \"employee\",\n        \"wage\": null,\n        \"minHours\": null,\n        \"maxHours\": null,\n        \"isDeleted\": false,\n        \"ssn\": \"\",\n        \"imageURL\": null,\n        \"createTime\": \"2023-10-28T18:22:45.695Z\",\n        \"updateTime\": \"2023-10-28T18:34:37.191Z\"\n    }\n]"}],"_postman_id":"c64c11ad-608d-45da-b258-d8ac05a68679"}],"id":"7fd3d275-7a9a-4bf6-8340-7b9651e8019c","_postman_id":"7fd3d275-7a9a-4bf6-8340-7b9651e8019c","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"API_KEY"}]},"isInherited":true,"source":{"_postman_id":"59bfbd79-56b8-4afc-ba02-aaa84928a576","id":"59bfbd79-56b8-4afc-ba02-aaa84928a576","name":"Workfeed API (prod)","type":"collection"}}},{"name":"Departments","item":[{"name":"Get departments","id":"653e4576-d5d7-4d06-a5a5-397453b0b00b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"API_KEY"}]},"isInherited":false},"method":"GET","header":[],"url":"https://europe-west1-production-eu-327a3.cloudfunctions.net/api/companies/COMPANY_ID/departments","description":"<h3 id=\"response-fields\">Response Fields</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Body</th>\n<th>Description</th>\n<th><strong>Type / Format</strong></th>\n<th><strong>Example</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>Department ID</td>\n<td><code>string</code></td>\n<td><code>PKHaOSgFA4uguOqmLfWv</code></td>\n</tr>\n<tr>\n<td>name</td>\n<td>Department Name</td>\n<td><code>string</code></td>\n<td><code>API Testing Account😎</code></td>\n</tr>\n<tr>\n<td>isDeleted</td>\n<td>Check if the Department was deleted</td>\n<td><code>boolean</code></td>\n<td><code>false</code></td>\n</tr>\n<tr>\n<td>createTime</td>\n<td>When the Department was created</td>\n<td>an <a href=\"https://en.wikipedia.org/wiki/ISO_8601\">ISO 8601</a> encoded <code>string</code></td>\n<td><code>2023-10-25T09:43:06.650Z</code></td>\n</tr>\n<tr>\n<td>updateTime</td>\n<td>When the Department was updated</td>\n<td>an <a href=\"https://en.wikipedia.org/wiki/ISO_8601\">ISO 8601</a> encoded <code>string</code></td>\n<td><code>2023-10-25T09:43:06.650Z</code></td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["companies","COMPANY_ID","departments"],"host":["https://europe-west1-production-eu-327a3.cloudfunctions.net/api"],"query":[],"variable":[]}},"response":[{"id":"5c36470c-b91b-4111-8f83-cdc48ea0e1c6","name":"Get departments","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"API-KEY","type":"text"}],"url":"https://europe-west1-production-eu-327a3.cloudfunctions.net/api/companies/COMPANY_ID/departments"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": \"PKHaOSgFA4uguOqmLfWv\",\n        \"name\": \"API Testing Account 😎\",\n        \"isDeleted\": false,\n        \"createTime\": \"2023-10-25T09:43:06.650Z\",\n        \"updateTime\": \"2023-10-25T09:43:06.650Z\"\n    }\n]"}],"_postman_id":"653e4576-d5d7-4d06-a5a5-397453b0b00b"},{"name":"Get departments daily","id":"b7e35f94-6d10-4840-9e8e-cf5518e54dee","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"API_KEY"}]},"isInherited":false},"method":"GET","header":[],"url":"https://europe-west1-production-eu-327a3.cloudfunctions.net/api/companies/COMPANY_ID/departments/:departmentID/daily?from=2023-12-20&to=2024-12-21","description":"<h3 id=\"request-fields\">Request Fields</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Param</strong></th>\n<th><strong>Required</strong></th>\n<th><strong>Description</strong></th>\n<th><strong>Type / format</strong></th>\n<th><strong>Example</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>from</td>\n<td>Yes</td>\n<td>Only get Daily Notes starting <em>on or after</em> this time</td>\n<td>an <a href=\"https://en.wikipedia.org/wiki/ISO_8601\">ISO 8601</a> encoded <code>string</code></td>\n<td><code>2023-07-01T00:00:00.000Z</code></td>\n</tr>\n<tr>\n<td>to</td>\n<td>Yes</td>\n<td>Only get Daily Notes starting <em>before</em> this time</td>\n<td>an <a href=\"https://en.wikipedia.org/wiki/ISO_8601\">ISO 8601</a> encoded <code>string</code></td>\n<td><code>2023-10-30T00:00:00.000Z</code></td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"response-fields\">Response Fields</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Body</th>\n<th>Description</th>\n<th><strong>Type / Format</strong></th>\n<th><strong>Example</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>Daily Note ID, represents the day of the Note</td>\n<td><code>string</code></td>\n<td><code>2023-12-21</code></td>\n</tr>\n<tr>\n<td>note</td>\n<td>Daily Note</td>\n<td><code>object</code></td>\n<td></td>\n</tr>\n<tr>\n<td>note.message</td>\n<td>Note message</td>\n<td><code>string</code></td>\n<td><code>Test</code></td>\n</tr>\n<tr>\n<td>note.senderID</td>\n<td>Employee that created the Note</td>\n<td><code>string</code></td>\n<td><code>sEx78CyrI2M9RDfsN99BL78BUKx2</code></td>\n</tr>\n<tr>\n<td>note.time</td>\n<td>Daily Note Time</td>\n<td>an <a href=\"https://en.wikipedia.org/wiki/ISO_8601\">ISO 8601</a> encoded <code>string</code></td>\n<td><code>2023-10-25T09:43:06.650Z</code></td>\n</tr>\n<tr>\n<td>manualRevenue</td>\n<td>Manual Revenue inserted</td>\n<td><code>number</code> / <code>null</code></td>\n<td><code>null</code></td>\n</tr>\n<tr>\n<td>createTime</td>\n<td>When the Daily Note was created</td>\n<td>an <a href=\"https://en.wikipedia.org/wiki/ISO_8601\">ISO 8601</a> encoded <code>string</code></td>\n<td><code>2023-10-25T09:43:06.650Z</code></td>\n</tr>\n<tr>\n<td>updateTime</td>\n<td>When the Daily Note was updated</td>\n<td>an <a href=\"https://en.wikipedia.org/wiki/ISO_8601\">ISO 8601</a> encoded <code>string</code></td>\n<td><code>2023-10-25T09:43:06.650Z</code></td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["companies","COMPANY_ID","departments",":departmentID","daily"],"host":["https://europe-west1-production-eu-327a3.cloudfunctions.net/api"],"query":[{"key":"from","value":"2023-12-20"},{"key":"to","value":"2024-12-21"}],"variable":[{"description":{"content":"<p>Department Id</p>\n","type":"text/plain"},"type":"any","value":"","key":"departmentID"}]}},"response":[{"id":"7fdfd4f1-0346-4986-8134-7dce305b04c4","name":"Get departments daily","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"API-KEY","type":"text"}],"url":{"raw":"https://europe-west1-production-eu-327a3.cloudfunctions.net/api/companies/COMPANY_ID/departments/:departmentID/daily?from=2023-07-01T00:00:00.000Z&to=2023-08-02T00:00:00.000Z","protocol":"https","host":["europe-west1-production-eu-327a3","cloudfunctions","net"],"path":["api","companies","COMPANY_ID","departments",":departmentID","daily"],"query":[{"key":"from","value":"2023-07-01T00:00:00.000Z"},{"key":"to","value":"2023-08-02T00:00:00.000Z"}],"variable":[{"key":"departmentID","value":"","description":"Department Id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"[   \n    {\n        \"id\": \"2023-12-21\",\n        \"note\": {\n            \"senderID\": \"sEx78CyrI2M9RDfsN99BL78BUKx2\",\n            \"message\": \"Test\",\n            \"time\": \"2023-12-12T16:42:12.375Z\"\n        },\n        \"manualRevenue\": null,\n        \"createTime\": \"2023-12-12T00:45:18.115Z\",\n        \"updateTime\": \"2023-12-12T16:42:12.573Z\"\n    }\n]"}],"_postman_id":"b7e35f94-6d10-4840-9e8e-cf5518e54dee"},{"name":"Get daily note","id":"0ce5f204-4bc9-4edc-98e6-f0d8ae1dad78","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"API_KEY"}]},"isInherited":false},"method":"GET","header":[],"url":"https://europe-west1-production-eu-327a3.cloudfunctions.net/api/companies/COMPANY_ID/departments/:departmentID/daily/:dailyID","description":"<h3 id=\"response-fields\">Response Fields</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Body</th>\n<th>Description</th>\n<th><strong>Type / Format</strong></th>\n<th><strong>Example</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>Daily Note ID, represents the day of the Note</td>\n<td><code>string</code></td>\n<td><code>2023-12-21</code></td>\n</tr>\n<tr>\n<td>note</td>\n<td>Daily Note</td>\n<td><code>object</code></td>\n<td></td>\n</tr>\n<tr>\n<td>note.message</td>\n<td>Note message</td>\n<td><code>string</code></td>\n<td><code>Test</code></td>\n</tr>\n<tr>\n<td>note.senderID</td>\n<td>Employee that created the Note</td>\n<td><code>string</code></td>\n<td><code>sEx78CyrI2M9RDfsN99BL78BUKx2</code></td>\n</tr>\n<tr>\n<td>note.time</td>\n<td>Daily Note Time</td>\n<td>an <a href=\"https://en.wikipedia.org/wiki/ISO_8601\">ISO 8601</a> encoded <code>string</code></td>\n<td><code>2023-10-25T09:43:06.650Z</code></td>\n</tr>\n<tr>\n<td>manualRevenue</td>\n<td>Manual Revenue inserted</td>\n<td><code>number</code> / <code>null</code></td>\n<td><code>null</code></td>\n</tr>\n<tr>\n<td>createTime</td>\n<td>When the Daily Note was created</td>\n<td>an <a href=\"https://en.wikipedia.org/wiki/ISO_8601\">ISO 8601</a> encoded <code>string</code></td>\n<td><code>2023-10-25T09:43:06.650Z</code></td>\n</tr>\n<tr>\n<td>updateTime</td>\n<td>When the Daily Note was updated</td>\n<td>an <a href=\"https://en.wikipedia.org/wiki/ISO_8601\">ISO 8601</a> encoded <code>string</code></td>\n<td><code>2023-10-25T09:43:06.650Z</code></td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["companies","COMPANY_ID","departments",":departmentID","daily",":dailyID"],"host":["https://europe-west1-production-eu-327a3.cloudfunctions.net/api"],"query":[],"variable":[{"id":"6ce23f09-d9b7-4679-9fa9-147358a2ce6c","description":{"content":"<p>Department Id</p>\n","type":"text/plain"},"type":"any","value":"","key":"departmentID"},{"id":"7f9d7c55-fbd0-423e-8c6c-cbf230940ef7","description":{"content":"<p>Daily Id</p>\n","type":"text/plain"},"type":"any","value":"","key":"dailyID"}]}},"response":[{"id":"dc9541da-a635-42d7-af85-1a28a63aaa83","name":"Get daily note","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"API-KEY","type":"text"}],"url":{"raw":"https://europe-west1-production-eu-327a3.cloudfunctions.net/api/companies/COMPANY_ID/departments/:departmentID/daily/:dailyID","host":["https://europe-west1-production-eu-327a3.cloudfunctions.net/api"],"path":["companies","COMPANY_ID","departments",":departmentID","daily",":dailyID"],"variable":[{"key":"departmentID","value":"","description":"Department Id"},{"key":"dailyID","value":"","description":"Daily Id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"2023-12-21\",\n    \"note\": {\n        \"senderID\": \"sEx78CyrI2M9RDfsN99BL78BUKx2\",\n        \"message\": \"Test\",\n        \"time\": \"2023-12-12T16:42:12.375Z\"\n    },\n    \"manualRevenue\": null,\n    \"createTime\": \"2023-12-12T00:45:18.115Z\",\n    \"updateTime\": \"2023-12-12T16:42:12.573Z\"\n}\n"}],"_postman_id":"0ce5f204-4bc9-4edc-98e6-f0d8ae1dad78"},{"name":"Create Department","id":"00d6b320-09b2-4c25-ad55-d112bd25289a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"API_KEY"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"Department Test\"\n}","options":{"raw":{"language":"json"}}},"url":"https://europe-west1-production-eu-327a3.cloudfunctions.net/api/companies/COMPANY_ID/departments","description":"<h3 id=\"request-fields\">Request Fields</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Body</strong></th>\n<th><strong>Required</strong></th>\n<th><strong>Description</strong></th>\n<th><strong>Type / format</strong></th>\n<th><strong>Example</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>name</td>\n<td>Yes</td>\n<td>Department Name</td>\n<td><code>string</code></td>\n<td><code>\"Department Test\"</code></td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"response-fields\">Response Fields</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Body</th>\n<th>Description</th>\n<th><strong>Type / Format</strong></th>\n<th><strong>Example</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>Department ID</td>\n<td><code>string</code></td>\n<td><code>LaanR96PA3AzZ3eMG0Wb</code></td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["companies","COMPANY_ID","departments"],"host":["https://europe-west1-production-eu-327a3.cloudfunctions.net/api"],"query":[],"variable":[]}},"response":[{"id":"2f934ea5-90a3-43ca-90b5-d6bbc0fb19ee","name":"Create Department","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"Department Test\"\n}","options":{"raw":{"language":"json"}}},"url":"https://europe-west1-production-eu-327a3.cloudfunctions.net/api/companies/COMPANY_ID/departments"},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"LaanR96PA3AzZ3eMG0Wb\"\n}"}],"_postman_id":"00d6b320-09b2-4c25-ad55-d112bd25289a"},{"name":"Update Department","id":"067b56e9-30e3-41be-8c1f-845be9b33682","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"API_KEY"}]},"isInherited":false},"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"Department Test\",\n    \"isDeleted\": true\n}","options":{"raw":{"language":"json"}}},"url":"https://europe-west1-production-eu-327a3.cloudfunctions.net/api/companies/COMPANY_ID/departments/:departmentID","description":"<h3 id=\"request-fields\">Request Fields</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Body</strong></th>\n<th><strong>Required</strong></th>\n<th><strong>Description</strong></th>\n<th><strong>Type / format</strong></th>\n<th><strong>Example</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>name</td>\n<td>No</td>\n<td>Department Name</td>\n<td><code>string</code></td>\n<td><code>\"Department Test\"</code></td>\n</tr>\n<tr>\n<td>isDeleted</td>\n<td>No</td>\n<td>Check if the Department was deleted</td>\n<td><code>boolean</code></td>\n<td><code>true</code></td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"response-fields\">Response Fields</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Body</th>\n<th>Description</th>\n<th><strong>Type / Format</strong></th>\n<th><strong>Example</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>Department ID</td>\n<td><code>string</code></td>\n<td><code>LaanR96PA3AzZ3eMG0Wb</code></td>\n</tr>\n<tr>\n<td>name</td>\n<td>Department Name</td>\n<td><code>string</code></td>\n<td><code>Department Test</code></td>\n</tr>\n<tr>\n<td>isDeleted</td>\n<td>Is Department Deleted</td>\n<td><code>boolean</code></td>\n<td><code>true</code></td>\n</tr>\n<tr>\n<td>createTime</td>\n<td>When Department was Created</td>\n<td>an <a href=\"https://en.wikipedia.org/wiki/ISO_8601\">ISO 8601</a> encoded <code>string</code></td>\n<td><code>2024-02-23T17:00:57.472Z</code></td>\n</tr>\n<tr>\n<td>updateTime</td>\n<td>When Department was Updated</td>\n<td>an <a href=\"https://en.wikipedia.org/wiki/ISO_8601\">ISO 8601</a> encoded <code>string</code></td>\n<td><code>2024-02-23T17:00:57.472Z</code></td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["companies","COMPANY_ID","departments",":departmentID"],"host":["https://europe-west1-production-eu-327a3.cloudfunctions.net/api"],"query":[],"variable":[{"type":"any","value":"","key":"departmentID"}]}},"response":[{"id":"d26a3cb2-bf66-47cb-a468-801aeeb18f80","name":"Update Department","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"Department Test\",\n    \"isDeleted\": true\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://europe-west1-production-eu-327a3.cloudfunctions.net/api/companies/COMPANY_ID/departments/:departmentID","host":["https://europe-west1-production-eu-327a3.cloudfunctions.net/api"],"path":["companies","COMPANY_ID","departments",":departmentID"],"variable":[{"key":"departmentID","value":""}]}},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"LaanR96PA3AzZ3eMG0Wb\",\n    \"name\": \"Department Test\",\n    \"isDeleted\": true,\n    \"createTime\": \"2024-02-23T17:00:57.472Z\",\n    \"updateTime\": \"2024-02-23T17:02:14.952Z\"\n}"}],"_postman_id":"067b56e9-30e3-41be-8c1f-845be9b33682"}],"id":"97f1a306-598a-40ae-9f50-d9986e147737","_postman_id":"97f1a306-598a-40ae-9f50-d9986e147737","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"API_KEY"}]},"isInherited":true,"source":{"_postman_id":"59bfbd79-56b8-4afc-ba02-aaa84928a576","id":"59bfbd79-56b8-4afc-ba02-aaa84928a576","name":"Workfeed API (prod)","type":"collection"}}},{"name":"Leaves","item":[{"name":"Create leave","id":"a9c17938-abef-4d55-99ee-0f07d4fc3953","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"url":"https://europe-west1-production-eu-327a3.cloudfunctions.net/api/companies/COMPANY_ID/leaves","description":"<h3 id=\"request-fields\">Request Fields</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Body</th>\n<th><strong>Required</strong></th>\n<th>Description</th>\n<th><strong>Type / Format</strong></th>\n<th><strong>Example</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>start</td>\n<td>Yes</td>\n<td>When Leave starts.  <br />  <br /><em>NB: Must be midnight in company time zone.</em></td>\n<td>an <a href=\"https://en.wikipedia.org/wiki/ISO_8601\">ISO 8601</a> encoded <code>string</code></td>\n<td><code>2023-10-25T09:43:06.650Z</code></td>\n</tr>\n<tr>\n<td>end</td>\n<td>Yes</td>\n<td>When Leave ends.  <br />  <br /><em>NB: Must be midnight in company time zone.</em></td>\n<td>an <a href=\"https://en.wikipedia.org/wiki/ISO_8601\">ISO 8601</a> encoded <code>string</code></td>\n<td><code>2023-10-25T12:43:06.650Z</code></td>\n</tr>\n<tr>\n<td>type</td>\n<td>Yes</td>\n<td>ID of the Leave Type.</td>\n<td><code>string</code>  <br />  <br />Either one of the default leave types <code>\"sick\"</code>, <code>\"holiday\"</code>, and <code>\"comp_time\"</code> <em><strong>OR</strong></em> the ID of a custom leave type.</td>\n<td><code>holiday</code></td>\n</tr>\n<tr>\n<td>unpaid</td>\n<td>Yes</td>\n<td>Whether the Leave is Paid or Unpaid  <br />  <br /><em>NB: Leaves with type</em> <code>comp_time</code> <em>must be paid</em></td>\n<td><code>boolean</code></td>\n<td><code>true</code></td>\n</tr>\n<tr>\n<td>employeeID</td>\n<td>Yes</td>\n<td>Employee associated to the Leave</td>\n<td><code>string</code></td>\n<td><code>sEx78CyrI2M9RDfsN99BL78BUKx2</code></td>\n</tr>\n<tr>\n<td>note</td>\n<td>No</td>\n<td>Leave Note</td>\n<td><code>string</code></td>\n<td><code>Leave note 📝</code></td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"response-fields\">Response Fields</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Body</th>\n<th>Description</th>\n<th><strong>Type / Format</strong></th>\n<th><strong>Example</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>ID of created Leave</td>\n<td><code>string</code></td>\n<td>{ \"id\": \"\" }</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"API_KEY"}]},"isInherited":true,"source":{"_postman_id":"59bfbd79-56b8-4afc-ba02-aaa84928a576","id":"59bfbd79-56b8-4afc-ba02-aaa84928a576","name":"Workfeed API (prod)","type":"collection"}},"urlObject":{"path":["companies","COMPANY_ID","leaves"],"host":["https://europe-west1-production-eu-327a3.cloudfunctions.net/api"],"query":[],"variable":[]}},"response":[{"id":"cb6b211b-cb46-4ad7-aed6-f51f49122828","name":"Create leave","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"API-KEY","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"start\": \"2025-03-15T19:00:00.000Z\",\n    \"end\": \"2025-03-15T19:00:00.000Z\",\n    \"employeeID\": \"EMPLOYEE_ID\",\n    \"type\": \"holiday\",\n    \"unpaid\": false,\n    \"note\": \"Leave note 📝\"\n}","options":{"raw":{"language":"json"}}},"url":"https://europe-west1-production-eu-327a3.cloudfunctions.net/api/companies/COMPANY_ID/leaves"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"LEAVE_ID\"\n}"}],"_postman_id":"a9c17938-abef-4d55-99ee-0f07d4fc3953"},{"name":"Get Leave","id":"1e6e4423-4964-4854-8641-ef5cbdfb155d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"API_KEY"}]},"isInherited":false},"method":"GET","header":[],"url":"https://europe-west1-production-eu-327a3.cloudfunctions.net/api/companies/COMPANY_ID/leaves/:leaveID","description":"<h3 id=\"response-fields\">Response Fields</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Body</th>\n<th>Description</th>\n<th><strong>Type / Format</strong></th>\n<th><strong>Example</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>Leave ID</td>\n<td><code>string</code></td>\n<td><code>2023-12-21</code></td>\n</tr>\n<tr>\n<td>start</td>\n<td>When Leave starts</td>\n<td>an <a href=\"https://en.wikipedia.org/wiki/ISO_8601\">ISO 8601</a> encoded <code>string</code></td>\n<td><code>2023-10-25T09:43:06.650Z</code></td>\n</tr>\n<tr>\n<td>end</td>\n<td>When Leave ends</td>\n<td>an <a href=\"https://en.wikipedia.org/wiki/ISO_8601\">ISO 8601</a> encoded <code>string</code></td>\n<td><code>2023-10-25T12:43:06.650Z</code></td>\n</tr>\n<tr>\n<td>employeeID</td>\n<td>Employee associated to the Shift</td>\n<td><code>string</code> / <code>null</code></td>\n<td><code>sEx78CyrI2M9RDfsN99BL78BUKx2</code></td>\n</tr>\n<tr>\n<td>allDay</td>\n<td>Is Leave all day?</td>\n<td><code>boolean</code></td>\n<td><code>true</code></td>\n</tr>\n<tr>\n<td>note</td>\n<td>Leave Note</td>\n<td><code>string</code> / <code>null</code></td>\n<td><code>null</code></td>\n</tr>\n<tr>\n<td>unpaid</td>\n<td>Is Leave Paid or Unpaid ?</td>\n<td><code>boolean</code></td>\n<td><code>true</code></td>\n</tr>\n<tr>\n<td>leaveRequestID</td>\n<td>Request ID</td>\n<td><code>string</code> / <code>null</code></td>\n<td><code>null</code></td>\n</tr>\n<tr>\n<td>leaveType</td>\n<td>Leave Type</td>\n<td><code>object</code></td>\n<td></td>\n</tr>\n<tr>\n<td>leaveType.id</td>\n<td>Leave Type ID</td>\n<td><code>string</code></td>\n<td><code>holiday</code></td>\n</tr>\n<tr>\n<td>leaveType.emoji</td>\n<td>Leave Type Emoji</td>\n<td><code>string</code></td>\n<td><code>🌴</code></td>\n</tr>\n<tr>\n<td>leaveType.name</td>\n<td>Leave Type Name</td>\n<td><code>string</code></td>\n<td><code>shared.holiday</code></td>\n</tr>\n<tr>\n<td>leaveType.color</td>\n<td>Leave Type Color</td>\n<td><code>string</code> in HEX format</td>\n<td><code>#07BE62</code></td>\n</tr>\n<tr>\n<td>leaveType.isDeleted</td>\n<td>Is Leave Type deleted ?</td>\n<td><code>boolean</code></td>\n<td><code>false</code></td>\n</tr>\n<tr>\n<td>createTime</td>\n<td>When the Daily Note was created</td>\n<td>an <a href=\"https://en.wikipedia.org/wiki/ISO_8601\">ISO 8601</a> encoded <code>string</code></td>\n<td><code>2023-10-25T09:43:06.650Z</code></td>\n</tr>\n<tr>\n<td>updateTime</td>\n<td>When the Daily Note was updated</td>\n<td>an <a href=\"https://en.wikipedia.org/wiki/ISO_8601\">ISO 8601</a> encoded <code>string</code></td>\n<td>2023-10-25T09:43:06.650Z</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["companies","COMPANY_ID","leaves",":leaveID"],"host":["https://europe-west1-production-eu-327a3.cloudfunctions.net/api"],"query":[],"variable":[{"id":"ba582aa3-40b8-411b-9856-60ad1ad19b76","description":{"content":"<p>Leave ID</p>\n","type":"text/plain"},"type":"any","value":"","key":"leaveID"}]}},"response":[{"id":"5f827f3b-a6b6-47bb-a1ec-21a5fa338ea3","name":"Get Leave","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"API-KEY","type":"text"}],"url":{"raw":"https://europe-west1-production-eu-327a3.cloudfunctions.net/api/companies/COMPANY_ID/leaves/:leaveID","host":["https://europe-west1-production-eu-327a3.cloudfunctions.net/api"],"path":["companies","COMPANY_ID","leaves",":leaveID"],"variable":[{"key":"leaveID","value":""}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"meo6wBYbAlDMWPIEQPtS\",\n    \"start\": \"2024-01-24T00:00:00.000Z\",\n    \"end\": \"2024-01-24T00:00:00.000Z\",\n    \"employeeID\": \"sEx78CyrI2M9RDfsN99BL78BUKx2\",\n    \"allDay\": true,\n    \"note\": \"\",\n    \"unpaid\": false,\n    \"leaveRequestID\": null,\n    \"leaveType\": {\n        \"id\": \"holiday\",\n        \"emoji\": \"🌴\",\n        \"name\": \"shared.holiday\",\n        \"color\": \"#07BE62\",\n        \"isDeleted\": false\n    },\n    \"createTime\": \"2024-01-22T08:36:17.450Z\",\n    \"updateTime\": \"2024-01-22T08:41:51.088Z\"\n}"}],"_postman_id":"1e6e4423-4964-4854-8641-ef5cbdfb155d"},{"name":"Get Leaves","id":"b766e6aa-42e3-46e5-9b62-4647eacd7dfe","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"API_KEY"}]},"isInherited":false},"method":"GET","header":[],"url":"https://europe-west1-production-eu-327a3.cloudfunctions.net/api/companies/COMPANY_ID/leaves/?from&to","description":"<h3 id=\"request-fields\">Request Fields</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Param</strong></th>\n<th><strong>Required</strong></th>\n<th><strong>Description</strong></th>\n<th><strong>Type / format</strong></th>\n<th><strong>Example</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>from</td>\n<td>Yes</td>\n<td>Only get Leaves starting <em>on or after</em> this time</td>\n<td>an <a href=\"https://en.wikipedia.org/wiki/ISO_8601\">ISO 8601</a> encoded <code>string</code></td>\n<td><code>2023-07-01T00:00:00.000Z</code></td>\n</tr>\n<tr>\n<td>to</td>\n<td>Yes</td>\n<td>Only get Leaves starting <em>before</em> this time</td>\n<td>an <a href=\"https://en.wikipedia.org/wiki/ISO_8601\">ISO 8601</a> encoded <code>string</code></td>\n<td><code>2023-10-30T00:00:00.000Z</code></td>\n</tr>\n<tr>\n<td>employeeIDs</td>\n<td>No</td>\n<td>Filter by one or more employee IDs. Repeat the param to pass multiple values.</td>\n<td><code>string</code> (repeatable)</td>\n<td><code>&amp;employeeIDs=abc&amp;employeeIDs=def</code></td>\n</tr>\n<tr>\n<td>typeIDs</td>\n<td>No</td>\n<td>Filter by one or more leave type IDs. Accepts standard types (<code>holiday</code>, <code>sick</code>, <code>comp_time</code>) and custom leave type IDs. Returns <code>400</code> if an invalid ID is provided. Repeat the param to pass multiple values.</td>\n<td><code>string</code> (repeatable)</td>\n<td><code>&amp;typeIDs=holiday&amp;typeIDs=sick</code></td>\n</tr>\n<tr>\n<td>includeDeleted</td>\n<td>No</td>\n<td>Include leaves whose leave type has been deleted. Defaults to <code>true</code>.</td>\n<td><code>\"true\"</code> | <code>\"false\"</code></td>\n<td><code>false</code></td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"response-fields\">Response Fields</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Body</th>\n<th>Description</th>\n<th><strong>Type / Format</strong></th>\n<th><strong>Example</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>Leave ID</td>\n<td><code>string</code></td>\n<td><code>2023-12-21</code></td>\n</tr>\n<tr>\n<td>start</td>\n<td>When Leave starts</td>\n<td>an <a href=\"https://en.wikipedia.org/wiki/ISO_8601\">ISO 8601</a> encoded <code>string</code></td>\n<td><code>2023-10-25T09:43:06.650Z</code></td>\n</tr>\n<tr>\n<td>end</td>\n<td>When Leave ends</td>\n<td>an <a href=\"https://en.wikipedia.org/wiki/ISO_8601\">ISO 8601</a> encoded <code>string</code></td>\n<td><code>2023-10-25T12:43:06.650Z</code></td>\n</tr>\n<tr>\n<td>employeeID</td>\n<td>Employee associated to the Leave</td>\n<td><code>string</code> / <code>null</code></td>\n<td><code>sEx78CyrI2M9RDfsN99BL78BUKx2</code></td>\n</tr>\n<tr>\n<td>allDay</td>\n<td>Is Leave all day?</td>\n<td><code>boolean</code></td>\n<td><code>true</code></td>\n</tr>\n<tr>\n<td>note</td>\n<td>Leave Note</td>\n<td><code>string</code> / <code>null</code></td>\n<td><code>null</code></td>\n</tr>\n<tr>\n<td>unpaid</td>\n<td>Is Leave Paid or Unpaid?</td>\n<td><code>boolean</code></td>\n<td><code>true</code></td>\n</tr>\n<tr>\n<td>leaveRequestID</td>\n<td>Request ID</td>\n<td><code>string</code> / <code>null</code></td>\n<td><code>null</code></td>\n</tr>\n<tr>\n<td>leaveType</td>\n<td>Leave Type</td>\n<td><code>object</code></td>\n<td></td>\n</tr>\n<tr>\n<td>leaveType.id</td>\n<td>Leave Type ID</td>\n<td><code>string</code></td>\n<td><code>holiday</code></td>\n</tr>\n<tr>\n<td>leaveType.emoji</td>\n<td>Leave Type Emoji</td>\n<td><code>string</code></td>\n<td><code>🌴</code></td>\n</tr>\n<tr>\n<td>leaveType.name</td>\n<td>Leave Type Name</td>\n<td><code>string</code></td>\n<td><code>shared.holiday</code></td>\n</tr>\n<tr>\n<td>leaveType.color</td>\n<td>Leave Type Color</td>\n<td><code>string</code> in HEX format</td>\n<td><code>#07BE62</code></td>\n</tr>\n<tr>\n<td>leaveType.isDeleted</td>\n<td>Is Leave Type deleted?</td>\n<td><code>boolean</code></td>\n<td><code>false</code></td>\n</tr>\n<tr>\n<td>createTime</td>\n<td>When the Leave was created</td>\n<td>an <a href=\"https://en.wikipedia.org/wiki/ISO_8601\">ISO 8601</a> encoded <code>string</code></td>\n<td><code>2023-10-25T09:43:06.650Z</code></td>\n</tr>\n<tr>\n<td>updateTime</td>\n<td>When the Leave was updated</td>\n<td>an <a href=\"https://en.wikipedia.org/wiki/ISO_8601\">ISO 8601</a> encoded <code>string</code></td>\n<td><code>2023-10-25T09:43:06.650Z</code></td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["companies","COMPANY_ID","leaves",""],"host":["https://europe-west1-production-eu-327a3.cloudfunctions.net/api"],"query":[{"key":"from","value":null},{"key":"to","value":null}],"variable":[]}},"response":[{"id":"a0a8088a-8d2b-4446-92d6-7b744b2c96e7","name":"Get Leaves","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"API-KEY","type":"text"}],"url":{"raw":"https://europe-west1-production-eu-327a3.cloudfunctions.net/api/companies/COMPANY_ID/leaves/?from&to","host":["https://europe-west1-production-eu-327a3.cloudfunctions.net/api"],"path":["companies","COMPANY_ID","leaves",""],"query":[{"key":"from","value":null},{"key":"to","value":null}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": \"PbbUTTP1uLlDcrFbF7kk\",\n        \"start\": \"2024-01-25T00:00:00.000Z\",\n        \"end\": \"2024-01-25T00:00:00.000Z\",\n        \"employeeID\": \"sEx78CyrI2M9RDfsN99BL78BUKx2\",\n        \"allDay\": true,\n        \"note\": \"\",\n        \"unpaid\": false,\n        \"leaveRequestID\": null,\n        \"leaveType\": {\n            \"color\": \"#85909F\",\n            \"emoji\": \"🚩\",\n            \"isDeleted\": false,\n            \"name\": \"Test Type 1\",\n            \"id\": \"FFBZabD16cVU5D6UsAdV\"\n        },\n        \"createTime\": \"2024-01-23T11:47:57.049Z\",\n        \"updateTime\": \"2024-01-23T11:47:57.049Z\"\n    },\n    {\n        \"id\": \"meo6wBYbAlDMWPIEQPtS\",\n        \"start\": \"2024-01-24T00:00:00.000Z\",\n        \"end\": \"2024-01-24T00:00:00.000Z\",\n        \"employeeID\": \"sEx78CyrI2M9RDfsN99BL78BUKx2\",\n        \"allDay\": true,\n        \"note\": \"\",\n        \"unpaid\": false,\n        \"leaveRequestID\": null,\n        \"leaveType\": {\n            \"id\": \"holiday\",\n            \"emoji\": \"🌴\",\n            \"name\": \"shared.holiday\",\n            \"color\": \"#07BE62\",\n            \"isDeleted\": false\n        },\n        \"createTime\": \"2024-01-22T16:36:17.450Z\",\n        \"updateTime\": \"2024-01-22T17:41:51.088Z\"\n    }\n]"}],"_postman_id":"b766e6aa-42e3-46e5-9b62-4647eacd7dfe"},{"name":"Update leave","id":"b1cf5dc0-6320-442f-b5b4-0cc166f51ff4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"url":"https://europe-west1-production-eu-327a3.cloudfunctions.net/api/companies/COMPANY_ID/leaves/:leaveID","description":"<h3 id=\"request-fields\">Request Fields</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Body</th>\n<th>Description</th>\n<th><strong>Type / Format</strong></th>\n<th><strong>Example</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>start</td>\n<td>When Leave starts.  <br />  <br /><em>NB: Must be midnight in company time zone.</em></td>\n<td>an <a href=\"https://en.wikipedia.org/wiki/ISO_8601\">ISO 8601</a> encoded <code>string</code></td>\n<td><code>2023-10-25T09:43:06.650Z</code></td>\n</tr>\n<tr>\n<td>end</td>\n<td>When Leave ends.  <br />  <br /><em>NB: Must be midnight in company time zone.</em></td>\n<td>an <a href=\"https://en.wikipedia.org/wiki/ISO_8601\">ISO 8601</a> encoded <code>string</code></td>\n<td><code>2023-10-25T12:43:06.650Z</code></td>\n</tr>\n<tr>\n<td>type</td>\n<td>ID of the Leave Type.</td>\n<td><code>string</code>  <br />  <br />Either one of the default leave types <code>\"sick\"</code>, <code>\"holiday\"</code>, and <code>\"comp_time\"</code> <em><strong>OR</strong></em> the ID of a custom leave type.</td>\n<td><code>holiday</code></td>\n</tr>\n<tr>\n<td>unpaid</td>\n<td>Whether the Leave is Paid or Unpaid  <br />  <br /><em>NB: Leaves with type</em> <code>comp_time</code> <em>must be paid</em></td>\n<td><code>boolean</code></td>\n<td><code>true</code></td>\n</tr>\n<tr>\n<td>employeeID</td>\n<td>Employee associated to the Leave</td>\n<td><code>string</code></td>\n<td><code>sEx78CyrI2M9RDfsN99BL78BUKx2</code></td>\n</tr>\n<tr>\n<td>note</td>\n<td>Leave Note</td>\n<td><code>string</code></td>\n<td><code>Leave note 📝</code></td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"response-fields\">Response Fields</h3>\n<p>See <a href=\"https://docs.workfeed.io/#1e6e4423-4964-4854-8641-ef5cbdfb155d\">Get Leave endpoint</a>.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"API_KEY"}]},"isInherited":true,"source":{"_postman_id":"59bfbd79-56b8-4afc-ba02-aaa84928a576","id":"59bfbd79-56b8-4afc-ba02-aaa84928a576","name":"Workfeed API (prod)","type":"collection"}},"urlObject":{"path":["companies","COMPANY_ID","leaves",":leaveID"],"host":["https://europe-west1-production-eu-327a3.cloudfunctions.net/api"],"query":[],"variable":[{"type":"any","value":"","key":"leaveID"}]}},"response":[{"id":"23f2cbe7-75fd-46eb-9067-a82897eca009","name":"Update leave","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"API-KEY","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"start\": \"2025-03-15T19:00:00.000Z\",\n    \"end\": \"2025-03-15T19:00:00.000Z\",\n    \"employeeID\": \"EMPLOYEE_ID\",\n    \"type\": \"holiday\",\n    \"unpaid\": false,\n    \"note\": \"Leave note 📝\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://europe-west1-production-eu-327a3.cloudfunctions.net/api/companies/COMPANY_ID/leaves/:leaveID","host":["https://europe-west1-production-eu-327a3.cloudfunctions.net/api"],"path":["companies","COMPANY_ID","leaves",":leaveID"],"variable":[{"key":"leaveID","value":""}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"LEAVE_ID\",\n    \"start\": \"2025-03-14T19:00:00.000Z\",\n    \"end\": \"2025-04-14T19:00:00.000Z\",\n    \"employeeID\": \"EMPLOYEE_ID\",\n    \"allDay\": true,\n    \"note\": \"Leave note 📝\",\n    \"unpaid\": false,\n    \"leaveRequestID\": null,\n    \"leaveType\": {\n        \"id\": \"holiday\",\n        \"emoji\": \"🌴\",\n        \"name\": \"shared.holiday\",\n        \"color\": \"#07BE62\",\n        \"isDeleted\": false\n    },\n    \"createTime\": \"2025-03-09T09:46:24.567Z\",\n    \"updateTime\": \"2025-03-09T10:00:57.871Z\"\n}"}],"_postman_id":"b1cf5dc0-6320-442f-b5b4-0cc166f51ff4"},{"name":"Delete leave","id":"d36ed713-8570-4510-893e-8dc175c39a40","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"https://europe-west1-production-eu-327a3.cloudfunctions.net/api/companies/COMPANY_ID/leaves/:leaveID","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"API_KEY"}]},"isInherited":true,"source":{"_postman_id":"59bfbd79-56b8-4afc-ba02-aaa84928a576","id":"59bfbd79-56b8-4afc-ba02-aaa84928a576","name":"Workfeed API (prod)","type":"collection"}},"urlObject":{"path":["companies","COMPANY_ID","leaves",":leaveID"],"host":["https://europe-west1-production-eu-327a3.cloudfunctions.net/api"],"query":[],"variable":[{"type":"any","value":"","key":"leaveID"}]}},"response":[{"id":"eac3223a-ceba-439e-884c-b627190cbe13","name":"Delete leave","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"https://europe-west1-production-eu-327a3.cloudfunctions.net/api/companies/COMPANY_ID/leaves/:leaveID","host":["https://europe-west1-production-eu-327a3.cloudfunctions.net/api"],"path":["companies","COMPANY_ID","leaves",":leaveID"],"variable":[{"key":"leaveID","value":""}]}},"status":"No Content","code":204,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null}],"_postman_id":"d36ed713-8570-4510-893e-8dc175c39a40"}],"id":"67360baa-93aa-47b4-b432-7c6aa711da21","_postman_id":"67360baa-93aa-47b4-b432-7c6aa711da21","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"API_KEY"}]},"isInherited":true,"source":{"_postman_id":"59bfbd79-56b8-4afc-ba02-aaa84928a576","id":"59bfbd79-56b8-4afc-ba02-aaa84928a576","name":"Workfeed API (prod)","type":"collection"}}},{"name":"Roles","item":[{"name":"Get roles","id":"3ab1ea41-32ba-4bd4-8d4b-3c78323567ec","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"API_KEY"}]},"isInherited":false},"method":"GET","header":[],"url":"https://europe-west1-production-eu-327a3.cloudfunctions.net/api/companies/COMPANY_ID/roles","description":"<h3 id=\"response-fields\">Response Fields</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Body</th>\n<th>Description</th>\n<th><strong>Type / Format</strong></th>\n<th><strong>Example</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>Role ID</td>\n<td><code>string</code></td>\n<td><code>hLbEKIPTlMh3ehotXl0w</code></td>\n</tr>\n<tr>\n<td>name</td>\n<td>Role Name</td>\n<td><code>string</code></td>\n<td><code>Role 1</code></td>\n</tr>\n<tr>\n<td>departmentID</td>\n<td>Department linked to the Role</td>\n<td><code>string</code></td>\n<td><code>PKHaOSgFA4uguOqmLfWv</code></td>\n</tr>\n<tr>\n<td>color</td>\n<td>Role color</td>\n<td><code>string</code></td>\n<td><code>role_color_1</code></td>\n</tr>\n<tr>\n<td>isDeleted</td>\n<td>Check if the Role was deleted</td>\n<td><code>boolean</code></td>\n<td><code>false</code></td>\n</tr>\n<tr>\n<td>createTime</td>\n<td>When the Role was created</td>\n<td>an <a href=\"https://en.wikipedia.org/wiki/ISO_8601\">ISO 8601</a> encoded <code>string</code></td>\n<td><code>2023-10-25T09:43:35.666Z</code></td>\n</tr>\n<tr>\n<td>updateTime</td>\n<td>When the Role was updated</td>\n<td>an <a href=\"https://en.wikipedia.org/wiki/ISO_8601\">ISO 8601</a> encoded <code>string</code></td>\n<td><code>2023-10-25T09:43:35.666Z</code></td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["companies","COMPANY_ID","roles"],"host":["https://europe-west1-production-eu-327a3.cloudfunctions.net/api"],"query":[],"variable":[]}},"response":[{"id":"08d67c07-0121-49f2-ad35-6985563e79d5","name":"Get roles","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"API-KEY","type":"text"}],"url":"https://europe-west1-production-eu-327a3.cloudfunctions.net/api/companies/COMPANY_ID/roles"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": \"hLbEKIPTlMh3ehotXl0w\",\n        \"name\": \"Role 1\",\n        \"departmentID\": \"PKHaOSgFA4uguOqmLfWv\",\n        \"isDeleted\": false,\n        \"color\": \"role_color_1\",\n        \"createTime\": \"2023-10-25T09:43:35.666Z\",\n        \"updateTime\": \"2023-10-25T09:43:35.666Z\"\n    }\n]"}],"_postman_id":"3ab1ea41-32ba-4bd4-8d4b-3c78323567ec"},{"name":"Create Role","id":"7293fccd-9baf-40a8-910c-0ebf8ddd8cb3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"API_KEY"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"Role Test\",\n    \"departmentID\": \"PUTUCPpzdAzqcMxhfJZK\",\n    \"color\": \"role_color_1\"\n}","options":{"raw":{"language":"json"}}},"url":"https://europe-west1-production-eu-327a3.cloudfunctions.net/api/companies/COMPANY_ID/roles","description":"<h3 id=\"request-fields\">Request Fields</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Body</strong></th>\n<th><strong>Required</strong></th>\n<th><strong>Description</strong></th>\n<th><strong>Type / format</strong></th>\n<th><strong>Example</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>name</td>\n<td>true</td>\n<td>Role Name</td>\n<td><code>string</code></td>\n<td><code>Role Test</code></td>\n</tr>\n<tr>\n<td>departmentID</td>\n<td>true</td>\n<td>Department ID</td>\n<td><code>string</code></td>\n<td><code>PUTUCPpzdAzqcMxhfJZK</code></td>\n</tr>\n<tr>\n<td>color</td>\n<td>false</td>\n<td>Role color  <br /><code>Options:</code>  <br />\"role_color_{number}\"  <br />number range = 1-21</td>\n<td><code>string</code></td>\n<td><code>role_color_1</code></td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"response-fields\">Response Fields</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Body</th>\n<th>Description</th>\n<th><strong>Type / Format</strong></th>\n<th><strong>Example</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>Role ID</td>\n<td><code>string</code></td>\n<td><code>hLbEKIPTlMh3ehotXl0w</code></td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["companies","COMPANY_ID","roles"],"host":["https://europe-west1-production-eu-327a3.cloudfunctions.net/api"],"query":[],"variable":[]}},"response":[{"id":"2acd9923-0358-418b-afb2-fe6755671dcb","name":"Create roles","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"API-KEY","type":"text"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"Role Test\",\n    \"departmentID\": \"PUTUCPpzdAzqcMxhfJZK\",\n    \"color\": \"role_color_1\"\n}","options":{"raw":{"language":"json"}}},"url":"https://europe-west1-production-eu-327a3.cloudfunctions.net/api/companies/COMPANY_ID/roles"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"LRhJzE8cEFFTev6G1ez5\"\n}"}],"_postman_id":"7293fccd-9baf-40a8-910c-0ebf8ddd8cb3"},{"name":"Update Role","id":"50e80a58-66fd-471c-aa48-6fe70e776269","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"API_KEY"}]},"isInherited":false},"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"Role Test\",\n    \"color\": \"role_color_1\",\n    \"isDeleted\": true\n}","options":{"raw":{"language":"json"}}},"url":"https://europe-west1-production-eu-327a3.cloudfunctions.net/api/companies/COMPANY_ID/roles/:roleID","description":"<h3 id=\"request-fields\">Request Fields</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Body</strong></th>\n<th><strong>Required</strong></th>\n<th><strong>Description</strong></th>\n<th><strong>Type / format</strong></th>\n<th><strong>Example</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>name</td>\n<td>false</td>\n<td>Role Name</td>\n<td><code>string</code></td>\n<td><code>Role Test</code></td>\n</tr>\n<tr>\n<td>isDeleted</td>\n<td>false</td>\n<td>Check if Role was deleted</td>\n<td><code>boolean</code></td>\n<td><code>true</code></td>\n</tr>\n<tr>\n<td>color</td>\n<td>false</td>\n<td>Role color  <br /><code>Options:</code>  <br />\"role_color_{number}\"  <br />number range = 1-21</td>\n<td><code>string</code></td>\n<td><code>role_color_1</code></td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"response-fields\">Response Fields</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Body</th>\n<th>Description</th>\n<th><strong>Type / Format</strong></th>\n<th><strong>Example</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>Role ID</td>\n<td><code>string</code></td>\n<td><code>LRhJzE8cEFFTev6G1ez5</code></td>\n</tr>\n<tr>\n<td>name</td>\n<td>Role Name</td>\n<td><code>string</code></td>\n<td><code>Role Test</code></td>\n</tr>\n<tr>\n<td>departmentID</td>\n<td>Department linked to the Role</td>\n<td><code>string</code></td>\n<td><code>PKHaOSgFA4uguOqmLfWv</code></td>\n</tr>\n<tr>\n<td>color</td>\n<td>Role color</td>\n<td><code>string</code></td>\n<td><code>role_color_1</code></td>\n</tr>\n<tr>\n<td>isDeleted</td>\n<td>Check if the Role was deleted</td>\n<td><code>boolean</code></td>\n<td><code>false</code></td>\n</tr>\n<tr>\n<td>createTime</td>\n<td>When the Role was created</td>\n<td>an <a href=\"https://en.wikipedia.org/wiki/ISO_8601\">ISO 8601</a> encoded <code>string</code></td>\n<td><code>2023-10-25T09:43:35.666Z</code></td>\n</tr>\n<tr>\n<td>updateTime</td>\n<td>When the Role was updated</td>\n<td>an <a href=\"https://en.wikipedia.org/wiki/ISO_8601\">ISO 8601</a> encoded <code>string</code></td>\n<td><code>2023-10-25T09:43:35.666Z</code></td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["companies","COMPANY_ID","roles",":roleID"],"host":["https://europe-west1-production-eu-327a3.cloudfunctions.net/api"],"query":[],"variable":[{"type":"any","value":"","key":"roleID"}]}},"response":[{"id":"d03208ff-3236-41dd-9c2d-2f7c39b2bcc7","name":"Update roles","originalRequest":{"method":"PUT","header":[{"key":"Authorization","value":"API-KEY","type":"text"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"Role Test\",\n    \"color\": \"role_color_1\",\n    \"isDeleted\": true\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://europe-west1-production-eu-327a3.cloudfunctions.net/api/companies/COMPANY_ID/roles/:roleID","protocol":"https","host":["europe-west1-production-eu-327a3","cloudfunctions","net"],"path":["api","companies","COMPANY_ID","roles",":roleID"],"variable":[{"key":"roleID","value":""}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"LRhJzE8cEFFTev6G1ez5\",\n    \"name\": \"Role Test\",\n    \"departmentID\": \"PUTUCPpzdAzqcMxhfJZK\",\n    \"isDeleted\": true,\n    \"color\": \"role_color_1\",\n    \"createTime\": \"2024-02-23T16:53:39.788Z\",\n    \"updateTime\": \"2024-03-04T11:42:11.566Z\"\n}"}],"_postman_id":"50e80a58-66fd-471c-aa48-6fe70e776269"}],"id":"6dc8920b-9a55-40d5-86ba-f756ddf7e36e","_postman_id":"6dc8920b-9a55-40d5-86ba-f756ddf7e36e","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"API_KEY"}]},"isInherited":true,"source":{"_postman_id":"59bfbd79-56b8-4afc-ba02-aaa84928a576","id":"59bfbd79-56b8-4afc-ba02-aaa84928a576","name":"Workfeed API (prod)","type":"collection"}}},{"name":"Get settings","id":"b74780ec-66d2-4841-b253-6e8bd1cc3356","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":false},"method":"GET","header":[],"url":"https://europe-west1-production-eu-327a3.cloudfunctions.net/api/companies/COMPANY_ID/settings","description":"<h3 id=\"response-fields\">Response Fields</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Body</th>\n<th>Description</th>\n<th><strong>Type / Format</strong></th>\n<th><strong>Example</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>salaryPeriodStartDate</td>\n<td>Day of the month that the salary period / cycle starts.  <br />It’s only a <code>number</code> when <code>payPeriodSetting.frequency</code> is set to monthly</td>\n<td><code>number</code> / <code>null</code></td>\n<td><code>null</code></td>\n</tr>\n<tr>\n<td>payPeriodSetting</td>\n<td>Pay Period Setting</td>\n<td><code>object</code> / <code>null</code></td>\n<td><code>null</code></td>\n</tr>\n<tr>\n<td>payPeriodSetting.startDate</td>\n<td>First date of a salary period / cycle</td>\n<td>an <a href=\"https://en.wikipedia.org/wiki/ISO_8601\">ISO 8601</a> encoded <code>string</code></td>\n<td><code>2023-10-25T09:43:06.650Z</code></td>\n</tr>\n<tr>\n<td>payPeriodSetting.frequency</td>\n<td>Options:  <br /><code>\"weekly\"</code> / <code>\"biweekly\"</code> / <code>\"monthly\"</code></td>\n<td><code>string</code> / <code>null</code></td>\n<td><code>null</code></td>\n</tr>\n<tr>\n<td>shiftBreak</td>\n<td>The company’s default shift break rules that applies to all shifts except for those with a custom break</td>\n<td><code>object</code></td>\n<td></td>\n</tr>\n<tr>\n<td>shiftBreak.breakDuration</td>\n<td>Duration in Hours</td>\n<td><code>number</code></td>\n<td><code>1</code></td>\n</tr>\n<tr>\n<td>shiftBreak.shiftLengthInterval</td>\n<td>Interval after which a break should be applied in hours</td>\n<td><code>number</code></td>\n<td><code>2</code></td>\n</tr>\n<tr>\n<td>shiftBreak.breakType</td>\n<td>Whether breaks stack incrementally or are fixed. <code>\"incremental\"</code> adds breaks as shift length increases, while <code>\"fixed\"</code> applies a single break after the interval</td>\n<td><code>string</code></td>\n<td><code>\"incremental\"</code></td>\n</tr>\n<tr>\n<td>createTime</td>\n<td>When the Settings was created</td>\n<td>an <a href=\"https://en.wikipedia.org/wiki/ISO_8601\">ISO 8601</a> encoded <code>string</code></td>\n<td><code>2023-10-25T09:43:06.650Z</code></td>\n</tr>\n<tr>\n<td>updateTime</td>\n<td>When the Settings was updated</td>\n<td>an <a href=\"https://en.wikipedia.org/wiki/ISO_8601\">ISO 8601</a> encoded <code>string</code></td>\n<td><code>2023-10-25T09:43:06.650Z</code></td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["companies","COMPANY_ID","settings"],"host":["https://europe-west1-production-eu-327a3.cloudfunctions.net/api"],"query":[],"variable":[]}},"response":[{"id":"46331eb1-d7a2-4ed6-9e83-4cdafcbccc0d","name":"Get settings","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"API-KEY","type":"text"}],"url":"https://europe-west1-production-eu-327a3.cloudfunctions.net/api/companies/COMPANY_ID/settings"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"salaryPeriodStartDate\": null,\n    \"payPeriodSetting\": null,\n    \"shiftBreak\": null,\n    \"createTime\": null,\n    \"updateTime\": null\n}"}],"_postman_id":"b74780ec-66d2-4841-b253-6e8bd1cc3356"},{"name":"Get availability","id":"139d6886-e1a8-4aca-8f0b-4813bd46c6f2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":false},"method":"GET","header":[],"url":"https://europe-west1-production-eu-327a3.cloudfunctions.net/api/companies/COMPANY_ID/availability?from=2025-01-01T00:00:00.000Z&to=2026-01-01T00:00:00.000Z","description":"<h3 id=\"request-fields\">Request Fields</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Param</strong></th>\n<th><strong>Required</strong></th>\n<th><strong>Description</strong></th>\n<th><strong>Type / format</strong></th>\n<th><strong>Example</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>from</code></td>\n<td>Yes</td>\n<td>Date to query from</td>\n<td>an <a href=\"https://en.wikipedia.org/wiki/ISO_8601\">ISO 8601</a> encoded <code>string</code></td>\n<td><code>2022-04-07T22:00:00.000Z</code></td>\n</tr>\n<tr>\n<td><code>to</code></td>\n<td>Yes</td>\n<td>Date to query to</td>\n<td>an <a href=\"https://en.wikipedia.org/wiki/ISO_8601\">ISO 8601</a> encoded <code>string</code></td>\n<td><code>2022-04-10T22:00:00.000Z</code></td>\n</tr>\n<tr>\n<td><code>employeeID</code></td>\n<td>No</td>\n<td>If present, only get availability of the employee with this id</td>\n<td><code>string</code></td>\n<td><code>j1TznpqVtLN0nmgPfK476U5fn2O2</code></td>\n</tr>\n<tr>\n<td><code>type</code></td>\n<td>No</td>\n<td>If present, only get availability of <code>type</code></td>\n<td><code>string</code> /  <br />[\"WORK\", \"NO_WORK\"]</td>\n<td><code>WORK</code></td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"response-fields\">Response Fields</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Body</strong></th>\n<th><strong>Description</strong></th>\n<th><strong>Type / format</strong></th>\n<th><strong>Example</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>Availability ID</td>\n<td><code>string</code></td>\n<td><code>Trcu7MKFomu5y5zv1B8G</code></td>\n</tr>\n<tr>\n<td>start</td>\n<td>When Availability starts</td>\n<td>an <a href=\"https://en.wikipedia.org/wiki/ISO_8601\">ISO 8601</a> encoded <code>string</code></td>\n<td><code>2023-10-23T08:00:00.000Z</code></td>\n</tr>\n<tr>\n<td>end</td>\n<td>When Availability ends</td>\n<td>an <a href=\"https://en.wikipedia.org/wiki/ISO_8601\">ISO 8601</a> encoded <code>string</code></td>\n<td><code>2023-10-23T16:00:00.000Z</code></td>\n</tr>\n<tr>\n<td>employeeID</td>\n<td>Employee associated to the Shift</td>\n<td><code>string</code></td>\n<td><code>j1TznpqVtLN0nmgPfK476U5fn2O2</code></td>\n</tr>\n<tr>\n<td>type</td>\n<td>Type of availability</td>\n<td><code>string</code> /  <br />[\"WORK\", \"NO_WORK\"]</td>\n<td><code>WORK</code></td>\n</tr>\n<tr>\n<td>createTime</td>\n<td>When Availability was created</td>\n<td>an <a href=\"https://en.wikipedia.org/wiki/ISO_8601\">ISO 8601</a> encoded <code>string</code></td>\n<td><code>2023-10-27T09:10:30.336Z</code></td>\n</tr>\n<tr>\n<td>updateTime</td>\n<td>When Availability was updated</td>\n<td>an <a href=\"https://en.wikipedia.org/wiki/ISO_8601\">ISO 8601</a> encoded <code>string</code></td>\n<td><code>2023-10-27T09:10:30.336Z</code></td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["companies","COMPANY_ID","availability"],"host":["https://europe-west1-production-eu-327a3.cloudfunctions.net/api"],"query":[{"description":{"content":"<p>Date to query from</p>\n","type":"text/plain"},"key":"from","value":"2025-01-01T00:00:00.000Z"},{"description":{"content":"<p>Date (ISO String) to query to</p>\n","type":"text/plain"},"key":"to","value":"2026-01-01T00:00:00.000Z"},{"disabled":true,"description":{"content":"<p>Employee ID</p>\n","type":"text/plain"},"key":"employeeID","value":""},{"disabled":true,"description":{"content":"<p>Type of availability to query</p>\n","type":"text/plain"},"key":"type","value":"WORK"}],"variable":[]}},"response":[{"id":"b5acdf6e-1363-49ba-8ad6-aa85451bd4d0","name":"by date range","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://europe-west1-production-eu-327a3.cloudfunctions.net/api/companies/COMPANY_ID/availability?from=2025-01-01T00:00:00.000Z&to=2026-01-01T00:00:00.000Z","host":["https://europe-west1-production-eu-327a3.cloudfunctions.net/api"],"path":["companies","COMPANY_ID","availability"],"query":[{"key":"from","value":"2025-01-01T00:00:00.000Z","description":"Date (ISO String) to query from"},{"key":"to","value":"2026-01-01T00:00:00.000Z","description":"Date (ISO String) to query to"},{"key":"employeeID","value":"2gpytsnr0MZIFJsqpFCTLZVbzpw2","description":"Employee ID","disabled":true},{"key":"type","value":"WORK","description":"Type of availability to query","type":"text","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"x-powered-by","value":"Express"},{"key":"content-type","value":"application/json; charset=utf-8"},{"key":"etag","value":"W/\"562-Wgm7FljfwYYEpwRKZMrNITU3gAk\""},{"key":"function-execution-id","value":"1l9c59gnnmas"},{"key":"x-cloud-trace-context","value":"4537ef04ca19aa8f43d458b01ca74c55;o=1"},{"key":"date","value":"Tue, 14 Oct 2025 11:54:02 GMT"},{"key":"server","value":"Google Frontend"},{"key":"Content-Length","value":"1378"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": \"NFKXPKccoWARsAnJw6Rx\",\n        \"start\": \"2025-10-19T22:00:00.000Z\",\n        \"end\": \"2025-10-20T22:00:00.000Z\",\n        \"employeeID\": \"OC9CjKD4ECW2Y0thJLGk\",\n        \"type\": \"NO_WORK\",\n        \"createTime\": \"2025-10-13T08:17:56.238Z\",\n        \"updateTime\": \"2025-10-13T08:17:56.238Z\"\n    },\n    {\n        \"id\": \"5xrgPQYBwgB548is1OOI\",\n        \"start\": \"2025-10-20T22:00:00.000Z\",\n        \"end\": \"2025-10-21T22:00:00.000Z\",\n        \"employeeID\": \"OC9CjKD4ECW2Y0thJLGk\",\n        \"type\": \"WORK\",\n        \"createTime\": \"2025-10-13T08:17:57.243Z\",\n        \"updateTime\": \"2025-10-13T08:17:57.383Z\"\n    },\n    {\n        \"id\": \"mfBcP9vIUssxIz820AFh\",\n        \"start\": \"2025-10-21T22:00:00.000Z\",\n        \"end\": \"2025-10-22T22:00:00.000Z\",\n        \"employeeID\": \"OC9CjKD4ECW2Y0thJLGk\",\n        \"type\": \"NO_WORK\",\n        \"createTime\": \"2025-10-13T08:17:58.165Z\",\n        \"updateTime\": \"2025-10-13T08:17:59.042Z\"\n    },\n    {\n        \"id\": \"Yb45RUexcdn87HQtLR8t\",\n        \"start\": \"2025-10-22T22:00:00.000Z\",\n        \"end\": \"2025-10-23T22:00:00.000Z\",\n        \"employeeID\": \"OC9CjKD4ECW2Y0thJLGk\",\n        \"type\": \"NO_WORK\",\n        \"createTime\": \"2025-10-13T08:17:59.924Z\",\n        \"updateTime\": \"2025-10-13T08:17:59.924Z\"\n    },\n    {\n        \"id\": \"aj4cise0xdUWgzEhCdvu\",\n        \"start\": \"2025-10-23T22:00:00.000Z\",\n        \"end\": \"2025-10-24T22:00:00.000Z\",\n        \"employeeID\": \"OC9CjKD4ECW2Y0thJLGk\",\n        \"type\": \"WORK\",\n        \"createTime\": \"2025-10-13T08:18:00.363Z\",\n        \"updateTime\": \"2025-10-13T08:18:00.508Z\"\n    },\n    {\n        \"id\": \"aW2v4LaltEQiCD6kWnNM\",\n        \"start\": \"2025-10-24T22:00:00.000Z\",\n        \"end\": \"2025-10-25T22:00:00.000Z\",\n        \"employeeID\": \"OC9CjKD4ECW2Y0thJLGk\",\n        \"type\": \"WORK\",\n        \"createTime\": \"2025-10-13T08:18:01.136Z\",\n        \"updateTime\": \"2025-10-13T08:18:01.284Z\"\n    }\n]"},{"id":"bd917efd-9ef3-4e7e-943f-8dad71636a46","name":"by date range & employeeID","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://europe-west1-production-eu-327a3.cloudfunctions.net/api/companies/COMPANY_ID/availability?from=2025-01-01T00:00:00.000Z&to=2026-01-01T00:00:00.000Z&employeeID=OC9CjKD4ECW2Y0thJLGk","host":["https://europe-west1-production-eu-327a3.cloudfunctions.net/api"],"path":["companies","COMPANY_ID","availability"],"query":[{"key":"from","value":"2025-01-01T00:00:00.000Z","description":"Date (ISO String) to query from"},{"key":"to","value":"2026-01-01T00:00:00.000Z","description":"Date (ISO String) to query to"},{"key":"employeeID","value":"OC9CjKD4ECW2Y0thJLGk","description":"Employee ID"},{"key":"type","value":"NO_WORK","description":"Type of availability to query","type":"text","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"x-powered-by","value":"Express"},{"key":"content-type","value":"application/json; charset=utf-8"},{"key":"etag","value":"W/\"562-Wgm7FljfwYYEpwRKZMrNITU3gAk\""},{"key":"function-execution-id","value":"1l9cyiunewvm"},{"key":"x-cloud-trace-context","value":"daf15dcd3561fcc102607a2862e8fa6c;o=1"},{"key":"date","value":"Tue, 14 Oct 2025 11:54:52 GMT"},{"key":"server","value":"Google Frontend"},{"key":"Content-Length","value":"1378"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": \"NFKXPKccoWARsAnJw6Rx\",\n        \"start\": \"2025-10-19T22:00:00.000Z\",\n        \"end\": \"2025-10-20T22:00:00.000Z\",\n        \"employeeID\": \"OC9CjKD4ECW2Y0thJLGk\",\n        \"type\": \"NO_WORK\",\n        \"createTime\": \"2025-10-13T08:17:56.238Z\",\n        \"updateTime\": \"2025-10-13T08:17:56.238Z\"\n    },\n    {\n        \"id\": \"5xrgPQYBwgB548is1OOI\",\n        \"start\": \"2025-10-20T22:00:00.000Z\",\n        \"end\": \"2025-10-21T22:00:00.000Z\",\n        \"employeeID\": \"OC9CjKD4ECW2Y0thJLGk\",\n        \"type\": \"WORK\",\n        \"createTime\": \"2025-10-13T08:17:57.243Z\",\n        \"updateTime\": \"2025-10-13T08:17:57.383Z\"\n    },\n    {\n        \"id\": \"mfBcP9vIUssxIz820AFh\",\n        \"start\": \"2025-10-21T22:00:00.000Z\",\n        \"end\": \"2025-10-22T22:00:00.000Z\",\n        \"employeeID\": \"OC9CjKD4ECW2Y0thJLGk\",\n        \"type\": \"NO_WORK\",\n        \"createTime\": \"2025-10-13T08:17:58.165Z\",\n        \"updateTime\": \"2025-10-13T08:17:59.042Z\"\n    },\n    {\n        \"id\": \"Yb45RUexcdn87HQtLR8t\",\n        \"start\": \"2025-10-22T22:00:00.000Z\",\n        \"end\": \"2025-10-23T22:00:00.000Z\",\n        \"employeeID\": \"OC9CjKD4ECW2Y0thJLGk\",\n        \"type\": \"NO_WORK\",\n        \"createTime\": \"2025-10-13T08:17:59.924Z\",\n        \"updateTime\": \"2025-10-13T08:17:59.924Z\"\n    },\n    {\n        \"id\": \"aj4cise0xdUWgzEhCdvu\",\n        \"start\": \"2025-10-23T22:00:00.000Z\",\n        \"end\": \"2025-10-24T22:00:00.000Z\",\n        \"employeeID\": \"OC9CjKD4ECW2Y0thJLGk\",\n        \"type\": \"WORK\",\n        \"createTime\": \"2025-10-13T08:18:00.363Z\",\n        \"updateTime\": \"2025-10-13T08:18:00.508Z\"\n    },\n    {\n        \"id\": \"aW2v4LaltEQiCD6kWnNM\",\n        \"start\": \"2025-10-24T22:00:00.000Z\",\n        \"end\": \"2025-10-25T22:00:00.000Z\",\n        \"employeeID\": \"OC9CjKD4ECW2Y0thJLGk\",\n        \"type\": \"WORK\",\n        \"createTime\": \"2025-10-13T08:18:01.136Z\",\n        \"updateTime\": \"2025-10-13T08:18:01.284Z\"\n    }\n]"},{"id":"3734b9bd-5f99-44ca-b033-e21c2358564f","name":"by date range & type (WORK)","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://europe-west1-production-eu-327a3.cloudfunctions.net/api/companies/COMPANY_ID/availability?from=2025-01-01T00:00:00.000Z&to=2026-01-01T00:00:00.000Z&type=WORK","host":["https://europe-west1-production-eu-327a3.cloudfunctions.net/api"],"path":["companies","COMPANY_ID","availability"],"query":[{"key":"from","value":"2025-01-01T00:00:00.000Z","description":"Date (ISO String) to query from"},{"key":"to","value":"2026-01-01T00:00:00.000Z","description":"Date (ISO String) to query to"},{"key":"employeeID","value":"OC9CjKD4ECW2Y0thJLGk","description":"Employee ID","disabled":true},{"key":"type","value":"WORK","description":"Type of availability to query","type":"text"}]}},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"x-powered-by","value":"Express"},{"key":"content-type","value":"application/json; charset=utf-8"},{"key":"etag","value":"W/\"2ad-+3xCrTz4/mrvZ4YccWBHJq4ERK0\""},{"key":"function-execution-id","value":"1l9c2ee10lk0"},{"key":"x-cloud-trace-context","value":"906032247339d024862eed88fc04ffcb;o=1"},{"key":"date","value":"Tue, 14 Oct 2025 11:55:57 GMT"},{"key":"server","value":"Google Frontend"},{"key":"Content-Length","value":"685"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": \"5xrgPQYBwgB548is1OOI\",\n        \"start\": \"2025-10-20T22:00:00.000Z\",\n        \"end\": \"2025-10-21T22:00:00.000Z\",\n        \"employeeID\": \"OC9CjKD4ECW2Y0thJLGk\",\n        \"type\": \"WORK\",\n        \"createTime\": \"2025-10-13T08:17:57.243Z\",\n        \"updateTime\": \"2025-10-13T08:17:57.383Z\"\n    },\n    {\n        \"id\": \"aj4cise0xdUWgzEhCdvu\",\n        \"start\": \"2025-10-23T22:00:00.000Z\",\n        \"end\": \"2025-10-24T22:00:00.000Z\",\n        \"employeeID\": \"OC9CjKD4ECW2Y0thJLGk\",\n        \"type\": \"WORK\",\n        \"createTime\": \"2025-10-13T08:18:00.363Z\",\n        \"updateTime\": \"2025-10-13T08:18:00.508Z\"\n    },\n    {\n        \"id\": \"aW2v4LaltEQiCD6kWnNM\",\n        \"start\": \"2025-10-24T22:00:00.000Z\",\n        \"end\": \"2025-10-25T22:00:00.000Z\",\n        \"employeeID\": \"OC9CjKD4ECW2Y0thJLGk\",\n        \"type\": \"WORK\",\n        \"createTime\": \"2025-10-13T08:18:01.136Z\",\n        \"updateTime\": \"2025-10-13T08:18:01.284Z\"\n    }\n]"},{"id":"90f7f459-c849-487b-95ef-73fdd3c4bf60","name":"by date range, employeeID & type (WORK)","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://europe-west1-production-eu-327a3.cloudfunctions.net/api/companies/COMPANY_ID/availability?from=2025-01-01T00:00:00.000Z&to=2026-01-01T00:00:00.000Z&employeeID=OC9CjKD4ECW2Y0thJLGk&type=WORK","host":["https://europe-west1-production-eu-327a3.cloudfunctions.net/api"],"path":["companies","COMPANY_ID","availability"],"query":[{"key":"from","value":"2025-01-01T00:00:00.000Z","description":"Date (ISO String) to query from"},{"key":"to","value":"2026-01-01T00:00:00.000Z","description":"Date (ISO String) to query to"},{"key":"employeeID","value":"OC9CjKD4ECW2Y0thJLGk","description":"Employee ID"},{"key":"type","value":"WORK","description":"Type of availability to query","type":"text"}]}},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"x-powered-by","value":"Express"},{"key":"content-type","value":"application/json; charset=utf-8"},{"key":"etag","value":"W/\"562-Wgm7FljfwYYEpwRKZMrNITU3gAk\""},{"key":"function-execution-id","value":"1l9c0a90fayw"},{"key":"x-cloud-trace-context","value":"3dacb486e407ee60751d0ccd0e1a573e;o=1"},{"key":"date","value":"Tue, 14 Oct 2025 11:56:22 GMT"},{"key":"server","value":"Google Frontend"},{"key":"Content-Length","value":"1378"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": \"NFKXPKccoWARsAnJw6Rx\",\n        \"start\": \"2025-10-19T22:00:00.000Z\",\n        \"end\": \"2025-10-20T22:00:00.000Z\",\n        \"employeeID\": \"OC9CjKD4ECW2Y0thJLGk\",\n        \"type\": \"NO_WORK\",\n        \"createTime\": \"2025-10-13T08:17:56.238Z\",\n        \"updateTime\": \"2025-10-13T08:17:56.238Z\"\n    },\n    {\n        \"id\": \"5xrgPQYBwgB548is1OOI\",\n        \"start\": \"2025-10-20T22:00:00.000Z\",\n        \"end\": \"2025-10-21T22:00:00.000Z\",\n        \"employeeID\": \"OC9CjKD4ECW2Y0thJLGk\",\n        \"type\": \"WORK\",\n        \"createTime\": \"2025-10-13T08:17:57.243Z\",\n        \"updateTime\": \"2025-10-13T08:17:57.383Z\"\n    },\n    {\n        \"id\": \"mfBcP9vIUssxIz820AFh\",\n        \"start\": \"2025-10-21T22:00:00.000Z\",\n        \"end\": \"2025-10-22T22:00:00.000Z\",\n        \"employeeID\": \"OC9CjKD4ECW2Y0thJLGk\",\n        \"type\": \"NO_WORK\",\n        \"createTime\": \"2025-10-13T08:17:58.165Z\",\n        \"updateTime\": \"2025-10-13T08:17:59.042Z\"\n    },\n    {\n        \"id\": \"Yb45RUexcdn87HQtLR8t\",\n        \"start\": \"2025-10-22T22:00:00.000Z\",\n        \"end\": \"2025-10-23T22:00:00.000Z\",\n        \"employeeID\": \"OC9CjKD4ECW2Y0thJLGk\",\n        \"type\": \"NO_WORK\",\n        \"createTime\": \"2025-10-13T08:17:59.924Z\",\n        \"updateTime\": \"2025-10-13T08:17:59.924Z\"\n    },\n    {\n        \"id\": \"aj4cise0xdUWgzEhCdvu\",\n        \"start\": \"2025-10-23T22:00:00.000Z\",\n        \"end\": \"2025-10-24T22:00:00.000Z\",\n        \"employeeID\": \"OC9CjKD4ECW2Y0thJLGk\",\n        \"type\": \"WORK\",\n        \"createTime\": \"2025-10-13T08:18:00.363Z\",\n        \"updateTime\": \"2025-10-13T08:18:00.508Z\"\n    },\n    {\n        \"id\": \"aW2v4LaltEQiCD6kWnNM\",\n        \"start\": \"2025-10-24T22:00:00.000Z\",\n        \"end\": \"2025-10-25T22:00:00.000Z\",\n        \"employeeID\": \"OC9CjKD4ECW2Y0thJLGk\",\n        \"type\": \"WORK\",\n        \"createTime\": \"2025-10-13T08:18:01.136Z\",\n        \"updateTime\": \"2025-10-13T08:18:01.284Z\"\n    }\n]"}],"_postman_id":"139d6886-e1a8-4aca-8f0b-4813bd46c6f2"},{"name":"Get salary supplements","id":"0816e270-b20e-467f-a175-d7607e5adbeb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":false},"method":"GET","header":[],"url":"https://europe-west1-production-eu-327a3.cloudfunctions.net/api/companies/COMPANY_ID/salary-supplements?Test","description":"<h3 id=\"response-fields\">Response Fields</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Body</th>\n<th>Description</th>\n<th><strong>Type / Format</strong></th>\n<th><strong>Example</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>add</td>\n<td><code>add.amount</code> represents the fixed amount that is the supplement’s value. <strong>Example:</strong> An amount of 2.5 would mean that an employee normally making $10 per hour would make $12.5 per hour in the supplement’s overlapping duration.  <br />  <br /><code>add.multiplier</code> represents the factor that should be multiplied onto the base wage of the employee when calculating the supplement’s value. <strong>Example:</strong> A multiplier of 1.5 would mean that an employee normally making $10 per hour would make $15 per hour in the supplement’s overlapping duration.</td>\n<td><code>object</code></td>\n<td></td>\n</tr>\n<tr>\n<td>add.multiplier or add.amount</td>\n<td>if <code>add.type</code> is set to <code>\"MULTIPLY\"</code> use <code>multiplier</code>. if <code>add.type</code> is set to <code>\"ADD\"</code> use <code>amount</code></td>\n<td><code>number</code></td>\n<td><code>1.5</code></td>\n</tr>\n<tr>\n<td>add.type</td>\n<td>Options: <code>\"MULTIPLY\"</code> / <code>\"ADD\"</code></td>\n<td><code>string</code></td>\n<td><code>MULTIPLY</code></td>\n</tr>\n<tr>\n<td>code</td>\n<td>External / Custom supplement identifier that will be sent to supported payroll providers when exporting</td>\n<td><code>string</code> / <code>null</code></td>\n<td><code>null</code></td>\n</tr>\n<tr>\n<td>roles</td>\n<td>The supplement will only be added to shifts with these roles  <br />  <br /><strong>Note:</strong> An empty array means all roles</td>\n<td><code>string[]</code></td>\n<td><code>[]</code></td>\n</tr>\n<tr>\n<td>name</td>\n<td>Supllement Name</td>\n<td><code>string</code></td>\n<td><code>Test 1</code></td>\n</tr>\n<tr>\n<td>employees</td>\n<td>The supplement will only be added to shifts with these employees.  <br />  <br /><strong>Note:</strong> An empty array means all employees</td>\n<td><code>string[]</code></td>\n<td><code>[]</code></td>\n</tr>\n<tr>\n<td>type</td>\n<td>Whether the supplement is a salary supplement (extra money for the employee) or a flex account supplement (extra hours for the employee).  <br />  <br />Options: <code>\"salary\"</code> / <code>\"flex\"</code></td>\n<td><code>string</code></td>\n<td><code>salary</code></td>\n</tr>\n<tr>\n<td>when</td>\n<td><code>when.start</code> and <code>when.end</code> represent the minutes of the day that this supplement is applied. <strong>Example:</strong> A start of 1140 and an end of 1380 means that the supplement will be applied to shifts taking place between 19 (1140/60) and 23 (1380/60). If a shift goes from 17 to 21, then this supplement would be applied for two hours.  <br />  <br />  <br /><code>when.overtime</code> represents the amount of hours worked before this supplements starts to be applied.  <br /><strong>Example:</strong> An overtime of 8 means that the employee gets their normal wage for the first 8 hours of their shift, and for any amount of time more than 8 hours, the supplement is applied</td>\n<td><code>object</code></td>\n<td></td>\n</tr>\n<tr>\n<td>when.start or when.overtime</td>\n<td>if <code>when.type</code> is set to <code>\"TIME_OF_DAY\"</code> use <code>start</code> &amp; <code>end</code>. if <code>add.type</code> is set to <code>\"OVERTIME\"</code> use only <code>overtime</code></td>\n<td><code>number</code></td>\n<td><code>0</code></td>\n</tr>\n<tr>\n<td>when.end or when.overtime</td>\n<td>if <code>when.type</code> is set to <code>\"TIME_OF_DAY\"</code> use <code>start</code> &amp; <code>end</code>. if <code>add.type</code> is set to <code>\"OVERTIME\"</code> use only <code>overtime</code></td>\n<td><code>number</code></td>\n<td><code>1440</code></td>\n</tr>\n<tr>\n<td>when.type</td>\n<td>Options: <code>TIME_OF_DAY</code> / <code>OVERTIME</code></td>\n<td><code>string</code></td>\n<td><code>TIME_OF_DAY</code></td>\n</tr>\n<tr>\n<td>id</td>\n<td>Salary Supplement ID</td>\n<td><code>string</code></td>\n<td><code>RkSiKGGoAI0uS0CnyDBm</code></td>\n</tr>\n<tr>\n<td>weekdays</td>\n<td>What Weekdays does the Salary Supplement apply. If Holidays is set this field will be null</td>\n<td><code>object</code> / <code>null</code></td>\n<td></td>\n</tr>\n<tr>\n<td>weekdays.shared.monday</td>\n<td>Monday</td>\n<td><code>boolean</code></td>\n<td><code>false</code></td>\n</tr>\n<tr>\n<td>weekdays.shared.tuesday</td>\n<td>Tuesday</td>\n<td><code>boolean</code></td>\n<td><code>false</code></td>\n</tr>\n<tr>\n<td>weekdays.shared.wednesday</td>\n<td>Wednesday</td>\n<td><code>boolean</code></td>\n<td><code>false</code></td>\n</tr>\n<tr>\n<td>weekdays.shared.thursday</td>\n<td>Thrusday</td>\n<td><code>boolean</code></td>\n<td><code>true</code></td>\n</tr>\n<tr>\n<td>weekdays.shared.friday</td>\n<td>Friday</td>\n<td><code>boolean</code></td>\n<td><code>true</code></td>\n</tr>\n<tr>\n<td>weekdays.shared.saturday</td>\n<td>Saturday</td>\n<td><code>boolean</code></td>\n<td><code>false</code></td>\n</tr>\n<tr>\n<td>weekdays.shared.sunday</td>\n<td>Sunday</td>\n<td><code>boolean</code></td>\n<td><code>true</code></td>\n</tr>\n<tr>\n<td>holidays</td>\n<td>What Holidays does the Salary Supplement apply. If Weekdays is set this field will be null.  <br />  <br />Holiday boolean values are going to differ depending on which country you selected in the UI</td>\n<td><code>object</code> / <code>null</code></td>\n<td><code>null</code></td>\n</tr>\n<tr>\n<td>holidays.good-friday</td>\n<td></td>\n<td><code>boolean</code></td>\n<td><code>true</code></td>\n</tr>\n<tr>\n<td>holidays.ascension-day</td>\n<td></td>\n<td><code>boolean</code></td>\n<td><code>true</code></td>\n</tr>\n<tr>\n<td>holidays.whit-monday</td>\n<td></td>\n<td><code>boolean</code></td>\n<td><code>false</code></td>\n</tr>\n<tr>\n<td>holidays.easter-monday</td>\n<td></td>\n<td><code>boolean</code></td>\n<td><code>true</code></td>\n</tr>\n<tr>\n<td>holidays.great-prayer-day</td>\n<td></td>\n<td><code>boolean</code></td>\n<td><code>false</code></td>\n</tr>\n<tr>\n<td>holidays.whit-sunday</td>\n<td></td>\n<td><code>boolean</code></td>\n<td><code>false</code></td>\n</tr>\n<tr>\n<td>holidays.easter-sunday</td>\n<td></td>\n<td><code>boolean</code></td>\n<td><code>true</code></td>\n</tr>\n<tr>\n<td>holidays.new-years-day</td>\n<td></td>\n<td><code>boolean</code></td>\n<td><code>true</code></td>\n</tr>\n<tr>\n<td>holidays.maundy-thursday</td>\n<td></td>\n<td><code>boolean</code></td>\n<td><code>false</code></td>\n</tr>\n<tr>\n<td>holidays.boxing-day</td>\n<td></td>\n<td><code>boolean</code></td>\n<td><code>false</code></td>\n</tr>\n<tr>\n<td>holidays.christmas-da</td>\n<td></td>\n<td><code>boolean</code></td>\n<td><code>true</code></td>\n</tr>\n<tr>\n<td>createTime</td>\n<td>When the Salary Supplement was created</td>\n<td>an <a href=\"https://en.wikipedia.org/wiki/ISO_8601\">ISO 8601</a> encoded <code>string</code></td>\n<td><code>2023-10-25T09:43:06.650Z</code></td>\n</tr>\n<tr>\n<td>updateTime</td>\n<td>When the Salary Supplement was updated</td>\n<td>an <a href=\"https://en.wikipedia.org/wiki/ISO_8601\">ISO 8601</a> encoded <code>string</code></td>\n<td><code>2023-10-25T09:43:06.650Z</code></td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["companies","COMPANY_ID","salary-supplements"],"host":["https://europe-west1-production-eu-327a3.cloudfunctions.net/api"],"query":[{"key":"Test","value":null}],"variable":[]}},"response":[{"id":"b862bc33-a28c-4a40-bc57-af6cea066cee","name":"Get salary supplements","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"API-KEY","type":"text"}],"url":"https://europe-west1-production-eu-327a3.cloudfunctions.net/api/companies/COMPANY_ID/salary-supplements"},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"add\": {\n            \"multiplier\": 1.5,\n            \"type\": \"MULTIPLY\"\n        },\n        \"code\": null,\n        \"roles\": [],\n        \"name\": \"Test 1\",\n        \"id\": \"RkSiKGGoAI0uS0CnyDBm\",\n        \"employees\": [],\n        \"type\": \"salary\",\n        \"when\": {\n            \"start\": 0,\n            \"end\": 1440,\n            \"type\": \"TIME_OF_DAY\"\n        },\n        \"holidays\": {\n            \"holidays.good-friday\": true,\n            \"holidays.ascension-day\": true,\n            \"holidays.whit-monday\": true,\n            \"holidays.easter-monday\": true,\n            \"holidays.great-prayer-day\": true,\n            \"holidays.whit-sunday\": true,\n            \"holidays.easter-sunday\": true,\n            \"holidays.new-years-day\": true,\n            \"holidays.maundy-thursday\": true,\n            \"holidays.boxing-day\": true,\n            \"holidays.christmas-day\": true\n        },\n        \"weekdays\": null,\n        \"createTime\": \"2023-11-10T14:21:15.965Z\",\n        \"updateTime\": \"2023-11-10T14:54:02.144Z\"\n    },\n    {\n        \"add\": {\n            \"amount\": 20,\n            \"type\": \"ADD\"\n        },\n        \"code\": null,\n        \"roles\": [],\n        \"name\": \"Test 2\",\n        \"id\": \"e3tH8K52bskZ3vV6m5eM\",\n        \"employees\": [],\n        \"type\": \"salary\",\n        \"when\": {\n            \"overtime\": 0,\n            \"type\": \"OVERTIME\"\n        },\n        \"weekdays\": {\n            \"shared.sunday\": false,\n            \"shared.friday\": false,\n            \"shared.thursday\": false,\n            \"shared.wednesday\": true,\n            \"shared.tuesday\": false,\n            \"shared.saturday\": false,\n            \"shared.monday\": false\n        },\n        \"holidays\": null,\n        \"createTime\": \"2023-11-10T14:22:37.938Z\",\n        \"updateTime\": \"2023-11-10T14:23:15.051Z\"\n    },\n    {\n        \"add\": {\n            \"multiplier\": 1.5,\n            \"type\": \"MULTIPLY\"\n        },\n        \"code\": null,\n        \"roles\": [],\n        \"name\": \"Test 3\",\n        \"id\": \"kHHSNZBzqTt2lmdMCUUr\",\n        \"type\": \"salary\",\n        \"employees\": [\n            \"SqkYFjKDOAVSDwRHZbE4T340cD73\"\n        ],\n        \"when\": {\n            \"start\": 0,\n            \"end\": 1440,\n            \"type\": \"TIME_OF_DAY\"\n        },\n        \"holidays\": {\n            \"holidays.good-friday\": true,\n            \"holidays.ascension-day\": true,\n            \"holidays.whit-monday\": true,\n            \"holidays.easter-monday\": true,\n            \"holidays.great-prayer-day\": true,\n            \"holidays.whit-sunday\": true,\n            \"holidays.easter-sunday\": true,\n            \"holidays.new-years-day\": true,\n            \"holidays.maundy-thursday\": true,\n            \"holidays.boxing-day\": true,\n            \"holidays.christmas-day\": true\n        },\n        \"weekdays\": null,\n        \"createTime\": \"2023-11-10T14:41:30.650Z\",\n        \"updateTime\": \"2023-11-10T14:54:59.047Z\"\n    }\n]"}],"_postman_id":"0816e270-b20e-467f-a175-d7607e5adbeb"}],"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"API_KEY"}]}},"event":[{"listen":"prerequest","script":{"id":"315bb47b-83f3-48f4-b288-53b8ee17a3cf","type":"text/javascript","requests":{},"exec":[""]}},{"listen":"test","script":{"id":"b2fca44f-db9f-41cc-9104-c8f79cfe988c","type":"text/javascript","requests":{},"exec":[""]}}],"variable":[{"key":"baseURL","value":"https://europe-west1-production-eu-327a3.cloudfunctions.net/api"},{"key":"companyID","value":"COMPANY_ID"},{"key":"apiKey","value":"API_KEY"}]}