Quote pdf

Creating a quote PDF

post

Generates a pdf for a given quote and returns its contents.


Required scopes

  • quote.quote_read - allows to generate a PDF for any quote

  • quote.quote_manage - allows to generate a PDF for any quote

  • quote.quote_manage_own - allows to generate a PDF for own quote

Authorizations
Path parameters
tenantstringRequired

Your Emporix tenant's name.

Note: The tenant name should always be written in lowercase.

Example: saasdev2
quoteIdstringRequired

Quote unique identifier generated when the quote is created.

Example: 084bcaf5-66b8-4ddd-9489-65c5f6449e94
Header parameters
Accept-LanguagestringOptional

List of language codes acceptable for the response. You can specify factors that indicate which language should be retrieved if the one with a higher factor was not found in the localized fields. If a value is specified, then it must be present in the tenant configuration.

  • If the header is set to a particular language or a list of languages, all localized fields are retrieved as strings.
  • If the header is set to *, all localized fields are retrieved as maps of translations, where the keys are language codes and values are the fields in their respective languages.
  • If the header is empty, localized fields are retrieved in the default language defined in the Configuration Service.
Responses
200
The request was successful. Generated pdf is returned.
application/pdf
Responsestring · binary
post
POST /quote/{tenant}/quotes/{quoteId}/pdf HTTP/1.1
Host: api.emporix.io
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
binary

Was this helpful?