Was this page helpful?

SaveDocument function

    Table of contents

    from document_library.wsdl

    Download file - GetDocument


    •     name
    •     data - file encoded in base64
    •     treeHandle - id of folder (e.g. open position candidate), file will be related to it


    •    type - type of document - for type CV use value from DocumentTypecv from GetRecruitmentSettings or list available types from ListDocumentType?


    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsdl="http://atollon.com/enterprise/wsdl">


    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
          <atollon:SaveDocumentResponse xmlns:atollon="http://iterity.com/enterprise/wsdl">

    It's possible to upload data via http protocol, method post or get (but get is limited maximum  URL length), data must be sent in binary format, not base64-encoded like in soap request.

        <title>Sample request - upload file via Mooring Connector</title>
        <form method="post" action="http://lagoon-01.atollon.com/mooring/uploadDocument" enctype="multipart/form-data" >
            <input type="text" name="server" value="testing" /><br />
            <input type="text" name="session" value="" /> <br />
            <input type="text" name="name" value="cv.doc" /> <br />
            <input type="text" name="treeNode" value="124160000" /> <br /> <!-- id of folder -->
            <input type="file" name="Filedata" />
            <input type="submit" value="Upload" />


    Was this page helpful?
    Tag page (Edit tags)
    • No tags
    Pages that link here
    Page statistics
    1255 view(s), 3 edit(s), and 4644 character(s)


    You must login to post a comment.

    Attach file