Tenant Server V1

<back to all web services

post_documents

post_documents Parameters:
NameParameterData TypeRequiredDescription
tokenquerystringYes
tokensecretquerystringYes
emailquerystringYes
idciaquerystringNo
keywordquerystringNo
idtenantquerystringNo
post_documentsResponse Parameters:
NameParameterData TypeRequiredDescription
resultformintNo
messageformstringNo
listformList<documentsInfo>No
documentsInfo Parameters:
NameParameterData TypeRequiredDescription
idformstringNo
fnameformstringNo
revisionformstringNo
fsizekbformstringNo
ftypeformstringNo
modidateformstringNo
folderformstringNo
xselformstringNo
creabyformstringNo

To override the Content-type in your clients, use the HTTP Accept Header, append the .soap12 suffix or ?format=soap12

HTTP + SOAP12

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /soap12 HTTP/1.1 
Host: sdk.lovettcommercial.com 
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
    <soap12:Body>

<post_documents xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TenantSDK.post.Request">
  <email>String</email>
  <idcia>String</idcia>
  <idtenant>String</idtenant>
  <keyword>String</keyword>
  <token>String</token>
  <tokensecret>String</tokensecret>
</post_documents>

    </soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
    <soap12:Body>

<post_documentsResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TenantSDK.post.Request">
  <list>
    <documentsInfo>
      <creaby>String</creaby>
      <fname>String</fname>
      <folder>String</folder>
      <fsizekb>String</fsizekb>
      <ftype>String</ftype>
      <id>String</id>
      <modidate>String</modidate>
      <revision>String</revision>
      <xsel>String</xsel>
    </documentsInfo>
  </list>
  <message>String</message>
  <result>0</result>
</post_documentsResponse>

    </soap12:Body>
</soap12:Envelope>