• Share
    • Twitter
    • LinkedIn
    • Facebook
    • Email
  • Feedback
  • Edit
Show / Hide Table of Contents

Services88 AI Search

Some tooltip text!
• 1 minute to read
 • 1 minute to read

SOAP request and response examples Remote/Services88/AI.svc Implemented by the SuperOffice.Services88.IAIAgent.Search method.

Search

WSDL file for Services88/AI

Obtain a ticket from the Services88/SoPrincipal.svc

Application tokens must be specified if calling an Online installation. ApplicationTokens are not checked for on-site installations.

Search Request

<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope
 xmlns:SOAP-ENV="http://www.w3.org/2003/05/soap-envelope"
 xmlns:SOAP-ENC="http://www.w3.org/2003/05/soap-encoding"
 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
 xmlns:xsd="http://www.w3.org/2001/XMLSchema"
 xmlns:NetServerServices882="http://schemas.microsoft.com/2003/10/Serialization/Arrays"
 xmlns:NetServerServices881="http://schemas.microsoft.com/2003/10/Serialization/"
 xmlns:AI="http://www.superoffice.net/ws/crm/NetServer/Services88">
  <AI:ApplicationToken>1234567-1234-9876</AI:ApplicationToken>
  <AI:Credentials>
    <AI:Ticket>7T:1234abcxyzExample==</AI:Ticket>
  </AI:Credentials>
 <SOAP-ENV:Body>
   <AI:Search>
    <AI:NamespaceName xsi:type="xsd:string"></AI:NamespaceName>
    <AI:Query xsi:type="xsd:string"></AI:Query>
    <AI:Type xsi:type="AI:RagType">None</AI:Type>
    <AI:Top xsi:type="xsd:int">0</AI:Top>
   </AI:Search>

 </SOAP-ENV:Body>
</SOAP-ENV:Envelope>

Search Response

<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope
 xmlns:SOAP-ENV="http://www.w3.org/2003/05/soap-envelope"
 xmlns:SOAP-ENC="http://www.w3.org/2003/05/soap-encoding"
 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
 xmlns:xsd="http://www.w3.org/2001/XMLSchema"
 xmlns:NetServerServices882="http://schemas.microsoft.com/2003/10/Serialization/Arrays"
 xmlns:NetServerServices881="http://schemas.microsoft.com/2003/10/Serialization/"
 xmlns:AI="http://www.superoffice.net/ws/crm/NetServer/Services88">
 <SOAP-ENV:Body>
  <AI:SearchResponse>
   <AI:Response xsi:type="AI:ArrayOfRagResult">
    <AI:RagResult xsi:type="AI:RagResult">
     <AI:Chunk xsi:type="xsd:string"></AI:Chunk>
     <AI:Title xsi:type="xsd:string"></AI:Title>
     <AI:Id xsi:type="xsd:string"></AI:Id>
     <AI:Type xsi:type="AI:RagType">None</AI:Type>
     <AI:Score xsi:type="xsd:double">0.0</AI:Score>
     <AI:Metadata xsi:type="AI:StringObjectDictionary">
      <AI:StringObjectKeyValuePair>
       <AI:Key xsi:type="xsd:string"></AI:Key>
       <AI:Value xsi:type="xsd:anyType"></AI:Value>
      </AI:StringObjectKeyValuePair>
     </AI:Metadata>
    </AI:RagResult>
   </AI:Response>
  </AI:SearchResponse>
 </SOAP-ENV:Body>
</SOAP-ENV:Envelope>

© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top