Project

Update project estimate

Changed on
patch/v1/workspaces/{workspaceId}/projects/{projectId}/estimate

Request

  • Base URL: https://api.clockify.me/api
  • URL: https://api.clockify.me/api/v1/workspaces/{workspaceId}/projects/{projectId}/estimate
  • Auth: one of:
    • API key in header x-api-key
    • API key in header x-addon-token

Path parameters

workspaceIdstring required

Represents a workspace identifier across the system.

Example:64a687e29ae1f428e7ebe303
projectIdstring required

Represents a project identifier across the system.

Example:5b641568b07987035750505e

Request body

Example request

{
  "budgetEstimate": {
    "estimate": 10000,
    "resetOption": "MONTHLY",
    "type": "AUTO"
  },
  "estimateReset": {
    "dayOfMonth": 20,
    "dayOfWeek": "MONDAY",
    "hour": 15,
    "interval": "MONTHLY",
    "month": "FEBRUARY"
  },
  "timeEstimate": {
    "estimate": "PT1H30M",
    "resetOption": "MONTHLY",
    "type": "AUTO"
  }
}

Response

OK

archivedboolean

Indicates whether project is archived or not.

billableboolean

Indicates whether project is billable or not.

clientIdstring

Represents client identifier across the system.

clientNamestring

Represents client name.

colorstring

Color format ^#(?:[0-9a-fA-F]{6}){1}$. Explanation: A valid color code should start with '#' and consist of six hexadecimal characters, representing a color in hexadecimal format. Color value is in standard RGB hexadecimal format.

durationstring

Represents project duration in milliseconds.

idstring

Represents project identifier across the system.

isPublicboolean
isTemplateboolean
namestring

Represents a project name.

notestring

Represents project note.

publicboolean

Indicates whether project is public or not.

templateboolean

Indicates whether project is a template or not.

workspaceIdstring

Represents workspace identifier across the system.

Example response

{
  "budgetEstimate": {
    "estimate": 600000,
    "resetOption": "WEEKLY",
    "type": "AUTO"
  },
  "clientId": "9t641568b07987035750704",
  "clientName": "Client X",
  "color": "#000000",
  "costRate": {
    "amount": 10500,
    "currency": "USD"
  },
  "duration": "60000",
  "estimate": {
    "estimate": "PT1H30M",
    "type": "AUTO"
  },
  "hourlyRate": {
    "amount": 10500,
    "currency": "USD"
  },
  "id": "5b641568b07987035750505e",
  "memberships": [
    {
      "costRate": {
        "amount": 10500,
        "currency": "USD"
      },
      "hourlyRate": {
        "amount": 10500,
        "currency": "USD"
      },
      "membershipStatus": "PENDING",
      "membershipType": "PROJECT",
      "targetId": "64c777ddd3fcab07cfbb210c",
      "userId": "5a0ab5acb07987125438b60f"
    }
  ],
  "name": "Software Development",
  "note": "This is a sample note for the project.",
  "timeEstimate": {
    "estimate": "60000",
    "resetOption": "WEEKLY",
    "type": "AUTO"
  },
  "workspaceId": "64a687e29ae1f428e7ebe303"
}

Changes

    • info

      the request property default value was added

    • info

      the request property default value was added

    • info

      the request property default value was added

    • info

      the request property default value was added

    • info

      the request property default value was added

    • info

      the request property default value was added

    • info

      the request property default value was added

    • info

      the request property default value was added

    • info

      the response's property default value was added for the status

    • info

      the response's property default value was added for the status

    • info

      the response's property default value was added for the status

    • info

      the response's property default value was added for the status

    • info

      the response's property default value was added for the status

    • info

      the response's property default value was added for the status

    • info

      the response's property default value was added for the status

    • info

      the response's property default value was added for the status

    • info

      the response's property default value was added for the status

    • info

      the response's property default value was added for the status

    • info

      the response's property default value was added for the status

    • info

      the response's property default value was added for the status

    • info

      the response's property default value was added for the status

    • info

      the response's property default value was added for the status

    • info

      the response's property default value was added for the status

    • info

      the response's property default value was added for the status

    • info

      the response's property default value was added for the status

    • info

      the response's property default value was added for the status

    • info

      the response's property default value was added for the status

    • info

      the response's property default value was added for the status

    • info

      the response's property default value was added for the status

    • info

      the response's property default value was added for the status

    • info

      the response's property default value was added for the status