Skip to content

endpoints.Documents.Documents

Yaroslav Surzhikov edited this page Aug 7, 2020 · 1 revision

Documents methods

add_document

 | 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_id str - employee id
  • doc_name str - document name
  • doc_url str - URL of the document to upload
  • tags List[str] - document's tags
  • shared bool - whether document should be uploaded to shared folder or confidential

References:


delete_document

 | delete_document(employee_id, doc_id, shared=True)

Delete specific document from employee's shared or confidential folder

Arguments:

  • employee_id str - employee id
  • doc_id str - document id
  • shared bool - whether document should be deleted from shared folder or confidential

References:


list

 | list(employee_id)

Download employee's documents

Returns list of documents and download links.

Arguments:

  • employee_id str - employee id

References:

Clone this wiki locally