Tenant Server V1

<back to all web services

post_getdocument

The following routes are available for this service:
All Verbs/post_getdocument
post_getdocument Parameters:
NameParameterData TypeRequiredDescription
tokenquerystringYes
tokensecretquerystringYes
emailquerystringYes
idciaquerystringNo
idtenantquerystringNo
post_getdocumentResponse 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 .xml suffix or ?format=xml

HTTP + XML

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

POST /xml/reply/post_getdocument HTTP/1.1 
Host: sdk.lovettcommercial.com 
Content-Type: application/xml
Content-Length: length

<post_getdocument 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>
  <token>String</token>
  <tokensecret>String</tokensecret>
</post_getdocument>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<post_getdocumentResponse 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_getdocumentResponse>