{"info":{"_postman_id":"c5ffc35a-94ad-4516-901b-6ea3f1aed0c2","name":"My Hours  API v1.1","description":"<html><head></head><body><p>This is official API documentation for <a href=\"https://myhours.com\">My Hours</a> product. Please contact <a href=\"https://mailto:support@myhours.com\">support@myhours.com</a> with any questions you might have.</p>\n<p>The My Hours API allows you to programmatically access data stored in your My Hours account with ease.</p>\n<p>The easiest way to get started is to install <a href=\"https://www.getpostman.com/\">Postman client</a> on your computer and then click the Run in Postman button in the top right corner.</p>\n<h1 id=\"overview\">Overview</h1>\n<ol>\n<li><p>Response to every request is sent in JSON format.</p>\n</li>\n<li><p>The request method (verb) determines the nature of action you intend to perform. A request made using the <code>GET</code> method implies that you want to fetch something from My Hours, and <code>POST</code> implies you want to save something new to your My Hours account.</p>\n</li>\n<li><p>The API calls will respond with appropriate HTTP status codes for all requests. A <code>200 OK</code> indicates all went well, while <code>4XX</code> or <code>5XX</code> response codes indicate an error from the requesting client or our API servers respectively.</p>\n</li>\n<li><p>For help regarding accessing the My Hours API, feel free to send us an email.</p>\n</li>\n</ol>\n<h1 id=\"authentication\">Authentication</h1>\n<p>To use the My Hours API, all requests must be authenticated using an API Key. This ensures that only authorized users can access or modify resources such as time logs, projects, users, and reports.</p>\n<p>Each API request must include a valid API Key in the request headers. Requests without proper authentication will be denied by the server.</p>\n<blockquote>\n<p><em><strong>Note:</strong></em> <em>You must have an active My Hours account to create and use an API Key.</em> </p>\n</blockquote>\n<h3 id=\"how-to-get-your-api-key\">How to get your API key</h3>\n<p>My Hours supports API Key-based authentication for external integrations and third-party access. API Keys offer a secure and reliable way to verify user identity and manage access to the API.</p>\n<p>To generate your API Key, please follow the official instructions here:</p>\n<ul>\n<li><a href=\"https://help.myhours.com/en/articles/7963793-is-there-an-api-available\">How to create an API Key in My Hours</a></li>\n</ul>\n<h3 id=\"how-to-authenticate\">How to Authenticate</h3>\n<p>Once you've obtained your API Key, include it in the <code>Authorization</code> header of each request using the format bellow:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>Authorization: ApiKey YOUR_API_KEY\n\n</code></pre><blockquote>\n<p><em><strong>Note:</strong></em> <em>Replace YOUR_API_KEY with your actual key.</em></p>\n</blockquote>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[{"content":"Overview","slug":"overview"},{"content":"Authentication","slug":"authentication"}],"owner":"8879268","collectionId":"c5ffc35a-94ad-4516-901b-6ea3f1aed0c2","publishedId":"TVmV4YYU","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"375D75","highlight":"3B8FC2"},"publishDate":"2020-12-11T14:05:33.000Z"},"item":[{"name":"Time logs","item":[{"name":"Recent Time Logs","event":[{"listen":"test","script":{"id":"6deb7cea-137d-4e50-b0fd-43624022d206","exec":[""],"type":"text/javascript"}}],"id":"f085aab4-0cb1-4563-a839-196850d549d2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"api-version","type":"text","value":"1.0"},{"key":"Authorization","type":"text","value":"Bearer {{AccessToken}}"}],"url":"https://api2.myhours.com/api/Logs?date=2023-03-17&step=100","description":"<p>Endpoint returns user's recent Time logs.</p>\n<p><code>date</code>and <code>step</code> are required parameters.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"c5ffc35a-94ad-4516-901b-6ea3f1aed0c2","id":"c5ffc35a-94ad-4516-901b-6ea3f1aed0c2","name":"My Hours  API v1.1","type":"collection"}},"urlObject":{"protocol":"https","path":["api","Logs"],"host":["api2","myhours","com"],"query":[{"key":"date","value":"2023-03-17"},{"key":"step","value":"100"},{"disabled":true,"key":"startIndex","value":"0"}],"variable":[]}},"response":[{"id":"4e1e053e-9332-4b5a-973d-8d79fb25ab31","name":"Recent Logs","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"api-version","type":"text","value":"1.0"},{"key":"Authorization","type":"text","value":"Bearer {{AccessToken}}"}],"url":{"raw":"https://api2.myhours.com/api/Logs?date=2023-03-17&step=100","protocol":"https","host":["api2","myhours","com"],"path":["api","Logs"],"query":[{"key":"date","value":"2023-03-17"},{"key":"step","value":"100","type":"text"},{"key":"startIndex","value":"0","type":"text","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Fri, 17 Mar 2023 08:08:44 GMT"},{"key":"Server","value":"Microsoft-IIS/10.0"},{"key":"Content-Encoding","value":"gzip"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Request-Context","value":"appId=cid-v1:8277891d-c61a-462a-86b2-975e13de4761"},{"key":"client-version","value":"6.5.0"},{"key":"new-version-needs-signout","value":"False"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Powered-By","value":"ASP.NET"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"note\": \"Started via API\\n\\n\",\n        \"date\": \"2023-03-17T00:00:00\",\n        \"duration\": 18481,\n        \"projectName\": \"Launching the new website\",\n        \"taskName\": \"Development\",\n        \"clientName\": \"Demo Client\",\n        \"projectInvoiceMethod\": 3,\n        \"projectArchived\": false,\n        \"taskArchived\": false,\n        \"customField1\": 0,\n        \"customField2\": 0,\n        \"customField3\": 0,\n        \"running\": false,\n        \"startTime\": \"2023-03-17T08:00:00+01:00\",\n        \"endTime\": \"2023-03-17T13:08:01+01:00\",\n        \"times\": [\n            {\n                \"id\": 0,\n                \"duration\": 18481,\n                \"startTime\": \"2023-03-17T08:00:00+01:00\",\n                \"endTime\": \"2023-03-17T13:08:01+01:00\",\n                \"running\": false\n            }\n        ],\n        \"status\": 0,\n        \"invoiceId\": 0,\n        \"projectId\": 1392490,\n        \"taskId\": 7945896,\n        \"billable\": true,\n        \"inLockedPeriod\": null,\n        \"expense\": 0,\n        \"userId\": 41873,\n        \"amount\": 315,\n        \"rate\": 60,\n        \"laborCost\": 138.61,\n        \"laborRate\": 27,\n        \"billableDuration\": 18900,\n        \"billableHours\": 5.25,\n        \"laborHours\": 5.13,\n        \"tags\": [],\n        \"attachments\": [],\n        \"billableAmount\": 315,\n        \"id\": 68908595\n    },\n    {\n        \"note\": \"Started via API\\n\\n\",\n        \"date\": \"2023-03-17T00:00:00\",\n        \"duration\": 3201,\n        \"projectName\": \"Launching the new website\",\n        \"taskName\": \"Development\",\n        \"clientName\": \"Demo Client\",\n        \"projectInvoiceMethod\": 3,\n        \"projectArchived\": false,\n        \"taskArchived\": false,\n        \"customField1\": 0,\n        \"customField2\": 0,\n        \"customField3\": 0,\n        \"running\": false,\n        \"startTime\": \"2023-03-17T08:00:00+01:00\",\n        \"endTime\": \"2023-03-17T08:53:21+01:00\",\n        \"times\": [\n            {\n                \"id\": 0,\n                \"duration\": 3201,\n                \"startTime\": \"2023-03-17T08:00:00+01:00\",\n                \"endTime\": \"2023-03-17T08:53:21+01:00\",\n                \"running\": false\n            }\n        ],\n        \"status\": 0,\n        \"invoiceId\": 0,\n        \"projectId\": 1392490,\n        \"taskId\": 7945896,\n        \"billable\": true,\n        \"inLockedPeriod\": null,\n        \"expense\": 0,\n        \"userId\": 41873,\n        \"amount\": 60,\n        \"rate\": 60,\n        \"laborCost\": 24.01,\n        \"laborRate\": 27,\n        \"billableDuration\": 3600,\n        \"billableHours\": 1,\n        \"laborHours\": 0.89,\n        \"tags\": [],\n        \"attachments\": [],\n        \"billableAmount\": 60,\n        \"id\": 68908220\n    }\n]"}],"_postman_id":"f085aab4-0cb1-4563-a839-196850d549d2"},{"name":"Add Time log (Admins)","event":[{"listen":"prerequest","script":{"id":"71a87fec-7680-4e98-b828-e2b2c0d81412","exec":["","//Set TimeStamp currenttime","var moment = require('moment');","var myDate=moment(new Date()).toISOString();","postman.setEnvironmentVariable('TimeStampCurrentTime',myDate);","","//Set TimeStamp currenttime -1d","var moment = require('moment');","var myDate=moment(new Date()).add(-1,'d').toISOString();","postman.setEnvironmentVariable('TimeStampCurrent-1dTime',myDate);","","//Set TimeStamp currenttime -1d +1h","var moment = require('moment');","var myDate=moment(new Date()).add(-1,'d').add(1,'h').toISOString();","postman.setEnvironmentVariable('TimeStampCurrent-1d+1hTime',myDate);"],"type":"text/javascript"}},{"listen":"test","script":{"id":"9be3db29-5719-41a3-8f34-047ed43c27ed","exec":["tests[\"Status code is 201\"] = responseCode.code === 201;","","var data = JSON.parse(responseBody);","","postman.setEnvironmentVariable(\"logId\", data.id);","console.log(\"logId is set to:\", data.id);"],"type":"text/javascript"}}],"id":"2873063c-6c5f-4c25-ac28-c207a5c3b40e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","type":"text","value":"Bearer {{AccessToken}}"}],"body":{"mode":"raw","raw":"{\r\n    \"userId\": \"{{adminId}}\",\r\n    \"projectId\": \"{{projectId}}\",\r\n    \"taskId\": \"{{projectTaskId}}\",\r\n    \"note\": \"Insert log via My Hours API\",\r\n    \"date\": \"2021-09-23\",\r\n    \"start\": \"2020-12-04T12:05:39.276Z\",\r\n    \"end\": \"2020-12-04T13:05:39.276Z\",\r\n    \"billable\": false,\r\n    \"expense\": 10\r\n}"},"url":"https://api2.myhours.com/api/Admin/addLogOnBehalf","description":"<p>Adding time log for logged in user or any other team member.</p>\n<p>IMPORTANT: Only Admins (on Pro plan) are allowed to add time logs on behalf of other users.</p>\n<p>Keep in mind that user needs to be assigned to the requested Project(Id). On top of that, Task(Id) needs to be assigned to the requested Project(Id).</p>\n<p><code>start</code> and <code>end</code> parameters should be in ISO8601 with date and time in UTC with timezone info. Please see the example on the right side.</p>\n<h3 id=\"optional-parameters\">Optional parameters</h3>\n<p><code>duration</code> parameter (integer in seconds) can be added instead of <code>start</code> and <code>end</code>.</p>\n<p><code>billable</code> flag is automatically set to <code>true</code> when the assigned Project is set as billable. You can set the <code>billable</code> parameter as <code>false</code>when needed.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"c5ffc35a-94ad-4516-901b-6ea3f1aed0c2","id":"c5ffc35a-94ad-4516-901b-6ea3f1aed0c2","name":"My Hours  API v1.1","type":"collection"}},"urlObject":{"protocol":"https","path":["api","Admin","addLogOnBehalf"],"host":["api2","myhours","com"],"query":[],"variable":[]}},"response":[{"id":"25829c88-3449-46fe-9f6d-e7e5237aada1","name":"Add Time log v1","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"api-version","type":"text","value":"1.0","disabled":true},{"key":"Authorization","type":"text","value":"Bearer {{AccessToken}}"}],"body":{"mode":"raw","raw":"{\r\n    \"userId\": \"{{adminId}}\",\r\n    \"projectId\": \"{{projectId}}\",\r\n    \"taskId\": \"{{projectTaskId}}\",\r\n    \"note\": \"Insert log via My Hours API\",\r\n    \"date\": \"2020-12-04\",\r\n    \"start\": \"2020-12-04T12:05:39.276Z\",\r\n    \"end\": \"2020-12-04T13:05:39.276Z\",\r\n    \"billable\": false,\r\n    \"expense\": 10\r\n}","options":{"raw":{"language":"json"}}},"url":"https://mhapitesting2.azurewebsites.net/api/Admin/addLogOnBehalf"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Length","value":"514"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Server","value":"Microsoft-IIS/10.0"},{"key":"Request-Context","value":"appId=cid-v1:640e1a57-f7c0-4b1d-bf16-083678d81f81"},{"key":"client-version","value":"5.0.0"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Powered-By","value":"ASP.NET"},{"key":"Date","value":"Thu, 10 Dec 2020 09:28:58 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"note\": \"Insert log via My Hours API\",\n    \"date\": \"2020-12-04T00:00:00\",\n    \"duration\": 3600,\n    \"projectName\": \"Launching a new website\",\n    \"taskName\": \"Develop the pilot page\",\n    \"clientName\": \"Clientelle\",\n    \"projectInvoiceMethod\": 1,\n    \"projectArchived\": false,\n    \"taskArchived\": false,\n    \"running\": false,\n    \"times\": [\n        {\n            \"duration\": 3600,\n            \"startTime\": \"2020-12-04T12:05:39.276+00:00\",\n            \"endTime\": \"2020-12-04T13:05:39.276+00:00\",\n            \"running\": false,\n            \"id\": 24923100\n        }\n    ],\n    \"status\": 0,\n    \"invoiceId\": 0,\n    \"projectId\": 797789,\n    \"taskId\": 4093706,\n    \"billable\": false,\n    \"locked\": false,\n    \"expense\": 10,\n    \"userId\": 41873,\n    \"amount\": 0,\n    \"rate\": 0,\n    \"laborCost\": 50,\n    \"laborRate\": 50,\n    \"billableHours\": 1,\n    \"laborHours\": 1,\n    \"tags\": [],\n    \"attachments\": [],\n    \"billableAmount\": 10,\n    \"id\": 17210185\n}"}],"_postman_id":"2873063c-6c5f-4c25-ac28-c207a5c3b40e"},{"name":"Add Time log (Normal)","event":[{"listen":"prerequest","script":{"id":"71a87fec-7680-4e98-b828-e2b2c0d81412","exec":["","//Set TimeStamp currenttime","var moment = require('moment');","var myDate=moment(new Date()).toISOString();","postman.setEnvironmentVariable('TimeStampCurrentTime',myDate);","","//Set TimeStamp currenttime -1d","var moment = require('moment');","var myDate=moment(new Date()).add(-1,'d').toISOString();","postman.setEnvironmentVariable('TimeStampCurrent-1dTime',myDate);","","//Set TimeStamp currenttime -1d +1h","var moment = require('moment');","var myDate=moment(new Date()).add(-1,'d').add(1,'h').toISOString();","postman.setEnvironmentVariable('TimeStampCurrent-1d+1hTime',myDate);"],"type":"text/javascript"}},{"listen":"test","script":{"id":"9be3db29-5719-41a3-8f34-047ed43c27ed","exec":["tests[\"Status code is 201\"] = responseCode.code === 201;","","var data = JSON.parse(responseBody);","","postman.setEnvironmentVariable(\"logId\", data.id);","console.log(\"logId is set to:\", data.id);"],"type":"text/javascript"}}],"id":"011cf7c1-bc67-4881-8ba2-1c215b0a5bdf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","type":"text","value":"Bearer {{AccessToken}}"}],"body":{"mode":"raw","raw":"{\r\n    \"projectId\": \"{{projectId}}\",\r\n    \"taskId\": \"{{projectTaskId}}\",\r\n    \"note\": \"Insert log via My Hours API\",\r\n    \"date\": \"2021-09-23\",\r\n    \"start\": \"2020-12-04T12:05:39.276Z\",\r\n    \"end\": \"2020-12-04T13:05:39.276Z\",\r\n    \"billable\": false,\r\n    \"expense\": 10\r\n}"},"url":"https://api2.myhours.com/api/Logs/insertlog","description":"<p>Adding time log for a logged in user.</p>\n<p>Keep in mind that user needs to be assigned to the requested Project(Id). On top of that, Task(Id) needs to be assigned to the requested Project(Id).</p>\n<p><code>start</code> and <code>end</code> parameters should be in ISO8601 with date and time in UTC with timezone info. Please see the example on the right side.</p>\n<h3 id=\"optional-parameters\">Optional parameters</h3>\n<p><code>duration</code> parameter (integer in seconds) can be added instead of <code>start</code> and <code>end</code>.</p>\n<p><code>billable</code> flag is automatically set to <code>true</code> when the assigned Project is set as billable. You can set the <code>billable</code> parameter as <code>false</code>when needed.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"c5ffc35a-94ad-4516-901b-6ea3f1aed0c2","id":"c5ffc35a-94ad-4516-901b-6ea3f1aed0c2","name":"My Hours  API v1.1","type":"collection"}},"urlObject":{"protocol":"https","path":["api","Logs","insertlog"],"host":["api2","myhours","com"],"query":[],"variable":[]}},"response":[{"id":"5ecd5f28-ba76-42c5-bceb-59faa2457d71","name":"Add Time log (Normal)","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"api-version","type":"text","value":"1.0","disabled":true},{"key":"Authorization","type":"text","value":"Bearer {{AccessToken}}"}],"body":{"mode":"raw","raw":"{\r\n    \"projectId\": \"{{projectId}}\",\r\n    \"taskId\": \"{{projectTaskId}}\",\r\n    \"note\": \"Insert log via My Hours API\",\r\n    \"date\": \"2021-09-23\",\r\n    \"start\": \"2020-12-04T12:05:39.276Z\",\r\n    \"end\": \"2020-12-04T13:05:39.276Z\",\r\n    \"billable\": false,\r\n    \"expense\": 10\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api2.myhours.com/api/Logs/insertlog"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Length","value":"867"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Fri, 13 Oct 2023 07:34:07 GMT"},{"key":"Server","value":"Microsoft-IIS/10.0"},{"key":"Request-Context","value":"appId=cid-v1:8277891d-c61a-462a-86b2-975e13de4761"},{"key":"client-version","value":"6.6.5"},{"key":"new-version-needs-signout","value":"False"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Powered-By","value":"ASP.NET"}],"cookie":[],"responseTime":null,"body":"{\n    \"note\": \"Insert log via My Hours API\",\n    \"date\": \"2021-09-23T00:00:00\",\n    \"duration\": 3600,\n    \"projectName\": \"New name for a Project from API\",\n    \"taskName\": \"Demo Task\",\n    \"clientName\": \"Leave it\",\n    \"projectInvoiceMethod\": 1,\n    \"projectArchived\": false,\n    \"taskArchived\": false,\n    \"customField1\": null,\n    \"customField2\": null,\n    \"customField3\": null,\n    \"running\": false,\n    \"startTime\": \"2021-09-23T12:05:39.276+00:00\",\n    \"endTime\": \"2021-09-23T13:05:39.276+00:00\",\n    \"times\": [\n        {\n            \"id\": 0,\n            \"duration\": 3600,\n            \"startTime\": \"2021-09-23T12:05:39.276+00:00\",\n            \"endTime\": \"2021-09-23T13:05:39.276+00:00\",\n            \"running\": false\n        }\n    ],\n    \"status\": 0,\n    \"invoiceId\": 0,\n    \"projectId\": 1007322,\n    \"taskId\": 6339036,\n    \"billable\": false,\n    \"inLockedPeriod\": false,\n    \"expense\": 10,\n    \"userId\": 41873,\n    \"amount\": 0,\n    \"rate\": 0,\n    \"laborCost\": 27,\n    \"laborRate\": 27,\n    \"billableDuration\": 3600,\n    \"billableHours\": 1,\n    \"laborHours\": 1,\n    \"tags\": [],\n    \"attachments\": [],\n    \"billableAmount\": 10,\n    \"id\": 77891155\n}"}],"_postman_id":"011cf7c1-bc67-4881-8ba2-1c215b0a5bdf"},{"name":"Start new timer","event":[{"listen":"prerequest","script":{"id":"71a87fec-7680-4e98-b828-e2b2c0d81412","exec":["","//Set TimeStamp currenttime","var moment = require('moment');","var myDate=moment(new Date()).toISOString();","postman.setEnvironmentVariable('TimeStampCurrentTime',myDate);","","//Set TimeStamp currenttime -1d","var moment = require('moment');","var myDate=moment(new Date()).add(-1,'d').toISOString();","postman.setEnvironmentVariable('TimeStampCurrent-1dTime',myDate);","","//Set TimeStamp currenttime -1d +1h","var moment = require('moment');","var myDate=moment(new Date()).add(-1,'d').add(1,'h').toISOString();","postman.setEnvironmentVariable('TimeStampCurrent-1d+1hTime',myDate);"],"type":"text/javascript"}},{"listen":"test","script":{"id":"9be3db29-5719-41a3-8f34-047ed43c27ed","exec":["tests[\"Status code is 201\"] = responseCode.code === 201;","","var data = JSON.parse(responseBody);","","postman.setEnvironmentVariable(\"logId\", data.id);","console.log(\"logId is set to:\", data.id);"],"type":"text/javascript"}}],"id":"3ca637f9-6204-46b1-946f-d9438f857193","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","type":"text","value":"Bearer {{AccessToken}}"}],"body":{"mode":"raw","raw":"{\r\n    \"projectId\": \"{{projectId}}\",\r\n    \"taskId\": \"{{projectTaskId}}\",\r\n    \"note\": \"Started via API\",\r\n    \"date\": \"2023-03-16T13:08:00.899Z\",\r\n    \"start\": \"2023-03-16T12:08:00.899Z\",\r\n    \"billable\": true,\r\n    \"expense\": 0,\r\n    \"customField1\": 0,\r\n    \"customField2\": 0,\r\n    \"customField3\": 0\r\n}"},"url":"https://api2.myhours.com/api/Logs/startNewLog","description":"<p>Starting a timer for a new time log. Works only for currently logged-in user. Cannot start timer for other users.</p>\n<p>Keep in mind that user needs to be assigned to the requested Project(Id). On top of that, Task(Id) needs to be assigned to the requested Project(Id). Assignments need to be performed via web application for the time being.</p>\n<p><code>start</code> parameter should be in ISO8601 with date and time in UTC with timezone info. Please see the example on the right side.</p>\n<h3 id=\"optional-parameters\">Optional parameters</h3>\n<p><code>billable</code> flag is automatically set to <code>true</code> when the assigned Project is set as billable. You can set the <code>billable</code> parameter as <code>false</code>when needed.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"c5ffc35a-94ad-4516-901b-6ea3f1aed0c2","id":"c5ffc35a-94ad-4516-901b-6ea3f1aed0c2","name":"My Hours  API v1.1","type":"collection"}},"urlObject":{"protocol":"https","path":["api","Logs","startNewLog"],"host":["api2","myhours","com"],"query":[],"variable":[]}},"response":[{"id":"80b802b1-b010-4693-b5da-fb54c6960342","name":"Start new timer","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"api-version","type":"text","value":"1.0","disabled":true},{"key":"Authorization","type":"text","value":"Bearer {{AccessToken}}"}],"body":{"mode":"raw","raw":"{\r\n    \"projectId\": \"{{projectId}}\",\r\n    \"taskId\": \"{{projectTaskId}}\",\r\n    \"note\": \"Started via API\",\r\n    \"date\": \"2023-03-16T13:08:00.899Z\",\r\n    \"start\": \"2023-03-16T12:08:00.899Z\",\r\n    \"billable\": true,\r\n    \"expense\": 0,\r\n    \"customField1\": 0,\r\n    \"customField2\": 0,\r\n    \"customField3\": 0\r\n}"},"url":"https://api2.myhours.com/api/Logs/startNewLog"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Length","value":"780"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Thu, 16 Mar 2023 13:15:24 GMT"},{"key":"Server","value":"Microsoft-IIS/10.0"},{"key":"Request-Context","value":"appId=cid-v1:8277891d-c61a-462a-86b2-975e13de4761"},{"key":"client-version","value":"6.5.0"},{"key":"new-version-needs-signout","value":"False"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Powered-By","value":"ASP.NET"}],"cookie":[],"responseTime":null,"body":"{\n    \"note\": \"Started via API\",\n    \"date\": \"2023-03-16T00:00:00\",\n    \"duration\": 0,\n    \"projectName\": \"Launching the new website\",\n    \"taskName\": \"Development\",\n    \"clientName\": \"Demo Client\",\n    \"projectInvoiceMethod\": 3,\n    \"projectArchived\": false,\n    \"taskArchived\": false,\n    \"customField1\": 0,\n    \"customField2\": 0,\n    \"customField3\": 0,\n    \"running\": true,\n    \"startTime\": \"2023-03-16T12:08:00.899+00:00\",\n    \"endTime\": null,\n    \"times\": [\n        {\n            \"id\": 0,\n            \"duration\": 0,\n            \"startTime\": \"2023-03-16T12:08:00.899+00:00\",\n            \"endTime\": null,\n            \"running\": true\n        }\n    ],\n    \"status\": 0,\n    \"invoiceId\": 0,\n    \"projectId\": 1392490,\n    \"taskId\": 7945896,\n    \"billable\": true,\n    \"inLockedPeriod\": false,\n    \"expense\": 0,\n    \"userId\": 41873,\n    \"amount\": 0,\n    \"rate\": 0,\n    \"laborCost\": 0,\n    \"laborRate\": 0,\n    \"billableDuration\": 0,\n    \"billableHours\": 0,\n    \"laborHours\": 0,\n    \"tags\": [],\n    \"attachments\": [],\n    \"billableAmount\": 0,\n    \"id\": 68868040\n}"}],"_postman_id":"3ca637f9-6204-46b1-946f-d9438f857193"},{"name":"Stop timer","event":[{"listen":"prerequest","script":{"id":"71a87fec-7680-4e98-b828-e2b2c0d81412","exec":["","//Set TimeStamp currenttime","var moment = require('moment');","var myDate=moment(new Date()).toISOString();","postman.setEnvironmentVariable('TimeStampCurrentTime',myDate);","","//Set TimeStamp currenttime -1d","var moment = require('moment');","var myDate=moment(new Date()).add(-1,'d').toISOString();","postman.setEnvironmentVariable('TimeStampCurrent-1dTime',myDate);","","//Set TimeStamp currenttime -1d +1h","var moment = require('moment');","var myDate=moment(new Date()).add(-1,'d').add(1,'h').toISOString();","postman.setEnvironmentVariable('TimeStampCurrent-1d+1hTime',myDate);"],"type":"text/javascript"}},{"listen":"test","script":{"id":"9be3db29-5719-41a3-8f34-047ed43c27ed","exec":["tests[\"Status code is 201\"] = responseCode.code === 201;","","var data = JSON.parse(responseBody);","","postman.setEnvironmentVariable(\"logId\", data.id);","console.log(\"logId is set to:\", data.id);"],"type":"text/javascript"}}],"id":"950fecb8-592b-4ebf-aee8-619bea9da5c6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","type":"text","value":"Bearer {{AccessToken}}"}],"body":{"mode":"raw","raw":"{\r\n    \"logId\": 68908595,\r\n    \"time\": \"2023-03-17T12:08:00.899Z\"\r\n}"},"url":"https://api2.myhours.com/api/Logs/stoptimer","description":"<p>Stops the currently running timer. Works only for currently logged-in user. Cannot stop timer for other users.</p>\n<p><code>logId</code> is a required parameter.</p>\n<p><code>time</code> parameter should be in ISO8601 with date and time in UTC with timezone info.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"c5ffc35a-94ad-4516-901b-6ea3f1aed0c2","id":"c5ffc35a-94ad-4516-901b-6ea3f1aed0c2","name":"My Hours  API v1.1","type":"collection"}},"urlObject":{"protocol":"https","path":["api","Logs","stoptimer"],"host":["api2","myhours","com"],"query":[],"variable":[]}},"response":[{"id":"2fccc952-ba08-4138-b2b4-073d0395051c","name":"Stop timer","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"api-version","type":"text","value":"1.0","disabled":true},{"key":"Authorization","type":"text","value":"Bearer {{AccessToken}}"}],"body":{"mode":"raw","raw":"{\r\n    \"logId\": 68908595,\r\n    \"time\": \"2023-03-17T12:08:00.899Z\"\r\n}"},"url":"https://api2.myhours.com/api/Logs/stoptimer"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Fri, 17 Mar 2023 07:56:20 GMT"},{"key":"Server","value":"Microsoft-IIS/10.0"},{"key":"Content-Encoding","value":"gzip"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Request-Context","value":"appId=cid-v1:8277891d-c61a-462a-86b2-975e13de4761"},{"key":"client-version","value":"6.5.0"},{"key":"new-version-needs-signout","value":"False"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Powered-By","value":"ASP.NET"}],"cookie":[],"responseTime":null,"body":"{\n    \"note\": \"Started via API\\n\\n\",\n    \"date\": \"2023-03-17T00:00:00\",\n    \"duration\": 18481,\n    \"projectName\": \"Launching the new website\",\n    \"taskName\": \"Development\",\n    \"clientName\": \"Demo Client\",\n    \"projectInvoiceMethod\": 3,\n    \"projectArchived\": false,\n    \"taskArchived\": false,\n    \"customField1\": 0,\n    \"customField2\": 0,\n    \"customField3\": 0,\n    \"running\": false,\n    \"startTime\": \"2023-03-17T08:00:00+01:00\",\n    \"endTime\": \"2023-03-17T13:08:01+01:00\",\n    \"times\": [\n        {\n            \"id\": 0,\n            \"duration\": 18481,\n            \"startTime\": \"2023-03-17T08:00:00+01:00\",\n            \"endTime\": \"2023-03-17T13:08:01+01:00\",\n            \"running\": false\n        }\n    ],\n    \"status\": 0,\n    \"invoiceId\": 0,\n    \"projectId\": 1392490,\n    \"taskId\": 7945896,\n    \"billable\": true,\n    \"inLockedPeriod\": null,\n    \"expense\": 0,\n    \"userId\": 41873,\n    \"amount\": 315,\n    \"rate\": 60,\n    \"laborCost\": 138.61,\n    \"laborRate\": 27,\n    \"billableDuration\": 18900,\n    \"billableHours\": 5.25,\n    \"laborHours\": 5.13,\n    \"tags\": [],\n    \"attachments\": [],\n    \"billableAmount\": 315,\n    \"id\": 68908595\n}"}],"_postman_id":"950fecb8-592b-4ebf-aee8-619bea9da5c6"},{"name":"Edit Time log","event":[{"listen":"prerequest","script":{"id":"71a87fec-7680-4e98-b828-e2b2c0d81412","exec":["","//Set TimeStamp currenttime","var moment = require('moment');","var myDate=moment(new Date()).toISOString();","postman.setEnvironmentVariable('TimeStampCurrentTime',myDate);","","//Set TimeStamp currenttime -1d","var moment = require('moment');","var myDate=moment(new Date()).add(-1,'d').toISOString();","postman.setEnvironmentVariable('TimeStampCurrent-1dTime',myDate);","","//Set TimeStamp currenttime -1d +1h","var moment = require('moment');","var myDate=moment(new Date()).add(-1,'d').add(1,'h').toISOString();","postman.setEnvironmentVariable('TimeStampCurrent-1d+1hTime',myDate);"],"type":"text/javascript"}},{"listen":"test","script":{"id":"9be3db29-5719-41a3-8f34-047ed43c27ed","exec":[""],"type":"text/javascript"}}],"id":"34004289-bef0-4ec3-ae23-334261eb245b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","type":"text","value":"Bearer {{AccessToken}}"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": \"{{logId}}\",\r\n    \"userId\": \"{{adminId}}\",\r\n    \"projectId\": \"{{projectId}}\",\r\n    \"taskId\": \"{{projectTaskId}}\",\r\n    \"note\": \"Update log via My Hours API\",\r\n    \"date\": \"2020-12-04\",\r\n    \"start\": \"2020-12-04T12:05:39.276Z\",\r\n    \"end\": \"2020-12-04T13:05:39.276Z\",\r\n    \"billable\": true,\r\n    \"expense\": 10\r\n}"},"url":"https://api2.myhours.com/api/Admin/editLogOnBehalf","description":"<p>Edit a time log for logged in user or any other team member.</p>\n<p><strong>Leaving any of the params empty will remove their value.</strong></p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"c5ffc35a-94ad-4516-901b-6ea3f1aed0c2","id":"c5ffc35a-94ad-4516-901b-6ea3f1aed0c2","name":"My Hours  API v1.1","type":"collection"}},"urlObject":{"protocol":"https","path":["api","Admin","editLogOnBehalf"],"host":["api2","myhours","com"],"query":[],"variable":[]}},"response":[{"id":"d9c3ac5e-fc02-4986-8dcd-22e95586fb76","name":"Edit Time log v1","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"api-version","type":"text","value":"1.0","disabled":true},{"key":"Authorization","type":"text","value":"Bearer {{AccessToken}}"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": \"17210185\",\r\n    \"userId\": \"{{adminId}}\",\r\n    \"projectId\": \"{{projectId}}\",\r\n    \"taskId\": \"{{projectTaskId}}\",\r\n    \"note\": \"Update log via My Hours API\",\r\n    \"date\": \"2020-12-04\",\r\n    \"start\": \"2020-12-04T12:05:39.276Z\",\r\n    \"end\": \"2020-12-04T13:05:39.276Z\",\r\n    \"billable\": true,\r\n    \"expense\": 10\r\n}"},"url":"https://api2.myhours.com/api/Admin/editLogOnBehalf"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Length","value":"520"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Server","value":"Microsoft-IIS/10.0"},{"key":"Request-Context","value":"appId=cid-v1:640e1a57-f7c0-4b1d-bf16-083678d81f81"},{"key":"client-version","value":"5.0.0"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Powered-By","value":"ASP.NET"},{"key":"Date","value":"Thu, 10 Dec 2020 09:44:39 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"note\": \"Update log via My Hours API\",\n    \"date\": \"2020-12-04T00:00:00\",\n    \"duration\": 3600,\n    \"projectName\": \"Launching a new website\",\n    \"taskName\": \"Develop the pilot page\",\n    \"clientName\": \"Clientelle\",\n    \"projectInvoiceMethod\": 1,\n    \"projectArchived\": false,\n    \"taskArchived\": false,\n    \"running\": false,\n    \"times\": [\n        {\n            \"duration\": 3600,\n            \"startTime\": \"2020-12-04T12:05:39.276+00:00\",\n            \"endTime\": \"2020-12-04T13:05:39.276+00:00\",\n            \"running\": false,\n            \"id\": 24923100\n        }\n    ],\n    \"status\": 0,\n    \"invoiceId\": 0,\n    \"projectId\": 797789,\n    \"taskId\": 4093706,\n    \"billable\": true,\n    \"locked\": false,\n    \"expense\": 10,\n    \"userId\": 41873,\n    \"amount\": 80,\n    \"rate\": 80,\n    \"laborCost\": 50,\n    \"laborRate\": 50,\n    \"billableHours\": 1,\n    \"laborHours\": 1,\n    \"tags\": [],\n    \"attachments\": [],\n    \"billableAmount\": 90,\n    \"id\": 17210185\n}"}],"_postman_id":"34004289-bef0-4ec3-ae23-334261eb245b"},{"name":"Delete Time log","event":[{"listen":"prerequest","script":{"id":"2f4caa2f-3076-4859-86c3-ce612432a8a2","exec":["","//Set TimeStamp currenttime","var moment = require('moment');","var myDate=moment(new Date()).toISOString();","postman.setEnvironmentVariable('TimeStampCurrentTime',myDate);","","//Set TimeStamp currenttime -1d","var moment = require('moment');","var myDate=moment(new Date()).add(-1,'d').toISOString();","postman.setEnvironmentVariable('TimeStampCurrent-1dTime',myDate);","","//Set TimeStamp currenttime -1d +1h","var moment = require('moment');","var myDate=moment(new Date()).add(-1,'d').add(1,'h').toISOString();","postman.setEnvironmentVariable('TimeStampCurrent-1d+1hTime',myDate);"],"type":"text/javascript"}},{"listen":"test","script":{"id":"3d672799-8961-4825-99a6-a3792890dfda","exec":[""],"type":"text/javascript"}}],"id":"d56e07e1-2c48-4333-9b7c-33e3fa0a8641","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","type":"text","value":"Bearer {{AccessToken}}"}],"body":{"mode":"raw","raw":""},"url":"https://api2.myhours.com/api/Logs/{{logId}}","description":"<p>Delete a time log.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"c5ffc35a-94ad-4516-901b-6ea3f1aed0c2","id":"c5ffc35a-94ad-4516-901b-6ea3f1aed0c2","name":"My Hours  API v1.1","type":"collection"}},"urlObject":{"protocol":"https","path":["api","Logs","{{logId}}"],"host":["api2","myhours","com"],"query":[],"variable":[]}},"response":[{"id":"ab7d899e-d8ee-48df-94a5-3c5244b4179c","name":"Delete Time log v1","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"},{"key":"api-version","type":"text","value":"1.0","disabled":true},{"key":"Authorization","type":"text","value":"Bearer {{AccessToken}}"}],"body":{"mode":"raw","raw":""},"url":"https://api2.myhours.com/api/Logs/{{logId}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Length","value":"122"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Server","value":"Microsoft-IIS/10.0"},{"key":"Request-Context","value":"appId=cid-v1:640e1a57-f7c0-4b1d-bf16-083678d81f81"},{"key":"client-version","value":"5.0.0"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Powered-By","value":"ASP.NET"},{"key":"Date","value":"Thu, 10 Dec 2020 09:52:19 GMT"}],"cookie":[],"responseTime":null,"body":"true"}],"_postman_id":"d56e07e1-2c48-4333-9b7c-33e3fa0a8641"},{"name":"Add Tag to Time log","event":[{"listen":"prerequest","script":{"id":"4a21f129-800d-418b-b5e6-98c66d4e43e4","exec":["","//Set TimeStamp currenttime","var moment = require('moment');","var myDate=moment(new Date()).toISOString();","postman.setEnvironmentVariable('TimeStampCurrentTime',myDate);","","//Set TimeStamp currenttime -1d","var moment = require('moment');","var myDate=moment(new Date()).add(-1,'d').toISOString();","postman.setEnvironmentVariable('TimeStampCurrent-1dTime',myDate);","","//Set TimeStamp currenttime -1d +1h","var moment = require('moment');","var myDate=moment(new Date()).add(-1,'d').add(1,'h').toISOString();","postman.setEnvironmentVariable('TimeStampCurrent-1d+1hTime',myDate);"],"type":"text/javascript"}},{"listen":"test","script":{"id":"dd14f392-0d39-400d-acbc-aec5a864343a","exec":[""],"type":"text/javascript"}}],"id":"8449a473-208b-4894-96b5-ccd8be92a1e6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","type":"text","value":"Bearer {{AccessToken}}"}],"body":{"mode":"raw","raw":"{\n    \"tagIds\": [111]\n}"},"url":"https://api2.myhours.com/api/Logs/{{logId}}/assignTags","description":"<p>Add a Tag to a Time log.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"c5ffc35a-94ad-4516-901b-6ea3f1aed0c2","id":"c5ffc35a-94ad-4516-901b-6ea3f1aed0c2","name":"My Hours  API v1.1","type":"collection"}},"urlObject":{"protocol":"https","path":["api","Logs","{{logId}}","assignTags"],"host":["api2","myhours","com"],"query":[],"variable":[]}},"response":[{"id":"d20ba9cd-afd4-440b-b152-f5a70ca07105","name":"Add Tag to Time log","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"api-version","type":"text","value":"1.0","disabled":true},{"key":"Authorization","type":"text","value":"Bearer {{AccessToken}}"}],"body":{"mode":"raw","raw":"{\n    \"tagIds\": [111]\n}"},"url":"https://api2.myhours.com/api/Logs/{{logId}}/assignTags"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Length","value":"174"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Server","value":"Microsoft-IIS/10.0"},{"key":"Request-Context","value":"appId=cid-v1:8277891d-c61a-462a-86b2-975e13de4761"},{"key":"client-version","value":"5.5.0"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Powered-By","value":"ASP.NET"},{"key":"Date","value":"Fri, 13 Aug 2021 06:56:43 GMT"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"tagId\": 111,\n        \"tagName\": \"Important\",\n        \"tagHexColor\": \"#dc3545\"\n    }\n]"}],"_postman_id":"8449a473-208b-4894-96b5-ccd8be92a1e6"},{"name":"Remove Tag from Time log","event":[{"listen":"prerequest","script":{"id":"8b8cb625-840f-4e7c-9ae5-748e7c46b236","exec":["","//Set TimeStamp currenttime","var moment = require('moment');","var myDate=moment(new Date()).toISOString();","postman.setEnvironmentVariable('TimeStampCurrentTime',myDate);","","//Set TimeStamp currenttime -1d","var moment = require('moment');","var myDate=moment(new Date()).add(-1,'d').toISOString();","postman.setEnvironmentVariable('TimeStampCurrent-1dTime',myDate);","","//Set TimeStamp currenttime -1d +1h","var moment = require('moment');","var myDate=moment(new Date()).add(-1,'d').add(1,'h').toISOString();","postman.setEnvironmentVariable('TimeStampCurrent-1d+1hTime',myDate);"],"type":"text/javascript"}},{"listen":"test","script":{"id":"6dc36d00-f689-4c04-87cf-05d74058a382","exec":[""],"type":"text/javascript"}}],"id":"48720b39-ffdc-4456-93a2-8d1e8ea1f687","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","type":"text","value":"Bearer {{AccessToken}}"}],"body":{"mode":"raw","raw":"{\n    \"tagIds\": [111]\n}"},"url":"https://api2.myhours.com/api/Logs/{{logId}}/unassignTags","description":"<p>Remove a Tag from a Time log via Tag ID.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"c5ffc35a-94ad-4516-901b-6ea3f1aed0c2","id":"c5ffc35a-94ad-4516-901b-6ea3f1aed0c2","name":"My Hours  API v1.1","type":"collection"}},"urlObject":{"protocol":"https","path":["api","Logs","{{logId}}","unassignTags"],"host":["api2","myhours","com"],"query":[],"variable":[]}},"response":[{"id":"9d63b80b-fc26-475c-9613-649d9c5af978","name":"Remove Tag from Time log","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"api-version","type":"text","value":"1.0","disabled":true},{"key":"Authorization","type":"text","value":"Bearer {{AccessToken}}"}],"body":{"mode":"raw","raw":"{\n    \"tagIds\": [111]\n}"},"url":"https://api2.myhours.com/api/Logs/{{logId}}/unassignTags"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Length","value":"122"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Server","value":"Microsoft-IIS/10.0"},{"key":"Request-Context","value":"appId=cid-v1:8277891d-c61a-462a-86b2-975e13de4761"},{"key":"client-version","value":"5.5.3"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Powered-By","value":"ASP.NET"},{"key":"Date","value":"Thu, 23 Sep 2021 06:26:40 GMT"}],"cookie":[],"responseTime":null,"body":"true"}],"_postman_id":"48720b39-ffdc-4456-93a2-8d1e8ea1f687"},{"name":"All Tags","event":[{"listen":"prerequest","script":{"id":"3c2b76fd-2eef-424c-b71d-498137de9358","exec":[""],"type":"text/javascript"}},{"listen":"test","script":{"id":"7a33fd35-d0bd-44da-93d9-4b047344d94e","exec":[""],"type":"text/javascript"}}],"id":"9483aff2-c92b-44e3-aad5-d12b5e5754b6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"api-version","type":"text","value":"1.0"},{"key":"Authorization","type":"text","value":"Bearer {{AccessToken}}"}],"url":"https://api2.myhours.com/api/Tags","description":"<p>Get a list of Tags in your account.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"c5ffc35a-94ad-4516-901b-6ea3f1aed0c2","id":"c5ffc35a-94ad-4516-901b-6ea3f1aed0c2","name":"My Hours  API v1.1","type":"collection"}},"urlObject":{"protocol":"https","path":["api","Tags"],"host":["api2","myhours","com"],"query":[],"variable":[]}},"response":[{"id":"f395c060-98e4-4fb1-a2a6-0c68fb7f2298","name":"All Tags","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"api-version","type":"text","value":"1.0"},{"key":"Authorization","type":"text","value":"Bearer {{AccessToken}}"}],"url":"https://api2.myhours.com/api/Tags"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Length","value":"573"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Server","value":"Microsoft-IIS/10.0"},{"key":"Request-Context","value":"appId=cid-v1:8277891d-c61a-462a-86b2-975e13de4761"},{"key":"client-version","value":"5.5.0"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Powered-By","value":"ASP.NET"},{"key":"Date","value":"Fri, 13 Aug 2021 06:42:05 GMT"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"name\": \"Important\",\n        \"hexColor\": \"#dc3545\",\n        \"archived\": false,\n        \"dateArchived\": null,\n        \"id\": 111\n    },\n    {\n        \"name\": \"Phone call\",\n        \"hexColor\": \"#ffc107\",\n        \"archived\": false,\n        \"dateArchived\": null,\n        \"id\": 160\n    },\n    {\n        \"name\": \"Prepaid\",\n        \"hexColor\": \"#e83e8c\",\n        \"archived\": false,\n        \"dateArchived\": null,\n        \"id\": 161\n    },\n    {\n        \"name\": \"Work from home\",\n        \"hexColor\": \"#17a2b8\",\n        \"archived\": false,\n        \"dateArchived\": null,\n        \"id\": 162\n    },\n    {\n        \"name\": \"Field work\",\n        \"hexColor\": \"#fd7e14\",\n        \"archived\": false,\n        \"dateArchived\": null,\n        \"id\": 163\n    },\n    {\n        \"name\": \"Expenses\",\n        \"hexColor\": \"#20c997\",\n        \"archived\": false,\n        \"dateArchived\": null,\n        \"id\": 242\n    },\n    {\n        \"name\": \"Flat fee\",\n        \"hexColor\": \"#e83e8c\",\n        \"archived\": false,\n        \"dateArchived\": null,\n        \"id\": 245\n    }\n]"}],"_postman_id":"9483aff2-c92b-44e3-aad5-d12b5e5754b6"}],"id":"7f64c671-4787-453d-bca2-f11b71bb5bcf","description":"<p>You can add a new time log with details for any team member in your team.</p>\n<p>Edit or delete a time log with log's ID.</p>\n","event":[{"listen":"prerequest","script":{"id":"859c2535-e747-451f-be7d-33d1259c22d6","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"abaa500d-4f2f-4822-b433-11dfca30d9a2","type":"text/javascript","exec":[""]}}],"_postman_id":"7f64c671-4787-453d-bca2-f11b71bb5bcf","auth":{"type":"apikey","apikey":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"c5ffc35a-94ad-4516-901b-6ea3f1aed0c2","id":"c5ffc35a-94ad-4516-901b-6ea3f1aed0c2","name":"My Hours  API v1.1","type":"collection"}}},{"name":"Projects","item":[{"name":"All Projects","event":[{"listen":"prerequest","script":{"id":"b0370197-e38f-4dff-bda4-d4d771c931da","exec":[""],"type":"text/javascript"}},{"listen":"test","script":{"id":"8a766ac1-ba09-493c-b874-5e531329d0fb","exec":[""],"type":"text/javascript"}}],"id":"64fa3d61-a785-4727-bd33-f549b987c7b2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"api-version","value":"1.0","type":"text"},{"key":"Authorization","value":"Bearer {{AccessToken}}","type":"text"}],"url":"https://api2.myhours.com/api/Projects/getAll","auth":{"type":"apikey","apikey":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"c5ffc35a-94ad-4516-901b-6ea3f1aed0c2","id":"c5ffc35a-94ad-4516-901b-6ea3f1aed0c2","name":"My Hours  API v1.1","type":"collection"}},"urlObject":{"protocol":"https","path":["api","Projects","getAll"],"host":["api2","myhours","com"],"query":[],"variable":[]}},"response":[{"id":"1a04d460-8d9c-4e7c-8a47-e70de49b6c98","name":"All Projects","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"api-version","value":"1.0","type":"text"},{"key":"Authorization","value":"Bearer {{AccessToken}}","type":"text"}],"url":"https://api2.myhours.com/api/Projects/getAll"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Length","value":"7785"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Server","value":"Microsoft-IIS/10.0"},{"key":"Request-Context","value":"appId=cid-v1:640e1a57-f7c0-4b1d-bf16-083678d81f81"},{"key":"client-version","value":"5.0.0"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Powered-By","value":"ASP.NET"},{"key":"Date","value":"Fri, 11 Dec 2020 12:36:58 GMT"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"name\": \"Rounded project\",\n        \"archived\": false,\n        \"dateArchived\": null,\n        \"dateCreated\": \"2020-08-11T08:32:08.2319087+02:00\",\n        \"clientName\": \"Hutt Cartel\",\n        \"budgetAlertPercent\": 0,\n        \"budgetType\": 1,\n        \"totalTimeLogged\": 0,\n        \"budgetValue\": 0,\n        \"totalAmount\": 0,\n        \"totalExpense\": 0,\n        \"totalCost\": 0,\n        \"billableTimeLogged\": 0,\n        \"totalBillableAmount\": 0,\n        \"billable\": true,\n        \"roundType\": 3,\n        \"roundInterval\": 1,\n        \"budgetSpentPercentage\": 0,\n        \"budgetTarget\": 1,\n        \"budgetSpent\": null,\n        \"customId\": null,\n        \"id\": 796298\n    },\n    {\n        \"name\": \"Imported project\",\n        \"archived\": false,\n        \"dateArchived\": null,\n        \"dateCreated\": \"2020-09-21T11:46:17.773702+02:00\",\n        \"clientName\": \"Imported client\",\n        \"budgetAlertPercent\": null,\n        \"budgetType\": 1,\n        \"totalTimeLogged\": 2,\n        \"budgetValue\": 0,\n        \"totalAmount\": 20.2,\n        \"totalExpense\": 40.4,\n        \"totalCost\": 0,\n        \"billableTimeLogged\": 0,\n        \"totalBillableAmount\": 60.6,\n        \"billable\": true,\n        \"roundType\": 0,\n        \"roundInterval\": 0,\n        \"budgetSpentPercentage\": 0,\n        \"budgetTarget\": 1,\n        \"budgetSpent\": null,\n        \"customId\": null,\n        \"id\": 797012\n    },\n    {\n        \"name\": \"Launching the new website\",\n        \"archived\": false,\n        \"dateArchived\": null,\n        \"dateCreated\": \"2020-09-29T14:03:49.3685365+00:00\",\n        \"clientName\": null,\n        \"budgetAlertPercent\": 90,\n        \"budgetType\": 3,\n        \"totalTimeLogged\": 0,\n        \"budgetValue\": 20000,\n        \"totalAmount\": 0,\n        \"totalExpense\": 0,\n        \"totalCost\": 0,\n        \"billableTimeLogged\": 0,\n        \"totalBillableAmount\": 0,\n        \"billable\": true,\n        \"roundType\": 0,\n        \"roundInterval\": 0,\n        \"budgetSpentPercentage\": 0,\n        \"budgetTarget\": 2,\n        \"budgetSpent\": null,\n        \"customId\": null,\n        \"id\": 797253\n    },\n    {\n        \"name\": \"Spica My Hours\",\n        \"archived\": false,\n        \"dateArchived\": null,\n        \"dateCreated\": \"2020-12-07T15:19:34.2383814+00:00\",\n        \"clientName\": \"Demo Client\",\n        \"budgetAlertPercent\": null,\n        \"budgetType\": 1,\n        \"totalTimeLogged\": 0,\n        \"budgetValue\": 0,\n        \"totalAmount\": 0,\n        \"totalExpense\": 0,\n        \"totalCost\": 0,\n        \"billableTimeLogged\": 0,\n        \"totalBillableAmount\": 0,\n        \"billable\": true,\n        \"roundType\": 0,\n        \"roundInterval\": 0,\n        \"budgetSpentPercentage\": 0,\n        \"budgetTarget\": 1,\n        \"budgetSpent\": null,\n        \"customId\": null,\n        \"id\": 798252\n    }\n]"}],"_postman_id":"64fa3d61-a785-4727-bd33-f549b987c7b2"},{"name":"Active Projects","event":[{"listen":"test","script":{"id":"a312b208-af04-465d-b5ab-92b87b25d869","exec":["","var data = JSON.parse(responseBody);","","postman.setEnvironmentVariable(\"projectId\", data[0].id);","console.log(\"projectId is set to:\", data[0].id);"],"type":"text/javascript"}},{"listen":"prerequest","script":{"id":"db68203a-9a5c-4858-826f-f2228305eb4e","exec":[""],"type":"text/javascript"}}],"id":"4a1d61c1-03fd-4468-b8d8-4949a48fefd8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"api-version","value":"1.0","type":"text"},{"key":"Authorization","value":"Bearer {{AccessToken}}","type":"text"}],"url":"https://api2.myhours.com/api/Projects","urlObject":{"protocol":"https","path":["api","Projects"],"host":["api2","myhours","com"],"query":[],"variable":[]}},"response":[{"id":"9a140675-cedb-430d-b442-a926aa9fa3a1","name":"Active Projects","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"api-version","value":"1.0","type":"text"},{"key":"Authorization","value":"Bearer {{AccessToken}}","type":"text"}],"url":"https://api2.myhours.com/api/Projects"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Server","value":"Kestrel"},{"key":"Request-Context","value":"appId=cid-v1:da5366f4-e2bf-45bb-97a3-a22e97dd72f3"},{"key":"client-version","value":"3.0.0"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Powered-By","value":"ASP.NET"},{"key":"Date","value":"Fri, 04 Oct 2019 12:16:26 GMT"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"clientId\": 69931,\n        \"clientName\": \"Rebel Alliance\",\n        \"name\": \"Moving base to  Yavin IV\",\n        \"archived\": false,\n        \"customId\": null,\n        \"id\": 178448\n    },\n    {\n        \"clientId\": 69931,\n        \"clientName\": \"Rebel Alliance\",\n        \"name\": \"Light saber improvements\",\n        \"archived\": false,\n        \"customId\": null,\n        \"id\": 178451\n    },\n    {\n        \"clientId\": 69931,\n        \"clientName\": \"Rebel Alliance\",\n        \"name\": \"Kessel Run\",\n        \"archived\": false,\n        \"customId\": null,\n        \"id\": 179081\n    },\n    {\n        \"clientId\": 69931,\n        \"clientName\": \"Rebel Alliance\",\n        \"name\": \"Teaching Rey about the Force\",\n        \"archived\": false,\n        \"customId\": null,\n        \"id\": 613822\n    },\n    {\n        \"clientId\": 69931,\n        \"clientName\": \"Rebel Alliance\",\n        \"name\": \"Rescuing Han Solo\",\n        \"archived\": false,\n        \"customId\": null,\n        \"id\": 619191\n    },\n    {\n        \"clientId\": null,\n        \"clientName\": null,\n        \"name\": \"General purpose\",\n        \"archived\": false,\n        \"customId\": null,\n        \"id\": 1080900\n    }\n]"}],"_postman_id":"4a1d61c1-03fd-4468-b8d8-4949a48fefd8"},{"name":"Create Project","event":[{"listen":"prerequest","script":{"id":"1b9e6a3c-7f75-47e8-aecb-d4534eca0cbf","exec":["","//Set TimeStamp currenttime","var moment = require('moment');","var myDate=moment(new Date()).toISOString();","postman.setEnvironmentVariable('TimeStampCurrentTime',myDate);","","//Set TimeStamp currenttime -1d","var moment = require('moment');","var myDate=moment(new Date()).add(-1,'d').toISOString();","postman.setEnvironmentVariable('TimeStampCurrent-1dTime',myDate);","","//Set TimeStamp currenttime -1d +1h","var moment = require('moment');","var myDate=moment(new Date()).add(-1,'d').add(1,'h').toISOString();","postman.setEnvironmentVariable('TimeStampCurrent-1d+1hTime',myDate);"],"type":"text/javascript"}},{"listen":"test","script":{"id":"9f2051c8-6590-4cfe-b22c-e261b56f3f1c","exec":[""],"type":"text/javascript"}}],"id":"bf5c2371-1852-4c17-a63d-60299e80c8f8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","type":"text","value":"Bearer {{AccessToken}}"}],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"New Project from API\",\r\n    \"clientId\": null,\r\n    \"invoiceMethod\": 2,\r\n    \"notes\": \"Project description\",\r\n    \"approved\": false,\r\n    \"rate\": 100\r\n}"},"url":"https://api2.myhours.com/api/Projects","description":"<p>Create a new Project with a client and billable settings.</p>\n<h3 id=\"parameters\">Parameters</h3>\n<p><code>invoiceMethod</code>:\n<code>0</code> - Not billable\n<code>1</code> - Task-based rate\n<code>2</code> - Project rate (set rate with 'rate' param)\n<code>3</code> - Team-based rate</p>\n<p><code>approved</code> flags project where logs need to be approved by administrators.</p>\n<p><code>notes</code> are project's description.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"c5ffc35a-94ad-4516-901b-6ea3f1aed0c2","id":"c5ffc35a-94ad-4516-901b-6ea3f1aed0c2","name":"My Hours  API v1.1","type":"collection"}},"urlObject":{"protocol":"https","path":["api","Projects"],"host":["api2","myhours","com"],"query":[],"variable":[]}},"response":[{"id":"571166d9-f6d1-4952-82c1-1eef8f947e62","name":"Create Project","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"api-version","type":"text","value":"1.0","disabled":true},{"key":"Authorization","type":"text","value":"Bearer {{AccessToken}}"}],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"New Project from API\",\r\n    \"clientId\": null,\r\n    \"invoiceMethod\": 2,\r\n    \"notes\": \"Project description\",\r\n    \"approved\": false,\r\n    \"customId\": \"xyz-0392432\",\r\n    \"rate\": 100\r\n}"},"url":"https://api2.myhours.com/api/Projects"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Length","value":"321"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Server","value":"Microsoft-IIS/10.0"},{"key":"Request-Context","value":"appId=cid-v1:640e1a57-f7c0-4b1d-bf16-083678d81f81"},{"key":"client-version","value":"5.0.0"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Powered-By","value":"ASP.NET"},{"key":"Date","value":"Fri, 11 Dec 2020 13:29:59 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"invoiceMethod\": 2,\n    \"rate\": 100,\n    \"budgetType\": 1,\n    \"budgetValue\": 0,\n    \"budgetAlertPercent\": 0,\n    \"notes\": \"Project description\",\n    \"approved\": false,\n    \"roundType\": 0,\n    \"roundInterval\": 0,\n    \"firstLogDate\": null,\n    \"budgetTarget\": 1,\n    \"budgetPeriodType\": null,\n    \"clientId\": null,\n    \"clientName\": null,\n    \"name\": \"New Project from API\",\n    \"archived\": false,\n    \"customId\": \"xyz-0392432\",\n    \"id\": 798343\n}"}],"_postman_id":"bf5c2371-1852-4c17-a63d-60299e80c8f8"},{"name":"Edit Project","event":[{"listen":"prerequest","script":{"id":"1b9e6a3c-7f75-47e8-aecb-d4534eca0cbf","exec":["","//Set TimeStamp currenttime","var moment = require('moment');","var myDate=moment(new Date()).toISOString();","postman.setEnvironmentVariable('TimeStampCurrentTime',myDate);","","//Set TimeStamp currenttime -1d","var moment = require('moment');","var myDate=moment(new Date()).add(-1,'d').toISOString();","postman.setEnvironmentVariable('TimeStampCurrent-1dTime',myDate);","","//Set TimeStamp currenttime -1d +1h","var moment = require('moment');","var myDate=moment(new Date()).add(-1,'d').add(1,'h').toISOString();","postman.setEnvironmentVariable('TimeStampCurrent-1d+1hTime',myDate);"],"type":"text/javascript"}},{"listen":"test","script":{"id":"9f2051c8-6590-4cfe-b22c-e261b56f3f1c","exec":["tests[\"Status code is 201\"] = responseCode.code === 201;","","var data = JSON.parse(responseBody);","","postman.setEnvironmentVariable(\"logId\", data.id);","console.log(\"logId is set to:\", data.id);"],"type":"text/javascript"}}],"id":"07b40219-60ec-49c6-89e5-07c5df023001","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","type":"text","value":"Bearer {{AccessToken}}"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": {{projectId}},\r\n    \"name\": \"New name for a Project from API\",\r\n    \"clientId\": {{clientId}}\r\n}"},"url":"https://api2.myhours.com/api/Projects","description":"<p>Edit existing Project with a client, billable settings and other details.</p>\n<h3 id=\"parameters\">Parameters</h3>\n<p><code>invoiceMethod</code>:<br /><code>0</code> - Not billable<br /><code>1</code> - Task-based rate<br /><code>2</code> - Project rate (set rate with 'rate' param)<br /><code>3</code> - Team-based rate</p>\n<p><code>approved</code> flags project where logs need to be approved by administrators.</p>\n<p><code>notes</code> are project's description.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"c5ffc35a-94ad-4516-901b-6ea3f1aed0c2","id":"c5ffc35a-94ad-4516-901b-6ea3f1aed0c2","name":"My Hours  API v1.1","type":"collection"}},"urlObject":{"protocol":"https","path":["api","Projects"],"host":["api2","myhours","com"],"query":[],"variable":[]}},"response":[{"id":"327dc735-9994-457f-89d1-fb8bf84b3b95","name":"Edit Project","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"api-version","type":"text","value":"1.0","disabled":true},{"key":"Authorization","type":"text","value":"Bearer {{AccessToken}}"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": {{projectId}},\r\n    \"name\": \"New name for a Project from API\",\r\n    \"clientId\": {{clientId}},\r\n    \"invoiceMethod\": 2,\r\n    \"notes\": \"Project description\",\r\n    \"approved\": false,\r\n    \"rate\": 100,\r\n    \"roundType\": 0,\r\n    \"roundInterval\": 0,\r\n    \"customid\": \"xyz-0392432\"\r\n}"},"url":"https://api2.myhours.com/api/Projects"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Wed, 05 Apr 2023 13:37:09 GMT"},{"key":"Server","value":"Microsoft-IIS/10.0"},{"key":"Content-Encoding","value":"gzip"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Request-Context","value":"appId=cid-v1:8277891d-c61a-462a-86b2-975e13de4761"},{"key":"client-version","value":"6.5.1"},{"key":"new-version-needs-signout","value":"False"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Powered-By","value":"ASP.NET"}],"cookie":[],"responseTime":null,"body":"{\n    \"invoiceMethod\": 2,\n    \"rate\": 100,\n    \"budgetType\": 2,\n    \"budgetValue\": 1000,\n    \"budgetAlertPercent\": 80,\n    \"notes\": \"Project description\",\n    \"approved\": false,\n    \"roundType\": 0,\n    \"roundInterval\": 0,\n    \"firstLogDate\": \"2020-12-15T00:00:00\",\n    \"budgetTarget\": 2,\n    \"budgetPeriodType\": 0,\n    \"startDate\": null,\n    \"dueDate\": null,\n    \"clientId\": 407082,\n    \"clientName\": \"Admin\",\n    \"name\": \"New name for a Project from API\",\n    \"archived\": false,\n    \"customid\": \"xyz-0392432\",\n    \"id\": 1392490\n}"}],"_postman_id":"07b40219-60ec-49c6-89e5-07c5df023001"},{"name":"Archive Project","event":[{"listen":"prerequest","script":{"id":"1b9e6a3c-7f75-47e8-aecb-d4534eca0cbf","exec":[""],"type":"text/javascript"}},{"listen":"test","script":{"id":"9f2051c8-6590-4cfe-b22c-e261b56f3f1c","exec":[""],"type":"text/javascript"}}],"id":"8c0803c4-2094-4878-b4d7-cc5589811001","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","type":"text","value":"Bearer {{AccessToken}}"}],"body":{"mode":"raw","raw":"{\r\n    \"projectIds\": \r\n        [\r\n        {{projectId}}\r\n        ]\r\n}"},"url":"https://api2.myhours.com/api/Projects/archive","description":"<p>Archive one or multiple active Projects.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"c5ffc35a-94ad-4516-901b-6ea3f1aed0c2","id":"c5ffc35a-94ad-4516-901b-6ea3f1aed0c2","name":"My Hours  API v1.1","type":"collection"}},"urlObject":{"protocol":"https","path":["api","Projects","archive"],"host":["api2","myhours","com"],"query":[],"variable":[]}},"response":[{"id":"7ab59613-a99a-4756-897e-6053ed74e510","name":"Archive Project","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"api-version","type":"text","value":"1.0","disabled":true},{"key":"Authorization","type":"text","value":"Bearer {{AccessToken}}"}],"body":{"mode":"raw","raw":"{\r\n    \"projectIds\": \r\n        [\r\n        {{projectId}}\r\n        ]\r\n}"},"url":"https://api2.myhours.com/api/Projects/archive"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null}],"_postman_id":"8c0803c4-2094-4878-b4d7-cc5589811001"},{"name":"Copy Project","event":[{"listen":"prerequest","script":{"id":"fad8e38d-5f8f-43ce-ba56-202915c639c6","exec":["","//Set TimeStamp currenttime","var moment = require('moment');","var myDate=moment(new Date()).toISOString();","postman.setEnvironmentVariable('TimeStampCurrentTime',myDate);","","//Set TimeStamp currenttime -1d","var moment = require('moment');","var myDate=moment(new Date()).add(-1,'d').toISOString();","postman.setEnvironmentVariable('TimeStampCurrent-1dTime',myDate);","","//Set TimeStamp currenttime -1d +1h","var moment = require('moment');","var myDate=moment(new Date()).add(-1,'d').add(1,'h').toISOString();","postman.setEnvironmentVariable('TimeStampCurrent-1d+1hTime',myDate);"],"type":"text/javascript"}},{"listen":"test","script":{"id":"cb314c95-0449-4684-bc44-85dab2e3be1b","exec":[""],"type":"text/javascript"}}],"id":"18082bfa-e121-4e97-92a1-26935005d6dc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","type":"text","value":"Bearer {{AccessToken}}"}],"body":{"mode":"raw","raw":""},"url":"https://api2.myhours.com/api/Projects/{{projectId}}/copy","description":"<p>Copy any project with its settings, tasks and team members.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"c5ffc35a-94ad-4516-901b-6ea3f1aed0c2","id":"c5ffc35a-94ad-4516-901b-6ea3f1aed0c2","name":"My Hours  API v1.1","type":"collection"}},"urlObject":{"protocol":"https","path":["api","Projects","{{projectId}}","copy"],"host":["api2","myhours","com"],"query":[],"variable":[]}},"response":[{"id":"c34c2158-1b47-46a8-9d7f-e46131c02c9d","name":"Copy Projects","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"api-version","type":"text","value":"1.0","disabled":true},{"key":"Authorization","type":"text","value":"Bearer {{AccessToken}}"}],"body":{"mode":"raw","raw":""},"url":"https://api2.myhours.com/api/Projects/{{projectId}}/copy"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Length","value":"431"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Server","value":"Microsoft-IIS/10.0"},{"key":"Request-Context","value":"appId=cid-v1:640e1a57-f7c0-4b1d-bf16-083678d81f81"},{"key":"client-version","value":"5.0.0"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Powered-By","value":"ASP.NET"},{"key":"Date","value":"Fri, 11 Dec 2020 13:34:39 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"invoiceMethod\": 1,\n    \"rate\": 0,\n    \"budgetType\": 1,\n    \"budgetValue\": 0,\n    \"budgetAlertPercent\": 0,\n    \"notes\": \"**Make sure that we:**\\n\\n1.  include all screenshots\\n2.  add customer testimonials\\n3.  ask for client feedback\\n\\nThanks,\\n\\nPM\",\n    \"approved\": false,\n    \"roundType\": 0,\n    \"roundInterval\": 0,\n    \"firstLogDate\": null,\n    \"budgetTarget\": 1,\n    \"budgetPeriodType\": null,\n    \"clientId\": 278929,\n    \"clientName\": \"Clientelle\",\n    \"name\": \"Copy of Launching a new website\",\n    \"archived\": false,\n    \"id\": 798344\n}"}],"_postman_id":"18082bfa-e121-4e97-92a1-26935005d6dc"},{"name":"Project - Tasks","event":[{"listen":"test","script":{"id":"4655f248-757c-4a28-84fa-675737bd4496","exec":["","var data = pm.response.json()","console.log(data)","postman.setEnvironmentVariable(\"projectTaskId\", data[0][\"incompletedTasks\"][0].id);",""],"type":"text/javascript"}}],"id":"14516555-2821-454d-927e-85e8ae3c85b2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","type":"text","value":"Bearer {{AccessToken}}"}],"url":"https://api2.myhours.com/api/Projects/{{projectId}}/tasklist","description":"<p>Assigned Tasks endpoint is useful to determine which tasks can be added to a new Time log with a selected Project.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"c5ffc35a-94ad-4516-901b-6ea3f1aed0c2","id":"c5ffc35a-94ad-4516-901b-6ea3f1aed0c2","name":"My Hours  API v1.1","type":"collection"}},"urlObject":{"protocol":"https","path":["api","Projects","{{projectId}}","tasklist"],"host":["api2","myhours","com"],"query":[],"variable":[]}},"response":[{"id":"ce43feb3-87f7-4c26-a169-d9f98fbc29de","name":"Project - Tasks","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"api-version","type":"text","value":"1.0","disabled":true},{"key":"Authorization","type":"text","value":"Bearer {{AccessToken}}"}],"url":"https://api2.myhours.com/api/Projects/{{projectId}}/tasklist"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Length","value":"453"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Server","value":"Microsoft-IIS/10.0"},{"key":"Request-Context","value":"appId=cid-v1:8277891d-c61a-462a-86b2-975e13de4761"},{"key":"client-version","value":"5.3.0"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Powered-By","value":"ASP.NET"},{"key":"Date","value":"Tue, 18 May 2021 13:54:32 GMT"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"listName\": \"Task list\",\n        \"listNo\": 0,\n        \"completedTasks\": [\n            {\n                \"name\": \"Demo call\",\n                \"description\": null,\n                \"completed\": true,\n                \"archived\": false,\n                \"dueDate\": null,\n                \"rate\": 0,\n                \"budgetValue\": 0,\n                \"totalTimeLogged\": 0,\n                \"totalAmountLogged\": 0,\n                \"budgetSpent\": 0,\n                \"budgetSpentPercentage\": 0,\n                \"projectBudgetType\": 3,\n                \"projectTaskUserIds\": [],\n                \"customId\": null,\n                \"id\": 7945897\n            },\n            {\n                \"name\": \"Development\",\n                \"description\": null,\n                \"completed\": true,\n                \"archived\": false,\n                \"dueDate\": null,\n                \"rate\": 0,\n                \"budgetValue\": 0,\n                \"totalTimeLogged\": 0,\n                \"totalAmountLogged\": 0,\n                \"budgetSpent\": 0,\n                \"budgetSpentPercentage\": 0,\n                \"projectBudgetType\": 3,\n                \"projectTaskUserIds\": [],\n                \"customId\": null,\n                \"id\": 7945896\n            }\n        ],\n        \"incompletedTasks\": [\n            {\n                \"name\": \"Training\",\n                \"description\": null,\n                \"completed\": false,\n                \"archived\": false,\n                \"dueDate\": null,\n                \"rate\": 70,\n                \"budgetValue\": 0,\n                \"totalTimeLogged\": 0,\n                \"totalAmountLogged\": 0,\n                \"budgetSpent\": 0,\n                \"budgetSpentPercentage\": 0,\n                \"projectBudgetType\": 3,\n                \"projectTaskUserIds\": [\n                    41873\n                ],\n                \"customId\": null,\n                \"id\": 7945908\n            },\n            {\n                \"name\": \"Design\",\n                \"description\": null,\n                \"completed\": false,\n                \"archived\": false,\n                \"dueDate\": null,\n                \"rate\": 50,\n                \"budgetValue\": 0,\n                \"totalTimeLogged\": 0,\n                \"totalAmountLogged\": 0,\n                \"budgetSpent\": 0,\n                \"budgetSpentPercentage\": 0,\n                \"projectBudgetType\": 3,\n                \"projectTaskUserIds\": [\n                    41873\n                ],\n                \"customId\": null,\n                \"id\": 7945893\n            }\n        ],\n        \"archivedTasks\": [\n            {\n                \"name\": \"Meeting\",\n                \"description\": null,\n                \"completed\": false,\n                \"archived\": true,\n                \"dueDate\": null,\n                \"rate\": 0,\n                \"budgetValue\": 0,\n                \"totalTimeLogged\": 0,\n                \"totalAmountLogged\": 0,\n                \"budgetSpent\": 0,\n                \"budgetSpentPercentage\": 0,\n                \"projectBudgetType\": 3,\n                \"projectTaskUserIds\": [],\n                \"customId\": null,\n                \"id\": 7945898\n            }\n        ]\n    }\n]"}],"_postman_id":"14516555-2821-454d-927e-85e8ae3c85b2"},{"name":"Add Task to Project","event":[{"listen":"prerequest","script":{"id":"73e3521c-f8f7-4453-8fb7-1fcb6b260389","exec":["","//Set TimeStamp currenttime","var moment = require('moment');","var myDate=moment(new Date()).toISOString();","postman.setEnvironmentVariable('TimeStampCurrentTime',myDate);","","//Set TimeStamp currenttime -1d","var moment = require('moment');","var myDate=moment(new Date()).add(-1,'d').toISOString();","postman.setEnvironmentVariable('TimeStampCurrent-1dTime',myDate);","","//Set TimeStamp currenttime -1d +1h","var moment = require('moment');","var myDate=moment(new Date()).add(-1,'d').add(1,'h').toISOString();","postman.setEnvironmentVariable('TimeStampCurrent-1d+1hTime',myDate);"],"type":"text/javascript"}},{"listen":"test","script":{"id":"a6ba9279-687f-494e-877b-1576ec3253d0","exec":["postman.setEnvironmentVariable(\"projectTaskId\", data.id);"],"type":"text/javascript"}}],"id":"08521695-c70d-4453-9b74-dfcab189f9fe","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","type":"text","value":"Bearer {{AccessToken}}"}],"body":{"mode":"raw","raw":"{\n  \"listName\": \"Task list\",\n  \"name\": \"New task with ID\",\n  \"description\": \"Task description\",\n  \"budgetValue\": 0,\n  \"rate\": 10,\n  \"customid\": \"xyz-9324932\"    \n}"},"url":"https://api2.myhours.com/api/Projects/{{projectId}}/task","description":"<p>Add a task to any project with details.</p>\n<h4 id=\"params\">params</h4>\n<p>Set ‘budgetValue‘ if project budget is set as Task-based.</p>\n<p>Set ‘rate‘ if project's invoiceMethod (Billable method) is set as Task-based.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"c5ffc35a-94ad-4516-901b-6ea3f1aed0c2","id":"c5ffc35a-94ad-4516-901b-6ea3f1aed0c2","name":"My Hours  API v1.1","type":"collection"}},"urlObject":{"protocol":"https","path":["api","Projects","{{projectId}}","task"],"host":["api2","myhours","com"],"query":[],"variable":[]}},"response":[{"id":"8a7daf03-71f6-4dc6-9f88-ac6c9229b0c5","name":"Add Task to Project","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"api-version","type":"text","value":"1.0","disabled":true},{"key":"Authorization","type":"text","value":"Bearer {{AccessToken}}"}],"body":{"mode":"raw","raw":"{\n  \"listName\": \"Task list\",\n  \"name\": \"New task with ID\",\n  \"description\": \"Task description\",\n  \"budgetValue\": 0,\n  \"rate\": 10,\n  \"customid\": \"xyz-9324932\"    \n}","options":{"raw":{"language":"json"}}},"url":"https://api2.myhours.com/api/Projects/{{projectId}}/task"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Tue, 29 Aug 2023 07:11:36 GMT"},{"key":"Server","value":"Microsoft-IIS/10.0"},{"key":"Content-Encoding","value":"gzip"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Request-Context","value":"appId=cid-v1:8277891d-c61a-462a-86b2-975e13de4761"},{"key":"client-version","value":"6.6.2"},{"key":"new-version-needs-signout","value":"False"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Powered-By","value":"ASP.NET"}],"cookie":[],"responseTime":null,"body":"{\n    \"name\": \"New task with ID\",\n    \"orderNo\": 11,\n    \"description\": \"Task description\",\n    \"completed\": false,\n    \"archived\": false,\n    \"startDate\": null,\n    \"dueDate\": null,\n    \"rate\": 10,\n    \"budgetValue\": 0,\n    \"budgetSpent\": 0,\n    \"budgetSpentPercentage\": 0,\n    \"projectBudgetType\": 3,\n    \"projectTaskUserIds\": [],\n    \"customId\": \"xyz-9324932\",\n    \"id\": 12237141\n}"}],"_postman_id":"08521695-c70d-4453-9b74-dfcab189f9fe"},{"name":"Edit Project Task","event":[{"listen":"prerequest","script":{"id":"73e3521c-f8f7-4453-8fb7-1fcb6b260389","exec":["","//Set TimeStamp currenttime","var moment = require('moment');","var myDate=moment(new Date()).toISOString();","postman.setEnvironmentVariable('TimeStampCurrentTime',myDate);","","//Set TimeStamp currenttime -1d","var moment = require('moment');","var myDate=moment(new Date()).add(-1,'d').toISOString();","postman.setEnvironmentVariable('TimeStampCurrent-1dTime',myDate);","","//Set TimeStamp currenttime -1d +1h","var moment = require('moment');","var myDate=moment(new Date()).add(-1,'d').add(1,'h').toISOString();","postman.setEnvironmentVariable('TimeStampCurrent-1d+1hTime',myDate);"],"type":"text/javascript"}},{"listen":"test","script":{"id":"a6ba9279-687f-494e-877b-1576ec3253d0","exec":[""],"type":"text/javascript"}}],"id":"5cb7246d-0fd7-4fbb-929b-42e1ecdbe232","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","type":"text","value":"Bearer {{AccessToken}}"}],"body":{"mode":"raw","raw":"{\n  \"id\": {{projectTaskId}},\n  \"listName\": \"Task list\",\n  \"name\": \"Edited task from API\",\n  \"description\": \"New Task description\",\n  \"budgetValue\": 0,\n  \"rate\": 10,\n  \"customid\": null   \n}"},"url":"https://api2.myhours.com/api/Projects/{{projectId}}/task","description":"<p>Edit task details on any project.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"c5ffc35a-94ad-4516-901b-6ea3f1aed0c2","id":"c5ffc35a-94ad-4516-901b-6ea3f1aed0c2","name":"My Hours  API v1.1","type":"collection"}},"urlObject":{"protocol":"https","path":["api","Projects","{{projectId}}","task"],"host":["api2","myhours","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"5cb7246d-0fd7-4fbb-929b-42e1ecdbe232"},{"name":"Archive Project Task","event":[{"listen":"prerequest","script":{"id":"80cadf8a-ea8a-4d60-9e31-77ff47f19551","exec":["","//Set TimeStamp currenttime","var moment = require('moment');","var myDate=moment(new Date()).toISOString();","postman.setEnvironmentVariable('TimeStampCurrentTime',myDate);","","//Set TimeStamp currenttime -1d","var moment = require('moment');","var myDate=moment(new Date()).add(-1,'d').toISOString();","postman.setEnvironmentVariable('TimeStampCurrent-1dTime',myDate);","","//Set TimeStamp currenttime -1d +1h","var moment = require('moment');","var myDate=moment(new Date()).add(-1,'d').add(1,'h').toISOString();","postman.setEnvironmentVariable('TimeStampCurrent-1d+1hTime',myDate);"],"type":"text/javascript"}},{"listen":"test","script":{"id":"80ed0e57-4559-4192-9cb7-f8921a7d3492","exec":[""],"type":"text/javascript"}}],"id":"75f7f00d-409e-4851-8d60-1be712435aed","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","type":"text","value":"Bearer {{AccessToken}}"}],"url":"https://api2.myhours.com/api/Projects/{{projectId}}/task/{{projectTaskId}}/archive","description":"<p>Archive a task on a given project.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"c5ffc35a-94ad-4516-901b-6ea3f1aed0c2","id":"c5ffc35a-94ad-4516-901b-6ea3f1aed0c2","name":"My Hours  API v1.1","type":"collection"}},"urlObject":{"protocol":"https","path":["api","Projects","{{projectId}}","task","{{projectTaskId}}","archive"],"host":["api2","myhours","com"],"query":[],"variable":[]}},"response":[{"id":"6216ce66-ed61-4610-b07a-3f2e4e3b9db7","name":"Archive Project Task","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"api-version","type":"text","value":"1.0","disabled":true},{"key":"Authorization","type":"text","value":"Bearer {{AccessToken}}"}],"url":"https://api2.myhours.com/api/Projects/{{projectId}}/task/{{projectTaskId}}/archive"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Length","value":"290"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Server","value":"Microsoft-IIS/10.0"},{"key":"Request-Context","value":"appId=cid-v1:8277891d-c61a-462a-86b2-975e13de4761"},{"key":"client-version","value":"5.3.0"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Powered-By","value":"ASP.NET"},{"key":"Date","value":"Tue, 18 May 2021 13:59:58 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"name\": \"Development\",\n    \"description\": null,\n    \"completed\": true,\n    \"archived\": true,\n    \"dueDate\": null,\n    \"rate\": 0,\n    \"budgetValue\": 0,\n    \"totalTimeLogged\": 0,\n    \"totalAmountLogged\": 0,\n    \"budgetSpent\": null,\n    \"budgetSpentPercentage\": 0,\n    \"projectBudgetType\": 0,\n    \"projectTaskUserIds\": null,\n    \"id\": 7945896\n}"}],"_postman_id":"75f7f00d-409e-4851-8d60-1be712435aed"},{"name":"Project - Assigned Team members","event":[{"listen":"test","script":{"id":"0593718b-10c2-49c4-a42a-2be1d5a0247a","exec":[""],"type":"text/javascript"}}],"id":"298ea97f-4822-48e1-b1d4-4ef48566f509","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"api-version","type":"text","value":"1.0"},{"key":"Authorization","type":"text","value":"Bearer {{AccessToken}}"}],"url":"https://api2.myhours.com/api/Projects/:projectId/userlist","description":"<p>Assigned Team members endpoint is useful to determine which team members can be added to a new Time log with a selected Project.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"c5ffc35a-94ad-4516-901b-6ea3f1aed0c2","id":"c5ffc35a-94ad-4516-901b-6ea3f1aed0c2","name":"My Hours  API v1.1","type":"collection"}},"urlObject":{"protocol":"https","path":["api","Projects",":projectId","userlist"],"host":["api2","myhours","com"],"query":[],"variable":[{"type":"string","value":"{{projectId}}","key":"projectId"}]}},"response":[{"id":"a076f8cd-12c8-4f9c-93d9-d5cbec4333fe","name":"Project - Assigned Team members","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"api-version","type":"text","value":"1.0"},{"key":"Authorization","type":"text","value":"Bearer {{AccessToken}}"}],"url":{"raw":"https://api2.myhours.com/api/Projects/:projectId/userlist","protocol":"https","host":["api2","myhours","com"],"path":["api","Projects",":projectId","userlist"],"variable":[{"key":"projectId","value":"{{projectId}}","type":"string"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Length","value":"337"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Server","value":"Microsoft-IIS/10.0"},{"key":"Request-Context","value":"appId=cid-v1:640e1a57-f7c0-4b1d-bf16-083678d81f81"},{"key":"client-version","value":"5.0.0"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Powered-By","value":"ASP.NET"},{"key":"Date","value":"Fri, 11 Dec 2020 12:49:26 GMT"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"userId\": 41876,\n        \"userName\": \"Leia Organa\",\n        \"userArchived\": false,\n        \"userRate\": 50,\n        \"rate\": null,\n        \"userAdmin\": true,\n        \"userIsProjectManager\": false,\n        \"id\": 41876\n    },\n    {\n        \"userId\": 41873,\n        \"userName\": \"Luke Skywalker\",\n        \"userArchived\": false,\n        \"userRate\": 50,\n        \"rate\": null,\n        \"userAdmin\": true,\n        \"userIsProjectManager\": false,\n        \"id\": 41873\n    },\n    {\n        \"userId\": 41878,\n        \"userName\": \"Lando Calrissian\",\n        \"userArchived\": false,\n        \"userRate\": 12,\n        \"rate\": null,\n        \"userAdmin\": false,\n        \"userIsProjectManager\": false,\n        \"id\": 41878\n    },\n    {\n        \"userId\": 41875,\n        \"userName\": \"Han Solo\",\n        \"userArchived\": false,\n        \"userRate\": 90,\n        \"rate\": null,\n        \"userAdmin\": false,\n        \"userIsProjectManager\": true,\n        \"id\": 41875\n    }\n]"}],"_postman_id":"298ea97f-4822-48e1-b1d4-4ef48566f509"},{"name":"Assign Team member to Project","event":[{"listen":"prerequest","script":{"id":"b1e23b49-0e18-4897-8a2d-f11eecc39198","exec":["","//Set TimeStamp currenttime","var moment = require('moment');","var myDate=moment(new Date()).toISOString();","postman.setEnvironmentVariable('TimeStampCurrentTime',myDate);","","//Set TimeStamp currenttime -1d","var moment = require('moment');","var myDate=moment(new Date()).add(-1,'d').toISOString();","postman.setEnvironmentVariable('TimeStampCurrent-1dTime',myDate);","","//Set TimeStamp currenttime -1d +1h","var moment = require('moment');","var myDate=moment(new Date()).add(-1,'d').add(1,'h').toISOString();","postman.setEnvironmentVariable('TimeStampCurrent-1d+1hTime',myDate);"],"type":"text/javascript"}},{"listen":"test","script":{"id":"e7b8b2c9-004a-42ae-a010-18792fc9944b","exec":[""],"type":"text/javascript"}}],"id":"79e98edc-e6fc-44c5-ba2a-a11972f65b38","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","type":"text","value":"Bearer {{AccessToken}}"}],"body":{"mode":"raw","raw":""},"url":"https://api2.myhours.com/api/Projects/{{projectId}}/assignUser/{{admin2Id}}","description":"<p>Assign a team member with ID to a selected project.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"c5ffc35a-94ad-4516-901b-6ea3f1aed0c2","id":"c5ffc35a-94ad-4516-901b-6ea3f1aed0c2","name":"My Hours  API v1.1","type":"collection"}},"urlObject":{"protocol":"https","path":["api","Projects","{{projectId}}","assignUser","{{admin2Id}}"],"host":["api2","myhours","com"],"query":[],"variable":[]}},"response":[{"id":"e9dd05fe-0dec-4c96-aff7-e52f2668f105","name":"Assign Team member to Project","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"api-version","type":"text","value":"1.0","disabled":true},{"key":"Authorization","type":"text","value":"Bearer {{AccessToken}}"}],"body":{"mode":"raw","raw":""},"url":"https://api2.myhours.com/api/Projects/{{projectId}}/assignUser/{{admin2Id}}"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Length","value":"4"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Server","value":"Microsoft-IIS/10.0"},{"key":"Request-Context","value":"appId=cid-v1:640e1a57-f7c0-4b1d-bf16-083678d81f81"},{"key":"client-version","value":"5.0.0"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Powered-By","value":"ASP.NET"},{"key":"Date","value":"Fri, 11 Dec 2020 13:46:45 GMT"}],"cookie":[],"responseTime":null,"body":"true"}],"_postman_id":"79e98edc-e6fc-44c5-ba2a-a11972f65b38"},{"name":"Project Details","event":[{"listen":"test","script":{"id":"f339133c-c399-4f0e-8cd2-6c1ac665d8ff","exec":[""],"type":"text/javascript"}}],"id":"a334f604-b7a1-4578-9171-c486080a778d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"api-version","type":"text","value":"1.0"},{"key":"Authorization","type":"text","value":"Bearer {{AccessToken}}"}],"url":"https://api2.myhours.comapi/Projects/:projectId/overview","description":"<p>Get all details for a requested project.</p>\n<h4 id=\"budgettype\"><code>budgetType</code></h4>\n<p><code>1</code> - No budget\n<code>2</code> - Total billable hours\n<code>3</code> - Total billable amount</p>\n<h4 id=\"invoicemethod\"><code>invoiceMethod</code></h4>\n<p><code>0</code> - Not billable\n<code>1</code> - Task based rate\n<code>2</code> - Project based rate\n<code>3</code> - Team member based rate</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"c5ffc35a-94ad-4516-901b-6ea3f1aed0c2","id":"c5ffc35a-94ad-4516-901b-6ea3f1aed0c2","name":"My Hours  API v1.1","type":"collection"}},"urlObject":{"protocol":"https","path":["Projects",":projectId","overview"],"host":["api2","myhours","comapi"],"query":[],"variable":[{"type":"string","value":"{{projectId}}","key":"projectId"}]}},"response":[{"id":"1d7d923f-f6c0-449b-90cf-cf4acbb55b74","name":"Project Details","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"api-version","type":"text","value":"1.0"},{"key":"Authorization","type":"text","value":"Bearer {{AccessToken}}"}],"url":{"raw":"https://api2.myhours.com/api/Projects/:projectId/overview","protocol":"https","host":["api2","myhours","com"],"path":["api","Projects",":projectId","overview"],"variable":[{"key":"projectId","value":"{{projectId}}","type":"string"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Length","value":"719"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Server","value":"Microsoft-IIS/10.0"},{"key":"Request-Context","value":"appId=cid-v1:640e1a57-f7c0-4b1d-bf16-083678d81f81"},{"key":"client-version","value":"5.0.0"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Powered-By","value":"ASP.NET"},{"key":"Date","value":"Fri, 11 Dec 2020 12:49:52 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"name\": \"Launching a new website\",\n    \"clientName\": \"Clientelle\",\n    \"notes\": \"**Make sure that we:**\\n\\n1.  include all screenshots\\n2.  add customer testimonials\\n3.  ask for client feedback\\n\\nThanks,\\n\\nPM\",\n    \"totalTimeLogged\": 69,\n    \"totalAmount\": 3100,\n    \"totalExpense\": 1020,\n    \"totalCost\": 4394,\n    \"budgetValue\": 10000,\n    \"budgetType\": 3,\n    \"budgetRemaining\": 9340,\n    \"budgetSpentPercentage\": 7,\n    \"budgetSpent\": 660,\n    \"billableTimeLogged\": 59,\n    \"nonBillableTimeLogged\": 10,\n    \"invoiceMethod\": 1,\n    \"rate\": 0,\n    \"archived\": false,\n    \"dateCreated\": \"2020-10-30T10:47:30.2396277+00:00\",\n    \"roundType\": 0,\n    \"roundInterval\": 0,\n    \"firstLogDate\": \"2020-10-30T00:00:00\",\n    \"createType\": 0,\n    \"approved\": false,\n    \"logCount\": 15,\n    \"projectUsers\": [\n        {\n            \"name\": \"Leia Organa\",\n            \"shortName\": \"LO\",\n            \"id\": 41876\n        },\n        {\n            \"name\": \"Luke Skywalker\",\n            \"shortName\": \"LS\",\n            \"id\": 41873\n        },\n        {\n            \"name\": \"Miha S\",\n            \"shortName\": \"MS\",\n            \"id\": 179046\n        },\n        {\n            \"name\": \"Lando Calrissian\",\n            \"shortName\": \"LC\",\n            \"id\": 41878\n        },\n        {\n            \"name\": \"Han Solo\",\n            \"shortName\": \"HS\",\n            \"id\": 41875\n        }\n    ],\n    \"budgetTarget\": 2,\n    \"budgetPeriodType\": 1,\n    \"dateArchived\": null,\n    \"id\": 797789\n}"}],"_postman_id":"a334f604-b7a1-4578-9171-c486080a778d"}],"id":"be895141-e866-4004-94ad-909451644ed4","description":"<p>Get the information on your Projects, including assigned Clients, Tasks and Team members.</p>\n<p>Add tasks or assign Team members. Copy a template project to avoid a complicated workflow.</p>\n","event":[{"listen":"prerequest","script":{"id":"f9e6f9b4-8fde-42ac-9568-c39b36db1aed","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"a94487e5-7417-4827-bbb5-6dfdcb17f054","type":"text/javascript","exec":[""]}}],"_postman_id":"be895141-e866-4004-94ad-909451644ed4","auth":{"type":"apikey","apikey":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"c5ffc35a-94ad-4516-901b-6ea3f1aed0c2","id":"c5ffc35a-94ad-4516-901b-6ea3f1aed0c2","name":"My Hours  API v1.1","type":"collection"}}},{"name":"Reports","item":[{"name":"All Time logs","event":[{"listen":"test","script":{"id":"6deb7cea-137d-4e50-b0fd-43624022d206","exec":[""],"type":"text/javascript"}}],"id":"a023832e-c39d-4cff-a639-d673fb8846c1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"api-version","type":"text","value":"1.0"},{"key":"Authorization","type":"text","value":"Bearer {{AccessToken}}"}],"url":"https://api2.myhours.com/api/Reports/activity?DateFrom=2022-10-01&DateTo=2022-10-07","description":"<p>Activity endpoint returns all time logs in a given time frame. Time frame is specified with DateTo and DateFrom parameters in the query.</p>\n<h4 id=\"status\"><code>status</code></h4>\n<p><code>0</code> - No status\n<code>1</code> - Pending\n<code>2</code> - Approved\n<code>3</code> - Rejected</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"c5ffc35a-94ad-4516-901b-6ea3f1aed0c2","id":"c5ffc35a-94ad-4516-901b-6ea3f1aed0c2","name":"My Hours  API v1.1","type":"collection"}},"urlObject":{"protocol":"https","path":["api","Reports","activity"],"host":["api2","myhours","com"],"query":[{"key":"DateFrom","value":"2022-10-01"},{"key":"DateTo","value":"2022-10-07"}],"variable":[]}},"response":[{"id":"2843a506-7fc0-4817-9a63-a0e3e24ef029","name":"All Time logs","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"api-version","type":"text","value":"1.0"},{"key":"Authorization","type":"text","value":"Bearer {{AccessToken}}"}],"url":{"raw":"https://api2.myhours.com/api/Reports/activity?DateFrom=2022-10-01&DateTo=2022-10-07","protocol":"https","host":["api2","myhours","com"],"path":["api","Reports","activity"],"query":[{"key":"DateFrom","value":"2022-10-01"},{"key":"DateTo","value":"2022-10-07"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Tue, 29 Aug 2023 07:43:15 GMT"},{"key":"Server","value":"Microsoft-IIS/10.0"},{"key":"Content-Encoding","value":"gzip"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Request-Context","value":"appId=cid-v1:8277891d-c61a-462a-86b2-975e13de4761"},{"key":"client-version","value":"6.6.2"},{"key":"new-version-needs-signout","value":"False"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Powered-By","value":"ASP.NET"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"logId\": 62552385,\n        \"userId\": 41873,\n        \"date\": \"2022-10-03T00:00:00\",\n        \"teamsNames\": \"Development\",\n        \"userName\": \"Luke Skywalker\",\n        \"userCustomId\": null,\n        \"clientId\": 343838,\n        \"clientName\": \"John Dee\",\n        \"clientCustomId\": null,\n        \"projectId\": 1146530,\n        \"projectName\": \"Product Management\",\n        \"projectCustomId\": null,\n        \"projectStartDate\": null,\n        \"projectDueDate\": null,\n        \"projectBudgetType\": 3,\n        \"projectBudgetTarget\": 2,\n        \"projectBudgetPeriodType\": 1,\n        \"projectBudgetValue\": 2000,\n        \"taskListName\": \"Daily tasks\",\n        \"taskId\": 8920627,\n        \"taskName\": \"Emails\",\n        \"taskCustomId\": null,\n        \"taskStartDate\": null,\n        \"taskDueDate\": null,\n        \"taskCompleted\": false,\n        \"tags\": \"\",\n        \"rate\": 15,\n        \"billable\": true,\n        \"inLockedPeriod\": false,\n        \"billableAmount\": 75,\n        \"amount\": 75,\n        \"laborCost\": 75,\n        \"laborRate\": 15,\n        \"logDuration\": 18000,\n        \"logDurationBillable\": 18000,\n        \"laborDuration\": 18000,\n        \"startEndTime\": \"-\",\n        \"expense\": 0,\n        \"billableExpense\": 0,\n        \"cost\": 75,\n        \"note\": null,\n        \"status\": 0,\n        \"invoiceId\": null,\n        \"invoiced\": false,\n        \"billableHours\": 5,\n        \"billableHoursLogBillable\": 5,\n        \"laborHours\": 5,\n        \"customField1\": 0,\n        \"customField2\": 0,\n        \"customField3\": 0,\n        \"balance\": 0,\n        \"monthOfYear\": \"2022-10\",\n        \"weekNo\": 40,\n        \"weekOfYear\": \"2022-40\",\n        \"teams\": [\n            \"Development\"\n        ],\n        \"running\": false,\n        \"startTime\": null,\n        \"endTime\": null,\n        \"times\": [],\n        \"tagsData\": [],\n        \"attachments\": [],\n        \"roundType\": 2,\n        \"invoicedAmount\": 0,\n        \"uninvoicedAmount\": 75\n    },\n    {\n        \"logId\": 62571907,\n        \"userId\": 41873,\n        \"date\": \"2022-10-04T00:00:00\",\n        \"teamsNames\": \"Development\",\n        \"userName\": \"Luke Skywalker\",\n        \"userCustomId\": null,\n        \"clientId\": 244910,\n        \"clientName\": \"Demo Client\",\n        \"clientCustomId\": null,\n        \"projectId\": 1354014,\n        \"projectName\": \"Demo Project 2020\",\n        \"projectCustomId\": null,\n        \"projectStartDate\": null,\n        \"projectDueDate\": null,\n        \"projectBudgetType\": 4,\n        \"projectBudgetTarget\": 2,\n        \"projectBudgetPeriodType\": 1,\n        \"projectBudgetValue\": 2000,\n        \"taskListName\": \"Task list\",\n        \"taskId\": 7755175,\n        \"taskName\": \"Design\",\n        \"taskCustomId\": null,\n        \"taskStartDate\": null,\n        \"taskDueDate\": null,\n        \"taskCompleted\": false,\n        \"tags\": \"\",\n        \"rate\": 30,\n        \"billable\": true,\n        \"inLockedPeriod\": false,\n        \"billableAmount\": 255,\n        \"amount\": 255,\n        \"laborCost\": 340,\n        \"laborRate\": 40,\n        \"logDuration\": 30600,\n        \"logDurationBillable\": 30600,\n        \"laborDuration\": 30600,\n        \"startEndTime\": \"9:39 - 18:09\",\n        \"expense\": 0,\n        \"billableExpense\": 0,\n        \"cost\": 340,\n        \"note\": null,\n        \"status\": 0,\n        \"invoiceId\": null,\n        \"invoiced\": false,\n        \"billableHours\": 8.5,\n        \"billableHoursLogBillable\": 8.5,\n        \"laborHours\": 8.5,\n        \"customField1\": 0,\n        \"customField2\": 0,\n        \"customField3\": 0,\n        \"balance\": -85,\n        \"monthOfYear\": \"2022-10\",\n        \"weekNo\": 40,\n        \"weekOfYear\": \"2022-40\",\n        \"teams\": [\n            \"Development\"\n        ],\n        \"running\": false,\n        \"startTime\": \"2022-10-04T09:39:00+02:00\",\n        \"endTime\": \"2022-10-04T18:09:00+02:00\",\n        \"times\": [\n            {\n                \"id\": 0,\n                \"duration\": 30600,\n                \"startTime\": \"2022-10-04T09:39:00+02:00\",\n                \"endTime\": \"2022-10-04T18:09:00+02:00\",\n                \"running\": false,\n                \"deleted\": false\n            }\n        ],\n        \"tagsData\": [],\n        \"attachments\": [],\n        \"roundType\": 0,\n        \"invoicedAmount\": 0,\n        \"uninvoicedAmount\": 255\n    },\n    {\n        \"logId\": 62571913,\n        \"userId\": 41873,\n        \"date\": \"2022-10-05T00:00:00\",\n        \"teamsNames\": \"Development\",\n        \"userName\": \"Luke Skywalker\",\n        \"userCustomId\": null,\n        \"clientId\": 244910,\n        \"clientName\": \"Demo Client\",\n        \"clientCustomId\": null,\n        \"projectId\": 1354014,\n        \"projectName\": \"Demo Project 2020\",\n        \"projectCustomId\": null,\n        \"projectStartDate\": null,\n        \"projectDueDate\": null,\n        \"projectBudgetType\": 4,\n        \"projectBudgetTarget\": 2,\n        \"projectBudgetPeriodType\": 1,\n        \"projectBudgetValue\": 2000,\n        \"taskListName\": \"Task list\",\n        \"taskId\": 7755175,\n        \"taskName\": \"Design\",\n        \"taskCustomId\": null,\n        \"taskStartDate\": null,\n        \"taskDueDate\": null,\n        \"taskCompleted\": false,\n        \"tags\": \"\",\n        \"rate\": 30,\n        \"billable\": true,\n        \"inLockedPeriod\": false,\n        \"billableAmount\": 210,\n        \"amount\": 210,\n        \"laborCost\": 280,\n        \"laborRate\": 40,\n        \"logDuration\": 25200,\n        \"logDurationBillable\": 25200,\n        \"laborDuration\": 25200,\n        \"startEndTime\": \"-\",\n        \"expense\": 0,\n        \"billableExpense\": 0,\n        \"cost\": 280,\n        \"note\": null,\n        \"status\": 0,\n        \"invoiceId\": null,\n        \"invoiced\": false,\n        \"billableHours\": 7,\n        \"billableHoursLogBillable\": 7,\n        \"laborHours\": 7,\n        \"customField1\": 0,\n        \"customField2\": 0,\n        \"customField3\": 0,\n        \"balance\": -70,\n        \"monthOfYear\": \"2022-10\",\n        \"weekNo\": 40,\n        \"weekOfYear\": \"2022-40\",\n        \"teams\": [\n            \"Development\"\n        ],\n        \"running\": false,\n        \"startTime\": null,\n        \"endTime\": null,\n        \"times\": [],\n        \"tagsData\": [],\n        \"attachments\": [],\n        \"roundType\": 0,\n        \"invoicedAmount\": 0,\n        \"uninvoicedAmount\": 210\n    },\n    {\n        \"logId\": 62589390,\n        \"userId\": 41873,\n        \"date\": \"2022-10-06T00:00:00\",\n        \"teamsNames\": \"Development\",\n        \"userName\": \"Luke Skywalker\",\n        \"userCustomId\": null,\n        \"clientId\": 361591,\n        \"clientName\": \"Do not Remove\",\n        \"clientCustomId\": null,\n        \"projectId\": 1325054,\n        \"projectName\": \"Rounded project\",\n        \"projectCustomId\": null,\n        \"projectStartDate\": null,\n        \"projectDueDate\": null,\n        \"projectBudgetType\": 3,\n        \"projectBudgetTarget\": 2,\n        \"projectBudgetPeriodType\": 0,\n        \"projectBudgetValue\": 1000,\n        \"taskListName\": \"\",\n        \"taskId\": null,\n        \"taskName\": \"\",\n        \"taskCustomId\": null,\n        \"taskStartDate\": null,\n        \"taskDueDate\": null,\n        \"taskCompleted\": null,\n        \"tags\": \"\",\n        \"rate\": 100,\n        \"billable\": true,\n        \"inLockedPeriod\": false,\n        \"billableAmount\": 50,\n        \"amount\": 50,\n        \"laborCost\": 0.67,\n        \"laborRate\": 40,\n        \"logDuration\": 1800,\n        \"logDurationBillable\": 1800,\n        \"laborDuration\": 60,\n        \"startEndTime\": \"-\",\n        \"expense\": 0,\n        \"billableExpense\": 0,\n        \"cost\": 0.67,\n        \"note\": \"\",\n        \"status\": 0,\n        \"invoiceId\": null,\n        \"invoiced\": false,\n        \"billableHours\": 0.5,\n        \"billableHoursLogBillable\": 0.5,\n        \"laborHours\": 0.02,\n        \"customField1\": 0,\n        \"customField2\": 0,\n        \"customField3\": 0,\n        \"balance\": 49.33,\n        \"monthOfYear\": \"2022-10\",\n        \"weekNo\": 40,\n        \"weekOfYear\": \"2022-40\",\n        \"teams\": [\n            \"Development\"\n        ],\n        \"running\": false,\n        \"startTime\": null,\n        \"endTime\": null,\n        \"times\": [],\n        \"tagsData\": [],\n        \"attachments\": [],\n        \"roundType\": 1,\n        \"invoicedAmount\": 0,\n        \"uninvoicedAmount\": 50\n    },\n    {\n        \"logId\": 62589918,\n        \"userId\": 41873,\n        \"date\": \"2022-10-06T00:00:00\",\n        \"teamsNames\": \"Development\",\n        \"userName\": \"Luke Skywalker\",\n        \"userCustomId\": null,\n        \"clientId\": 407082,\n        \"clientName\": \"Admin\",\n        \"clientCustomId\": null,\n        \"projectId\": 1392490,\n        \"projectName\": \"New name for a Project from API\",\n        \"projectCustomId\": null,\n        \"projectStartDate\": null,\n        \"projectDueDate\": null,\n        \"projectBudgetType\": 2,\n        \"projectBudgetTarget\": 2,\n        \"projectBudgetPeriodType\": 0,\n        \"projectBudgetValue\": 1000,\n        \"taskListName\": \"Task list\",\n        \"taskId\": 10522097,\n        \"taskName\": \"Task \",\n        \"taskCustomId\": null,\n        \"taskStartDate\": null,\n        \"taskDueDate\": null,\n        \"taskCompleted\": true,\n        \"tags\": \"\",\n        \"rate\": 30,\n        \"billable\": true,\n        \"inLockedPeriod\": false,\n        \"billableAmount\": 22.5,\n        \"amount\": 22.5,\n        \"laborCost\": 22,\n        \"laborRate\": 40,\n        \"logDuration\": 2700,\n        \"logDurationBillable\": 2700,\n        \"laborDuration\": 1980,\n        \"startEndTime\": \"9:27 - 10:00\",\n        \"expense\": 0,\n        \"billableExpense\": 0,\n        \"cost\": 22,\n        \"note\": \"\",\n        \"status\": 0,\n        \"invoiceId\": 83037,\n        \"invoiced\": true,\n        \"billableHours\": 0.75,\n        \"billableHoursLogBillable\": 0.75,\n        \"laborHours\": 0.55,\n        \"customField1\": 0,\n        \"customField2\": 0,\n        \"customField3\": 0,\n        \"balance\": 0.5,\n        \"monthOfYear\": \"2022-10\",\n        \"weekNo\": 40,\n        \"weekOfYear\": \"2022-40\",\n        \"teams\": [\n            \"Development\"\n        ],\n        \"running\": false,\n        \"startTime\": \"2022-10-06T09:27:01+02:00\",\n        \"endTime\": \"2022-10-06T10:00:01+02:00\",\n        \"times\": [\n            {\n                \"id\": 0,\n                \"duration\": 1980,\n                \"startTime\": \"2022-10-06T09:27:01+02:00\",\n                \"endTime\": \"2022-10-06T10:00:01+02:00\",\n                \"running\": false,\n                \"deleted\": false\n            }\n        ],\n        \"tagsData\": [],\n        \"attachments\": [],\n        \"roundType\": 1,\n        \"invoicedAmount\": 22.5,\n        \"uninvoicedAmount\": 0\n    },\n    {\n        \"logId\": 62590376,\n        \"userId\": 41873,\n        \"date\": \"2022-10-06T00:00:00\",\n        \"teamsNames\": \"Development\",\n        \"userName\": \"Luke Skywalker\",\n        \"userCustomId\": null,\n        \"clientId\": 412714,\n        \"clientName\": \"Audi\",\n        \"clientCustomId\": null,\n        \"projectId\": 1594924,\n        \"projectName\": \"Task based budget\",\n        \"projectCustomId\": null,\n        \"projectStartDate\": null,\n        \"projectDueDate\": null,\n        \"projectBudgetType\": 2,\n        \"projectBudgetTarget\": 3,\n        \"projectBudgetPeriodType\": 0,\n        \"projectBudgetValue\": 153,\n        \"taskListName\": \"\",\n        \"taskId\": null,\n        \"taskName\": \"\",\n        \"taskCustomId\": null,\n        \"taskStartDate\": null,\n        \"taskDueDate\": null,\n        \"taskCompleted\": null,\n        \"tags\": \"\",\n        \"rate\": 0,\n        \"billable\": true,\n        \"inLockedPeriod\": false,\n        \"billableAmount\": 0,\n        \"amount\": 0,\n        \"laborCost\": 11.01,\n        \"laborRate\": 40,\n        \"logDuration\": 991,\n        \"logDurationBillable\": 991,\n        \"laborDuration\": 991,\n        \"startEndTime\": \"9:44 - 10:00\",\n        \"expense\": 0,\n        \"billableExpense\": 0,\n        \"cost\": 11.01,\n        \"note\": null,\n        \"status\": 2,\n        \"invoiceId\": 84082,\n        \"invoiced\": true,\n        \"billableHours\": 0.28,\n        \"billableHoursLogBillable\": 0.28,\n        \"laborHours\": 0.28,\n        \"customField1\": 0,\n        \"customField2\": 0,\n        \"customField3\": 0,\n        \"balance\": -11.01,\n        \"monthOfYear\": \"2022-10\",\n        \"weekNo\": 40,\n        \"weekOfYear\": \"2022-40\",\n        \"teams\": [\n            \"Development\"\n        ],\n        \"running\": false,\n        \"startTime\": \"2022-10-06T09:44:08+02:00\",\n        \"endTime\": \"2022-10-06T10:00:39+02:00\",\n        \"times\": [\n            {\n                \"id\": 0,\n                \"duration\": 991,\n                \"startTime\": \"2022-10-06T09:44:08+02:00\",\n                \"endTime\": \"2022-10-06T10:00:39+02:00\",\n                \"running\": false,\n                \"deleted\": false\n            }\n        ],\n        \"tagsData\": [],\n        \"attachments\": [],\n        \"roundType\": 0,\n        \"invoicedAmount\": 0,\n        \"uninvoicedAmount\": 0\n    },\n    {\n        \"logId\": 62590972,\n        \"userId\": 41873,\n        \"date\": \"2022-10-06T00:00:00\",\n        \"teamsNames\": \"Development\",\n        \"userName\": \"Luke Skywalker\",\n        \"userCustomId\": null,\n        \"clientId\": null,\n        \"clientName\": \"\",\n        \"clientCustomId\": null,\n        \"projectId\": 1910526,\n        \"projectName\": \"New project 4035\",\n        \"projectCustomId\": null,\n        \"projectStartDate\": null,\n        \"projectDueDate\": null,\n        \"projectBudgetType\": 1,\n        \"projectBudgetTarget\": 1,\n        \"projectBudgetPeriodType\": null,\n        \"projectBudgetValue\": 0,\n        \"taskListName\": \"\",\n        \"taskId\": null,\n        \"taskName\": \"\",\n        \"taskCustomId\": null,\n        \"taskStartDate\": null,\n        \"taskDueDate\": null,\n        \"taskCompleted\": null,\n        \"tags\": \"\",\n        \"rate\": 0,\n        \"billable\": false,\n        \"inLockedPeriod\": false,\n        \"billableAmount\": 0,\n        \"amount\": 0,\n        \"laborCost\": 120,\n        \"laborRate\": 40,\n        \"logDuration\": 10800,\n        \"logDurationBillable\": 0,\n        \"laborDuration\": 10800,\n        \"startEndTime\": \"7:59 - 10:59\",\n        \"expense\": 0,\n        \"billableExpense\": 0,\n        \"cost\": 120,\n        \"note\": \"\",\n        \"status\": 0,\n        \"invoiceId\": null,\n        \"invoiced\": false,\n        \"billableHours\": 3,\n        \"billableHoursLogBillable\": 0,\n        \"laborHours\": 3,\n        \"customField1\": 0,\n        \"customField2\": 0,\n        \"customField3\": 0,\n        \"balance\": -120,\n        \"monthOfYear\": \"2022-10\",\n        \"weekNo\": 40,\n        \"weekOfYear\": \"2022-40\",\n        \"teams\": [\n            \"Development\"\n        ],\n        \"running\": false,\n        \"startTime\": \"2022-10-06T07:59:48.374+00:00\",\n        \"endTime\": \"2022-10-06T10:59:48.374+00:00\",\n        \"times\": [\n            {\n                \"id\": 0,\n                \"duration\": 10800,\n                \"startTime\": \"2022-10-06T07:59:48.374+00:00\",\n                \"endTime\": \"2022-10-06T10:59:48.374+00:00\",\n                \"running\": false,\n                \"deleted\": false\n            }\n        ],\n        \"tagsData\": [],\n        \"attachments\": [],\n        \"roundType\": 0,\n        \"invoicedAmount\": 0,\n        \"uninvoicedAmount\": 0\n    },\n    {\n        \"logId\": 62591047,\n        \"userId\": 41873,\n        \"date\": \"2022-10-06T00:00:00\",\n        \"teamsNames\": \"Development\",\n        \"userName\": \"Luke Skywalker\",\n        \"userCustomId\": null,\n        \"clientId\": null,\n        \"clientName\": \"\",\n        \"clientCustomId\": null,\n        \"projectId\": 1572125,\n        \"projectName\": \"Expense\",\n        \"projectCustomId\": null,\n        \"projectStartDate\": null,\n        \"projectDueDate\": null,\n        \"projectBudgetType\": 1,\n        \"projectBudgetTarget\": 1,\n        \"projectBudgetPeriodType\": null,\n        \"projectBudgetValue\": 0,\n        \"taskListName\": \"\",\n        \"taskId\": null,\n        \"taskName\": \"\",\n        \"taskCustomId\": null,\n        \"taskStartDate\": null,\n        \"taskDueDate\": null,\n        \"taskCompleted\": null,\n        \"tags\": \"\",\n        \"rate\": 0,\n        \"billable\": false,\n        \"inLockedPeriod\": false,\n        \"billableAmount\": 0,\n        \"amount\": 0,\n        \"laborCost\": 2.8,\n        \"laborRate\": 40,\n        \"logDuration\": 252,\n        \"logDurationBillable\": 0,\n        \"laborDuration\": 252,\n        \"startEndTime\": \"8:01 - 8:06\",\n        \"expense\": 0,\n        \"billableExpense\": 0,\n        \"cost\": 2.8,\n        \"note\": null,\n        \"status\": 2,\n        \"invoiceId\": null,\n        \"invoiced\": false,\n        \"billableHours\": 0.07,\n        \"billableHoursLogBillable\": 0,\n        \"laborHours\": 0.07,\n        \"customField1\": 0,\n        \"customField2\": 0,\n        \"customField3\": 0,\n        \"balance\": -2.8,\n        \"monthOfYear\": \"2022-10\",\n        \"weekNo\": 40,\n        \"weekOfYear\": \"2022-40\",\n        \"teams\": [\n            \"Development\"\n        ],\n        \"running\": false,\n        \"startTime\": \"2022-10-06T08:01:51.038+00:00\",\n        \"endTime\": \"2022-10-06T08:06:03.038+00:00\",\n        \"times\": [\n            {\n                \"id\": 0,\n                \"duration\": 252,\n                \"startTime\": \"2022-10-06T08:01:51.038+00:00\",\n                \"endTime\": \"2022-10-06T08:06:03.038+00:00\",\n                \"running\": false,\n                \"deleted\": false\n            }\n        ],\n        \"tagsData\": [],\n        \"attachments\": [],\n        \"roundType\": 0,\n        \"invoicedAmount\": 0,\n        \"uninvoicedAmount\": 0\n    }\n]"}],"_postman_id":"a023832e-c39d-4cff-a639-d673fb8846c1"},{"name":"Dashboard","event":[{"listen":"test","script":{"id":"c307cb7f-7c83-4c5c-af91-c230fb88affc","exec":[""],"type":"text/javascript"}}],"id":"662b0883-069f-40a2-bbb5-bc399bce7717","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"api-version","type":"text","value":"1.0"},{"key":"Authorization","type":"text","value":"Bearer {{AccessToken}}"}],"url":"https://api2.myhours.com/api/Reports/distribution?DateFrom=2022-12-01&DateTo=2022-12-30&ReportGroup=1","description":"<p>Dashboard endpoint returns total hours, billable hours, billable amount and costs in a given time frame.</p>\n<p><code>duration</code> - total time logged in seconds (rounded)</p>\n<p><code>hours</code> - total hours logged in a decimal format (rounded)</p>\n<p><code>billableHours</code> - total billable hours logged (rounded)</p>\n<p><code>laborDuration</code> - total time logged in seconds (non-rounded)</p>\n<h4 id=\"reportgroup\"><code>ReportGroup</code></h4>\n<p><code>0</code> - Group by Project-Tasks (subitems)<br /><code>1</code> - Group by Tasks<br /><code>2</code> - Group by Client-Projects (subitems)<br /><code>3</code> - Group by Team members</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"c5ffc35a-94ad-4516-901b-6ea3f1aed0c2","id":"c5ffc35a-94ad-4516-901b-6ea3f1aed0c2","name":"My Hours  API v1.1","type":"collection"}},"urlObject":{"protocol":"https","path":["api","Reports","distribution"],"host":["api2","myhours","com"],"query":[{"key":"DateFrom","value":"2022-12-01"},{"key":"DateTo","value":"2022-12-30"},{"key":"ReportGroup","value":"1"}],"variable":[]}},"response":[{"id":"d06e7271-3782-455a-98d9-0e209c034625","name":"Dashboard","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"api-version","type":"text","value":"1.0"},{"key":"Authorization","type":"text","value":"Bearer {{AccessToken}}"}],"url":{"raw":"https://api2.myhours.com/api/Reports/distribution?DateFrom=2022-12-01&DateTo=2022-12-30&ReportGroup=1","protocol":"https","host":["api2","myhours","com"],"path":["api","Reports","distribution"],"query":[{"key":"DateFrom","value":"2022-12-01"},{"key":"DateTo","value":"2022-12-30"},{"key":"ReportGroup","value":"1"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Wed, 05 Apr 2023 13:24:46 GMT"},{"key":"Server","value":"Microsoft-IIS/10.0"},{"key":"Content-Encoding","value":"gzip"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Request-Context","value":"appId=cid-v1:8277891d-c61a-462a-86b2-975e13de4761"},{"key":"client-version","value":"6.5.1"},{"key":"new-version-needs-signout","value":"False"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Powered-By","value":"ASP.NET"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"itemName\": \"\",\n        \"subitemName\": \"\",\n        \"duration\": 459872,\n        \"hours\": 127.75,\n        \"billableHours\": 35.05,\n        \"billableAmount\": 1070.47,\n        \"laborDuration\": 459872,\n        \"totalCost\": 3929.61\n    },\n    {\n        \"itemName\": \"Development\",\n        \"subitemName\": \"\",\n        \"duration\": 88320,\n        \"hours\": 24.53,\n        \"billableHours\": 24.53,\n        \"billableAmount\": 328.33,\n        \"laborDuration\": 88320,\n        \"totalCost\": 706.67\n    },\n    {\n        \"itemName\": \"Default task\",\n        \"subitemName\": \"\",\n        \"duration\": 41580,\n        \"hours\": 11.55,\n        \"billableHours\": 8.55,\n        \"billableAmount\": 613,\n        \"laborDuration\": 41580,\n        \"totalCost\": 562\n    },\n    {\n        \"itemName\": \"Changing Light switch very loooong\",\n        \"subitemName\": \"\",\n        \"duration\": 7200,\n        \"hours\": 2,\n        \"billableHours\": 2,\n        \"billableAmount\": 0,\n        \"laborDuration\": 7200,\n        \"totalCost\": 80\n    },\n    {\n        \"itemName\": \"Emails\",\n        \"subitemName\": \"\",\n        \"duration\": 3600,\n        \"hours\": 1,\n        \"billableHours\": 1,\n        \"billableAmount\": 60,\n        \"laborDuration\": 3600,\n        \"totalCost\": 40\n    },\n    {\n        \"itemName\": \"Meeting\",\n        \"subitemName\": \"\",\n        \"duration\": 108,\n        \"hours\": 0.04,\n        \"billableHours\": 0.02,\n        \"billableAmount\": 0.45,\n        \"laborDuration\": 108,\n        \"totalCost\": 1.2\n    },\n    {\n        \"itemName\": \"Comp code #123\",\n        \"subitemName\": \"\",\n        \"duration\": 40606,\n        \"hours\": 11.25,\n        \"billableHours\": 5.27,\n        \"billableAmount\": 131.84,\n        \"laborDuration\": 40606,\n        \"totalCost\": 281.96\n    },\n    {\n        \"itemName\": \"Comp code #123 Comp code #123 Comp code #123 Comp code #123 Comp code #123 Comp code #123 Comp code #123 Comp code #123 Comp code #123\",\n        \"subitemName\": \"\",\n        \"duration\": 22,\n        \"hours\": 0,\n        \"billableHours\": 0,\n        \"billableAmount\": 0.16,\n        \"laborDuration\": 22,\n        \"totalCost\": 0.16\n    },\n    {\n        \"itemName\": \"Mentoring\",\n        \"subitemName\": \"\",\n        \"duration\": 79200,\n        \"hours\": 22,\n        \"billableHours\": 0,\n        \"billableAmount\": 0,\n        \"laborDuration\": 79200,\n        \"totalCost\": 550\n    },\n    {\n        \"itemName\": \"Ray beam color correction\",\n        \"subitemName\": \"\",\n        \"duration\": 10800,\n        \"hours\": 3,\n        \"billableHours\": 3,\n        \"billableAmount\": 165,\n        \"laborDuration\": 10800,\n        \"totalCost\": 75\n    },\n    {\n        \"itemName\": \"HTML coding\",\n        \"subitemName\": \"\",\n        \"duration\": 59400,\n        \"hours\": 16.5,\n        \"billableHours\": 16.5,\n        \"billableAmount\": 1650,\n        \"laborDuration\": 59400,\n        \"totalCost\": 825\n    }\n]"}],"_postman_id":"662b0883-069f-40a2-bbb5-bc399bce7717"}],"id":"e14b7341-ffe6-42f1-a08a-29ea24be406d","description":"<p>Access all account's time logs in a given date range.</p>\n<p>Filtering is not supported via API at this stage. Contact us for more details.</p>\n","event":[{"listen":"prerequest","script":{"id":"73b64aca-ccd5-4b32-a6be-f1048555030a","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"71d5b0d4-4ee1-4336-9cf2-99807d79919e","type":"text/javascript","exec":[""]}}],"_postman_id":"e14b7341-ffe6-42f1-a08a-29ea24be406d","auth":{"type":"apikey","apikey":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"c5ffc35a-94ad-4516-901b-6ea3f1aed0c2","id":"c5ffc35a-94ad-4516-901b-6ea3f1aed0c2","name":"My Hours  API v1.1","type":"collection"}}},{"name":"Clients and Tags","item":[{"name":"All Clients","event":[{"listen":"prerequest","script":{"id":"627ebd88-2096-46df-a54d-68cfb3b2b287","exec":[""],"type":"text/javascript"}},{"listen":"test","script":{"id":"a6794119-4a9a-49a4-a9c8-3cbccbf04c14","exec":[""],"type":"text/javascript"}}],"id":"79916508-c2ba-4ed4-9d97-bbb769687c11","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"api-version","type":"text","value":"1.0"},{"key":"Authorization","type":"text","value":"Bearer {{AccessToken}}"}],"url":"https://api2.myhours.com/api/Clients","description":"<p>List all clients in the account. Active or archived.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"c5ffc35a-94ad-4516-901b-6ea3f1aed0c2","id":"c5ffc35a-94ad-4516-901b-6ea3f1aed0c2","name":"My Hours  API v1.1","type":"collection"}},"urlObject":{"protocol":"https","path":["api","Clients"],"host":["api2","myhours","com"],"query":[],"variable":[]}},"response":[{"id":"e73a253e-93c8-453f-a1f4-755ae29e782b","name":"All Clients","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"api-version","type":"text","value":"1.0"},{"key":"Authorization","type":"text","value":"Bearer {{AccessToken}}"}],"url":"https://api2.myhours.com/api/Clients"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Length","value":"778"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Server","value":"Microsoft-IIS/10.0"},{"key":"Request-Context","value":"appId=cid-v1:640e1a57-f7c0-4b1d-bf16-083678d81f81"},{"key":"client-version","value":"5.0.0"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Powered-By","value":"ASP.NET"},{"key":"Date","value":"Thu, 10 Dec 2020 10:24:18 GMT"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"contactName\": \"Leia Organa\",\n        \"contactEmail\": \"leia.organa@myhours.com\",\n        \"name\": \"Rebel Alliance\",\n        \"archived\": false,\n        \"dateArchived\": null,\n        \"customId\": null,\n        \"id\": 69931\n    },\n    {\n        \"contactName\": \"Kylo Ren\",\n        \"contactEmail\": \"kylo.ren@myhours.com\",\n        \"name\": \"First order\",\n        \"archived\": false,\n        \"dateArchived\": null,\n        \"customId\": null,\n        \"id\": 70185\n    },\n    {\n        \"contactName\": null,\n        \"contactEmail\": null,\n        \"name\": \"Imported client\",\n        \"archived\": false,\n        \"dateArchived\": null,\n        \"customId\": null,\n        \"id\": 278546\n    },\n    {\n        \"contactName\": null,\n        \"contactEmail\": null,\n        \"name\": \"Spica\",\n        \"archived\": false,\n        \"dateArchived\": null,\n        \"customId\": null,\n        \"id\": 278839\n    },\n    {\n        \"contactName\": null,\n        \"contactEmail\": null,\n        \"name\": \"Clientele\",\n        \"archived\": true,\n        \"dateArchived\": \"2020-02-16T18:00:13.1952754+00:00\",\n        \"customId\": null,\n        \"id\": 245537\n    }\n]"}],"_postman_id":"79916508-c2ba-4ed4-9d97-bbb769687c11"},{"name":"Create Client","event":[{"listen":"prerequest","script":{"id":"68280278-23b0-4d57-a4b2-286de83c81d1","exec":[""],"type":"text/javascript"}},{"listen":"test","script":{"id":"ba338c6d-d357-4a67-9e9e-93619fb35a84","exec":[""],"type":"text/javascript"}}],"id":"322d0c4c-951d-4898-94fa-ac72e3890b26","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"api-version","type":"text","value":"1.0"},{"key":"Authorization","type":"text","value":"Bearer {{AccessToken}}"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"API client\",\n  \"contactName\": \"Demo Clientelle\",\n  \"contactEmail\": \"\",\n  \"contactPhone\": \"\",\n  \"address\": \"\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api2.myhours.com/api/Clients","description":"<p>Create a new client.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"c5ffc35a-94ad-4516-901b-6ea3f1aed0c2","id":"c5ffc35a-94ad-4516-901b-6ea3f1aed0c2","name":"My Hours  API v1.1","type":"collection"}},"urlObject":{"protocol":"https","path":["api","Clients"],"host":["api2","myhours","com"],"query":[],"variable":[]}},"response":[{"id":"7fe1cc43-8e63-446e-83e9-9849323f227b","name":"Create Client","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"api-version","type":"text","value":"1.0"},{"key":"Authorization","type":"text","value":"Bearer {{AccessToken}}"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"API client\",\n  \"contactName\": \"Demo Clientelle\",\n  \"contactEmail\": \"\",\n  \"contactPhone\": \"\",\n  \"address\": \"\",\n    \"customId\": null\n}","options":{"raw":{"language":"json"}}},"url":"https://api2.myhours.com/api/Clients"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Length","value":"268"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Server","value":"Microsoft-IIS/10.0"},{"key":"Request-Context","value":"appId=cid-v1:640e1a57-f7c0-4b1d-bf16-083678d81f81"},{"key":"client-version","value":"5.0.0"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Powered-By","value":"ASP.NET"},{"key":"Date","value":"Thu, 10 Dec 2020 10:35:49 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"name\": \"API client\",\n    \"contactName\": \"Demo Clientelle\",\n    \"contactEmail\": \"\",\n    \"contactPhone\": \"\",\n    \"address\": \"\",\n    \"taxName\": null,\n    \"taxValue\": 0,\n    \"taxNumber\": null,\n    \"approved\": false,\n    \"archived\": false,\n    \"dateArchived\": null,\n    \"createType\": 0,\n    \"accountId\": 37440,\n    \"firstLogDate\": null,\n    \"id\": 279203\n}"}],"_postman_id":"322d0c4c-951d-4898-94fa-ac72e3890b26"},{"name":"Edit Client","event":[{"listen":"prerequest","script":{"id":"6e45e53f-7ae7-4766-9933-d54ef1870f54","exec":[""],"type":"text/javascript"}},{"listen":"test","script":{"id":"e85b9aa6-168c-4f89-ac37-6b631594481c","exec":[""],"type":"text/javascript"}}],"id":"950e4d1b-776a-4d63-882e-37902dac3bfb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Accept","value":"application/json"},{"key":"api-version","type":"text","value":"1.0"},{"key":"Authorization","type":"text","value":"Bearer {{AccessToken}}"}],"body":{"mode":"raw","raw":"{\n  \"id\": 0,\n  \"name\": \"string\",\n  \"contactName\": \"string\",\n  \"contactEmail\": \"string\",\n  \"contactPhone\": \"string\",\n  \"address\": \"string\",\n  \"taxName\": \"string\",\n  \"taxValue\": 0,\n  \"taxNumber\": \"string\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api2.myhours.com/api/Clients","description":"<p>Update client's attributes.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"c5ffc35a-94ad-4516-901b-6ea3f1aed0c2","id":"c5ffc35a-94ad-4516-901b-6ea3f1aed0c2","name":"My Hours  API v1.1","type":"collection"}},"urlObject":{"protocol":"https","path":["api","Clients"],"host":["api2","myhours","com"],"query":[],"variable":[]}},"response":[{"id":"0709559e-bfec-478d-9f68-712f0c7b2e1c","name":"Edit Client","originalRequest":{"method":"PUT","header":[{"key":"Accept","value":"application/json"},{"key":"api-version","type":"text","value":"1.0"},{"key":"Authorization","type":"text","value":"Bearer {{AccessToken}}"}],"body":{"mode":"raw","raw":"{\n  \"id\": 279203,\n  \"name\": \"API client\",\n  \"contactName\": \"Demo Clientelle\",\n  \"contactEmail\": \"demo.client@example.com\",\n  \"contactPhone\": \"\",\n  \"address\": \"\",\n  \"taxName\": \"\",\n  \"taxValue\": 0,\n  \"taxNumber\": \"\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api2.myhours.com/api/Clients"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null}],"_postman_id":"950e4d1b-776a-4d63-882e-37902dac3bfb"},{"name":"All Tags","event":[{"listen":"prerequest","script":{"id":"a08c27f2-b55f-43c2-b212-590f7d47cad4","exec":[""],"type":"text/javascript"}},{"listen":"test","script":{"id":"1af2980c-3378-452e-97fb-3f14e7006ee3","exec":[""],"type":"text/javascript"}}],"id":"a7ef468e-120b-40de-ad52-79e9d485f688","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"api-version","type":"text","value":"1.0"},{"key":"Authorization","type":"text","value":"Bearer {{AccessToken}}"}],"url":"https://api2.myhours.com/api/Tags","description":"<p>List all tags in the account. Active or archived.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"c5ffc35a-94ad-4516-901b-6ea3f1aed0c2","id":"c5ffc35a-94ad-4516-901b-6ea3f1aed0c2","name":"My Hours  API v1.1","type":"collection"}},"urlObject":{"protocol":"https","path":["api","Tags"],"host":["api2","myhours","com"],"query":[],"variable":[]}},"response":[{"id":"17b50271-1c80-4311-be8e-1ded85e07b4a","name":"All Tags","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"api-version","type":"text","value":"1.0"},{"key":"Authorization","type":"text","value":"Bearer {{AccessToken}}"}],"url":"https://api2.myhours.com/api/Tags"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Length","value":"744"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Server","value":"Microsoft-IIS/10.0"},{"key":"Request-Context","value":"appId=cid-v1:640e1a57-f7c0-4b1d-bf16-083678d81f81"},{"key":"client-version","value":"5.0.0"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Powered-By","value":"ASP.NET"},{"key":"Date","value":"Thu, 10 Dec 2020 10:26:01 GMT"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"name\": \"Meetings\",\n        \"hexColor\": \"#fd7e14\",\n        \"archived\": false,\n        \"dateArchived\": null,\n        \"id\": 56\n    },\n    {\n        \"name\": \"Designing\",\n        \"hexColor\": \"#6f42c1\",\n        \"archived\": false,\n        \"dateArchived\": null,\n        \"id\": 157\n    },\n    {\n        \"name\": \"Consulting\",\n        \"hexColor\": \"#fd7e14\",\n        \"archived\": false,\n        \"dateArchived\": null,\n        \"id\": 1538\n    },\n    {\n        \"name\": \"Phone call\",\n        \"hexColor\": \"#e83e8c\",\n        \"archived\": false,\n        \"dateArchived\": null,\n        \"id\": 1539\n    },\n    {\n        \"name\": \"Paid for upfront\",\n        \"hexColor\": \"#007bff\",\n        \"archived\": false,\n        \"dateArchived\": null,\n        \"id\": 1540\n    },\n    {\n        \"name\": \"Remote work\",\n        \"hexColor\": \"#ffc107\",\n        \"archived\": false,\n        \"dateArchived\": null,\n        \"id\": 1541\n    },\n    {\n        \"name\": \"Field work\",\n        \"hexColor\": \"#17a2b8\",\n        \"archived\": false,\n        \"dateArchived\": null,\n        \"id\": 1542\n    }\n]"}],"_postman_id":"a7ef468e-120b-40de-ad52-79e9d485f688"},{"name":"Create Tag","event":[{"listen":"prerequest","script":{"id":"7d1b284f-4344-4005-ba66-ba403ab5e98d","exec":[""],"type":"text/javascript"}},{"listen":"test","script":{"id":"5c56d1a2-c508-4759-8d0f-4f30bc9ee6ff","exec":[""],"type":"text/javascript"}}],"id":"cedf3db6-3ce2-4a34-91e7-2c9f8afcd145","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"api-version","type":"text","value":"1.0"},{"key":"Authorization","type":"text","value":"Bearer {{AccessToken}}"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"API Tag\",\n    \"hexColor\": \"#2DB67E\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api2.myhours.com/api/Tags","description":"<p>List all tags in the account. Active or archived.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"c5ffc35a-94ad-4516-901b-6ea3f1aed0c2","id":"c5ffc35a-94ad-4516-901b-6ea3f1aed0c2","name":"My Hours  API v1.1","type":"collection"}},"urlObject":{"protocol":"https","path":["api","Tags"],"host":["api2","myhours","com"],"query":[],"variable":[]}},"response":[{"id":"dc471838-9c26-4d47-88ad-ea01ec66bf61","name":"Create Tag","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"api-version","type":"text","value":"1.0"},{"key":"Authorization","type":"text","value":"Bearer {{AccessToken}}"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"API Tag\",\n    \"hexColor\": \"#2DB67E\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api2.myhours.com/api/Tags"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Length","value":"86"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Server","value":"Microsoft-IIS/10.0"},{"key":"Request-Context","value":"appId=cid-v1:640e1a57-f7c0-4b1d-bf16-083678d81f81"},{"key":"client-version","value":"5.0.0"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Powered-By","value":"ASP.NET"},{"key":"Date","value":"Thu, 10 Dec 2020 10:33:15 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"name\": \"API Tag\",\n    \"hexColor\": \"#2DB67E\",\n    \"archived\": false,\n    \"dateArchived\": null,\n    \"id\": 5273\n}"}],"_postman_id":"cedf3db6-3ce2-4a34-91e7-2c9f8afcd145"}],"id":"52af2ae9-a368-4876-ac58-f4d47fe88de3","_postman_id":"52af2ae9-a368-4876-ac58-f4d47fe88de3","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"c5ffc35a-94ad-4516-901b-6ea3f1aed0c2","id":"c5ffc35a-94ad-4516-901b-6ea3f1aed0c2","name":"My Hours  API v1.1","type":"collection"}}},{"name":"Users","item":[{"name":"All Team members","event":[{"listen":"prerequest","script":{"id":"0bc83f5d-107c-4b2c-8fd0-ff17536d7881","exec":[""],"type":"text/javascript"}},{"listen":"test","script":{"id":"cafdd5f6-555a-46c5-86ab-14f88a8d7eca","exec":[""],"type":"text/javascript"}}],"id":"da5fa9cc-f337-4888-bf18-21e68a07ee3d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"api-version","type":"text","value":"1.0"},{"key":"Authorization","type":"text","value":"Bearer {{AccessToken}}"}],"url":"https://api2.myhours.com/api/Users/getAll","description":"<p>List all team members in the account. Active or archived.</p>\n<p><code>roleType</code>:\n<code>2</code> - Admin\n<code>1</code> - Manager\n<code>0</code> - Normal</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"c5ffc35a-94ad-4516-901b-6ea3f1aed0c2","id":"c5ffc35a-94ad-4516-901b-6ea3f1aed0c2","name":"My Hours  API v1.1","type":"collection"}},"urlObject":{"protocol":"https","path":["api","Users","getAll"],"host":["api2","myhours","com"],"query":[],"variable":[]}},"response":[{"id":"9b7410d0-f5b5-4bb6-bb77-9a5eb791cf06","name":"All Team members","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"api-version","type":"text","value":"1.0"},{"key":"Authorization","type":"text","value":"Bearer {{AccessToken}}"}],"url":"https://api2.myhours.com/api/Users/getAll"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Length","value":"703"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Wed, 30 Nov 2022 07:45:26 GMT"},{"key":"Server","value":"Microsoft-IIS/10.0"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Request-Context","value":"appId=cid-v1:8277891d-c61a-462a-86b2-975e13de4761"},{"key":"client-version","value":"6.3.2"},{"key":"new-version-needs-signout","value":"False"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Powered-By","value":"ASP.NET"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"name\": \"Luke Skywalker\",\n        \"archived\": false,\n        \"dateArchived\": null,\n        \"active\": true,\n        \"accountOwner\": true,\n        \"email\": \"luke.skywalker@myhours.com\",\n        \"rate\": 40,\n        \"billableRate\": 60,\n        \"roleType\": 2,\n        \"customId\": null,\n        \"id\": 41873\n    },\n    {\n        \"name\": \"Han Solo - GP\",\n        \"archived\": true,\n        \"dateArchived\": \"2019-10-02T13:14:57.1739975+00:00\",\n        \"active\": true,\n        \"accountOwner\": false,\n        \"email\": \"han.solo@myhours.com\",\n        \"rate\": 20,\n        \"billableRate\": 20,\n        \"roleType\": 2,\n        \"customId\": null,\n        \"id\": 41875\n    },\n    {\n        \"name\": \"Leia Organa\",\n        \"archived\": false,\n        \"dateArchived\": null,\n        \"active\": true,\n        \"accountOwner\": false,\n        \"email\": \"leia.organa@myhours.com\",\n        \"rate\": 30,\n        \"billableRate\": 40,\n        \"roleType\": 1,\n        \"customId\": null,\n        \"id\": 41876\n    },\n    {\n        \"name\": \"Lando Calrissian\",\n        \"archived\": false,\n        \"dateArchived\": null,\n        \"active\": true,\n        \"accountOwner\": false,\n        \"email\": \"lando.calrissian@myhours.com\",\n        \"rate\": 25,\n        \"billableRate\": 25,\n        \"roleType\": 0,\n        \"customId\": null,\n        \"id\": 41878\n    },\n    {\n        \"name\": \"Mace Windu\",\n        \"archived\": false,\n        \"dateArchived\": null,\n        \"active\": true,\n        \"accountOwner\": false,\n        \"email\": \"mace.windu@myhours.com\",\n        \"rate\": 50,\n        \"billableRate\": 50,\n        \"roleType\": 1,\n        \"customId\": null,\n        \"id\": 41880\n    },\n    {\n        \"name\": \"Ashoka Thano\",\n        \"archived\": false,\n        \"dateArchived\": null,\n        \"active\": false,\n        \"accountOwner\": false,\n        \"email\": \"ashoka.thano@myhours.com\",\n        \"rate\": 60,\n        \"billableRate\": 50,\n        \"roleType\": 2,\n        \"customId\": null,\n        \"id\": 874662\n    },\n    {\n        \"name\": \"Darth Sidius\",\n        \"archived\": false,\n        \"dateArchived\": null,\n        \"active\": true,\n        \"accountOwner\": false,\n        \"email\": \"darth.sidius@myhours.com\",\n        \"rate\": 60,\n        \"billableRate\": 60,\n        \"roleType\": 0,\n        \"customId\": null,\n        \"id\": 874663\n    },\n    {\n        \"name\": \"Padme Amidala\",\n        \"archived\": false,\n        \"dateArchived\": null,\n        \"active\": false,\n        \"accountOwner\": false,\n        \"email\": \"padme.amidala@myhours.com\",\n        \"rate\": 0,\n        \"billableRate\": 0,\n        \"roleType\": 0,\n        \"customId\": null,\n        \"id\": 874664\n    }\n]"}],"_postman_id":"da5fa9cc-f337-4888-bf18-21e68a07ee3d"},{"name":"View Team member","event":[{"listen":"test","script":{"id":"077667f0-7692-4b9c-83b9-1eaed008987d","exec":[""],"type":"text/javascript"}}],"id":"bd9630d2-ded0-4768-870f-e5afa47609e5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","type":"text","value":"Bearer {{AccessToken}}"}],"url":"https://api2.myhours.com/api/Users/{{userId}}/get","description":"<p>Get data about a single Team member.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"c5ffc35a-94ad-4516-901b-6ea3f1aed0c2","id":"c5ffc35a-94ad-4516-901b-6ea3f1aed0c2","name":"My Hours  API v1.1","type":"collection"}},"urlObject":{"protocol":"https","path":["api","Users","{{userId}}","get"],"host":["api2","myhours","com"],"query":[],"variable":[]}},"response":[{"id":"8b23def2-e1c8-4b2b-bbd8-72d2b45f2c50","name":"Team member","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"api-version","type":"text","value":"1.0","disabled":true},{"key":"Authorization","type":"text","value":"Bearer {{AccessToken}}"}],"url":"https://api2.myhours.com/api/Users/{{userId}}/get"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Length","value":"411"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Wed, 30 Nov 2022 07:58:32 GMT"},{"key":"Server","value":"Microsoft-IIS/10.0"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Request-Context","value":"appId=cid-v1:8277891d-c61a-462a-86b2-975e13de4761"},{"key":"client-version","value":"6.3.2"},{"key":"new-version-needs-signout","value":"False"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Powered-By","value":"ASP.NET"}],"cookie":[],"responseTime":null,"body":"{\n    \"name\": \"Leia Organa\",\n    \"email\": \"leia.organa@myhours.com\",\n    \"roleType\": 1,\n    \"canOnlyManageTeam\": false,\n    \"canEditLogsForOthers\": true,\n    \"canApproveLogsForOthers\": true,\n    \"canManageProjects\": true,\n    \"canManageLaborCostsForOthers\": false,\n    \"canManageBillableRatesAndBudgets\": true,\n    \"approved\": false,\n    \"rate\": 30,\n    \"billableRate\": 40,\n    \"assignToFutureProjects\": true,\n    \"firstLogDate\": \"2016-03-16T00:00:00\",\n    \"externalEntityId\": null,\n    \"notes\": \"Private description\\n\\n\",\n    \"archived\": false,\n    \"accountOwner\": false,\n    \"customId\": null,\n    \"id\": 41876\n}"}],"_postman_id":"bd9630d2-ded0-4768-870f-e5afa47609e5"},{"name":"Add Team member","event":[{"listen":"prerequest","script":{"id":"6e45e53f-7ae7-4766-9933-d54ef1870f54","exec":[""],"type":"text/javascript"}},{"listen":"test","script":{"id":"e85b9aa6-168c-4f89-ac37-6b631594481c","exec":[""],"type":"text/javascript"}}],"id":"4c971dde-ad72-4be0-83da-0cc203162492","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"api-version","type":"text","value":"1.0"},{"key":"Authorization","type":"text","value":"Bearer {{AccessToken}}"}],"body":{"mode":"raw","raw":"{\n    \"rate\": 20,\n    \"billableRate\": 0,\n    \"roleType\": 0,\n    \"canOnlyManageTeam\": false,\n    \"canEditLogsForOthers\": false,\n    \"canApproveLogsForOthers\": false,\n    \"canManageProjects\": false,\n    \"canManageLaborCostsForOthers\": false,\n    \"canManageBillableRatesAndBudgets\": false,\n    \"name\": \"Will Thiswork\",\n    \"email\": \"will@myhours.com\",\n    \"customId\": \"xyz-02349543\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api2.myhours.com/api/Users","description":"<p>Add a new Team member.</p>\n<h3 id=\"parameters\">Parameters</h3>\n<p><code>roleType</code>:<br /><code>0</code> - Normal member<br /><code>1</code> - Manager<br /><code>2</code> - Admin</p>\n<p><code>rate</code> - Labor hourly rate<br /><code>billableRate</code> - Billable hourly rate</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"c5ffc35a-94ad-4516-901b-6ea3f1aed0c2","id":"c5ffc35a-94ad-4516-901b-6ea3f1aed0c2","name":"My Hours  API v1.1","type":"collection"}},"urlObject":{"protocol":"https","path":["api","Users"],"host":["api2","myhours","com"],"query":[],"variable":[]}},"response":[{"id":"4a72cd18-4b40-4804-8b68-ea1de0cc0148","name":"Add Team member","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"api-version","type":"text","value":"1.0"},{"key":"Authorization","type":"text","value":"Bearer {{AccessToken}}"}],"body":{"mode":"raw","raw":"{\n    \"rate\": 20,\n    \"billableRate\": 0,\n    \"roleType\": 0,\n    \"canOnlyManageTeam\": false,\n    \"canEditLogsForOthers\": false,\n    \"canApproveLogsForOthers\": false,\n    \"canManageProjects\": false,\n    \"canManageLaborCostsForOthers\": false,\n    \"canManageBillableRatesAndBudgets\": false,\n    \"name\": \"Will Thiswork\",\n    \"email\": \"will@myhours.com\",\n    \"customId\": \"xyz-02349543\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api2.myhours.com/api/Users"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Thu, 25 May 2023 12:16:04 GMT"},{"key":"Server","value":"Microsoft-IIS/10.0"},{"key":"Content-Encoding","value":"gzip"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Request-Context","value":"appId=cid-v1:8277891d-c61a-462a-86b2-975e13de4761"},{"key":"client-version","value":"6.5.4"},{"key":"new-version-needs-signout","value":"False"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Powered-By","value":"ASP.NET"}],"cookie":[],"responseTime":null,"body":"{\n    \"name\": \"Will Thiswork\",\n    \"email\": \"will@myhours.com\",\n    \"userSettings\": {\n        \"simpleTrackingMode\": true,\n        \"showDescriptionActivity\": false,\n        \"incDecStep\": 5,\n        \"firstDayOfWeek\": 1,\n        \"dismissedDescriptions\": null,\n        \"workOnWeekend\": false,\n        \"reminderEnabled\": false,\n        \"reminderTimeStart\": null,\n        \"reminderTimeEnd\": null,\n        \"newTrackPage\": true,\n        \"weeklyTrackEnable\": true,\n        \"sendTimesheetReport\": true,\n        \"allowDecTimeInput\": false,\n        \"showPendingRejectedLogs\": false,\n        \"id\": 987149\n    },\n    \"accountOwner\": false,\n    \"roleType\": 0,\n    \"canOnlyManageTeam\": false,\n    \"canEditLogsForOthers\": false,\n    \"canApproveLogsForOthers\": false,\n    \"canManageProjects\": false,\n    \"canManageLaborCostsForOthers\": false,\n    \"canManageBillableRatesAndBudgets\": false,\n    \"accountId\": 37440,\n    \"archived\": false,\n    \"approved\": false,\n    \"rate\": 20,\n    \"billableRate\": 0,\n    \"assignToFutureProjects\": false,\n    \"dateArchived\": null,\n    \"active\": false,\n    \"lastLogsGetTimeStamp\": null,\n    \"createdDate\": \"2023-05-25T12:16:03.6936057+00:00\",\n    \"externalEntityId\": null,\n    \"levelZeroUserId\": null,\n    \"partiallyMigratedToLZ\": false,\n    \"customId\": \"xyz-02349543\",\n    \"id\": 988761\n}"}],"_postman_id":"4c971dde-ad72-4be0-83da-0cc203162492"},{"name":"Edit Team member","event":[{"listen":"prerequest","script":{"id":"6e45e53f-7ae7-4766-9933-d54ef1870f54","exec":[""],"type":"text/javascript"}},{"listen":"test","script":{"id":"e85b9aa6-168c-4f89-ac37-6b631594481c","exec":[""],"type":"text/javascript"}}],"id":"ed82c3bf-e71e-4388-b98c-50e92a62ca5e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Accept","value":"application/json"},{"key":"api-version","type":"text","value":"1.0"},{"key":"Authorization","type":"text","value":"Bearer {{AccessToken}}"}],"body":{"mode":"raw","raw":"{\n    \"id\": 41876,\n    \"name\": \"Leia Organa\",\n    \"email\": \"leia.organa@myhours.com\",\n    \"roleType\": 1,\n    \"canOnlyManageTeam\": false,\n    \"canEditLogsForOthers\": true,\n    \"canApproveLogsForOthers\": true,\n    \"canManageProjects\": true,\n    \"canManageLaborCostsForOthers\": true,\n    \"canManageBillableRatesAndBudgets\": true,\n    \"approved\": false,\n    \"rate\": 30,\n    \"billableRate\": 40,\n    \"assignToFutureProjects\": true,\n    \"firstLogDate\": \"2016-03-16T00:00:00\",\n    \"externalEntityId\": null,\n    \"notes\": \"Private description\\n\\n\",\n    \"archived\": false,\n    \"accountOwner\": false,\n    \"updateUserRateOnProjects\": false,\n    \"updateUserBillableRateOnProjects\": false,\n    \"changedFromDateLaborRate\": null,\n    \"changedFromDateBillableRate\": null,\n    \"customId\": \"xyz-02349543\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api2.myhours.com/api/Users","description":"<p>Update Team member's attributes.</p>\n<p>\"id\" parameter is required.</p>\n<h3 id=\"parameters\">Parameters</h3>\n<p><code>roleType</code>:<br /><code>0</code> - Normal member<br /><code>1</code> - Manager<br /><code>2</code> - Admin</p>\n<p><code>rate</code> - Labor hourly rate\n<code>billableRate</code> - Billable hourly rate</p>\n<p><code>updateUserRateOnProjects</code>\nset as <code>true</code> to update Labor rate on all assigned Projects</p>\n<p><code>changedFromDateLaborRate</code>\nset \"from\" date to apply the new Labor rate</p>\n<p><code>updateUserBillableRateOnProjects</code>\nset as <code>true</code> to update Billable rate on all assigned Projects</p>\n<p><code>changedFromDateBillableRate</code>\nset \"from\" date to apply the new Billable rate</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"c5ffc35a-94ad-4516-901b-6ea3f1aed0c2","id":"c5ffc35a-94ad-4516-901b-6ea3f1aed0c2","name":"My Hours  API v1.1","type":"collection"}},"urlObject":{"protocol":"https","path":["api","Users"],"host":["api2","myhours","com"],"query":[],"variable":[]}},"response":[{"id":"919f8f09-ed2d-42ea-8fec-d5d6e18f228b","name":"Edit Team member","originalRequest":{"method":"PUT","header":[{"key":"Accept","value":"application/json"},{"key":"api-version","type":"text","value":"1.0"},{"key":"Authorization","type":"text","value":"Bearer {{AccessToken}}"}],"body":{"mode":"raw","raw":"{\n    \"id\": 41876,\n    \"name\": \"Leia Organa\",\n    \"email\": \"leia.organa@myhours.com\",\n    \"roleType\": 1,\n    \"canOnlyManageTeam\": false,\n    \"canEditLogsForOthers\": true,\n    \"canApproveLogsForOthers\": true,\n    \"canManageProjects\": true,\n    \"canManageLaborCostsForOthers\": true,\n    \"canManageBillableRatesAndBudgets\": true,\n    \"approved\": false,\n    \"rate\": 30,\n    \"billableRate\": 40,\n    \"assignToFutureProjects\": true,\n    \"firstLogDate\": \"2016-03-16T00:00:00\",\n    \"externalEntityId\": null,\n    \"notes\": \"Private description\\n\\n\",\n    \"archived\": false,\n    \"accountOwner\": false,\n    \"updateUserRateOnProjects\": false,\n    \"updateUserBillableRateOnProjects\": false,\n    \"changedFromDateLaborRate\": null,\n    \"changedFromDateBillableRate\": null,\n    \"customId\": \"xyz-02349543\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api2.myhours.com/api/Users"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Tue, 29 Aug 2023 07:37:51 GMT"},{"key":"Server","value":"Microsoft-IIS/10.0"},{"key":"Content-Encoding","value":"gzip"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Request-Context","value":"appId=cid-v1:8277891d-c61a-462a-86b2-975e13de4761"},{"key":"client-version","value":"6.6.2"},{"key":"new-version-needs-signout","value":"False"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Powered-By","value":"ASP.NET"}],"cookie":[],"responseTime":null,"body":"{\n    \"name\": \"Leia Organa\",\n    \"email\": \"leia.organa@myhours.com\",\n    \"userSettings\": {\n        \"simpleTrackingMode\": false,\n        \"showDescriptionActivity\": false,\n        \"incDecStep\": 5,\n        \"firstDayOfWeek\": 0,\n        \"dismissedDescriptions\": \"invoices,activity,projects,approvals,uninvoiced\",\n        \"workOnWeekend\": false,\n        \"reminderEnabled\": false,\n        \"reminderTimeStart\": null,\n        \"reminderTimeEnd\": null,\n        \"newTrackPage\": false,\n        \"weeklyTrackEnable\": true,\n        \"sendTimesheetReport\": true,\n        \"allowDecTimeInput\": false,\n        \"showPendingRejectedLogs\": true,\n        \"id\": 40496\n    },\n    \"accountOwner\": false,\n    \"roleType\": 1,\n    \"canOnlyManageTeam\": false,\n    \"canEditLogsForOthers\": true,\n    \"canApproveLogsForOthers\": true,\n    \"canManageProjects\": true,\n    \"canManageLaborCostsForOthers\": true,\n    \"canManageBillableRatesAndBudgets\": true,\n    \"accountId\": 37440,\n    \"archived\": false,\n    \"approved\": false,\n    \"rate\": 30,\n    \"billableRate\": 40,\n    \"assignToFutureProjects\": true,\n    \"dateArchived\": null,\n    \"active\": true,\n    \"lastLogsGetTimeStamp\": \"2022-07-13T07:27:39.6571242+00:00\",\n    \"createdDate\": \"2016-03-16T09:22:44.1502577+01:00\",\n    \"externalEntityId\": null,\n    \"levelZeroUserId\": null,\n    \"partiallyMigratedToLZ\": false,\n    \"customId\": \"xyz-02349543\",\n    \"id\": 41876\n}"}],"_postman_id":"ed82c3bf-e71e-4388-b98c-50e92a62ca5e"},{"name":"Archive Team member","event":[{"listen":"test","script":{"id":"077667f0-7692-4b9c-83b9-1eaed008987d","exec":[""],"type":"text/javascript"}}],"id":"6b7ff396-79b2-4312-8b7d-9b521b69cdbd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","type":"text","value":"Bearer {{AccessToken}}"}],"url":"https://api2.myhours.com/api/Users/{{userId}}/archive","description":"<p>Archive a Team member. Time logs are NOT deleted and are still available in reports.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"c5ffc35a-94ad-4516-901b-6ea3f1aed0c2","id":"c5ffc35a-94ad-4516-901b-6ea3f1aed0c2","name":"My Hours  API v1.1","type":"collection"}},"urlObject":{"protocol":"https","path":["api","Users","{{userId}}","archive"],"host":["api2","myhours","com"],"query":[],"variable":[]}},"response":[{"id":"c612635a-2064-4d19-94a7-74227e5a8d4e","name":"Archive Team member","originalRequest":{"method":"PUT","header":[{"key":"Accept","value":"application/json"},{"key":"api-version","type":"text","value":"1.0","disabled":true},{"key":"Authorization","type":"text","value":"Bearer {{AccessToken}}"}],"url":"https://api2.myhours.com/api/Users/{{userId}}/archive"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Tue, 14 Nov 2023 08:50:48 GMT"},{"key":"Server","value":"Microsoft-IIS/10.0"},{"key":"Content-Encoding","value":"gzip"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Request-Context","value":"appId=cid-v1:8277891d-c61a-462a-86b2-975e13de4761"},{"key":"client-version","value":"6.6.5"},{"key":"new-version-needs-signout","value":"False"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Powered-By","value":"ASP.NET"}],"cookie":[],"responseTime":null,"body":"{\n    \"name\": \"Leia Organa\",\n    \"email\": \"leia.organa@myhours.com\",\n    \"accountOwner\": false,\n    \"roleType\": 1,\n    \"canOnlyManageTeam\": false,\n    \"canEditLogsForOthers\": true,\n    \"canApproveLogsForOthers\": true,\n    \"canManageProjects\": true,\n    \"canManageLaborCostsForOthers\": true,\n    \"canManageBillableRatesAndBudgets\": true,\n    \"accountId\": 37440,\n    \"archived\": true,\n    \"approved\": false,\n    \"rate\": 30,\n    \"billableRate\": 80,\n    \"assignToFutureProjects\": true,\n    \"dateArchived\": \"2023-11-14T08:50:48.412245+00:00\",\n    \"active\": true,\n    \"lastLogsGetTimeStamp\": \"2022-07-13T07:27:39.6571242+00:00\",\n    \"createdDate\": \"2016-03-16T09:22:44.1502577+01:00\",\n    \"externalEntityId\": null,\n    \"levelZeroUserId\": null,\n    \"partiallyMigratedToLZ\": false,\n    \"customId\": \"xyz-02349543\",\n    \"id\": 41876\n}"}],"_postman_id":"6b7ff396-79b2-4312-8b7d-9b521b69cdbd"},{"name":"Team - Assigned Team members","event":[{"listen":"test","script":{"id":"7486e44c-2d06-445c-9a57-4d92d6bfb0f4","exec":[""],"type":"text/javascript"}}],"id":"8b193c92-0846-4c7c-b78a-59d88560bad3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","type":"text","value":"Bearer {{AccessToken}}"}],"url":"https://api2.myhours.com/api/Teams/{{teamId}}/teammembers","description":"<p>Get data about a single Team member.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"c5ffc35a-94ad-4516-901b-6ea3f1aed0c2","id":"c5ffc35a-94ad-4516-901b-6ea3f1aed0c2","name":"My Hours  API v1.1","type":"collection"}},"urlObject":{"protocol":"https","path":["api","Teams","{{teamId}}","teammembers"],"host":["api2","myhours","com"],"query":[],"variable":[]}},"response":[{"id":"2a798c71-a745-426d-a2a1-dc51b96522d5","name":"Team - Assigned Team members","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"api-version","type":"text","value":"1.0","disabled":true},{"key":"Authorization","type":"text","value":"Bearer {{AccessToken}}"}],"url":"https://api2.myhours.com/api/Teams/{{teamId}}/teammembers"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Tue, 29 Aug 2023 07:38:26 GMT"},{"key":"Server","value":"Microsoft-IIS/10.0"},{"key":"Content-Encoding","value":"gzip"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Request-Context","value":"appId=cid-v1:8277891d-c61a-462a-86b2-975e13de4761"},{"key":"client-version","value":"6.6.2"},{"key":"new-version-needs-signout","value":"False"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Powered-By","value":"ASP.NET"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"userId\": 41876,\n        \"userName\": \"Leia Organa\",\n        \"userCustomId\": \"xyz-02349543\",\n        \"id\": 4\n    },\n    {\n        \"userId\": 41873,\n        \"userName\": \"Luke Skywalker\",\n        \"userCustomId\": null,\n        \"id\": 5\n    },\n    {\n        \"userId\": 41875,\n        \"userName\": \"Han Solo - GP\",\n        \"userCustomId\": null,\n        \"id\": 2359\n    },\n    {\n        \"userId\": 874663,\n        \"userName\": \"Darth Sidius\",\n        \"userCustomId\": null,\n        \"id\": 2360\n    },\n    {\n        \"userId\": 41880,\n        \"userName\": \"Mace Windu\",\n        \"userCustomId\": null,\n        \"id\": 10372\n    },\n    {\n        \"userId\": 814999,\n        \"userName\": \"Nina J.\",\n        \"userCustomId\": null,\n        \"id\": 10373\n    }\n]"}],"_postman_id":"8b193c92-0846-4c7c-b78a-59d88560bad3"}],"id":"33719d55-0de7-4c57-99f9-3ab94e34cd14","_postman_id":"33719d55-0de7-4c57-99f9-3ab94e34cd14","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"c5ffc35a-94ad-4516-901b-6ea3f1aed0c2","id":"c5ffc35a-94ad-4516-901b-6ea3f1aed0c2","name":"My Hours  API v1.1","type":"collection"}}}],"auth":{"type":"apikey","apikey":{"basicConfig":[]}},"event":[{"listen":"prerequest","script":{"id":"8cdefbe3-8957-46a5-b6e5-c8cae862fb20","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"add08556-5653-4a81-9d5e-d5c8adb3762e","type":"text/javascript","exec":[""]}}]}