Create or update a document.
Note: Documents module in ERPLY is being phased out and is no longer developed. Although you can create the records with API saveDocument, there is no corresponding getDocuments API call to retrieve saved documents.

Input parameters

Parameter name Description Possible value Required
typeID    Integer    
seriesID    Integer    
statusID    Integer    
clientID    Integer    
contactID    Integer    
projectID    Integer    
regDate  eg. 2010-01-29  Date    
creationDate  eg. 2010-01-29  Date    
deadlineDate  eg. 2010-01-29  Date    
creatorID  Company user unique ID  Integer    
personResponsibleID  Company user unique ID  Integer    
fileName    String    
direction    'incoming' or 'outgoing'.    
name    String    
notes    String    


Field name Type Description
documentID  Integer  ID of the newly-created or updated item  
documentNo  Integer