POST/projects/api/v3/projects/{projectId}/time.json

Create a time entry in a specific project.

Create a time entry in the desired project.

Path Params

  • Name
    projectId
    Type
    integer
    required
    Description

Body Params

Request contains information of a timelog to be created or updated.

    • Name
      tags
      Type
      array
      Description
      Tag contains all the information returned from a tag.
    • Name
      timelog
      Type
      object
      Description
      Timelog contains all the information returned from a timelog.
    • Name
      timelogOptions
      Type
      object

    Responses

    • Code
      201
      Type
      object
      Schema
      Description
      201 Created
      Response contains information about a specific timelog.
    • Code
      400
      Type
      object
      Schema
      Description
      400 Bad Request
      ErrorResponse defines how []Error should be marshaled to JSON.
    • Code
      403
      Type
      object
      Schema
      Description
      403 Forbidden
      ErrorResponse defines how []Error should be marshaled to JSON.
    • Code
      422
      Type
      object
      Schema
      Description
      422 Unprocessable Entity
      ErrorResponse defines how []Error should be marshaled to JSON.

    Examples

    201 Created

    Response
    {  "included": {    "companies": {      "additionalProp": {        "accounts": 0,        "addressOne": "string",        "addressTwo": "string",        "budgetDistribution": [          {            "color": "string",            "companyId": 0,            "count": 0,            "from": 0,            "to": 0          }        ],        "canSeePrivate": true,        "cid": "string",