example and documentation create document with attachment via REST