Skip to content

Vehicle service work file

Contains call for creation the service work file.

API actions

API path: /vehicle/service_task/file.


Creates a file to specify its ID in service work later.


name description type
filename Optional. If specified, uploaded file will have the specified name. If not, name will be taken from actual file upload form. string
size Maximum size in bytes for the file which will be uploaded. This is needed to "reserve" the space for file in user's disk space quota. int
metadata Optional. Metadata object. See task/form. JSON object
type Can be "image" or "file". Default is "file". enum


  "success": true,
  "value": {
    "file_id": 111, 
    "url": "",
    "expires": "2016-02-03 03:04:00",
    "file_field_name": "file",
    "fields": {
      "token": "skrjsokqsi21lskkwl1783sl2k5"
  • file_field_name - string. Name for file field in POST upload request.
  • fields - object. These fields should be passed as additional fields in POST upload request, field with a file must be the last one.
    • token - string. Used for authentication of upload.

Last update: December 26, 2022