DOCUMENT_MANAGE DOCUMENT Endpoint
  /rpc/document/?method=DOCUMENT_MANAGE  
  Object: 14. Click here for more information.  
  Manage documents.  
  PARAMETERS TYPE NOTES
  DataReturn Text A comma delimited list of advanced search fields to be returned after a successful save
  Id Numeric  
  Remove Numeric Pass '1' to remove the item
       
  AllowInFrames Text (1) Y [default] / N. The main document for a Website should have this set to N as an anti-hacking measure
  Content Text (Huge!) The document contents
  HeadDocument Numeric If a document is being rendered as a website, you can override the default HEAD ... /HEAD section by pointing to another document which contains it
  IgnoreWebsiteHeaderTags Text (1) Y/N 
  IgnoreWebsiteLayout Text (1) Y/N 
  InternalReference Numeric  
  Keywords Text (200)  
  LayoutDocument Numeric For backwards compatibility with the classic system. You shouldn't have to use this field.
  Notes Text (2000)  
  Object Numeric  
  Private Text (1) Y / N [default]. If 'Y', only the creator of the document can see
  Public Text (1) Y / N [default]. If 'Y', then the document can be seen via SITE_DOCUMENT_SEARCH
  Status Numeric 1=Draft [Default],2=Approved,3=Under Review,4=To Be Linked To Folders
  Summary Text (2000)  
  Template Text (1) Y/N 
  Title Text (200) Mandatory
  Type Numeric 5=[Standard] [default],6=Text Document,7=Attachments Only (File Folder),8=Help Text,9=System Template
  Url Text (200)  
  TEMPLATE FIELDS TYPE You should only need these fields if dealing with legacy systems
  DefaultDocumentForObject Text (1) Y/N [default]
  IncludeReferenceInTitle Text (1) Y/N [default].  Used when titling created pdfs
  MaximumColumnsPerPage Numeric  
  MaximumRowsPerPage Numeric  
  Object Numeric Click here to see valid values
  SubLinkType Numeric 1=Schedule for invoice
  RETURN  
  id  
  notes ADDED, UPDATED