-
Notifications
You must be signed in to change notification settings - Fork 1
endpoints.Documents.Documents
Yaroslav Surzhikov edited this page Aug 7, 2020
·
1 revision
| add_document(employee_id, doc_name, doc_url, tags=None, shared=True)Add a document to an employee to the shared or confidential folder
Arguments:
-
employee_idstr - employee id -
doc_namestr - document name -
doc_urlstr - URL of the document to upload -
tagsList[str] - document's tags -
sharedbool - whether document should be uploaded to shared folder or confidential
References:
- https://apidocs.hibob.com/reference#post_docs-people-id-shared
- https://apidocs.hibob.com/reference#post_docs-people-id-confidential
| delete_document(employee_id, doc_id, shared=True)Delete specific document from employee's shared or confidential folder
Arguments:
-
employee_idstr - employee id -
doc_idstr - document id -
sharedbool - whether document should be deleted from shared folder or confidential
References:
- https://apidocs.hibob.com/reference#delete_docs-people-id-shared-docid
- https://apidocs.hibob.com/reference#delete_docs-people-id-confidential-docid
| list(employee_id)Download employee's documents
Returns list of documents and download links.
Arguments:
-
employee_idstr - employee id
References: