Post Designer/Services/DownloadPdf?websiteId={websiteId}&webApiClientKey={webApiClientKey}&width={width}&height={height}&unit={unit}
This api is use to download the pdf (Pantone) from given svg file.
Request Information
Parameters
Name | Descriptions |
websiteId | Required parameter. This is the website with which client are associated. Admin user of Artifi can create one or more websites and assign products to each of the website. The Id of the website with which user is associated should be specified in this parameter. |
webApiClientKey | Required parameter. When any company gets registered with Artifi, Artifi will generate a special and unique key for that company which will be called as client key. This client key will be found in registered company's profile tab in Artifi Account. This client key will be used for client(company) authentication and will be called as WebApiClientKey. |
width | Optional parameter. Width is use to generate the pdf as per given dimension. If the width is not provided as an input parameter then we are reading it from the svg content. If the width is provided as an input then the priority will be given to provided width. |
height | Optional parameter. Height is use to generate the pdf as per given dimension. If the height is not provided as an input parameter then we are reading it from the svg content. If the height is provided as an input then the priority will be given to provided height. Both width and height need to pass together. |
unit | Optional parameter. Unit is an identifier to the provided width and height. Default value is pixel. Supported units are - pixel and inches. |
Request body
form-data
Key:Select type as a File
Value:Select SVG file
Response Information
Response body
Body
Download the response to open it with an appropriate application.