Services
Images

Upload image for service

Changed on

Upload image for service

post/services/{id}/image

Request

  • Base URL
    https://api.timelink.io/api/v1
  • Auth
    HTTP bearer

Path parameters

idstring required

Request body multipart/form-data

imagestring binary

A image file with less then 600KB and with maximal dimensions of 512x512 are allowed.

Response

Image saved

successboolean

Example response

{
  "data": {
    "id": "<ULID>",
    "name": "Software development",
    "ext_tool_id": 24,
    "info": "Software Development services",
    "color": "#000000",
    "active": true,
    "billable": true,
    "acronym": "Dev",
    "image_id": "<ULID>",
    "default_time_entry_description": "Maintenance done which was planed on date yyyy/mm/dd."
  }
}

Changes

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status