SOAP API method PdfDocument_source

Back to API references

Description
The source of the document.

Parameters
Parameter 'id' : int
Unique identifier (id) of the object PdfDocument. The method only applies to the pdfdocument with this id.
Parameter 'personalize_profile' : int
Profile ID for which the object should be personalized
Parameter 'personalize_subprofile' : int
Subprofile ID for which the object should be personalized
Parameter 'personalize_timestamp' : string
The timestamp for the personalization
Parameter 'pdfoptions' : Structure of type 'pdfoptions'
Object that holds additional options for outputing the pdf
Parameter 'login' : Structure of type 'login'
Optional login data

Return values
Return value 'value' : binary

Structure 'pdfoptions'
This structure pdfoptions was mentioned above. This structure has the following properties:
Property 'spoiler' : boolean
Should the spoiler be displayed?.
Property 'blind' : boolean
Should a blind Pdf be generated?.

Structure 'login'
This structure login was mentioned above. This structure has the following properties:
Property 'username' : string
The username of the login attempt
Property 'account' : string
The account name of the login attempt
Property 'password' : string
The password for the login attempt