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

Services88 Chat AddChatMessage

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

SOAP request and response examples Remote/Services88/Chat.svc Implemented by the SuperOffice.Services88.IChatAgent.AddChatMessage method.

AddChatMessage

WSDL file for Services88/Chat

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.

AddChatMessage 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:Chat="http://www.superoffice.net/ws/crm/NetServer/Services88">
  <Chat:ApplicationToken>1234567-1234-9876</Chat:ApplicationToken>
  <Chat:Credentials>
    <Chat:Ticket>7T:1234abcxyzExample==</Chat:Ticket>
  </Chat:Credentials>
 <SOAP-ENV:Body>
   <Chat:AddChatMessage>
    <Chat:ChatSessionId xsi:type="xsd:int">0</Chat:ChatSessionId>
    <Chat:Message xsi:type="Chat:ChatMessage">
     <Chat:ChatMessageId xsi:type="xsd:int">0</Chat:ChatMessageId>
     <Chat:ChatSessionId xsi:type="xsd:int">0</Chat:ChatSessionId>
     <Chat:Type xsi:type="Chat:ChatMessageType">Invalid</Chat:Type>
     <Chat:Message xsi:type="xsd:string"></Chat:Message>
     <Chat:Author xsi:type="xsd:string"></Chat:Author>
     <Chat:ReadByCustomer xsi:type="xsd:short">0</Chat:ReadByCustomer>
     <Chat:SpecialType xsi:type="Chat:ChatMessageSpecialType">None</Chat:SpecialType>
     <Chat:SpecialParam xsi:type="xsd:string"></Chat:SpecialParam>
     <Chat:WhenPosted xsi:type="xsd:dateTime">2026-05-27T01:23:32Z</Chat:WhenPosted>
    </Chat:Message>
   </Chat:AddChatMessage>

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

AddChatMessage 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:Chat="http://www.superoffice.net/ws/crm/NetServer/Services88">
 <SOAP-ENV:Body>
  <Chat:AddChatMessageResponse>
   <Chat:Response xsi:type="Chat:ChatMessage">
    <Chat:ChatMessageId xsi:type="xsd:int">0</Chat:ChatMessageId>
    <Chat:ChatSessionId xsi:type="xsd:int">0</Chat:ChatSessionId>
    <Chat:Type xsi:type="Chat:ChatMessageType">Invalid</Chat:Type>
    <Chat:Message xsi:type="xsd:string"></Chat:Message>
    <Chat:Author xsi:type="xsd:string"></Chat:Author>
    <Chat:ReadByCustomer xsi:type="xsd:short">0</Chat:ReadByCustomer>
    <Chat:SpecialType xsi:type="Chat:ChatMessageSpecialType">None</Chat:SpecialType>
    <Chat:SpecialParam xsi:type="xsd:string"></Chat:SpecialParam>
    <Chat:WhenPosted xsi:type="xsd:dateTime">2026-05-27T01:23:32Z</Chat:WhenPosted>
   </Chat:Response>
  </Chat:AddChatMessageResponse>
 </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