Documents
put/documents/{documentId}

Request

  • Base URL
    https://api.craftboxx.de
  • Auth
    HTTP bearer

Path parameters

documentIdinteger required

Document id

Request body multipart/form-data

titlestring

Document title

uploadstring binary

Upload file. PLEASE ADD _method=put parameter and change method to POST, if you send file uploads (PHP issue. More info: https://stackoverflow.com/questions/39942670/how-to-send-put-request-with-a-file-and-an-array-of-data-in-laravel)

type'GLOBAL' | 'ASSIGNMENT'

Document type (GLOBAL or ASSIGNMENT)

infostring

Document info

sourcestring

The document source

source_external_idstring

The document source_external_id

inactiveboolean

true hides the document, false shows it again. A hidden document is no longer offered for selection; existing appointments and invoices stay unchanged.

Response

The request was successful.

Changes

    • info

      added the new optional request property

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status