Saltar al contenido principal
GET
/
v1
/
labels
/
templates
/
{templateId}
/
pdf
/
{objectId}
Convert a template to PDF using the data from an object
curl --request GET \
  --url https://api.bold-factory.com/v1/labels/templates/{templateId}/pdf/{objectId} \
  --header 'Authorization: Bearer <token>'
{
  "contentType": "<string>",
  "fileDownloadName": "<string>",
  "lastModified": "2023-11-07T05:31:56Z",
  "entityTag": {
    "tag": {
      "buffer": "<string>",
      "offset": 123,
      "length": 123,
      "value": "<string>",
      "hasValue": true
    },
    "isWeak": true
  },
  "enableRangeProcessing": true
}

Autorizaciones

Authorization
string
header
requerido

Use a valid JWT token in the Authorization header with the format 'Bearer {token}'

Parámetros de ruta

templateId
string
requerido
objectId
string
requerido

Respuesta

OK

contentType
string
fileDownloadName
null | string
lastModified
null | string<date-time>
entityTag
object
enableRangeProcessing
boolean