Quotes

Upload an appendix for a quote

Changed on

Upload a file that will be an appendix attached to a quote.

Note that this will not upload a file into the DMS (GED).

ℹ️ This endpoint requires the following scope: quotes:all

post/api/external/v2/quotes/{quote_id}/appendices

Request

  • Base URL
    https://app.pennylane.com
  • URL
    https://app.pennylane.com/api/external/v2/quotes/{quote_id}/appendices
  • Auth
    OAuth 2
    Authorization code: https://app.pennylane.com/oauth/authorize
    Token URL: https://app.pennylane.com/oauth/oauth/token scopes: quotes:all

Path parameters

quote_idinteger required

Headers

X-Company-Idstring
Example:12345

Numeric ID of the company to act on. Required when authenticating with a firm token. Ignored when the token is already bound to a company.

Request body multipart/form-data

filestring binary required

The appendix file you want to upload. Allowed content types:

  • image/png
  • image/jpeg
  • image/tiff
  • image/bmp
  • image/gif
  • application/pdf

Response

Returns the created appendix

idinteger required
urlstring required

URL to the uploaded file.

filenamestring required
created_atstring date-time required
updated_atstring date-time required

Example response

{
  "url": "https://www.pennylane.com/rails/active_storage/blobs/redirect/eyJfc..==--26d6e7391dd728fae2cde59bd3fbe4dd11e20a95/Invoice42.pdf",
  "created_at": "2023-08-30T10:08:08.146343Z",
  "updated_at": "2023-08-30T10:08:08.146343Z"
}

Changes