{"openapi":"3.1.0","info":{"title":"Time tracker API, Harvest API v2 compatible","version":"2.0.0","description":"The paths, parameters and objects of Harvest API v2. Send Authorization: Bearer <token>, Harvest-Account-Id: <account id> and a User-Agent. Each operation says whether it is supported, supported with differences or not supported. docs/api/COMPATIBILITY.md lists the differences."},"servers":[{"url":"https://t.momentic.studio/api/v2"}],"security":[{"bearer":[],"account":[]}],"paths":{"/company":{"get":{"operationId":"getCompany","summary":"Retrieve the company","description":"Supported with differences. Fields the time tracker has no data for hold their empty value; see the field table.","tags":["company"],"x-support":"differences","x-scope":"reports:read","x-rate-limit":"100 requests in 15 seconds","parameters":[],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/company"}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"422":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"}}},"patch":{"operationId":"patchCompany","summary":"Update the company","description":"Not supported. Timer mode and weekly capacity are not workspace settings here. Change workspace settings in the app.","tags":["company"],"x-support":"not_supported","x-scope":"time:write","x-rate-limit":"100 requests in 15 seconds","parameters":[],"responses":{"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"422":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"}}}},"/company/reimbursement_settings":{"get":{"operationId":"getCompanyReimbursementSettings","summary":"Retrieve reimbursement settings","description":"Not supported. The time tracker has no expenses. Lists are empty, a single record is not found (404), and a write is refused (422).","tags":["company"],"x-support":"not_supported","x-scope":"reports:read","x-rate-limit":"100 requests in 15 seconds","parameters":[],"responses":{"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"422":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"}}},"patch":{"operationId":"patchCompanyReimbursementSettings","summary":"Update reimbursement settings","description":"Not supported. The time tracker has no expenses. Lists are empty, a single record is not found (404), and a write is refused (422).","tags":["company"],"x-support":"not_supported","x-scope":"time:write","x-rate-limit":"100 requests in 15 seconds","parameters":[],"responses":{"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"422":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"}}}},"/company/e_invoicing":{"post":{"operationId":"postCompanyEInvoicing","summary":"Enroll in e-invoicing","description":"Not supported. The time tracker has no invoices. Lists are empty, a single record is not found (404), and a write is refused (422).","tags":["company"],"x-support":"not_supported","x-scope":"time:write","x-rate-limit":"100 requests in 15 seconds","parameters":[],"responses":{"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"422":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"}}},"delete":{"operationId":"deleteCompanyEInvoicing","summary":"Leave e-invoicing","description":"Not supported. The time tracker has no invoices. Lists are empty, a single record is not found (404), and a write is refused (422).","tags":["company"],"x-support":"not_supported","x-scope":"time:write","x-rate-limit":"100 requests in 15 seconds","parameters":[],"responses":{"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"422":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"}}}},"/users":{"get":{"operationId":"getUsers","summary":"List users","description":"Supported with differences. Owners, admins and managers may list people; a member is refused (403), as in Harvest. Emails of other people need an owner or admin token with people:read. first_name is the first word of the name and last_name the rest.","tags":["users"],"x-support":"differences","x-scope":"reports:read","x-rate-limit":"100 requests in 15 seconds","parameters":[{"name":"is_active","in":"query","required":false,"description":"true for active records only, false for archived only. Another value is ignored, as in Harvest.","schema":{"type":"boolean"}},{"name":"updated_since","in":"query","required":false,"description":"Only records changed at or after this ISO 8601 date-time. A value that is not a date-time is refused with 400.","schema":{"type":"string","format":"date-time"}},{"name":"page","in":"query","required":false,"description":"The page to return, from 1. Default 1. A page past the end returns no records.","schema":{"type":"integer","format":"int64"}},{"name":"per_page","in":"query","required":false,"description":"Records per page, 1 to 2000. Default 2000. Another value is refused with 400.","schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","required":["users","per_page","total_pages","total_entries","next_page","previous_page","page","links"],"properties":{"users":{"type":"array","items":{"$ref":"#/components/schemas/user"}},"per_page":{"type":"integer"},"total_pages":{"type":"integer"},"total_entries":{"type":"integer"},"next_page":{"type":["integer","null"]},"previous_page":{"type":["integer","null"]},"page":{"type":"integer"},"links":{"type":"object","properties":{"first":{"type":"string"},"next":{"type":["string","null"]},"previous":{"type":["string","null"]},"last":{"type":"string"}}}}}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"422":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"}}},"post":{"operationId":"postUsers","summary":"Create a user","description":"Supported with differences. Adds the person with the role from access_roles (administrator becomes admin, manager, member) and sends the app's invitation. Only an owner can add an owner. default_hourly_rate and cost_rate are not taken: set rates with the billable rates endpoint. timezone, is_contractor and has_access_to_all_future_projects are ignored.","tags":["users"],"x-support":"differences","x-scope":"people:write","x-rate-limit":"100 requests in 15 seconds","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["first_name","last_name","email"],"properties":{"first_name":{"type":"string","description":"First name."},"last_name":{"type":"string","description":"Last name."},"email":{"type":"string","description":"Email. The person signs in with it."},"weekly_capacity":{"type":"integer","format":"int64","description":"Weekly capacity in seconds. Default 144000 (40 hours)."},"access_roles":{"type":"array","items":{"type":"string"},"description":"administrator, manager or member. Default member."}}}},"application/x-www-form-urlencoded":{"schema":{"type":"object","required":["first_name","last_name","email"],"properties":{"first_name":{"type":"string","description":"First name."},"last_name":{"type":"string","description":"Last name."},"email":{"type":"string","description":"Email. The person signs in with it."},"weekly_capacity":{"type":"integer","format":"int64","description":"Weekly capacity in seconds. Default 144000 (40 hours)."},"access_roles":{"type":"array","items":{"type":"string"},"description":"administrator, manager or member. Default member."}}}}}},"responses":{"201":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/user"}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"422":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"}}}},"/users/me":{"get":{"operationId":"getUsersMe","summary":"Retrieve the token's person","description":"Supported with differences. The same fields as a user. The email is the person's own.","tags":["users"],"x-support":"differences","x-scope":"reports:read","x-rate-limit":"100 requests in 15 seconds","parameters":[],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/user"}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"422":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"}}},"patch":{"operationId":"patchUsersMe","summary":"Update the token's person","description":"Supported with differences. The update of /v2/users/{user_id} for the token's own person, with the same fields and rules. An owner or admin edits people, themselves included; other roles cannot hold people:write, so their tokens are refused (403). PUT is accepted too, as in Harvest.","tags":["users"],"x-support":"differences","x-scope":"people:write","x-rate-limit":"100 requests in 15 seconds","parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"first_name":{"type":"string","description":"First name."},"last_name":{"type":"string","description":"Last name."},"weekly_capacity":{"type":"integer","format":"int64","description":"Weekly capacity in seconds."}}}},"application/x-www-form-urlencoded":{"schema":{"type":"object","required":[],"properties":{"first_name":{"type":"string","description":"First name."},"last_name":{"type":"string","description":"Last name."},"weekly_capacity":{"type":"integer","format":"int64","description":"Weekly capacity in seconds."}}}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/user"}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"422":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"}}}},"/users/{user_id}":{"get":{"operationId":"getUsersUserId","summary":"Retrieve a user","description":"Supported with differences.","tags":["users"],"x-support":"differences","x-scope":"reports:read","x-rate-limit":"100 requests in 15 seconds","parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/user"}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"422":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"}}},"patch":{"operationId":"patchUsersUserId","summary":"Update a user","description":"Supported with differences. Changes the name, weekly capacity, role (access_roles) and is_active (false archives, true restores). Email, timezone and the other fields are ignored.","tags":["users"],"x-support":"differences","x-scope":"people:write","x-rate-limit":"100 requests in 15 seconds","parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"first_name":{"type":"string","description":"First name."},"last_name":{"type":"string","description":"Last name."},"weekly_capacity":{"type":"integer","format":"int64","description":"Weekly capacity in seconds."},"access_roles":{"type":"array","items":{"type":"string"},"description":"administrator, manager or member."},"is_active":{"type":"boolean","description":"false archives the person; true restores them."}}}},"application/x-www-form-urlencoded":{"schema":{"type":"object","required":[],"properties":{"first_name":{"type":"string","description":"First name."},"last_name":{"type":"string","description":"Last name."},"weekly_capacity":{"type":"integer","format":"int64","description":"Weekly capacity in seconds."},"access_roles":{"type":"array","items":{"type":"string"},"description":"administrator, manager or member."},"is_active":{"type":"boolean","description":"false archives the person; true restores them."}}}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/user"}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"422":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"}}},"delete":{"operationId":"deleteUsersUserId","summary":"Delete a user","description":"Supported with differences. As in Harvest, only a person with no time entries can be deleted; anyone else is refused (422): archive them with is_active false. Needs an owner or admin token; the app's rules on owners and the last owner apply.","tags":["users"],"x-support":"differences","x-scope":"people:write","x-rate-limit":"100 requests in 15 seconds","parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK, with no body."},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"422":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"}}}},"/users/{user_id}/billable_rates":{"get":{"operationId":"getUsersUserIdBillableRates","summary":"List a user's billable rates","description":"Supported with differences. Needs rates:read, and an owner, admin or manager token, as in the app.","tags":["billable-rates"],"x-support":"differences","x-scope":"reports:read","x-rate-limit":"100 requests in 15 seconds","parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"page","in":"query","required":false,"description":"The page to return, from 1. Default 1. A page past the end returns no records.","schema":{"type":"integer","format":"int64"}},{"name":"per_page","in":"query","required":false,"description":"Records per page, 1 to 2000. Default 2000. Another value is refused with 400.","schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","required":["billable_rates","per_page","total_pages","total_entries","next_page","previous_page","page","links"],"properties":{"billable_rates":{"type":"array","items":{"$ref":"#/components/schemas/billable_rate"}},"per_page":{"type":"integer"},"total_pages":{"type":"integer"},"total_entries":{"type":"integer"},"next_page":{"type":["integer","null"]},"previous_page":{"type":["integer","null"]},"page":{"type":"integer"},"links":{"type":"object","properties":{"first":{"type":"string"},"next":{"type":["string","null"]},"previous":{"type":["string","null"]},"last":{"type":"string"}}}}}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"422":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"}}},"post":{"operationId":"postUsersUserIdBillableRates","summary":"Create a billable rate","description":"Supported with differences. start_date is required here: the app keeps rate history from a date and does not replace it.","tags":["billable-rates"],"x-support":"differences","x-scope":"people:write","x-rate-limit":"100 requests in 15 seconds","parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["amount","start_date"],"properties":{"amount":{"type":"number","description":"The hourly rate in dollars."},"start_date":{"type":"string","format":"date","description":"The first day the rate applies."}}}},"application/x-www-form-urlencoded":{"schema":{"type":"object","required":["amount","start_date"],"properties":{"amount":{"type":"number","description":"The hourly rate in dollars."},"start_date":{"type":"string","format":"date","description":"The first day the rate applies."}}}}}},"responses":{"201":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/billable_rate"}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"422":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"}}}},"/users/{user_id}/billable_rates/{billable_rate_id}":{"get":{"operationId":"getUsersUserIdBillableRatesBillableRateId","summary":"Retrieve a billable rate","description":"Supported with differences.","tags":["billable-rates"],"x-support":"differences","x-scope":"reports:read","x-rate-limit":"100 requests in 15 seconds","parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"billable_rate_id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/billable_rate"}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"422":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"}}}},"/users/{user_id}/cost_rates":{"get":{"operationId":"getUsersUserIdCostRates","summary":"List a user's cost rates","description":"Not supported. This API does not return cost rates, for any role or scope: the list is empty, a single rate is not found (404) and a write is refused (403).","tags":["billable-rates"],"x-support":"not_supported","x-scope":"reports:read","x-rate-limit":"100 requests in 15 seconds","parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"page","in":"query","required":false,"description":"The page to return, from 1. Default 1. A page past the end returns no records.","schema":{"type":"integer","format":"int64"}},{"name":"per_page","in":"query","required":false,"description":"Records per page, 1 to 2000. Default 2000. Another value is refused with 400.","schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","required":["cost_rates","per_page","total_pages","total_entries","next_page","previous_page","page","links"],"properties":{"cost_rates":{"type":"array","items":{"$ref":"#/components/schemas/cost_rate"}},"per_page":{"type":"integer"},"total_pages":{"type":"integer"},"total_entries":{"type":"integer"},"next_page":{"type":["integer","null"]},"previous_page":{"type":["integer","null"]},"page":{"type":"integer"},"links":{"type":"object","properties":{"first":{"type":"string"},"next":{"type":["string","null"]},"previous":{"type":["string","null"]},"last":{"type":"string"}}}}}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"422":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"}}},"post":{"operationId":"postUsersUserIdCostRates","summary":"Create a cost rate","description":"Not supported. This API does not return cost rates, for any role or scope: the list is empty, a single rate is not found (404) and a write is refused (403).","tags":["billable-rates"],"x-support":"not_supported","x-scope":"time:write","x-rate-limit":"100 requests in 15 seconds","parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"422":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"}}}},"/users/{user_id}/cost_rates/{cost_rate_id}":{"get":{"operationId":"getUsersUserIdCostRatesCostRateId","summary":"Retrieve a cost rate","description":"Not supported. This API does not return cost rates, for any role or scope: the list is empty, a single rate is not found (404) and a write is refused (403).","tags":["billable-rates"],"x-support":"not_supported","x-scope":"reports:read","x-rate-limit":"100 requests in 15 seconds","parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"cost_rate_id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"422":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"}}}},"/users/{user_id}/project_assignments":{"get":{"operationId":"getUsersUserIdProjectAssignments","summary":"List a user's project assignments","description":"Supported with differences. A member reads only their own.","tags":["users"],"x-support":"differences","x-scope":"reports:read","x-rate-limit":"100 requests in 15 seconds","parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"updated_since","in":"query","required":false,"description":"Only records changed at or after this ISO 8601 date-time. A value that is not a date-time is refused with 400.","schema":{"type":"string","format":"date-time"}},{"name":"page","in":"query","required":false,"description":"The page to return, from 1. Default 1. A page past the end returns no records.","schema":{"type":"integer","format":"int64"}},{"name":"per_page","in":"query","required":false,"description":"Records per page, 1 to 2000. Default 2000. Another value is refused with 400.","schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","required":["project_assignments","per_page","total_pages","total_entries","next_page","previous_page","page","links"],"properties":{"project_assignments":{"type":"array","items":{"$ref":"#/components/schemas/project_assignment"}},"per_page":{"type":"integer"},"total_pages":{"type":"integer"},"total_entries":{"type":"integer"},"next_page":{"type":["integer","null"]},"previous_page":{"type":["integer","null"]},"page":{"type":"integer"},"links":{"type":"object","properties":{"first":{"type":"string"},"next":{"type":["string","null"]},"previous":{"type":["string","null"]},"last":{"type":"string"}}}}}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"422":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"}}}},"/users/me/project_assignments":{"get":{"operationId":"getUsersMeProjectAssignments","summary":"List the token person's project assignments","description":"Supported with differences. Projects open to everyone are listed only where the person is assigned.","tags":["users"],"x-support":"differences","x-scope":"reports:read","x-rate-limit":"100 requests in 15 seconds","parameters":[{"name":"updated_since","in":"query","required":false,"description":"Only records changed at or after this ISO 8601 date-time. A value that is not a date-time is refused with 400.","schema":{"type":"string","format":"date-time"}},{"name":"page","in":"query","required":false,"description":"The page to return, from 1. Default 1. A page past the end returns no records.","schema":{"type":"integer","format":"int64"}},{"name":"per_page","in":"query","required":false,"description":"Records per page, 1 to 2000. Default 2000. Another value is refused with 400.","schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","required":["project_assignments","per_page","total_pages","total_entries","next_page","previous_page","page","links"],"properties":{"project_assignments":{"type":"array","items":{"$ref":"#/components/schemas/project_assignment"}},"per_page":{"type":"integer"},"total_pages":{"type":"integer"},"total_entries":{"type":"integer"},"next_page":{"type":["integer","null"]},"previous_page":{"type":["integer","null"]},"page":{"type":"integer"},"links":{"type":"object","properties":{"first":{"type":"string"},"next":{"type":["string","null"]},"previous":{"type":["string","null"]},"last":{"type":"string"}}}}}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"422":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"}}}},"/users/{user_id}/teammates":{"get":{"operationId":"getUsersUserIdTeammates","summary":"List a manager's teammates","description":"Not supported. The time tracker has teams, not teammates; teams are listed as roles. The list is empty.","tags":["users"],"x-support":"not_supported","x-scope":"reports:read","x-rate-limit":"100 requests in 15 seconds","parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"page","in":"query","required":false,"description":"The page to return, from 1. Default 1. A page past the end returns no records.","schema":{"type":"integer","format":"int64"}},{"name":"per_page","in":"query","required":false,"description":"Records per page, 1 to 2000. Default 2000. Another value is refused with 400.","schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","required":["teammates","per_page","total_pages","total_entries","next_page","previous_page","page","links"],"properties":{"teammates":{"type":"array","items":{"$ref":"#/components/schemas/teammate"}},"per_page":{"type":"integer"},"total_pages":{"type":"integer"},"total_entries":{"type":"integer"},"next_page":{"type":["integer","null"]},"previous_page":{"type":["integer","null"]},"page":{"type":"integer"},"links":{"type":"object","properties":{"first":{"type":"string"},"next":{"type":["string","null"]},"previous":{"type":["string","null"]},"last":{"type":"string"}}}}}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"422":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"}}},"patch":{"operationId":"patchUsersUserIdTeammates","summary":"Set a manager's teammates","description":"Not supported. Use roles (teams) instead.","tags":["users"],"x-support":"not_supported","x-scope":"time:write","x-rate-limit":"100 requests in 15 seconds","parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"422":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"}}}},"/clients":{"get":{"operationId":"getClients","summary":"List clients","description":"Supported with differences. Owners, admins and managers; a member is refused (403). address is null and currency is USD.","tags":["clients"],"x-support":"differences","x-scope":"reports:read","x-rate-limit":"100 requests in 15 seconds","parameters":[{"name":"is_active","in":"query","required":false,"description":"true for active records only, false for archived only. Another value is ignored, as in Harvest.","schema":{"type":"boolean"}},{"name":"updated_since","in":"query","required":false,"description":"Only records changed at or after this ISO 8601 date-time. A value that is not a date-time is refused with 400.","schema":{"type":"string","format":"date-time"}},{"name":"page","in":"query","required":false,"description":"The page to return, from 1. Default 1. A page past the end returns no records.","schema":{"type":"integer","format":"int64"}},{"name":"per_page","in":"query","required":false,"description":"Records per page, 1 to 2000. Default 2000. Another value is refused with 400.","schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","required":["clients","per_page","total_pages","total_entries","next_page","previous_page","page","links"],"properties":{"clients":{"type":"array","items":{"$ref":"#/components/schemas/client"}},"per_page":{"type":"integer"},"total_pages":{"type":"integer"},"total_entries":{"type":"integer"},"next_page":{"type":["integer","null"]},"previous_page":{"type":["integer","null"]},"page":{"type":"integer"},"links":{"type":"object","properties":{"first":{"type":"string"},"next":{"type":["string","null"]},"previous":{"type":["string","null"]},"last":{"type":"string"}}}}}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"422":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"}}},"post":{"operationId":"postClients","summary":"Create a client","description":"Supported with differences. address and currency are ignored.","tags":["clients"],"x-support":"differences","x-scope":"clients:write","x-rate-limit":"100 requests in 15 seconds","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["name"],"properties":{"name":{"type":"string","description":"The client's name, up to 200 characters."},"is_active":{"type":"boolean","description":"false creates it archived."}}}},"application/x-www-form-urlencoded":{"schema":{"type":"object","required":["name"],"properties":{"name":{"type":"string","description":"The client's name, up to 200 characters."},"is_active":{"type":"boolean","description":"false creates it archived."}}}}}},"responses":{"201":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/client"}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"422":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"}}}},"/clients/{client_id}":{"get":{"operationId":"getClientsClientId","summary":"Retrieve a client","description":"Supported with differences.","tags":["clients"],"x-support":"differences","x-scope":"reports:read","x-rate-limit":"100 requests in 15 seconds","parameters":[{"name":"client_id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/client"}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"422":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"}}},"patch":{"operationId":"patchClientsClientId","summary":"Update a client","description":"Supported with differences. Changes name and is_active. address and currency are ignored.","tags":["clients"],"x-support":"differences","x-scope":"clients:write","x-rate-limit":"100 requests in 15 seconds","parameters":[{"name":"client_id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"name":{"type":"string","description":"The client's name."},"is_active":{"type":"boolean","description":"false archives the client and its projects; true restores it."}}}},"application/x-www-form-urlencoded":{"schema":{"type":"object","required":[],"properties":{"name":{"type":"string","description":"The client's name."},"is_active":{"type":"boolean","description":"false archives the client and its projects; true restores it."}}}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/client"}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"422":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"}}},"delete":{"operationId":"deleteClientsClientId","summary":"Delete a client","description":"Not supported. Archive with is_active false. Deleting clients is not offered by the app.","tags":["clients"],"x-support":"not_supported","x-scope":"clients:write","x-rate-limit":"100 requests in 15 seconds","parameters":[{"name":"client_id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"422":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"}}}},"/contacts":{"get":{"operationId":"getContacts","summary":"List contacts","description":"Supported with differences. Owners, admins and managers; a member is refused (403). A contact has one name and one phone number: first_name is the first word of the name, the phone is phone_office, and phone_mobile and fax are empty. invoice_recipient_status is none: invoice recipients are chosen per client in the app.","tags":["clients"],"x-support":"differences","x-scope":"reports:read","x-rate-limit":"100 requests in 15 seconds","parameters":[{"name":"client_id","in":"query","required":false,"description":"Only this client's contacts.","schema":{"type":"integer","format":"int64"}},{"name":"updated_since","in":"query","required":false,"description":"Only records changed at or after this ISO 8601 date-time. A value that is not a date-time is refused with 400.","schema":{"type":"string","format":"date-time"}},{"name":"page","in":"query","required":false,"description":"The page to return, from 1. Default 1. A page past the end returns no records.","schema":{"type":"integer","format":"int64"}},{"name":"per_page","in":"query","required":false,"description":"Records per page, 1 to 2000. Default 2000. Another value is refused with 400.","schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","required":["contacts","per_page","total_pages","total_entries","next_page","previous_page","page","links"],"properties":{"contacts":{"type":"array","items":{"$ref":"#/components/schemas/contact"}},"per_page":{"type":"integer"},"total_pages":{"type":"integer"},"total_entries":{"type":"integer"},"next_page":{"type":["integer","null"]},"previous_page":{"type":["integer","null"]},"page":{"type":"integer"},"links":{"type":"object","properties":{"first":{"type":"string"},"next":{"type":["string","null"]},"previous":{"type":["string","null"]},"last":{"type":"string"}}}}}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"422":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"}}},"post":{"operationId":"postContacts","summary":"Create a contact","description":"Supported with differences. email is required here: the app sends invoices to contacts by email. phone_office, or else phone_mobile, is kept as the one phone number; fax is ignored. A client has one contact per email address.","tags":["clients"],"x-support":"differences","x-scope":"clients:write","x-rate-limit":"100 requests in 15 seconds","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["client_id","first_name","email"],"properties":{"client_id":{"type":"integer","format":"int64","description":"The client."},"first_name":{"type":"string","description":"First name."},"last_name":{"type":"string","description":"Last name."},"email":{"type":"string","description":"Email."},"title":{"type":"string","description":"Title."},"phone_office":{"type":"string","description":"Phone number."},"phone_mobile":{"type":"string","description":"Used when phone_office is not sent."}}}},"application/x-www-form-urlencoded":{"schema":{"type":"object","required":["client_id","first_name","email"],"properties":{"client_id":{"type":"integer","format":"int64","description":"The client."},"first_name":{"type":"string","description":"First name."},"last_name":{"type":"string","description":"Last name."},"email":{"type":"string","description":"Email."},"title":{"type":"string","description":"Title."},"phone_office":{"type":"string","description":"Phone number."},"phone_mobile":{"type":"string","description":"Used when phone_office is not sent."}}}}}},"responses":{"201":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/contact"}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"422":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"}}}},"/contacts/{contact_id}":{"get":{"operationId":"getContactsContactId","summary":"Retrieve a contact","description":"Supported with differences.","tags":["clients"],"x-support":"differences","x-scope":"reports:read","x-rate-limit":"100 requests in 15 seconds","parameters":[{"name":"contact_id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/contact"}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"422":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"}}},"patch":{"operationId":"patchContactsContactId","summary":"Update a contact","description":"Supported with differences. Changes first_name, last_name, title, email and the phone number. client_id and fax are ignored: a contact stays with its client.","tags":["clients"],"x-support":"differences","x-scope":"clients:write","x-rate-limit":"100 requests in 15 seconds","parameters":[{"name":"contact_id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"first_name":{"type":"string","description":"First name."},"last_name":{"type":"string","description":"Last name."},"email":{"type":"string","description":"Email."},"title":{"type":"string","description":"Title."},"phone_office":{"type":"string","description":"Phone number."}}}},"application/x-www-form-urlencoded":{"schema":{"type":"object","required":[],"properties":{"first_name":{"type":"string","description":"First name."},"last_name":{"type":"string","description":"Last name."},"email":{"type":"string","description":"Email."},"title":{"type":"string","description":"Title."},"phone_office":{"type":"string","description":"Phone number."}}}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/contact"}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"422":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"}}},"delete":{"operationId":"deleteContactsContactId","summary":"Delete a contact","description":"Supported.","tags":["clients"],"x-support":"supported","x-scope":"clients:write","x-rate-limit":"100 requests in 15 seconds","parameters":[{"name":"contact_id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK, with no body."},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"422":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"}}}},"/projects":{"get":{"operationId":"getProjects","summary":"List projects","description":"Supported with differences. Owners and admins list the whole workspace's projects; a manager the projects they are on; a member is refused (403), as in Harvest. A retainer is a project with budget_is_monthly true and its monthly hours as budget. code, notes and tags are empty; cost_budget is null.","tags":["projects"],"x-support":"differences","x-scope":"reports:read","x-rate-limit":"100 requests in 15 seconds","parameters":[{"name":"is_active","in":"query","required":false,"description":"true for active records only, false for archived only. Another value is ignored, as in Harvest.","schema":{"type":"boolean"}},{"name":"client_id","in":"query","required":false,"description":"Only this client's projects.","schema":{"type":"integer","format":"int64"}},{"name":"updated_since","in":"query","required":false,"description":"Only records changed at or after this ISO 8601 date-time. A value that is not a date-time is refused with 400.","schema":{"type":"string","format":"date-time"}},{"name":"page","in":"query","required":false,"description":"The page to return, from 1. Default 1. A page past the end returns no records.","schema":{"type":"integer","format":"int64"}},{"name":"per_page","in":"query","required":false,"description":"Records per page, 1 to 2000. Default 2000. Another value is refused with 400.","schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","required":["projects","per_page","total_pages","total_entries","next_page","previous_page","page","links"],"properties":{"projects":{"type":"array","items":{"$ref":"#/components/schemas/project"}},"per_page":{"type":"integer"},"total_pages":{"type":"integer"},"total_entries":{"type":"integer"},"next_page":{"type":["integer","null"]},"previous_page":{"type":["integer","null"]},"page":{"type":"integer"},"links":{"type":"object","properties":{"first":{"type":"string"},"next":{"type":["string","null"]},"previous":{"type":["string","null"]},"last":{"type":"string"}}}}}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"422":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"}}},"post":{"operationId":"postProjects","summary":"Create a project","description":"Supported with differences. is_fixed_fee true makes a fixed fee project; is_billable false an internal project; otherwise an hourly project. Retainers are created in the app, since they need monthly terms. budget is taken in hours (budget_by project); fee for a fixed fee project. hourly_rate, bill_by, budget_by values other than project and none, code, notes and the notification fields are ignored.","tags":["projects"],"x-support":"differences","x-scope":"projects:write","x-rate-limit":"100 requests in 15 seconds","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["client_id","name","is_billable","bill_by","budget_by"],"properties":{"client_id":{"type":"integer","format":"int64","description":"The client."},"name":{"type":"string","description":"The project's name."},"is_billable":{"type":"boolean","description":"false makes an internal project."},"bill_by":{"type":"string","description":"Accepted and ignored."},"budget_by":{"type":"string","description":"project to keep budget as an hours budget; none for no budget."},"is_fixed_fee":{"type":"boolean","description":"true makes a fixed fee project."},"fee":{"type":"number","description":"A fixed fee project's total fee in dollars."},"budget":{"type":"number","description":"The hours budget."},"starts_on":{"type":"string","format":"date","description":"The start date."},"ends_on":{"type":"string","format":"date","description":"The end date."},"is_active":{"type":"boolean","description":"false creates it archived."}}}},"application/x-www-form-urlencoded":{"schema":{"type":"object","required":["client_id","name","is_billable","bill_by","budget_by"],"properties":{"client_id":{"type":"integer","format":"int64","description":"The client."},"name":{"type":"string","description":"The project's name."},"is_billable":{"type":"boolean","description":"false makes an internal project."},"bill_by":{"type":"string","description":"Accepted and ignored."},"budget_by":{"type":"string","description":"project to keep budget as an hours budget; none for no budget."},"is_fixed_fee":{"type":"boolean","description":"true makes a fixed fee project."},"fee":{"type":"number","description":"A fixed fee project's total fee in dollars."},"budget":{"type":"number","description":"The hours budget."},"starts_on":{"type":"string","format":"date","description":"The start date."},"ends_on":{"type":"string","format":"date","description":"The end date."},"is_active":{"type":"boolean","description":"false creates it archived."}}}}}},"responses":{"201":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/project"}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"422":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"}}}},"/projects/{project_id}":{"get":{"operationId":"getProjectsProjectId","summary":"Retrieve a project","description":"Supported with differences.","tags":["projects"],"x-support":"differences","x-scope":"reports:read","x-rate-limit":"100 requests in 15 seconds","parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/project"}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"422":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"}}},"patch":{"operationId":"patchProjectsProjectId","summary":"Update a project","description":"Supported with differences. Changes client_id, name, budget (hours), fee, starts_on, ends_on and is_active. Other fields are ignored. Changing the type is done in the app.","tags":["projects"],"x-support":"differences","x-scope":"projects:write","x-rate-limit":"100 requests in 15 seconds","parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"client_id":{"type":"integer","format":"int64","description":"The client."},"name":{"type":"string","description":"The project's name."},"budget":{"type":"number","description":"The hours budget; null removes it."},"fee":{"type":"number","description":"A fixed fee project's total fee; null removes it."},"starts_on":{"type":"string","format":"date","description":"The start date."},"ends_on":{"type":"string","format":"date","description":"The end date."},"is_active":{"type":"boolean","description":"false archives the project; true restores it."}}}},"application/x-www-form-urlencoded":{"schema":{"type":"object","required":[],"properties":{"client_id":{"type":"integer","format":"int64","description":"The client."},"name":{"type":"string","description":"The project's name."},"budget":{"type":"number","description":"The hours budget; null removes it."},"fee":{"type":"number","description":"A fixed fee project's total fee; null removes it."},"starts_on":{"type":"string","format":"date","description":"The start date."},"ends_on":{"type":"string","format":"date","description":"The end date."},"is_active":{"type":"boolean","description":"false archives the project; true restores it."}}}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/project"}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"422":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"}}},"delete":{"operationId":"deleteProjectsProjectId","summary":"Delete a project","description":"Not supported. Archive with is_active false. Deleting a project and its time is not offered by the app.","tags":["projects"],"x-support":"not_supported","x-scope":"projects:write","x-rate-limit":"100 requests in 15 seconds","parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"422":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"}}}},"/user_assignments":{"get":{"operationId":"getUserAssignments","summary":"List user assignments","description":"Supported with differences. budget is null. A member is refused (403).","tags":["user-assignments"],"x-support":"differences","x-scope":"reports:read","x-rate-limit":"100 requests in 15 seconds","parameters":[{"name":"user_id","in":"query","required":false,"description":"Only this person's assignments.","schema":{"type":"integer","format":"int64"}},{"name":"is_active","in":"query","required":false,"description":"true for active records only, false for archived only. Another value is ignored, as in Harvest.","schema":{"type":"boolean"}},{"name":"updated_since","in":"query","required":false,"description":"Only records changed at or after this ISO 8601 date-time. A value that is not a date-time is refused with 400.","schema":{"type":"string","format":"date-time"}},{"name":"page","in":"query","required":false,"description":"The page to return, from 1. Default 1. A page past the end returns no records.","schema":{"type":"integer","format":"int64"}},{"name":"per_page","in":"query","required":false,"description":"Records per page, 1 to 2000. Default 2000. Another value is refused with 400.","schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","required":["user_assignments","per_page","total_pages","total_entries","next_page","previous_page","page","links"],"properties":{"user_assignments":{"type":"array","items":{"$ref":"#/components/schemas/user_assignment"}},"per_page":{"type":"integer"},"total_pages":{"type":"integer"},"total_entries":{"type":"integer"},"next_page":{"type":["integer","null"]},"previous_page":{"type":["integer","null"]},"page":{"type":"integer"},"links":{"type":"object","properties":{"first":{"type":"string"},"next":{"type":["string","null"]},"previous":{"type":["string","null"]},"last":{"type":"string"}}}}}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"422":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"}}}},"/projects/{project_id}/user_assignments":{"get":{"operationId":"getProjectsProjectIdUserAssignments","summary":"List a project's user assignments","description":"Supported with differences.","tags":["user-assignments"],"x-support":"differences","x-scope":"reports:read","x-rate-limit":"100 requests in 15 seconds","parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"user_id","in":"query","required":false,"description":"Only this person's assignment.","schema":{"type":"integer","format":"int64"}},{"name":"is_active","in":"query","required":false,"description":"true for active records only, false for archived only. Another value is ignored, as in Harvest.","schema":{"type":"boolean"}},{"name":"updated_since","in":"query","required":false,"description":"Only records changed at or after this ISO 8601 date-time. A value that is not a date-time is refused with 400.","schema":{"type":"string","format":"date-time"}},{"name":"page","in":"query","required":false,"description":"The page to return, from 1. Default 1. A page past the end returns no records.","schema":{"type":"integer","format":"int64"}},{"name":"per_page","in":"query","required":false,"description":"Records per page, 1 to 2000. Default 2000. Another value is refused with 400.","schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","required":["user_assignments","per_page","total_pages","total_entries","next_page","previous_page","page","links"],"properties":{"user_assignments":{"type":"array","items":{"$ref":"#/components/schemas/user_assignment"}},"per_page":{"type":"integer"},"total_pages":{"type":"integer"},"total_entries":{"type":"integer"},"next_page":{"type":["integer","null"]},"previous_page":{"type":["integer","null"]},"page":{"type":"integer"},"links":{"type":"object","properties":{"first":{"type":"string"},"next":{"type":["string","null"]},"previous":{"type":["string","null"]},"last":{"type":"string"}}}}}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"422":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"}}},"post":{"operationId":"postProjectsProjectIdUserAssignments","summary":"Assign a person to a project","description":"Supported with differences. is_project_manager needs an owner or admin token, as in the app. hourly_rate is the person's rate on the project when use_default_rates is false. budget is ignored.","tags":["user-assignments"],"x-support":"differences","x-scope":"projects:write","x-rate-limit":"100 requests in 15 seconds","parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["user_id"],"properties":{"user_id":{"type":"integer","format":"int64","description":"The person."},"is_project_manager":{"type":"boolean","description":"true makes them a manager of the project."},"use_default_rates":{"type":"boolean","description":"false to use hourly_rate on this project."},"hourly_rate":{"type":"number","description":"Their billable rate on this project, in dollars."}}}},"application/x-www-form-urlencoded":{"schema":{"type":"object","required":["user_id"],"properties":{"user_id":{"type":"integer","format":"int64","description":"The person."},"is_project_manager":{"type":"boolean","description":"true makes them a manager of the project."},"use_default_rates":{"type":"boolean","description":"false to use hourly_rate on this project."},"hourly_rate":{"type":"number","description":"Their billable rate on this project, in dollars."}}}}}},"responses":{"201":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/user_assignment"}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"422":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"}}}},"/projects/{project_id}/user_assignments/{user_assignment_id}":{"get":{"operationId":"getProjectsProjectIdUserAssignmentsUserAssignmentId","summary":"Retrieve a user assignment","description":"Supported with differences.","tags":["user-assignments"],"x-support":"differences","x-scope":"reports:read","x-rate-limit":"100 requests in 15 seconds","parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"user_assignment_id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/user_assignment"}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"422":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"}}},"patch":{"operationId":"patchProjectsProjectIdUserAssignmentsUserAssignmentId","summary":"Update a user assignment","description":"Supported with differences. is_active and budget are ignored: remove the assignment to take the person off the project.","tags":["user-assignments"],"x-support":"differences","x-scope":"projects:write","x-rate-limit":"100 requests in 15 seconds","parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"user_assignment_id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"is_project_manager":{"type":"boolean","description":"true makes them a manager of the project."},"use_default_rates":{"type":"boolean","description":"true removes their own rate on the project."},"hourly_rate":{"type":"number","description":"Their billable rate on this project."}}}},"application/x-www-form-urlencoded":{"schema":{"type":"object","required":[],"properties":{"is_project_manager":{"type":"boolean","description":"true makes them a manager of the project."},"use_default_rates":{"type":"boolean","description":"true removes their own rate on the project."},"hourly_rate":{"type":"number","description":"Their billable rate on this project."}}}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/user_assignment"}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"422":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"}}},"delete":{"operationId":"deleteProjectsProjectIdUserAssignmentsUserAssignmentId","summary":"Remove a user assignment","description":"Supported with differences. Allowed when the person has time on the project; their entries stay. A person on the project through a team stays on it.","tags":["user-assignments"],"x-support":"differences","x-scope":"projects:write","x-rate-limit":"100 requests in 15 seconds","parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"user_assignment_id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK, with no body."},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"422":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"}}}},"/task_assignments":{"get":{"operationId":"getTaskAssignments","summary":"List task assignments","description":"Supported with differences. budget and hourly_rate are null: a task rate applies to projects billed by task, which the time tracker does not have. A member is refused (403).","tags":["task-assignments"],"x-support":"differences","x-scope":"reports:read","x-rate-limit":"100 requests in 15 seconds","parameters":[{"name":"is_active","in":"query","required":false,"description":"true for active records only, false for archived only. Another value is ignored, as in Harvest.","schema":{"type":"boolean"}},{"name":"updated_since","in":"query","required":false,"description":"Only records changed at or after this ISO 8601 date-time. A value that is not a date-time is refused with 400.","schema":{"type":"string","format":"date-time"}},{"name":"page","in":"query","required":false,"description":"The page to return, from 1. Default 1. A page past the end returns no records.","schema":{"type":"integer","format":"int64"}},{"name":"per_page","in":"query","required":false,"description":"Records per page, 1 to 2000. Default 2000. Another value is refused with 400.","schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","required":["task_assignments","per_page","total_pages","total_entries","next_page","previous_page","page","links"],"properties":{"task_assignments":{"type":"array","items":{"$ref":"#/components/schemas/task_assignment"}},"per_page":{"type":"integer"},"total_pages":{"type":"integer"},"total_entries":{"type":"integer"},"next_page":{"type":["integer","null"]},"previous_page":{"type":["integer","null"]},"page":{"type":"integer"},"links":{"type":"object","properties":{"first":{"type":"string"},"next":{"type":["string","null"]},"previous":{"type":["string","null"]},"last":{"type":"string"}}}}}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"422":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"}}}},"/projects/{project_id}/task_assignments":{"get":{"operationId":"getProjectsProjectIdTaskAssignments","summary":"List a project's task assignments","description":"Supported with differences.","tags":["task-assignments"],"x-support":"differences","x-scope":"reports:read","x-rate-limit":"100 requests in 15 seconds","parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"is_active","in":"query","required":false,"description":"true for active records only, false for archived only. Another value is ignored, as in Harvest.","schema":{"type":"boolean"}},{"name":"updated_since","in":"query","required":false,"description":"Only records changed at or after this ISO 8601 date-time. A value that is not a date-time is refused with 400.","schema":{"type":"string","format":"date-time"}},{"name":"page","in":"query","required":false,"description":"The page to return, from 1. Default 1. A page past the end returns no records.","schema":{"type":"integer","format":"int64"}},{"name":"per_page","in":"query","required":false,"description":"Records per page, 1 to 2000. Default 2000. Another value is refused with 400.","schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","required":["task_assignments","per_page","total_pages","total_entries","next_page","previous_page","page","links"],"properties":{"task_assignments":{"type":"array","items":{"$ref":"#/components/schemas/task_assignment"}},"per_page":{"type":"integer"},"total_pages":{"type":"integer"},"total_entries":{"type":"integer"},"next_page":{"type":["integer","null"]},"previous_page":{"type":["integer","null"]},"page":{"type":"integer"},"links":{"type":"object","properties":{"first":{"type":"string"},"next":{"type":["string","null"]},"previous":{"type":["string","null"]},"last":{"type":"string"}}}}}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"422":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"}}},"post":{"operationId":"postProjectsProjectIdTaskAssignments","summary":"Add a task to a project","description":"Supported with differences. hourly_rate and budget are ignored: rates are set on people and projects.","tags":["task-assignments"],"x-support":"differences","x-scope":"projects:write","x-rate-limit":"100 requests in 15 seconds","parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["task_id"],"properties":{"task_id":{"type":"integer","format":"int64","description":"The task."},"billable":{"type":"boolean","description":"Whether time on the task is billable on this project. Default: the task's default."}}}},"application/x-www-form-urlencoded":{"schema":{"type":"object","required":["task_id"],"properties":{"task_id":{"type":"integer","format":"int64","description":"The task."},"billable":{"type":"boolean","description":"Whether time on the task is billable on this project. Default: the task's default."}}}}}},"responses":{"201":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/task_assignment"}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"422":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"}}}},"/projects/{project_id}/task_assignments/{task_assignment_id}":{"get":{"operationId":"getProjectsProjectIdTaskAssignmentsTaskAssignmentId","summary":"Retrieve a task assignment","description":"Supported with differences.","tags":["task-assignments"],"x-support":"differences","x-scope":"reports:read","x-rate-limit":"100 requests in 15 seconds","parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"task_assignment_id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/task_assignment"}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"422":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"}}},"patch":{"operationId":"patchProjectsProjectIdTaskAssignmentsTaskAssignmentId","summary":"Update a task assignment","description":"Supported with differences. Changes billable. is_active, hourly_rate and budget are ignored.","tags":["task-assignments"],"x-support":"differences","x-scope":"projects:write","x-rate-limit":"100 requests in 15 seconds","parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"task_assignment_id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"billable":{"type":"boolean","description":"Whether time on the task is billable on this project."}}}},"application/x-www-form-urlencoded":{"schema":{"type":"object","required":[],"properties":{"billable":{"type":"boolean","description":"Whether time on the task is billable on this project."}}}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/task_assignment"}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"422":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"}}},"delete":{"operationId":"deleteProjectsProjectIdTaskAssignmentsTaskAssignmentId","summary":"Remove a task from a project","description":"Supported with differences. Refused (422) while the project has entries on the task, as in Harvest.","tags":["task-assignments"],"x-support":"differences","x-scope":"projects:write","x-rate-limit":"100 requests in 15 seconds","parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"task_assignment_id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK, with no body."},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"422":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"}}}},"/tasks":{"get":{"operationId":"getTasks","summary":"List tasks","description":"Supported with differences. default_hourly_rate is 0. A member is refused (403).","tags":["tasks"],"x-support":"differences","x-scope":"reports:read","x-rate-limit":"100 requests in 15 seconds","parameters":[{"name":"is_active","in":"query","required":false,"description":"true for active records only, false for archived only. Another value is ignored, as in Harvest.","schema":{"type":"boolean"}},{"name":"updated_since","in":"query","required":false,"description":"Only records changed at or after this ISO 8601 date-time. A value that is not a date-time is refused with 400.","schema":{"type":"string","format":"date-time"}},{"name":"page","in":"query","required":false,"description":"The page to return, from 1. Default 1. A page past the end returns no records.","schema":{"type":"integer","format":"int64"}},{"name":"per_page","in":"query","required":false,"description":"Records per page, 1 to 2000. Default 2000. Another value is refused with 400.","schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","required":["tasks","per_page","total_pages","total_entries","next_page","previous_page","page","links"],"properties":{"tasks":{"type":"array","items":{"$ref":"#/components/schemas/task"}},"per_page":{"type":"integer"},"total_pages":{"type":"integer"},"total_entries":{"type":"integer"},"next_page":{"type":["integer","null"]},"previous_page":{"type":["integer","null"]},"page":{"type":"integer"},"links":{"type":"object","properties":{"first":{"type":"string"},"next":{"type":["string","null"]},"previous":{"type":["string","null"]},"last":{"type":"string"}}}}}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"422":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"}}},"post":{"operationId":"postTasks","summary":"Create a task","description":"Supported with differences. default_hourly_rate is ignored.","tags":["tasks"],"x-support":"differences","x-scope":"projects:write","x-rate-limit":"100 requests in 15 seconds","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["name"],"properties":{"name":{"type":"string","description":"The task's name."},"billable_by_default":{"type":"boolean","description":"Default true."},"is_default":{"type":"boolean","description":"true adds it to new projects."},"is_active":{"type":"boolean","description":"false creates it archived."}}}},"application/x-www-form-urlencoded":{"schema":{"type":"object","required":["name"],"properties":{"name":{"type":"string","description":"The task's name."},"billable_by_default":{"type":"boolean","description":"Default true."},"is_default":{"type":"boolean","description":"true adds it to new projects."},"is_active":{"type":"boolean","description":"false creates it archived."}}}}}},"responses":{"201":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/task"}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"422":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"}}}},"/tasks/{task_id}":{"get":{"operationId":"getTasksTaskId","summary":"Retrieve a task","description":"Supported with differences.","tags":["tasks"],"x-support":"differences","x-scope":"reports:read","x-rate-limit":"100 requests in 15 seconds","parameters":[{"name":"task_id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/task"}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"422":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"}}},"patch":{"operationId":"patchTasksTaskId","summary":"Update a task","description":"Supported with differences.","tags":["tasks"],"x-support":"differences","x-scope":"projects:write","x-rate-limit":"100 requests in 15 seconds","parameters":[{"name":"task_id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"name":{"type":"string","description":"The task's name."},"billable_by_default":{"type":"boolean","description":"Whether new project time on it is billable."},"is_default":{"type":"boolean","description":"true adds it to new projects."},"is_active":{"type":"boolean","description":"false archives it; true restores it."}}}},"application/x-www-form-urlencoded":{"schema":{"type":"object","required":[],"properties":{"name":{"type":"string","description":"The task's name."},"billable_by_default":{"type":"boolean","description":"Whether new project time on it is billable."},"is_default":{"type":"boolean","description":"true adds it to new projects."},"is_active":{"type":"boolean","description":"false archives it; true restores it."}}}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/task"}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"422":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"}}},"delete":{"operationId":"deleteTasksTaskId","summary":"Delete a task","description":"Not supported. Archive with is_active false. Deleting tasks is not offered by the app.","tags":["tasks"],"x-support":"not_supported","x-scope":"projects:write","x-rate-limit":"100 requests in 15 seconds","parameters":[{"name":"task_id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"422":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"}}}},"/roles":{"get":{"operationId":"getRoles","summary":"List roles","description":"Supported with differences. Roles are the app's teams. A member is refused (403).","tags":["roles"],"x-support":"differences","x-scope":"reports:read","x-rate-limit":"100 requests in 15 seconds","parameters":[{"name":"updated_since","in":"query","required":false,"description":"Only records changed at or after this ISO 8601 date-time. A value that is not a date-time is refused with 400.","schema":{"type":"string","format":"date-time"}},{"name":"page","in":"query","required":false,"description":"The page to return, from 1. Default 1. A page past the end returns no records.","schema":{"type":"integer","format":"int64"}},{"name":"per_page","in":"query","required":false,"description":"Records per page, 1 to 2000. Default 2000. Another value is refused with 400.","schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","required":["roles","per_page","total_pages","total_entries","next_page","previous_page","page","links"],"properties":{"roles":{"type":"array","items":{"$ref":"#/components/schemas/role"}},"per_page":{"type":"integer"},"total_pages":{"type":"integer"},"total_entries":{"type":"integer"},"next_page":{"type":["integer","null"]},"previous_page":{"type":["integer","null"]},"page":{"type":"integer"},"links":{"type":"object","properties":{"first":{"type":"string"},"next":{"type":["string","null"]},"previous":{"type":["string","null"]},"last":{"type":"string"}}}}}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"422":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"}}},"post":{"operationId":"postRoles","summary":"Create a role","description":"Supported with differences. Creates a team. A team gives its people access to the team's projects.","tags":["roles"],"x-support":"differences","x-scope":"people:write","x-rate-limit":"100 requests in 15 seconds","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["name"],"properties":{"name":{"type":"string","description":"The team's name, up to 60 characters."},"user_ids":{"type":"array","items":{"type":"integer"},"description":"Its people."}}}},"application/x-www-form-urlencoded":{"schema":{"type":"object","required":["name"],"properties":{"name":{"type":"string","description":"The team's name, up to 60 characters."},"user_ids":{"type":"array","items":{"type":"integer"},"description":"Its people."}}}}}},"responses":{"201":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/role"}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"422":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"}}}},"/roles/{role_id}":{"get":{"operationId":"getRolesRoleId","summary":"Retrieve a role","description":"Supported with differences.","tags":["roles"],"x-support":"differences","x-scope":"reports:read","x-rate-limit":"100 requests in 15 seconds","parameters":[{"name":"role_id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/role"}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"422":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"}}},"patch":{"operationId":"patchRolesRoleId","summary":"Update a role","description":"Supported with differences.","tags":["roles"],"x-support":"differences","x-scope":"people:write","x-rate-limit":"100 requests in 15 seconds","parameters":[{"name":"role_id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"name":{"type":"string","description":"The team's name."},"user_ids":{"type":"array","items":{"type":"integer"},"description":"Its people; replaces the list."}}}},"application/x-www-form-urlencoded":{"schema":{"type":"object","required":[],"properties":{"name":{"type":"string","description":"The team's name."},"user_ids":{"type":"array","items":{"type":"integer"},"description":"Its people; replaces the list."}}}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/role"}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"422":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"}}},"delete":{"operationId":"deleteRolesRoleId","summary":"Delete a role","description":"Supported with differences. Archives the team, which removes the access it gave. The team's history stays.","tags":["roles"],"x-support":"differences","x-scope":"people:write","x-rate-limit":"100 requests in 15 seconds","parameters":[{"name":"role_id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK, with no body."},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"422":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"}}}},"/time_entries":{"get":{"operationId":"getTimeEntries","summary":"List time entries","description":"Supported with differences. A member reads their own entries, a manager also the entries on projects they manage, an owner or admin the whole workspace's entries. A running timer is listed as an entry with is_running true. is_billed, invoice and approval_status hold their empty values: nothing is invoiced or approved here. is_locked is true in a closed month.","tags":["time-entries"],"x-support":"differences","x-scope":"reports:read","x-rate-limit":"100 requests in 15 seconds","parameters":[{"name":"user_id","in":"query","required":false,"description":"Only this person's entries. An id that is not an integer matches none.","schema":{"type":"integer","format":"int64"}},{"name":"client_id","in":"query","required":false,"description":"Only entries on this client's projects.","schema":{"type":"integer","format":"int64"}},{"name":"project_id","in":"query","required":false,"description":"Only entries on this project.","schema":{"type":"integer","format":"int64"}},{"name":"task_id","in":"query","required":false,"description":"Only entries on this task.","schema":{"type":"integer","format":"int64"}},{"name":"external_reference_id","in":"query","required":false,"description":"Only entries attached to this Asana task id.","schema":{"type":"string"}},{"name":"is_billed","in":"query","required":false,"description":"true matches no entry: nothing is invoiced here. false matches each entry. Another value is ignored.","schema":{"type":"boolean"}},{"name":"is_running","in":"query","required":false,"description":"true for running timers only, false for stopped entries only. Another value is ignored.","schema":{"type":"boolean"}},{"name":"approval_status","in":"query","required":false,"description":"unsubmitted matches each entry; submitted, approved and any other value match none.","schema":{"type":"string"}},{"name":"updated_since","in":"query","required":false,"description":"Only records changed at or after this ISO 8601 date-time. A value that is not a date-time is refused with 400.","schema":{"type":"string","format":"date-time"}},{"name":"from","in":"query","required":false,"description":"Only entries on or after this date: YYYY-MM-DD, YYYYMMDD or a date-time. Another value is refused with 400.","schema":{"type":"string","format":"date"}},{"name":"to","in":"query","required":false,"description":"Only entries on or before this date.","schema":{"type":"string","format":"date"}},{"name":"page","in":"query","required":false,"description":"The page to return, from 1. Default 1. A page past the end returns no records.","schema":{"type":"integer","format":"int64"}},{"name":"per_page","in":"query","required":false,"description":"Records per page, 1 to 2000. Default 2000. Another value is refused with 400.","schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","required":["time_entries","per_page","total_pages","total_entries","next_page","previous_page","page","links"],"properties":{"time_entries":{"type":"array","items":{"$ref":"#/components/schemas/time_entry"}},"per_page":{"type":"integer"},"total_pages":{"type":"integer"},"total_entries":{"type":"integer"},"next_page":{"type":["integer","null"]},"previous_page":{"type":["integer","null"]},"page":{"type":"integer"},"links":{"type":"object","properties":{"first":{"type":"string"},"next":{"type":["string","null"]},"previous":{"type":["string","null"]},"last":{"type":"string"}}}}}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"422":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"}}},"post":{"operationId":"postTimeEntries","summary":"Create a time entry","description":"Supported with differences. Both forms are accepted: hours (duration), or started_time and ended_time. Without hours and without ended_time, a timer starts, for the token's own person only. An entry is at most 24 hours and at least one minute. Closed months, archived projects, the project's task list and the workspace's notes rule apply as in the app.","tags":["time-entries"],"x-support":"differences","x-scope":"time:write","x-rate-limit":"100 requests in 15 seconds","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["project_id","task_id","spent_date"],"properties":{"user_id":{"type":"integer","format":"int64","description":"The person the entry is for. Default: the token's person. Logging for someone else needs the same right as in the app."},"project_id":{"type":"integer","format":"int64","description":"The project."},"task_id":{"type":"integer","format":"int64","description":"The task. It must be on the project's task list."},"spent_date":{"type":"string","format":"date","description":"The date the time counts on."},"notes":{"type":"string","description":"The note, up to 2000 characters. Required when the workspace requires notes."},"external_reference":{"type":"object","description":"An Asana task: id (the task id) or permalink (its address). The task must be in an Asana project linked to the project."},"hours":{"type":"number","description":"Duration form: hours, such as 1.5. Leave out to start a timer."},"started_time":{"type":"string","description":"Start and end form: the start, such as 9:00am, in the workspace time zone."},"ended_time":{"type":"string","description":"Start and end form: the end. Leave out to start a timer."}}}},"application/x-www-form-urlencoded":{"schema":{"type":"object","required":["project_id","task_id","spent_date"],"properties":{"user_id":{"type":"integer","format":"int64","description":"The person the entry is for. Default: the token's person. Logging for someone else needs the same right as in the app."},"project_id":{"type":"integer","format":"int64","description":"The project."},"task_id":{"type":"integer","format":"int64","description":"The task. It must be on the project's task list."},"spent_date":{"type":"string","format":"date","description":"The date the time counts on."},"notes":{"type":"string","description":"The note, up to 2000 characters. Required when the workspace requires notes."},"external_reference":{"type":"object","description":"An Asana task: id (the task id) or permalink (its address). The task must be in an Asana project linked to the project."},"hours":{"type":"number","description":"Duration form: hours, such as 1.5. Leave out to start a timer."},"started_time":{"type":"string","description":"Start and end form: the start, such as 9:00am, in the workspace time zone."},"ended_time":{"type":"string","description":"Start and end form: the end. Leave out to start a timer."}}}}}},"responses":{"201":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/time_entry"}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"422":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"}}}},"/time_entries/{time_entry_id}":{"get":{"operationId":"getTimeEntriesTimeEntryId","summary":"Retrieve a time entry","description":"Supported with differences.","tags":["time-entries"],"x-support":"differences","x-scope":"reports:read","x-rate-limit":"100 requests in 15 seconds","parameters":[{"name":"time_entry_id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/time_entry"}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"422":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"}}},"patch":{"operationId":"patchTimeEntriesTimeEntryId","summary":"Update a time entry","description":"Supported with differences. A running timer takes project_id, task_id, notes and external_reference; stop it to change its time.","tags":["time-entries"],"x-support":"differences","x-scope":"time:write","x-rate-limit":"100 requests in 15 seconds","parameters":[{"name":"time_entry_id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"project_id":{"type":"integer","format":"int64","description":"The project."},"task_id":{"type":"integer","format":"int64","description":"The task."},"spent_date":{"type":"string","format":"date","description":"The date."},"started_time":{"type":"string","description":"The start."},"ended_time":{"type":"string","description":"The end."},"hours":{"type":"number","description":"The hours. Clears the start and end times when they no longer match."},"notes":{"type":"string","description":"The note."},"external_reference":{"type":"object","description":"An Asana task, as on create."}}}},"application/x-www-form-urlencoded":{"schema":{"type":"object","required":[],"properties":{"project_id":{"type":"integer","format":"int64","description":"The project."},"task_id":{"type":"integer","format":"int64","description":"The task."},"spent_date":{"type":"string","format":"date","description":"The date."},"started_time":{"type":"string","description":"The start."},"ended_time":{"type":"string","description":"The end."},"hours":{"type":"number","description":"The hours. Clears the start and end times when they no longer match."},"notes":{"type":"string","description":"The note."},"external_reference":{"type":"object","description":"An Asana task, as on create."}}}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/time_entry"}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"422":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"}}},"delete":{"operationId":"deleteTimeEntriesTimeEntryId","summary":"Delete a time entry","description":"Supported with differences. Refused in a closed month for each role. Deleting a running timer discards it.","tags":["time-entries"],"x-support":"differences","x-scope":"time:write","x-rate-limit":"100 requests in 15 seconds","parameters":[{"name":"time_entry_id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK, with no body."},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"422":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"}}}},"/time_entries/{time_entry_id}/external_reference":{"delete":{"operationId":"deleteTimeEntriesTimeEntryIdExternalReference","summary":"Remove the external reference","description":"Supported with differences. Removes the Asana task from the entry.","tags":["time-entries"],"x-support":"differences","x-scope":"time:write","x-rate-limit":"100 requests in 15 seconds","parameters":[{"name":"time_entry_id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK, with no body."},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"422":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"}}}},"/time_entries/{time_entry_id}/restart":{"patch":{"operationId":"patchTimeEntriesTimeEntryIdRestart","summary":"Restart a time entry","description":"Supported with differences. Starts a new timer with the entry's project, task, note and Asana task, for the token's own person. The stopped entry stays as it is; the response is the running timer, with its own id, and stopping it writes a new entry.","tags":["time-entries"],"x-support":"differences","x-scope":"time:write","x-rate-limit":"100 requests in 15 seconds","parameters":[{"name":"time_entry_id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/time_entry"}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"422":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"}}}},"/time_entries/{time_entry_id}/stop":{"patch":{"operationId":"patchTimeEntriesTimeEntryIdStop","summary":"Stop a running time entry","description":"Supported. The entry the stop writes keeps the timer's id.","tags":["time-entries"],"x-support":"supported","x-scope":"time:write","x-rate-limit":"100 requests in 15 seconds","parameters":[{"name":"time_entry_id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/time_entry"}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"422":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"}}}},"/reports/time/clients":{"get":{"operationId":"getReportsTimeClients","summary":"Time report by client","description":"Supported with differences. include_fixed_fee is accepted and has no effect. Amounts need rates:read and an owner, admin or managing manager.","tags":["reports"],"x-support":"differences","x-scope":"reports:read","x-rate-limit":"100 requests in 15 minutes","parameters":[{"name":"from","in":"query","required":true,"description":"The first date, YYYY-MM-DD or YYYYMMDD. Without it the report is refused with 400.","schema":{"type":"string","format":"date"}},{"name":"to","in":"query","required":true,"description":"The last date, at most one year after from (400 otherwise). A to before from returns no rows.","schema":{"type":"string","format":"date"}},{"name":"page","in":"query","required":false,"description":"The page to return, from 1. Default 1. A page past the end returns no records.","schema":{"type":"integer","format":"int64"}},{"name":"per_page","in":"query","required":false,"description":"Records per page, 1 to 2000. Default 2000. Another value is refused with 400.","schema":{"type":"integer","format":"int64"}},{"name":"include_fixed_fee","in":"query","required":false,"description":"Accepted; no effect.","schema":{"type":"boolean"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","required":["results","per_page","total_pages","total_entries","next_page","previous_page","page","links"],"properties":{"results":{"type":"array","items":{"$ref":"#/components/schemas/report_time_client"}},"per_page":{"type":"integer"},"total_pages":{"type":"integer"},"total_entries":{"type":"integer"},"next_page":{"type":["integer","null"]},"previous_page":{"type":["integer","null"]},"page":{"type":"integer"},"links":{"type":"object","properties":{"first":{"type":"string"},"next":{"type":["string","null"]},"previous":{"type":["string","null"]},"last":{"type":"string"}}}}}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"422":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"}}}},"/reports/time/projects":{"get":{"operationId":"getReportsTimeProjects","summary":"Time report by project","description":"Supported with differences. scheduled_hours is not included: the time tracker has no forecast schedule.","tags":["reports"],"x-support":"differences","x-scope":"reports:read","x-rate-limit":"100 requests in 15 minutes","parameters":[{"name":"from","in":"query","required":true,"description":"The first date, YYYY-MM-DD or YYYYMMDD. Without it the report is refused with 400.","schema":{"type":"string","format":"date"}},{"name":"to","in":"query","required":true,"description":"The last date, at most one year after from (400 otherwise). A to before from returns no rows.","schema":{"type":"string","format":"date"}},{"name":"page","in":"query","required":false,"description":"The page to return, from 1. Default 1. A page past the end returns no records.","schema":{"type":"integer","format":"int64"}},{"name":"per_page","in":"query","required":false,"description":"Records per page, 1 to 2000. Default 2000. Another value is refused with 400.","schema":{"type":"integer","format":"int64"}},{"name":"include_fixed_fee","in":"query","required":false,"description":"Accepted; no effect.","schema":{"type":"boolean"}},{"name":"include_forecast","in":"query","required":false,"description":"Accepted; no effect.","schema":{"type":"boolean"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","required":["results","per_page","total_pages","total_entries","next_page","previous_page","page","links"],"properties":{"results":{"type":"array","items":{"$ref":"#/components/schemas/report_time_project"}},"per_page":{"type":"integer"},"total_pages":{"type":"integer"},"total_entries":{"type":"integer"},"next_page":{"type":["integer","null"]},"previous_page":{"type":["integer","null"]},"page":{"type":"integer"},"links":{"type":"object","properties":{"first":{"type":"string"},"next":{"type":["string","null"]},"previous":{"type":["string","null"]},"last":{"type":"string"}}}}}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"422":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"}}}},"/reports/time/tasks":{"get":{"operationId":"getReportsTimeTasks","summary":"Time report by task","description":"Supported with differences.","tags":["reports"],"x-support":"differences","x-scope":"reports:read","x-rate-limit":"100 requests in 15 minutes","parameters":[{"name":"from","in":"query","required":true,"description":"The first date, YYYY-MM-DD or YYYYMMDD. Without it the report is refused with 400.","schema":{"type":"string","format":"date"}},{"name":"to","in":"query","required":true,"description":"The last date, at most one year after from (400 otherwise). A to before from returns no rows.","schema":{"type":"string","format":"date"}},{"name":"page","in":"query","required":false,"description":"The page to return, from 1. Default 1. A page past the end returns no records.","schema":{"type":"integer","format":"int64"}},{"name":"per_page","in":"query","required":false,"description":"Records per page, 1 to 2000. Default 2000. Another value is refused with 400.","schema":{"type":"integer","format":"int64"}},{"name":"include_fixed_fee","in":"query","required":false,"description":"Accepted; no effect.","schema":{"type":"boolean"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","required":["results","per_page","total_pages","total_entries","next_page","previous_page","page","links"],"properties":{"results":{"type":"array","items":{"$ref":"#/components/schemas/report_time_task"}},"per_page":{"type":"integer"},"total_pages":{"type":"integer"},"total_entries":{"type":"integer"},"next_page":{"type":["integer","null"]},"previous_page":{"type":["integer","null"]},"page":{"type":"integer"},"links":{"type":"object","properties":{"first":{"type":"string"},"next":{"type":["string","null"]},"previous":{"type":["string","null"]},"last":{"type":"string"}}}}}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"422":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"}}}},"/reports/time/team":{"get":{"operationId":"getReportsTimeTeam","summary":"Time report by person","description":"Supported with differences.","tags":["reports"],"x-support":"differences","x-scope":"reports:read","x-rate-limit":"100 requests in 15 minutes","parameters":[{"name":"from","in":"query","required":true,"description":"The first date, YYYY-MM-DD or YYYYMMDD. Without it the report is refused with 400.","schema":{"type":"string","format":"date"}},{"name":"to","in":"query","required":true,"description":"The last date, at most one year after from (400 otherwise). A to before from returns no rows.","schema":{"type":"string","format":"date"}},{"name":"page","in":"query","required":false,"description":"The page to return, from 1. Default 1. A page past the end returns no records.","schema":{"type":"integer","format":"int64"}},{"name":"per_page","in":"query","required":false,"description":"Records per page, 1 to 2000. Default 2000. Another value is refused with 400.","schema":{"type":"integer","format":"int64"}},{"name":"include_fixed_fee","in":"query","required":false,"description":"Accepted; no effect.","schema":{"type":"boolean"}},{"name":"include_forecast","in":"query","required":false,"description":"Accepted; no effect.","schema":{"type":"boolean"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","required":["results","per_page","total_pages","total_entries","next_page","previous_page","page","links"],"properties":{"results":{"type":"array","items":{"$ref":"#/components/schemas/report_time_team"}},"per_page":{"type":"integer"},"total_pages":{"type":"integer"},"total_entries":{"type":"integer"},"next_page":{"type":["integer","null"]},"previous_page":{"type":["integer","null"]},"page":{"type":"integer"},"links":{"type":"object","properties":{"first":{"type":"string"},"next":{"type":["string","null"]},"previous":{"type":["string","null"]},"last":{"type":"string"}}}}}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"422":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"}}}},"/reports/uninvoiced":{"get":{"operationId":"getReportsUninvoiced","summary":"Uninvoiced report","description":"Supported with differences. The time entries this API reports are not invoiced, so uninvoiced hours are the billable hours, the amount is the billable amount and invoiced_amount is 0. uninvoiced_expenses is 0.","tags":["reports"],"x-support":"differences","x-scope":"reports:read","x-rate-limit":"100 requests in 15 minutes","parameters":[{"name":"from","in":"query","required":true,"description":"The first date, YYYY-MM-DD or YYYYMMDD. Without it the report is refused with 400.","schema":{"type":"string","format":"date"}},{"name":"to","in":"query","required":true,"description":"The last date, at most one year after from (400 otherwise). A to before from returns no rows.","schema":{"type":"string","format":"date"}},{"name":"page","in":"query","required":false,"description":"The page to return, from 1. Default 1. A page past the end returns no records.","schema":{"type":"integer","format":"int64"}},{"name":"per_page","in":"query","required":false,"description":"Records per page, 1 to 2000. Default 2000. Another value is refused with 400.","schema":{"type":"integer","format":"int64"}},{"name":"include_fixed_fee","in":"query","required":false,"description":"Accepted; no effect.","schema":{"type":"boolean"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","required":["results","per_page","total_pages","total_entries","next_page","previous_page","page","links"],"properties":{"results":{"type":"array","items":{"$ref":"#/components/schemas/report_uninvoiced"}},"per_page":{"type":"integer"},"total_pages":{"type":"integer"},"total_entries":{"type":"integer"},"next_page":{"type":["integer","null"]},"previous_page":{"type":["integer","null"]},"page":{"type":"integer"},"links":{"type":"object","properties":{"first":{"type":"string"},"next":{"type":["string","null"]},"previous":{"type":["string","null"]},"last":{"type":"string"}}}}}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"422":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"}}}},"/reports/project_budget":{"get":{"operationId":"getReportsProjectBudget","summary":"Project budget report","description":"Supported with differences. Budgets are in hours. A retainer's budget is its monthly hours and its spent hours are this month's.","tags":["reports"],"x-support":"differences","x-scope":"reports:read","x-rate-limit":"100 requests in 15 minutes","parameters":[{"name":"page","in":"query","required":false,"description":"The page to return, from 1. Default 1. A page past the end returns no records.","schema":{"type":"integer","format":"int64"}},{"name":"per_page","in":"query","required":false,"description":"Records per page, 1 to 2000. Default 2000. Another value is refused with 400.","schema":{"type":"integer","format":"int64"}},{"name":"is_active","in":"query","required":false,"description":"true for active records only, false for archived only. Another value is ignored, as in Harvest.","schema":{"type":"boolean"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","required":["results","per_page","total_pages","total_entries","next_page","previous_page","page","links"],"properties":{"results":{"type":"array","items":{"$ref":"#/components/schemas/report_project_budget"}},"per_page":{"type":"integer"},"total_pages":{"type":"integer"},"total_entries":{"type":"integer"},"next_page":{"type":["integer","null"]},"previous_page":{"type":["integer","null"]},"page":{"type":"integer"},"links":{"type":"object","properties":{"first":{"type":"string"},"next":{"type":["string","null"]},"previous":{"type":["string","null"]},"last":{"type":"string"}}}}}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"422":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"}}}},"/reports/expenses/clients":{"get":{"operationId":"getReportsExpensesClients","summary":"Expense report by client","description":"Not supported. The time tracker has no expenses. Lists are empty, a single record is not found (404), and a write is refused (422).","tags":["reports"],"x-support":"not_supported","x-scope":"reports:read","x-rate-limit":"100 requests in 15 minutes","parameters":[{"name":"from","in":"query","required":true,"description":"The first date, YYYY-MM-DD or YYYYMMDD. Without it the report is refused with 400.","schema":{"type":"string","format":"date"}},{"name":"to","in":"query","required":true,"description":"The last date, at most one year after from (400 otherwise). A to before from returns no rows.","schema":{"type":"string","format":"date"}},{"name":"page","in":"query","required":false,"description":"The page to return, from 1. Default 1. A page past the end returns no records.","schema":{"type":"integer","format":"int64"}},{"name":"per_page","in":"query","required":false,"description":"Records per page, 1 to 2000. Default 2000. Another value is refused with 400.","schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","required":["results","per_page","total_pages","total_entries","next_page","previous_page","page","links"],"properties":{"results":{"type":"array","items":{"$ref":"#/components/schemas/report_time_client"}},"per_page":{"type":"integer"},"total_pages":{"type":"integer"},"total_entries":{"type":"integer"},"next_page":{"type":["integer","null"]},"previous_page":{"type":["integer","null"]},"page":{"type":"integer"},"links":{"type":"object","properties":{"first":{"type":"string"},"next":{"type":["string","null"]},"previous":{"type":["string","null"]},"last":{"type":"string"}}}}}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"422":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"}}}},"/reports/expenses/projects":{"get":{"operationId":"getReportsExpensesProjects","summary":"Expense report by project","description":"Not supported. The time tracker has no expenses. Lists are empty, a single record is not found (404), and a write is refused (422).","tags":["reports"],"x-support":"not_supported","x-scope":"reports:read","x-rate-limit":"100 requests in 15 minutes","parameters":[{"name":"from","in":"query","required":true,"description":"The first date, YYYY-MM-DD or YYYYMMDD. Without it the report is refused with 400.","schema":{"type":"string","format":"date"}},{"name":"to","in":"query","required":true,"description":"The last date, at most one year after from (400 otherwise). A to before from returns no rows.","schema":{"type":"string","format":"date"}},{"name":"page","in":"query","required":false,"description":"The page to return, from 1. Default 1. A page past the end returns no records.","schema":{"type":"integer","format":"int64"}},{"name":"per_page","in":"query","required":false,"description":"Records per page, 1 to 2000. Default 2000. Another value is refused with 400.","schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","required":["results","per_page","total_pages","total_entries","next_page","previous_page","page","links"],"properties":{"results":{"type":"array","items":{"$ref":"#/components/schemas/report_time_project"}},"per_page":{"type":"integer"},"total_pages":{"type":"integer"},"total_entries":{"type":"integer"},"next_page":{"type":["integer","null"]},"previous_page":{"type":["integer","null"]},"page":{"type":"integer"},"links":{"type":"object","properties":{"first":{"type":"string"},"next":{"type":["string","null"]},"previous":{"type":["string","null"]},"last":{"type":"string"}}}}}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"422":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"}}}},"/reports/expenses/categories":{"get":{"operationId":"getReportsExpensesCategories","summary":"Expense report by category","description":"Not supported. The time tracker has no expenses. Lists are empty, a single record is not found (404), and a write is refused (422).","tags":["reports"],"x-support":"not_supported","x-scope":"reports:read","x-rate-limit":"100 requests in 15 minutes","parameters":[{"name":"from","in":"query","required":true,"description":"The first date, YYYY-MM-DD or YYYYMMDD. Without it the report is refused with 400.","schema":{"type":"string","format":"date"}},{"name":"to","in":"query","required":true,"description":"The last date, at most one year after from (400 otherwise). A to before from returns no rows.","schema":{"type":"string","format":"date"}},{"name":"page","in":"query","required":false,"description":"The page to return, from 1. Default 1. A page past the end returns no records.","schema":{"type":"integer","format":"int64"}},{"name":"per_page","in":"query","required":false,"description":"Records per page, 1 to 2000. Default 2000. Another value is refused with 400.","schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","required":["results","per_page","total_pages","total_entries","next_page","previous_page","page","links"],"properties":{"results":{"type":"array","items":{"$ref":"#/components/schemas/report_time_task"}},"per_page":{"type":"integer"},"total_pages":{"type":"integer"},"total_entries":{"type":"integer"},"next_page":{"type":["integer","null"]},"previous_page":{"type":["integer","null"]},"page":{"type":"integer"},"links":{"type":"object","properties":{"first":{"type":"string"},"next":{"type":["string","null"]},"previous":{"type":["string","null"]},"last":{"type":"string"}}}}}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"422":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"}}}},"/reports/expenses/team":{"get":{"operationId":"getReportsExpensesTeam","summary":"Expense report by person","description":"Not supported. The time tracker has no expenses. Lists are empty, a single record is not found (404), and a write is refused (422).","tags":["reports"],"x-support":"not_supported","x-scope":"reports:read","x-rate-limit":"100 requests in 15 minutes","parameters":[{"name":"from","in":"query","required":true,"description":"The first date, YYYY-MM-DD or YYYYMMDD. Without it the report is refused with 400.","schema":{"type":"string","format":"date"}},{"name":"to","in":"query","required":true,"description":"The last date, at most one year after from (400 otherwise). A to before from returns no rows.","schema":{"type":"string","format":"date"}},{"name":"page","in":"query","required":false,"description":"The page to return, from 1. Default 1. A page past the end returns no records.","schema":{"type":"integer","format":"int64"}},{"name":"per_page","in":"query","required":false,"description":"Records per page, 1 to 2000. Default 2000. Another value is refused with 400.","schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","required":["results","per_page","total_pages","total_entries","next_page","previous_page","page","links"],"properties":{"results":{"type":"array","items":{"$ref":"#/components/schemas/report_time_team"}},"per_page":{"type":"integer"},"total_pages":{"type":"integer"},"total_entries":{"type":"integer"},"next_page":{"type":["integer","null"]},"previous_page":{"type":["integer","null"]},"page":{"type":"integer"},"links":{"type":"object","properties":{"first":{"type":"string"},"next":{"type":["string","null"]},"previous":{"type":["string","null"]},"last":{"type":"string"}}}}}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"422":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"}}}},"/invoices":{"get":{"operationId":"getInvoices","summary":"List invoices","description":"Not supported. The time tracker has no invoices. Lists are empty, a single record is not found (404), and a write is refused (422).","tags":["not-available"],"x-support":"not_supported","x-scope":"reports:read","x-rate-limit":"100 requests in 15 seconds","parameters":[{"name":"client_id","in":"query","required":false,"description":"Client.","schema":{"type":"integer","format":"int64"}},{"name":"project_id","in":"query","required":false,"description":"Project.","schema":{"type":"integer","format":"int64"}},{"name":"updated_since","in":"query","required":false,"description":"Only records changed at or after this ISO 8601 date-time. A value that is not a date-time is refused with 400.","schema":{"type":"string","format":"date-time"}},{"name":"from","in":"query","required":false,"description":"From.","schema":{"type":"string","format":"date"}},{"name":"to","in":"query","required":false,"description":"To.","schema":{"type":"string","format":"date"}},{"name":"state","in":"query","required":false,"description":"State.","schema":{"type":"string"}},{"name":"page","in":"query","required":false,"description":"The page to return, from 1. Default 1. A page past the end returns no records.","schema":{"type":"integer","format":"int64"}},{"name":"per_page","in":"query","required":false,"description":"Records per page, 1 to 2000. Default 2000. Another value is refused with 400.","schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","required":["invoices","per_page","total_pages","total_entries","next_page","previous_page","page","links"],"properties":{"invoices":{"type":"array","items":{"$ref":"#/components/schemas/invoice_ref"}},"per_page":{"type":"integer"},"total_pages":{"type":"integer"},"total_entries":{"type":"integer"},"next_page":{"type":["integer","null"]},"previous_page":{"type":["integer","null"]},"page":{"type":"integer"},"links":{"type":"object","properties":{"first":{"type":"string"},"next":{"type":["string","null"]},"previous":{"type":["string","null"]},"last":{"type":"string"}}}}}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"422":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"}}},"post":{"operationId":"postInvoices","summary":"Create","description":"Not supported. The time tracker has no invoices. Lists are empty, a single record is not found (404), and a write is refused (422).","tags":["not-available"],"x-support":"not_supported","x-scope":"reports:read","x-rate-limit":"100 requests in 15 seconds","parameters":[],"responses":{"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"422":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"}}}},"/invoices/{invoice_id}":{"get":{"operationId":"getInvoicesInvoiceId","summary":"Retrieve one","description":"Not supported. The time tracker has no invoices. Lists are empty, a single record is not found (404), and a write is refused (422).","tags":["not-available"],"x-support":"not_supported","x-scope":"reports:read","x-rate-limit":"100 requests in 15 seconds","parameters":[{"name":"invoice_id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"422":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"}}},"patch":{"operationId":"patchInvoicesInvoiceId","summary":"Update","description":"Not supported. The time tracker has no invoices. Lists are empty, a single record is not found (404), and a write is refused (422).","tags":["not-available"],"x-support":"not_supported","x-scope":"reports:read","x-rate-limit":"100 requests in 15 seconds","parameters":[{"name":"invoice_id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"422":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"}}},"delete":{"operationId":"deleteInvoicesInvoiceId","summary":"Delete","description":"Not supported. The time tracker has no invoices. Lists are empty, a single record is not found (404), and a write is refused (422).","tags":["not-available"],"x-support":"not_supported","x-scope":"reports:read","x-rate-limit":"100 requests in 15 seconds","parameters":[{"name":"invoice_id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"422":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"}}}},"/invoices/{invoice_id}/send_e_invoice":{"post":{"operationId":"postInvoicesInvoiceIdSendEInvoice","summary":"Send an e-invoice","description":"Not supported. The time tracker has no invoices. Lists are empty, a single record is not found (404), and a write is refused (422).","tags":["not-available"],"x-support":"not_supported","x-scope":"time:write","x-rate-limit":"100 requests in 15 seconds","parameters":[{"name":"invoice_id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"422":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"}}}},"/invoices/{invoice_id}/e_invoice_status":{"get":{"operationId":"getInvoicesInvoiceIdEInvoiceStatus","summary":"E-invoice status","description":"Not supported. The time tracker has no invoices. Lists are empty, a single record is not found (404), and a write is refused (422).","tags":["not-available"],"x-support":"not_supported","x-scope":"reports:read","x-rate-limit":"100 requests in 15 seconds","parameters":[{"name":"invoice_id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"422":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"}}}},"/invoices/{invoice_id}/e_invoice_document":{"get":{"operationId":"getInvoicesInvoiceIdEInvoiceDocument","summary":"E-invoice document","description":"Not supported. The time tracker has no invoices. Lists are empty, a single record is not found (404), and a write is refused (422).","tags":["not-available"],"x-support":"not_supported","x-scope":"reports:read","x-rate-limit":"100 requests in 15 seconds","parameters":[{"name":"invoice_id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"422":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"}}}},"/invoices/{invoice_id}/messages":{"get":{"operationId":"getInvoicesInvoiceIdMessages","summary":"List invoice messages","description":"Not supported. The time tracker has no invoices. Lists are empty, a single record is not found (404), and a write is refused (422). Each invoice is not found, so its messages are too.","tags":["not-available"],"x-support":"not_supported","x-scope":"reports:read","x-rate-limit":"100 requests in 15 seconds","parameters":[{"name":"invoice_id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"page","in":"query","required":false,"description":"The page to return, from 1. Default 1. A page past the end returns no records.","schema":{"type":"integer","format":"int64"}},{"name":"per_page","in":"query","required":false,"description":"Records per page, 1 to 2000. Default 2000. Another value is refused with 400.","schema":{"type":"integer","format":"int64"}}],"responses":{"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"422":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"}}},"post":{"operationId":"postInvoicesInvoiceIdMessages","summary":"Create an invoice message","description":"Not supported. The time tracker has no invoices. Lists are empty, a single record is not found (404), and a write is refused (422).","tags":["not-available"],"x-support":"not_supported","x-scope":"time:write","x-rate-limit":"100 requests in 15 seconds","parameters":[{"name":"invoice_id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"422":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"}}}},"/invoices/{invoice_id}/messages/new":{"get":{"operationId":"getInvoicesInvoiceIdMessagesNew","summary":"New invoice message text","description":"Not supported. The time tracker has no invoices. Lists are empty, a single record is not found (404), and a write is refused (422).","tags":["not-available"],"x-support":"not_supported","x-scope":"reports:read","x-rate-limit":"100 requests in 15 seconds","parameters":[{"name":"invoice_id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"422":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"}}}},"/invoices/{invoice_id}/messages/{message_id}":{"delete":{"operationId":"deleteInvoicesInvoiceIdMessagesMessageId","summary":"Delete an invoice message","description":"Not supported. The time tracker has no invoices. Lists are empty, a single record is not found (404), and a write is refused (422).","tags":["not-available"],"x-support":"not_supported","x-scope":"time:write","x-rate-limit":"100 requests in 15 seconds","parameters":[{"name":"invoice_id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"message_id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"422":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"}}}},"/invoices/{invoice_id}/payments":{"get":{"operationId":"getInvoicesInvoiceIdPayments","summary":"List invoice payments","description":"Not supported. The time tracker has no invoices. Lists are empty, a single record is not found (404), and a write is refused (422).","tags":["not-available"],"x-support":"not_supported","x-scope":"reports:read","x-rate-limit":"100 requests in 15 seconds","parameters":[{"name":"invoice_id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"page","in":"query","required":false,"description":"The page to return, from 1. Default 1. A page past the end returns no records.","schema":{"type":"integer","format":"int64"}},{"name":"per_page","in":"query","required":false,"description":"Records per page, 1 to 2000. Default 2000. Another value is refused with 400.","schema":{"type":"integer","format":"int64"}}],"responses":{"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"422":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"}}},"post":{"operationId":"postInvoicesInvoiceIdPayments","summary":"Create an invoice payment","description":"Not supported. The time tracker has no invoices. Lists are empty, a single record is not found (404), and a write is refused (422).","tags":["not-available"],"x-support":"not_supported","x-scope":"time:write","x-rate-limit":"100 requests in 15 seconds","parameters":[{"name":"invoice_id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"422":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"}}}},"/invoices/{invoice_id}/payments/{payment_id}":{"delete":{"operationId":"deleteInvoicesInvoiceIdPaymentsPaymentId","summary":"Delete an invoice payment","description":"Not supported. The time tracker has no invoices. Lists are empty, a single record is not found (404), and a write is refused (422).","tags":["not-available"],"x-support":"not_supported","x-scope":"time:write","x-rate-limit":"100 requests in 15 seconds","parameters":[{"name":"invoice_id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"payment_id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"422":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"}}}},"/invoice_item_categories":{"get":{"operationId":"getInvoiceItemCategories","summary":"List invoice item categories","description":"Not supported. The time tracker has no invoices. Lists are empty, a single record is not found (404), and a write is refused (422).","tags":["not-available"],"x-support":"not_supported","x-scope":"reports:read","x-rate-limit":"100 requests in 15 seconds","parameters":[{"name":"updated_since","in":"query","required":false,"description":"Only records changed at or after this ISO 8601 date-time. A value that is not a date-time is refused with 400.","schema":{"type":"string","format":"date-time"}},{"name":"page","in":"query","required":false,"description":"The page to return, from 1. Default 1. A page past the end returns no records.","schema":{"type":"integer","format":"int64"}},{"name":"per_page","in":"query","required":false,"description":"Records per page, 1 to 2000. Default 2000. Another value is refused with 400.","schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","required":["invoice_item_categories","per_page","total_pages","total_entries","next_page","previous_page","page","links"],"properties":{"invoice_item_categories":{"type":"array","items":{"$ref":"#/components/schemas/invoice_ref"}},"per_page":{"type":"integer"},"total_pages":{"type":"integer"},"total_entries":{"type":"integer"},"next_page":{"type":["integer","null"]},"previous_page":{"type":["integer","null"]},"page":{"type":"integer"},"links":{"type":"object","properties":{"first":{"type":"string"},"next":{"type":["string","null"]},"previous":{"type":["string","null"]},"last":{"type":"string"}}}}}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"422":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"}}},"post":{"operationId":"postInvoiceItemCategories","summary":"Create","description":"Not supported. The time tracker has no invoices. Lists are empty, a single record is not found (404), and a write is refused (422).","tags":["not-available"],"x-support":"not_supported","x-scope":"reports:read","x-rate-limit":"100 requests in 15 seconds","parameters":[],"responses":{"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"422":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"}}}},"/invoice_item_categories/{invoice_item_category_id}":{"get":{"operationId":"getInvoiceItemCategoriesInvoiceItemCategoryId","summary":"Retrieve one","description":"Not supported. The time tracker has no invoices. Lists are empty, a single record is not found (404), and a write is refused (422).","tags":["not-available"],"x-support":"not_supported","x-scope":"reports:read","x-rate-limit":"100 requests in 15 seconds","parameters":[{"name":"invoice_item_category_id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"422":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"}}},"patch":{"operationId":"patchInvoiceItemCategoriesInvoiceItemCategoryId","summary":"Update","description":"Not supported. The time tracker has no invoices. Lists are empty, a single record is not found (404), and a write is refused (422).","tags":["not-available"],"x-support":"not_supported","x-scope":"reports:read","x-rate-limit":"100 requests in 15 seconds","parameters":[{"name":"invoice_item_category_id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"422":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"}}},"delete":{"operationId":"deleteInvoiceItemCategoriesInvoiceItemCategoryId","summary":"Delete","description":"Not supported. The time tracker has no invoices. Lists are empty, a single record is not found (404), and a write is refused (422).","tags":["not-available"],"x-support":"not_supported","x-scope":"reports:read","x-rate-limit":"100 requests in 15 seconds","parameters":[{"name":"invoice_item_category_id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"422":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"}}}},"/estimates":{"get":{"operationId":"getEstimates","summary":"List estimates","description":"Not supported. The time tracker has no estimates. Lists are empty, a single record is not found (404), and a write is refused (422).","tags":["not-available"],"x-support":"not_supported","x-scope":"reports:read","x-rate-limit":"100 requests in 15 seconds","parameters":[{"name":"client_id","in":"query","required":false,"description":"Client.","schema":{"type":"integer","format":"int64"}},{"name":"updated_since","in":"query","required":false,"description":"Only records changed at or after this ISO 8601 date-time. A value that is not a date-time is refused with 400.","schema":{"type":"string","format":"date-time"}},{"name":"from","in":"query","required":false,"description":"From.","schema":{"type":"string","format":"date"}},{"name":"to","in":"query","required":false,"description":"To.","schema":{"type":"string","format":"date"}},{"name":"state","in":"query","required":false,"description":"State.","schema":{"type":"string"}},{"name":"page","in":"query","required":false,"description":"The page to return, from 1. Default 1. A page past the end returns no records.","schema":{"type":"integer","format":"int64"}},{"name":"per_page","in":"query","required":false,"description":"Records per page, 1 to 2000. Default 2000. Another value is refused with 400.","schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","required":["estimates","per_page","total_pages","total_entries","next_page","previous_page","page","links"],"properties":{"estimates":{"type":"array","items":{"$ref":"#/components/schemas/invoice_ref"}},"per_page":{"type":"integer"},"total_pages":{"type":"integer"},"total_entries":{"type":"integer"},"next_page":{"type":["integer","null"]},"previous_page":{"type":["integer","null"]},"page":{"type":"integer"},"links":{"type":"object","properties":{"first":{"type":"string"},"next":{"type":["string","null"]},"previous":{"type":["string","null"]},"last":{"type":"string"}}}}}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"422":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"}}},"post":{"operationId":"postEstimates","summary":"Create","description":"Not supported. The time tracker has no estimates. Lists are empty, a single record is not found (404), and a write is refused (422).","tags":["not-available"],"x-support":"not_supported","x-scope":"reports:read","x-rate-limit":"100 requests in 15 seconds","parameters":[],"responses":{"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"422":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"}}}},"/estimates/{estimate_id}":{"get":{"operationId":"getEstimatesEstimateId","summary":"Retrieve one","description":"Not supported. The time tracker has no estimates. Lists are empty, a single record is not found (404), and a write is refused (422).","tags":["not-available"],"x-support":"not_supported","x-scope":"reports:read","x-rate-limit":"100 requests in 15 seconds","parameters":[{"name":"estimate_id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"422":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"}}},"patch":{"operationId":"patchEstimatesEstimateId","summary":"Update","description":"Not supported. The time tracker has no estimates. Lists are empty, a single record is not found (404), and a write is refused (422).","tags":["not-available"],"x-support":"not_supported","x-scope":"reports:read","x-rate-limit":"100 requests in 15 seconds","parameters":[{"name":"estimate_id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"422":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"}}},"delete":{"operationId":"deleteEstimatesEstimateId","summary":"Delete","description":"Not supported. The time tracker has no estimates. Lists are empty, a single record is not found (404), and a write is refused (422).","tags":["not-available"],"x-support":"not_supported","x-scope":"reports:read","x-rate-limit":"100 requests in 15 seconds","parameters":[{"name":"estimate_id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"422":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"}}}},"/estimates/{estimate_id}/messages":{"get":{"operationId":"getEstimatesEstimateIdMessages","summary":"List estimate messages","description":"Not supported. The time tracker has no estimates. Lists are empty, a single record is not found (404), and a write is refused (422).","tags":["not-available"],"x-support":"not_supported","x-scope":"reports:read","x-rate-limit":"100 requests in 15 seconds","parameters":[{"name":"estimate_id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"page","in":"query","required":false,"description":"The page to return, from 1. Default 1. A page past the end returns no records.","schema":{"type":"integer","format":"int64"}},{"name":"per_page","in":"query","required":false,"description":"Records per page, 1 to 2000. Default 2000. Another value is refused with 400.","schema":{"type":"integer","format":"int64"}}],"responses":{"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"422":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"}}},"post":{"operationId":"postEstimatesEstimateIdMessages","summary":"Create an estimate message","description":"Not supported. The time tracker has no estimates. Lists are empty, a single record is not found (404), and a write is refused (422).","tags":["not-available"],"x-support":"not_supported","x-scope":"time:write","x-rate-limit":"100 requests in 15 seconds","parameters":[{"name":"estimate_id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"422":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"}}}},"/estimates/{estimate_id}/messages/{message_id}":{"delete":{"operationId":"deleteEstimatesEstimateIdMessagesMessageId","summary":"Delete an estimate message","description":"Not supported. The time tracker has no estimates. Lists are empty, a single record is not found (404), and a write is refused (422).","tags":["not-available"],"x-support":"not_supported","x-scope":"time:write","x-rate-limit":"100 requests in 15 seconds","parameters":[{"name":"estimate_id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"message_id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"422":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"}}}},"/estimate_item_categories":{"get":{"operationId":"getEstimateItemCategories","summary":"List estimate item categories","description":"Not supported. The time tracker has no estimates. Lists are empty, a single record is not found (404), and a write is refused (422).","tags":["not-available"],"x-support":"not_supported","x-scope":"reports:read","x-rate-limit":"100 requests in 15 seconds","parameters":[{"name":"updated_since","in":"query","required":false,"description":"Only records changed at or after this ISO 8601 date-time. A value that is not a date-time is refused with 400.","schema":{"type":"string","format":"date-time"}},{"name":"page","in":"query","required":false,"description":"The page to return, from 1. Default 1. A page past the end returns no records.","schema":{"type":"integer","format":"int64"}},{"name":"per_page","in":"query","required":false,"description":"Records per page, 1 to 2000. Default 2000. Another value is refused with 400.","schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","required":["estimate_item_categories","per_page","total_pages","total_entries","next_page","previous_page","page","links"],"properties":{"estimate_item_categories":{"type":"array","items":{"$ref":"#/components/schemas/invoice_ref"}},"per_page":{"type":"integer"},"total_pages":{"type":"integer"},"total_entries":{"type":"integer"},"next_page":{"type":["integer","null"]},"previous_page":{"type":["integer","null"]},"page":{"type":"integer"},"links":{"type":"object","properties":{"first":{"type":"string"},"next":{"type":["string","null"]},"previous":{"type":["string","null"]},"last":{"type":"string"}}}}}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"422":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"}}},"post":{"operationId":"postEstimateItemCategories","summary":"Create","description":"Not supported. The time tracker has no estimates. Lists are empty, a single record is not found (404), and a write is refused (422).","tags":["not-available"],"x-support":"not_supported","x-scope":"reports:read","x-rate-limit":"100 requests in 15 seconds","parameters":[],"responses":{"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"422":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"}}}},"/estimate_item_categories/{estimate_item_category_id}":{"get":{"operationId":"getEstimateItemCategoriesEstimateItemCategoryId","summary":"Retrieve one","description":"Not supported. The time tracker has no estimates. Lists are empty, a single record is not found (404), and a write is refused (422).","tags":["not-available"],"x-support":"not_supported","x-scope":"reports:read","x-rate-limit":"100 requests in 15 seconds","parameters":[{"name":"estimate_item_category_id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"422":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"}}},"patch":{"operationId":"patchEstimateItemCategoriesEstimateItemCategoryId","summary":"Update","description":"Not supported. The time tracker has no estimates. Lists are empty, a single record is not found (404), and a write is refused (422).","tags":["not-available"],"x-support":"not_supported","x-scope":"reports:read","x-rate-limit":"100 requests in 15 seconds","parameters":[{"name":"estimate_item_category_id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"422":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"}}},"delete":{"operationId":"deleteEstimateItemCategoriesEstimateItemCategoryId","summary":"Delete","description":"Not supported. The time tracker has no estimates. Lists are empty, a single record is not found (404), and a write is refused (422).","tags":["not-available"],"x-support":"not_supported","x-scope":"reports:read","x-rate-limit":"100 requests in 15 seconds","parameters":[{"name":"estimate_item_category_id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"422":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"}}}},"/expenses":{"get":{"operationId":"getExpenses","summary":"List expenses","description":"Not supported. The time tracker has no expenses. Lists are empty, a single record is not found (404), and a write is refused (422).","tags":["not-available"],"x-support":"not_supported","x-scope":"reports:read","x-rate-limit":"100 requests in 15 seconds","parameters":[{"name":"user_id","in":"query","required":false,"description":"Person.","schema":{"type":"integer","format":"int64"}},{"name":"client_id","in":"query","required":false,"description":"Client.","schema":{"type":"integer","format":"int64"}},{"name":"project_id","in":"query","required":false,"description":"Project.","schema":{"type":"integer","format":"int64"}},{"name":"is_billed","in":"query","required":false,"description":"Billed.","schema":{"type":"boolean"}},{"name":"updated_since","in":"query","required":false,"description":"Only records changed at or after this ISO 8601 date-time. A value that is not a date-time is refused with 400.","schema":{"type":"string","format":"date-time"}},{"name":"from","in":"query","required":false,"description":"From.","schema":{"type":"string","format":"date"}},{"name":"to","in":"query","required":false,"description":"To.","schema":{"type":"string","format":"date"}},{"name":"page","in":"query","required":false,"description":"The page to return, from 1. Default 1. A page past the end returns no records.","schema":{"type":"integer","format":"int64"}},{"name":"per_page","in":"query","required":false,"description":"Records per page, 1 to 2000. Default 2000. Another value is refused with 400.","schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","required":["expenses","per_page","total_pages","total_entries","next_page","previous_page","page","links"],"properties":{"expenses":{"type":"array","items":{"$ref":"#/components/schemas/invoice_ref"}},"per_page":{"type":"integer"},"total_pages":{"type":"integer"},"total_entries":{"type":"integer"},"next_page":{"type":["integer","null"]},"previous_page":{"type":["integer","null"]},"page":{"type":"integer"},"links":{"type":"object","properties":{"first":{"type":"string"},"next":{"type":["string","null"]},"previous":{"type":["string","null"]},"last":{"type":"string"}}}}}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"422":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"}}},"post":{"operationId":"postExpenses","summary":"Create","description":"Not supported. The time tracker has no expenses. Lists are empty, a single record is not found (404), and a write is refused (422).","tags":["not-available"],"x-support":"not_supported","x-scope":"reports:read","x-rate-limit":"100 requests in 15 seconds","parameters":[],"responses":{"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"422":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"}}}},"/expenses/{expense_id}":{"get":{"operationId":"getExpensesExpenseId","summary":"Retrieve one","description":"Not supported. The time tracker has no expenses. Lists are empty, a single record is not found (404), and a write is refused (422).","tags":["not-available"],"x-support":"not_supported","x-scope":"reports:read","x-rate-limit":"100 requests in 15 seconds","parameters":[{"name":"expense_id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"422":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"}}},"patch":{"operationId":"patchExpensesExpenseId","summary":"Update","description":"Not supported. The time tracker has no expenses. Lists are empty, a single record is not found (404), and a write is refused (422).","tags":["not-available"],"x-support":"not_supported","x-scope":"reports:read","x-rate-limit":"100 requests in 15 seconds","parameters":[{"name":"expense_id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"422":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"}}},"delete":{"operationId":"deleteExpensesExpenseId","summary":"Delete","description":"Not supported. The time tracker has no expenses. Lists are empty, a single record is not found (404), and a write is refused (422).","tags":["not-available"],"x-support":"not_supported","x-scope":"reports:read","x-rate-limit":"100 requests in 15 seconds","parameters":[{"name":"expense_id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"422":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"}}}},"/expenses/{expense_id}/approve":{"post":{"operationId":"postExpensesExpenseIdApprove","summary":"Approve an expense","description":"Not supported. The time tracker has no expenses. Lists are empty, a single record is not found (404), and a write is refused (422).","tags":["not-available"],"x-support":"not_supported","x-scope":"time:write","x-rate-limit":"100 requests in 15 seconds","parameters":[{"name":"expense_id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"422":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"}}}},"/expenses/{expense_id}/withdraw":{"post":{"operationId":"postExpensesExpenseIdWithdraw","summary":"Withdraw an expense approval","description":"Not supported. The time tracker has no expenses. Lists are empty, a single record is not found (404), and a write is refused (422).","tags":["not-available"],"x-support":"not_supported","x-scope":"time:write","x-rate-limit":"100 requests in 15 seconds","parameters":[{"name":"expense_id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"422":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"}}}},"/expense_categories":{"get":{"operationId":"getExpenseCategories","summary":"List expense categories","description":"Not supported. The time tracker has no expenses. Lists are empty, a single record is not found (404), and a write is refused (422).","tags":["not-available"],"x-support":"not_supported","x-scope":"reports:read","x-rate-limit":"100 requests in 15 seconds","parameters":[{"name":"is_active","in":"query","required":false,"description":"true for active records only, false for archived only. Another value is ignored, as in Harvest.","schema":{"type":"boolean"}},{"name":"updated_since","in":"query","required":false,"description":"Only records changed at or after this ISO 8601 date-time. A value that is not a date-time is refused with 400.","schema":{"type":"string","format":"date-time"}},{"name":"page","in":"query","required":false,"description":"The page to return, from 1. Default 1. A page past the end returns no records.","schema":{"type":"integer","format":"int64"}},{"name":"per_page","in":"query","required":false,"description":"Records per page, 1 to 2000. Default 2000. Another value is refused with 400.","schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","required":["expense_categories","per_page","total_pages","total_entries","next_page","previous_page","page","links"],"properties":{"expense_categories":{"type":"array","items":{"$ref":"#/components/schemas/invoice_ref"}},"per_page":{"type":"integer"},"total_pages":{"type":"integer"},"total_entries":{"type":"integer"},"next_page":{"type":["integer","null"]},"previous_page":{"type":["integer","null"]},"page":{"type":"integer"},"links":{"type":"object","properties":{"first":{"type":"string"},"next":{"type":["string","null"]},"previous":{"type":["string","null"]},"last":{"type":"string"}}}}}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"422":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"}}},"post":{"operationId":"postExpenseCategories","summary":"Create","description":"Not supported. The time tracker has no expenses. Lists are empty, a single record is not found (404), and a write is refused (422).","tags":["not-available"],"x-support":"not_supported","x-scope":"reports:read","x-rate-limit":"100 requests in 15 seconds","parameters":[],"responses":{"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"422":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"}}}},"/expense_categories/{expense_category_id}":{"get":{"operationId":"getExpenseCategoriesExpenseCategoryId","summary":"Retrieve one","description":"Not supported. The time tracker has no expenses. Lists are empty, a single record is not found (404), and a write is refused (422).","tags":["not-available"],"x-support":"not_supported","x-scope":"reports:read","x-rate-limit":"100 requests in 15 seconds","parameters":[{"name":"expense_category_id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"422":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"}}},"patch":{"operationId":"patchExpenseCategoriesExpenseCategoryId","summary":"Update","description":"Not supported. The time tracker has no expenses. Lists are empty, a single record is not found (404), and a write is refused (422).","tags":["not-available"],"x-support":"not_supported","x-scope":"reports:read","x-rate-limit":"100 requests in 15 seconds","parameters":[{"name":"expense_category_id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"422":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"}}},"delete":{"operationId":"deleteExpenseCategoriesExpenseCategoryId","summary":"Delete","description":"Not supported. The time tracker has no expenses. Lists are empty, a single record is not found (404), and a write is refused (422).","tags":["not-available"],"x-support":"not_supported","x-scope":"reports:read","x-rate-limit":"100 requests in 15 seconds","parameters":[{"name":"expense_category_id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"422":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"}}}}},"components":{"securitySchemes":{"bearer":{"type":"http","scheme":"bearer","description":"A workspace API token, created in Settings, API tokens."},"account":{"type":"apiKey","in":"header","name":"Harvest-Account-Id","description":"The workspace's account id, or its slug."}},"responses":{"Error":{"description":"An error, in Harvest's shapes: a 401 has error and error_description; a 404 for a record has status and error; 400 and 422 have message only; 403, 413, 429 and 500 have status, error and message. An unknown path is a 404 HTML page.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"error":{"type":"string"},"error_description":{"type":"string"},"message":{"type":"string"}}}}}}},"schemas":{"company":{"type":"object","additionalProperties":false,"required":["base_uri","full_domain","name","is_active","week_start_day","wants_timestamp_timers","time_format","date_format","plan_type","clock","currency_code_display","currency_symbol_display","decimal_symbol","thousands_separator","color_scheme","weekly_capacity","expense_feature","invoice_feature","estimate_feature","approval_feature","team_feature","currency","day_entry_notes_required","e_invoicing_status","saml_sign_in_required"],"properties":{"base_uri":{"type":"string","description":"The address of the time tracker."},"full_domain":{"type":"string","description":"The host name of the time tracker."},"name":{"type":"string","description":"The workspace name."},"is_active":{"type":"boolean","description":"True while the workspace is not scheduled for deletion."},"week_start_day":{"type":"string","description":"Sunday or Monday, from the workspace settings."},"wants_timestamp_timers":{"type":"boolean","description":"False: entries are tracked by duration, with optional start and end times. Both create forms are accepted whatever this says."},"time_format":{"type":"string","description":"decimal."},"date_format":{"type":"string","description":"%Y-%m-%d."},"plan_type":{"type":"string","description":"An empty string. The time tracker has no such data, so this is the empty value."},"clock":{"type":"string","description":"12h. Started and ended times are written like 9:30am."},"currency_code_display":{"type":"string","description":"iso_code_none."},"currency_symbol_display":{"type":"string","description":"symbol_before."},"decimal_symbol":{"type":"string","description":"A period."},"thousands_separator":{"type":"string","description":"A comma."},"color_scheme":{"type":"string","description":"An empty string. The time tracker has no such data, so this is the empty value."},"weekly_capacity":{"type":"integer","format":"int64","description":"144000 (40 hours), the capacity a new person gets. Capacity is set per person; see weekly_capacity on users."},"expense_feature":{"type":"boolean","description":"False: the time tracker has no expenses."},"invoice_feature":{"type":"boolean","description":"False: the time tracker has no invoices."},"estimate_feature":{"type":"boolean","description":"False: the time tracker has no estimates."},"approval_feature":{"type":"boolean","description":"False: the time tracker has no timesheet approval. Closed months lock entries instead."},"team_feature":{"type":"boolean","description":"True: teams are listed as roles."},"currency":{"type":"string","description":"USD."},"day_entry_notes_required":{"type":["string","null"],"format":"date-time","description":"Null. Harvest gives the time notes became required. The workspace's notes rule is in the app and has no such time."},"e_invoicing_status":{"type":["string","null"],"description":"Null. The time tracker has no such data, so this is the empty value."},"saml_sign_in_required":{"type":"boolean","description":"False. The time tracker has no such data, so this is the empty value."}}},"user":{"type":"object","additionalProperties":false,"required":["id","first_name","last_name","employee_id","email","telephone","timezone","has_access_to_all_future_projects","is_contractor","is_active","weekly_capacity","default_hourly_rate","cost_rate","roles","access_roles","permissions_profile","permissions_claims","can_create_projects","calendar_integration_enabled","calendar_integration_source","avatar_url","created_at","updated_at"],"properties":{"id":{"type":"integer","format":"int64","description":"The person's id."},"first_name":{"type":"string","description":"The first word of the person's name."},"last_name":{"type":"string","description":"The rest of the person's name."},"employee_id":{"type":["string","null"],"description":"Null. The time tracker has no such data, so this is the empty value."},"email":{"type":["string","null"],"description":"The person's email. Null for other people unless the token's person is an owner or admin and the token has people:read."},"telephone":{"type":"string","description":"An empty string. The time tracker has no such data, so this is the empty value."},"timezone":{"type":"string","description":"The workspace time zone, as a Rails time zone name such as Central Time (US & Canada), as Harvest writes it. A zone with no Rails name is written as its IANA name, such as America/Boise."},"has_access_to_all_future_projects":{"type":"boolean","description":"False. The time tracker has no such data, so this is the empty value."},"is_contractor":{"type":"boolean","description":"False. The time tracker has no such data, so this is the empty value."},"is_active":{"type":"boolean","description":"False when the person is archived."},"weekly_capacity":{"type":"integer","format":"int64","description":"The person's weekly capacity in seconds."},"default_hourly_rate":{"type":["number","null"],"description":"The person's billable rate in effect today. Null unless the token has rates:read and its person is an owner, an admin or a manager."},"cost_rate":{"type":["number","null"],"description":"Null. This API does not return cost, for any role or scope."},"roles":{"type":"array","items":{"type":"string"},"description":"The names of the person's teams."},"access_roles":{"type":"array","items":{"type":"string"},"description":"administrator for an owner or admin, manager for a manager, member for a member."},"permissions_profile":{"type":"string","description":"Owner, Administrator, Manager or Member."},"permissions_claims":{"type":"array","items":{"type":"string"},"description":"What the role can do, in Harvest's resource:action:scope form, such as timers:write:own. Lists only records this API has: no invoices, estimates, expenses or cost."},"can_create_projects":{"type":"boolean","description":"True for an owner, admin or manager."},"calendar_integration_enabled":{"type":"boolean","description":"False. The time tracker has no such data, so this is the empty value."},"calendar_integration_source":{"type":["string","null"],"description":"Null. The time tracker has no such data, so this is the empty value."},"avatar_url":{"type":"string","description":"The person's profile photo address, or an empty string."},"created_at":{"type":"string","format":"date-time","description":"When the record was created."},"updated_at":{"type":"string","format":"date-time","description":"When the record was last changed."}}},"user_ref":{"type":"object","additionalProperties":false,"required":["id","name"],"properties":{"id":{"type":"integer","format":"int64","description":"The person's id."},"name":{"type":"string","description":"The person's name."}}},"billable_rate":{"type":"object","additionalProperties":false,"required":["id","amount","start_date","end_date","created_at","updated_at"],"properties":{"id":{"type":"integer","format":"int64","description":"The rate's id."},"amount":{"type":"number","description":"The hourly rate in dollars."},"start_date":{"type":["string","null"],"format":"date","description":"The first day the rate applies."},"end_date":{"type":["string","null"],"format":"date","description":"The last day the rate applies, or null for the current rate."},"created_at":{"type":"string","format":"date-time","description":"When the record was created."},"updated_at":{"type":"string","format":"date-time","description":"When the record was last changed."}}},"cost_rate":{"type":"object","additionalProperties":false,"required":["id","amount","start_date","end_date","created_at","updated_at"],"properties":{"id":{"type":"integer","format":"int64","description":"The rate's id."},"amount":{"type":"number","description":"Not returned: cost rate lists are empty."},"start_date":{"type":["string","null"],"format":"date","description":"Not returned."},"end_date":{"type":["string","null"],"format":"date","description":"Not returned."},"created_at":{"type":"string","format":"date-time","description":"When the record was created."},"updated_at":{"type":"string","format":"date-time","description":"When the record was last changed."}}},"project_assignment":{"type":"object","additionalProperties":false,"required":["id","is_active","is_project_manager","use_default_rates","hourly_rate","budget","created_at","updated_at","project","client","task_assignments"],"properties":{"id":{"type":"integer","format":"int64","description":"The assignment's id."},"is_active":{"type":"boolean","description":"False when the project or the person is archived."},"is_project_manager":{"type":"boolean","description":"True when the person manages the project."},"use_default_rates":{"type":"boolean","description":"False when the person has their own rate on the project."},"hourly_rate":{"type":["number","null"],"description":"The person's billable rate on the project. Null unless the token has rates:read and its person is an owner, an admin or a manager of the project."},"budget":{"type":["number","null"],"description":"Null. The time tracker has no such data, so this is the empty value."},"created_at":{"type":"string","format":"date-time","description":"When the record was created."},"updated_at":{"type":"string","format":"date-time","description":"When the record was last changed."},"project":{"$ref":"#/components/schemas/project_ref_billable","description":"The project."},"client":{"$ref":"#/components/schemas/client_ref_currency","description":"The project's client."},"task_assignments":{"type":"array","items":{"$ref":"#/components/schemas/project_assignment_task"},"description":"The project's tasks, by task name."}}},"project_assignment_task":{"type":"object","additionalProperties":false,"required":["id","billable","is_active","created_at","updated_at","hourly_rate","budget","task"],"properties":{"id":{"type":"integer","format":"int64","description":"The task assignment's id."},"billable":{"type":"boolean","description":"Whether time on the task is billable on this project."},"is_active":{"type":"boolean","description":"False when the task is archived."},"created_at":{"type":"string","format":"date-time","description":"When the record was created."},"updated_at":{"type":"string","format":"date-time","description":"When the record was last changed."},"hourly_rate":{"type":["number","null"],"description":"Null: a task rate applies to projects billed by task, which the time tracker does not have. The rate is on the project and the person. The time tracker has no such data, so this is the empty value."},"budget":{"type":["number","null"],"description":"Null. The time tracker has no such data, so this is the empty value."},"task":{"$ref":"#/components/schemas/task_ref","description":"The task."}}},"teammate":{"type":"object","additionalProperties":false,"required":["id","first_name","last_name","email"],"properties":{"id":{"type":"integer","format":"int64","description":"The person's id."},"first_name":{"type":"string","description":"First name."},"last_name":{"type":"string","description":"Last name."},"email":{"type":"string","description":"Email."}}},"client":{"type":"object","additionalProperties":false,"required":["id","name","is_active","address","statement_key","currency","created_at","updated_at"],"properties":{"id":{"type":"integer","format":"int64","description":"The client's id."},"name":{"type":"string","description":"The client's name."},"is_active":{"type":"boolean","description":"False when the client is archived."},"address":{"type":["string","null"],"description":"Null. The time tracker has no such data, so this is the empty value."},"statement_key":{"type":"string","description":"An empty string. The time tracker has no such data, so this is the empty value."},"currency":{"type":"string","description":"USD."},"created_at":{"type":"string","format":"date-time","description":"When the record was created."},"updated_at":{"type":"string","format":"date-time","description":"When the record was last changed."}}},"client_ref":{"type":"object","additionalProperties":false,"required":["id","name"],"properties":{"id":{"type":"integer","format":"int64","description":"The client's id."},"name":{"type":"string","description":"The client's name."}}},"client_ref_currency":{"type":"object","additionalProperties":false,"required":["id","name","currency"],"properties":{"id":{"type":"integer","format":"int64","description":"The client's id."},"name":{"type":"string","description":"The client's name."},"currency":{"type":"string","description":"USD."}}},"contact":{"type":"object","additionalProperties":false,"required":["id","client","title","first_name","last_name","email","phone_office","phone_mobile","fax","invoice_recipient_status","created_at","updated_at"],"properties":{"id":{"type":"integer","format":"int64","description":"The contact's id."},"client":{"$ref":"#/components/schemas/client_ref","description":"The contact's client."},"title":{"type":"string","description":"The contact's title, or an empty string."},"first_name":{"type":"string","description":"The first word of the contact's name."},"last_name":{"type":"string","description":"The rest of the contact's name."},"email":{"type":"string","description":"The contact's email."},"phone_office":{"type":"string","description":"The contact's phone number, or an empty string. The time tracker keeps one phone number per contact."},"phone_mobile":{"type":"string","description":"An empty string. The time tracker keeps one phone number per contact, returned as phone_office."},"fax":{"type":"string","description":"An empty string. The time tracker has no such data, so this is the empty value."},"invoice_recipient_status":{"type":"string","description":"none. Invoice recipients are chosen per client in the app, not on the contact."},"created_at":{"type":"string","format":"date-time","description":"When the record was created."},"updated_at":{"type":"string","format":"date-time","description":"When the record was last changed."}}},"project":{"type":"object","additionalProperties":false,"required":["id","client","name","code","currency","is_active","is_billable","is_fixed_fee","bill_by","hourly_rate","budget_by","budget_is_monthly","budget","cost_budget","cost_budget_include_expenses","notify_when_over_budget","over_budget_notification_percentage","over_budget_notification_date","show_budget_to_all","fee","fee_schedule","milestones","notes","starts_on","ends_on","created_at","updated_at","tags"],"properties":{"id":{"type":"integer","format":"int64","description":"The project's id."},"client":{"$ref":"#/components/schemas/client_ref_currency","description":"The project's client."},"name":{"type":"string","description":"The project's name."},"code":{"type":["string","null"],"description":"Null. The time tracker has no such data, so this is the empty value."},"currency":{"type":"string","description":"USD."},"is_active":{"type":"boolean","description":"False when the project is archived."},"is_billable":{"type":"boolean","description":"True for retainer, fixed fee and hourly projects; false for internal and time off projects."},"is_fixed_fee":{"type":"boolean","description":"True for a fixed fee project."},"bill_by":{"type":"string","description":"Project when the project has a project rate, People otherwise, none for internal and time off projects."},"hourly_rate":{"type":["number","null"],"description":"The project rate. Null unless the token has rates:read and its person is an owner, an admin or a manager of the project."},"budget_by":{"type":"string","description":"project when the project has an hours budget (a retainer: its monthly hours), none otherwise."},"budget_is_monthly":{"type":"boolean","description":"True for a retainer, whose budget is its monthly hours."},"budget":{"type":["number","null"],"description":"The hours budget, or a retainer's monthly hours in effect today."},"cost_budget":{"type":["number","null"],"description":"Null. This API does not return cost, for any role or scope."},"cost_budget_include_expenses":{"type":"boolean","description":"False. The time tracker has no such data, so this is the empty value."},"notify_when_over_budget":{"type":"boolean","description":"True when the project has a budget: the time tracker notifies at 80 and 100 percent of it."},"over_budget_notification_percentage":{"type":"number","description":"80: the time tracker notifies at 80 percent of a budget."},"over_budget_notification_date":{"type":["string","null"],"format":"date","description":"Null. The time tracker has no such data, so this is the empty value."},"show_budget_to_all":{"type":"boolean","description":"False. The time tracker has no such data, so this is the empty value."},"fee":{"type":["number","null"],"description":"A fixed fee project's total fee. Null unless the token has rates:read and its person is an owner, an admin or a manager of the project."},"fee_schedule":{"type":["string","null"],"description":"single, or null when the token may not read fees."},"milestones":{"type":["array","null"],"items":{"type":"integer"},"description":"An empty list, or null when the token may not read fees. The time tracker has no such data, so this is the empty value."},"notes":{"type":"string","description":"An empty string. The time tracker has no such data, so this is the empty value."},"starts_on":{"type":["string","null"],"format":"date","description":"The start date."},"ends_on":{"type":["string","null"],"format":"date","description":"The end date."},"created_at":{"type":"string","format":"date-time","description":"When the record was created."},"updated_at":{"type":"string","format":"date-time","description":"When the record was last changed."},"tags":{"type":"array","items":{"$ref":"#/components/schemas/project_tag"},"description":"An empty list. The time tracker has no such data, so this is the empty value."}}},"project_ref":{"type":"object","additionalProperties":false,"required":["id","name","code"],"properties":{"id":{"type":"integer","format":"int64","description":"The project's id."},"name":{"type":"string","description":"The project's name."},"code":{"type":["string","null"],"description":"Null."}}},"project_ref_billable":{"type":"object","additionalProperties":false,"required":["id","name","code","is_billable"],"properties":{"id":{"type":"integer","format":"int64","description":"The project's id."},"name":{"type":"string","description":"The project's name."},"code":{"type":["string","null"],"description":"Null."},"is_billable":{"type":"boolean","description":"True for retainer, fixed fee and hourly projects."}}},"project_tag":{"type":"object","additionalProperties":false,"required":["id","name"],"properties":{"id":{"type":"integer","format":"int64","description":"The tag's id."},"name":{"type":"string","description":"The tag's name."}}},"task":{"type":"object","additionalProperties":false,"required":["id","name","billable_by_default","default_hourly_rate","is_default","is_active","created_at","updated_at"],"properties":{"id":{"type":"integer","format":"int64","description":"The task's id."},"name":{"type":"string","description":"The task's name."},"billable_by_default":{"type":"boolean","description":"Whether time on the task is billable when a project adds it."},"default_hourly_rate":{"type":["number","null"],"description":"Null: rates are set on people and projects, not tasks. The time tracker has no such data, so this is the empty value."},"is_default":{"type":"boolean","description":"True when the task is on the standard list or is added to new projects."},"is_active":{"type":"boolean","description":"False when the task is archived."},"created_at":{"type":"string","format":"date-time","description":"When the record was created."},"updated_at":{"type":"string","format":"date-time","description":"When the record was last changed."}}},"task_ref":{"type":"object","additionalProperties":false,"required":["id","name"],"properties":{"id":{"type":"integer","format":"int64","description":"The task's id."},"name":{"type":"string","description":"The task's name."}}},"user_assignment":{"type":"object","additionalProperties":false,"required":["id","project","user","is_active","is_project_manager","use_default_rates","hourly_rate","budget","created_at","updated_at"],"properties":{"id":{"type":"integer","format":"int64","description":"The assignment's id."},"project":{"$ref":"#/components/schemas/project_ref","description":"The project."},"user":{"$ref":"#/components/schemas/user_ref","description":"The person."},"is_active":{"type":"boolean","description":"False when the project or the person is archived."},"is_project_manager":{"type":"boolean","description":"True when the person manages the project."},"use_default_rates":{"type":"boolean","description":"False when the person has their own rate on the project."},"hourly_rate":{"type":["number","null"],"description":"The person's billable rate on the project. Null unless the token has rates:read and its person is an owner, an admin or a manager of the project."},"budget":{"type":["number","null"],"description":"Null. The time tracker has no such data, so this is the empty value."},"created_at":{"type":"string","format":"date-time","description":"When the record was created."},"updated_at":{"type":"string","format":"date-time","description":"When the record was last changed."}}},"user_assignment_embedded":{"type":"object","additionalProperties":false,"required":["id","is_project_manager","is_active","use_default_rates","budget","created_at","updated_at","hourly_rate"],"properties":{"id":{"type":"integer","format":"int64","description":"The assignment's id."},"is_project_manager":{"type":"boolean","description":"True when the person manages the project."},"is_active":{"type":"boolean","description":"False when the person is archived."},"use_default_rates":{"type":"boolean","description":"False when the person has their own rate on the project."},"budget":{"type":["number","null"],"description":"Null. The time tracker has no such data, so this is the empty value."},"created_at":{"type":"string","format":"date-time","description":"When the record was created."},"updated_at":{"type":"string","format":"date-time","description":"When the record was last changed."},"hourly_rate":{"type":["number","null"],"description":"The person's billable rate on the project. Null unless the token has rates:read and its person is an owner, an admin or a manager of the project."}}},"task_assignment":{"type":"object","additionalProperties":false,"required":["id","project","task","is_active","billable","hourly_rate","budget","created_at","updated_at"],"properties":{"id":{"type":"integer","format":"int64","description":"The task assignment's id."},"project":{"$ref":"#/components/schemas/project_ref","description":"The project."},"task":{"$ref":"#/components/schemas/task_ref","description":"The task."},"is_active":{"type":"boolean","description":"False when the task or the project is archived."},"billable":{"type":"boolean","description":"Whether time on the task is billable on this project."},"hourly_rate":{"type":["number","null"],"description":"Null: a task rate applies to projects billed by task, which the time tracker does not have. The rate is on the project and the person. The time tracker has no such data, so this is the empty value."},"budget":{"type":["number","null"],"description":"Null. The time tracker has no such data, so this is the empty value."},"created_at":{"type":"string","format":"date-time","description":"When the record was created."},"updated_at":{"type":"string","format":"date-time","description":"When the record was last changed."}}},"task_assignment_embedded":{"type":"object","additionalProperties":false,"required":["id","billable","is_active","created_at","updated_at","hourly_rate","budget"],"properties":{"id":{"type":"integer","format":"int64","description":"The task assignment's id."},"billable":{"type":"boolean","description":"Whether time on the task is billable on this project."},"is_active":{"type":"boolean","description":"False when the task is archived."},"created_at":{"type":"string","format":"date-time","description":"When the record was created."},"updated_at":{"type":"string","format":"date-time","description":"When the record was last changed."},"hourly_rate":{"type":["number","null"],"description":"Null: a task rate applies to projects billed by task, which the time tracker does not have. The rate is on the project and the person. The time tracker has no such data, so this is the empty value."},"budget":{"type":["number","null"],"description":"Null. The time tracker has no such data, so this is the empty value."}}},"role":{"type":"object","additionalProperties":false,"required":["id","name","user_ids","created_at","updated_at"],"properties":{"id":{"type":"integer","format":"int64","description":"The role's id."},"name":{"type":"string","description":"The team's name."},"user_ids":{"type":"array","items":{"type":"integer"},"description":"The ids of the team's people."},"created_at":{"type":"string","format":"date-time","description":"When the record was created."},"updated_at":{"type":"string","format":"date-time","description":"When the record was last changed."}}},"time_entry":{"type":"object","additionalProperties":false,"required":["id","spent_date","user","user_assignment","client","project","task","task_assignment","external_reference","invoice","hours","hours_without_timer","rounded_hours","notes","is_locked","is_explicitly_locked","locked_reason","is_closed","approval_status","is_billed","timer_started_at","started_time","ended_time","is_running","billable","budgeted","billable_rate","cost_rate","created_at","updated_at"],"properties":{"id":{"type":"integer","format":"int64","description":"The time entry's id."},"spent_date":{"type":"string","format":"date","description":"The date the time counts on."},"user":{"$ref":"#/components/schemas/user_ref","description":"The person."},"user_assignment":{"$ref":"#/components/schemas/user_assignment_embedded","description":"The person's assignment to the project. On a project open to everyone, a person who is not assigned to it gets an assignment with id 0."},"client":{"$ref":"#/components/schemas/client_ref_currency","description":"The project's client."},"project":{"$ref":"#/components/schemas/project_ref","description":"The project."},"task":{"$ref":"#/components/schemas/task_ref","description":"The task."},"task_assignment":{"$ref":"#/components/schemas/task_assignment_embedded","description":"The task on the project. Id 0 when the task is no longer on the project's task list."},"external_reference":{"oneOf":[{"$ref":"#/components/schemas/external_reference"},{"type":"null"}],"description":"The Asana task attached to the entry, or null."},"invoice":{"oneOf":[{"$ref":"#/components/schemas/invoice_ref"},{"type":"null"}],"description":"Null. The time tracker has no such data, so this is the empty value."},"hours":{"type":"number","description":"Hours, to two decimals. A running timer: the hours so far."},"hours_without_timer":{"type":"number","description":"The same as hours for a stopped entry; 0 for a running timer."},"rounded_hours":{"type":"number","description":"The same as hours: the time tracker does not round."},"notes":{"type":["string","null"],"description":"The note."},"is_locked":{"type":"boolean","description":"True when the entry's month is closed."},"is_explicitly_locked":{"type":"boolean","description":"False: entries are locked by a closed month, not one by one. The time tracker has no such data, so this is the empty value."},"locked_reason":{"type":["string","null"],"description":"Why the entry is locked, or null."},"is_closed":{"type":"boolean","description":"False. The time tracker has no such data, so this is the empty value."},"approval_status":{"type":"string","description":"unsubmitted. The time tracker has no such data, so this is the empty value."},"is_billed":{"type":"boolean","description":"False. The time tracker has no such data, so this is the empty value."},"timer_started_at":{"type":["string","null"],"format":"date-time","description":"When the running timer started, or null."},"started_time":{"type":["string","null"],"description":"The start time in the workspace time zone, like 9:30am, or null."},"ended_time":{"type":["string","null"],"description":"The end time in the workspace time zone, or null."},"is_running":{"type":"boolean","description":"True for a running timer."},"billable":{"type":"boolean","description":"Whether the entry is billable."},"budgeted":{"type":"boolean","description":"True when the project has an hours budget."},"billable_rate":{"type":["number","null"],"description":"The billable rate that applied on the entry's date. Null unless the token has rates:read and its person is an owner, an admin or a manager of the project."},"cost_rate":{"type":["number","null"],"description":"Null. This API does not return cost, for any role or scope."},"created_at":{"type":"string","format":"date-time","description":"When the record was created."},"updated_at":{"type":"string","format":"date-time","description":"When the record was last changed."}}},"external_reference":{"type":"object","additionalProperties":false,"required":["id","group_id","account_id","permalink","service","service_icon_url"],"properties":{"id":{"type":"string","description":"The Asana task id."},"group_id":{"type":["string","null"],"description":"Null."},"account_id":{"type":["string","null"],"description":"Null."},"permalink":{"type":"string","description":"The Asana task's address."},"service":{"type":"string","description":"app.asana.com."},"service_icon_url":{"type":["string","null"],"description":"Null."}}},"invoice_ref":{"type":"object","additionalProperties":false,"required":["id","number"],"properties":{"id":{"type":"integer","format":"int64","description":"The invoice's id."},"number":{"type":"string","description":"The invoice number."}}},"report_time_client":{"type":"object","additionalProperties":false,"required":["client_id","client_name","total_hours","billable_hours","currency","billable_amount"],"properties":{"client_id":{"type":"integer","format":"int64","description":"The client's id."},"client_name":{"type":"string","description":"The client's name."},"total_hours":{"type":"number","description":"Hours in the range."},"billable_hours":{"type":"number","description":"Billable hours in the range."},"currency":{"type":["string","null"],"description":"USD, or null when the token may not read billable amounts."},"billable_amount":{"type":["number","null"],"description":"Billable hours times the rates that applied. Null unless the token has rates:read and its person is an owner, an admin or a manager of the project."}}},"report_time_project":{"type":"object","additionalProperties":false,"required":["project_id","project_name","client_id","client_name","total_hours","billable_hours","currency","billable_amount"],"properties":{"project_id":{"type":"integer","format":"int64","description":"The project's id."},"project_name":{"type":"string","description":"The project's name."},"client_id":{"type":"integer","format":"int64","description":"The client's id."},"client_name":{"type":"string","description":"The client's name."},"total_hours":{"type":"number","description":"Hours in the range."},"billable_hours":{"type":"number","description":"Billable hours in the range."},"currency":{"type":["string","null"],"description":"USD, or null when the token may not read billable amounts."},"billable_amount":{"type":["number","null"],"description":"Billable hours times the rates that applied. Null unless the token has rates:read and its person is an owner, an admin or a manager of the project."}}},"report_time_task":{"type":"object","additionalProperties":false,"required":["task_id","task_name","total_hours","billable_hours","currency","billable_amount"],"properties":{"task_id":{"type":"integer","format":"int64","description":"The task's id."},"task_name":{"type":"string","description":"The task's name."},"total_hours":{"type":"number","description":"Hours in the range."},"billable_hours":{"type":"number","description":"Billable hours in the range."},"currency":{"type":["string","null"],"description":"USD, or null when the token may not read billable amounts."},"billable_amount":{"type":["number","null"],"description":"Billable hours times the rates that applied. Null unless the token has rates:read and its person is an owner, an admin or a manager of the project."}}},"report_time_team":{"type":"object","additionalProperties":false,"required":["user_id","user_name","is_contractor","total_hours","billable_hours","currency","billable_amount","weekly_capacity","avatar_url"],"properties":{"user_id":{"type":"integer","format":"int64","description":"The person's id."},"user_name":{"type":"string","description":"The person's name."},"is_contractor":{"type":"boolean","description":"False. The time tracker has no such data, so this is the empty value."},"total_hours":{"type":"number","description":"Hours in the range."},"billable_hours":{"type":"number","description":"Billable hours in the range."},"currency":{"type":["string","null"],"description":"USD, or null when the token may not read billable amounts."},"billable_amount":{"type":["number","null"],"description":"Billable hours times the rates that applied. Null unless the token has rates:read and its person is an owner, an admin or a manager of the project."},"weekly_capacity":{"type":"integer","format":"int64","description":"The person's weekly capacity in seconds."},"avatar_url":{"type":"string","description":"The person's profile photo address, or an empty string."}}},"report_uninvoiced":{"type":"object","additionalProperties":false,"required":["client_id","client_name","project_id","project_name","currency","total_hours","uninvoiced_hours","uninvoiced_expenses","uninvoiced_amount","invoiced_amount"],"properties":{"client_id":{"type":"integer","format":"int64","description":"The client's id."},"client_name":{"type":"string","description":"The client's name."},"project_id":{"type":"integer","format":"int64","description":"The project's id."},"project_name":{"type":"string","description":"The project's name."},"currency":{"type":"string","description":"USD."},"total_hours":{"type":"number","description":"Hours in the range."},"uninvoiced_hours":{"type":"number","description":"Billable hours in the range: the time tracker has no invoices, so no hours are invoiced."},"uninvoiced_expenses":{"type":"number","description":"0. The time tracker has no such data, so this is the empty value."},"uninvoiced_amount":{"type":["number","null"],"description":"The billable amount in the range. Null unless the token has rates:read and its person is an owner, an admin or a manager of the project."},"invoiced_amount":{"type":["number","null"],"description":"0: the entries this API reports are not invoiced. Null when the amount is hidden. Null unless the token has rates:read and its person is an owner, an admin or a manager of the project."}}},"report_project_budget":{"type":"object","additionalProperties":false,"required":["client_id","client_name","project_id","project_name","budget_is_monthly","budget_by","is_active","budget","budget_spent","budget_remaining","currency"],"properties":{"client_id":{"type":"integer","format":"int64","description":"The client's id."},"client_name":{"type":"string","description":"The client's name."},"project_id":{"type":"integer","format":"int64","description":"The project's id."},"project_name":{"type":"string","description":"The project's name."},"budget_is_monthly":{"type":"boolean","description":"True for a retainer."},"budget_by":{"type":"string","description":"project."},"is_active":{"type":"boolean","description":"False when the project is archived."},"budget":{"type":"number","description":"The hours budget, or a retainer's monthly hours."},"budget_spent":{"type":"number","description":"Hours logged to date; a retainer: this month."},"budget_remaining":{"type":"number","description":"The budget less the hours spent."},"currency":{"type":"string","description":"USD."}}}}}}