company

Viewset that supports all normal viewset functionality.

patch/api/company/template/{id}/

Request

  • The document declares no server URL.
  • Auth: none declared

Path parameters

idinteger required

A unique integer value identifying this template.

Request body

namestring
descriptionstring nullable
filestring byte
template_type'invoice' | 'quotation'
  • invoice - invoice
  • quotation - quotation
is_activeboolean

Response

idinteger required
namestring required
descriptionstring nullable
filestring uri required
modifiedstring required

Display string in the tenant's configured date_format, not an ISO-8601 value.

createdstring required

Display string in the tenant's configured date_format, not an ISO-8601 value.

filenamestring required
template_type'invoice' | 'quotation' required
  • invoice - invoice
  • quotation - quotation
is_activeboolean
urlstring required

Changes

    • breaking

      the request property format changed from binary to byte (media type: application/json)

    • breaking

      the request property format changed from binary to byte (media type: application/x-www-form-urlencoded)

    • breaking

      the request property format changed from binary to byte (media type: multipart/form-data)

    • breaking

      the request property's minLength was increased from 0 to 1 (media type: application/json)

    • breaking

      the request property's minLength was increased from 0 to 1 (media type: application/x-www-form-urlencoded)

    • breaking

      the request property's minLength was increased from 0 to 1 (media type: multipart/form-data)

    • breaking

      the request property format changed from uri to binary (media type: application/json)

    • breaking

      the request property format changed from uri to binary (media type: application/x-www-form-urlencoded)

    • breaking

      the request property format changed from uri to binary (media type: multipart/form-data)