This call is deprecated. Documents module in Erply is being phased out and is no longer maintained. Although you can create the records with API call "saveDocument", there is no corresponding "getDocuments" API call to retrieve saved documents.
Create or update a document.
Parameter name | Description | Possible value | Required |
---|---|---|---|
typeID | integer | ||
seriesID | integer | ||
statusID | integer | ||
clientID | integer | ||
contactID | integer | ||
projectID | integer | ||
regDate | eg. 2010-01-29 Format: yyyy-mm-dd. | string | |
creationDate | eg. 2010-01-29 Format: yyyy-mm-dd. | string | |
deadlineDate | eg. 2010-01-29 Format: yyyy-mm-dd. | string | |
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 |