CORE_PDF_CREATE CORE Endpoint
  /rpc/core/?method=CORE_PDF_CREATE  
  This function is no longer available. Please see /gettingstarted_pdf for options to create PDFs within the web-browser
  PARAMETERS TYPE  
  AttachmentType Numeric  
  Bucket Numeric An Amazon S3 bucket as configured via SETUP_AWS_S3_BUCKET_MANAGE
  BucketFileName Text (1000) Defaults to [object title]/[object id]/[filename].
  DebugFileName Text If pdfs are occassionally ending up differently to what you expect, pass a value here and the xhtmlBody use to build the pdf will be stored here.
  Description Text (2000) Description of the created attachment
  FileName Text Mandatory
  Object Numeric Mandatory
  ObjectContext Numeric Mandatory
  Title Text (250) Title of the created attachment
       
  xhtml_BottomMargin Numeric 1..100 points
  xhtml_LeftMargin Numeric 1..100 points
  xhtml_RightMargin Numeric 1..100 points
  xhtml_TopMargin Numeric 1..100 points
       
  xhtmlBody Text  
  xhtmlBody_BaseURL Text This is required if you are using relative urls, for eg background-image: url("/site/999/logo.jpg")
       
  xhtmlFooter Text

To have page numbers, use &p; of &P;

&p; is the current page number, and &P; is the total number of pages

  xhtmlFooter_BaseURL Text  
  xhtmlFooter_Height Numeric 1..500 points
       
  xhtmlHeader Text  
  xhtmlHeader_BaseURL Text  
  xhtmlHeader_Height Numeric 1..500 points
  RETURNS
  notes CREATED
  attachment Numeric
  attachmentLink Numeric
Help!