You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A list of objects, each of which will be filled into one label. Suppose you were to pass the following data, which represents two distinct labels: ```json [ { "package": { "label": "12345" } }, { "package": { "label": "67890" } } ] ``` You could access these values in the content layout template as follows: ``` {{ package.label }} ``` Note: The format of the objects is not validated. Note: Any values with `common` or `images` will be overwritten.
common_content_data
object
A dictionary of values shared between all labels. Any supplied values will be prefixed with `common.` Suppose you were to pass the following data: ```json { "facilityContactInfo": { "phoneNumber": "123-456-7890" } } ``` You could access this values in the content layout template as follows: ``` {{ facilityContactInfo.phoneNumber }} ``` Note: The format of the object is not validated.
[optional]
images
object
A dictionary of base64 image dadta shared between all labels. Any supplied values will be prefixed with `images.` Suppose you were to pass the following data: ```json { "logo": "iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mP8/x8AAwMBgKZzmtkAAAAASUVORK5CYII=" } ``` You could access this values in the content layout template as follows: ``` {{ images.logo }} ``` Note: The format of the object is not validated.
Specifies whether the PDF should be opened inline or downloaded as an attachment.
[optional] [default to 'inline']
Example
fromt3api.models.v2_labels_generate_post_requestimportV2LabelsGeneratePostRequest# TODO update the JSON string belowjson="{}"# create an instance of V2LabelsGeneratePostRequest from a JSON stringv2_labels_generate_post_request_instance=V2LabelsGeneratePostRequest.from_json(json)
# print the JSON string representation of the objectprint(V2LabelsGeneratePostRequest.to_json())
# convert the object into a dictv2_labels_generate_post_request_dict=v2_labels_generate_post_request_instance.to_dict()
# create an instance of V2LabelsGeneratePostRequest from a dictv2_labels_generate_post_request_from_dict=V2LabelsGeneratePostRequest.from_dict(v2_labels_generate_post_request_dict)