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

Services85 Webhook GetWebhook

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

SOAP request and response examples Remote/Services85/Webhook.svc Implemented by the SuperOffice.Services85.IWebhookAgent.GetWebhook method.

GetWebhook

WSDL file for Services85/Webhook

Obtain a ticket from the Services85/SoPrincipal.svc

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

GetWebhook 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:NetServerServices852="http://schemas.microsoft.com/2003/10/Serialization/Arrays"
 xmlns:NetServerServices851="http://schemas.microsoft.com/2003/10/Serialization/"
 xmlns:Webhook="http://www.superoffice.net/ws/crm/NetServer/Services85">
  <Webhook:ApplicationToken>1234567-1234-9876</Webhook:ApplicationToken>
  <Webhook:Credentials>
    <Webhook:Ticket>7T:1234abcxyzExample==</Webhook:Ticket>
  </Webhook:Credentials>
 <SOAP-ENV:Body>
   <Webhook:GetWebhook>
    <Webhook:WebhookId xsi:type="xsd:int">0</Webhook:WebhookId>
   </Webhook:GetWebhook>

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

GetWebhook 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:NetServerServices852="http://schemas.microsoft.com/2003/10/Serialization/Arrays"
 xmlns:NetServerServices851="http://schemas.microsoft.com/2003/10/Serialization/"
 xmlns:Webhook="http://www.superoffice.net/ws/crm/NetServer/Services85">
 <SOAP-ENV:Body>
  <Webhook:GetWebhookResponse>
   <Webhook:Response xsi:type="Webhook:Webhook">
    <Webhook:WebhookId xsi:type="xsd:int">0</Webhook:WebhookId>
    <Webhook:Name xsi:type="xsd:string"></Webhook:Name>
    <Webhook:Events xsi:type="NetServerServices852:ArrayOfstring">
     <NetServerServices852:string xsi:type="xsd:string"></NetServerServices852:string>
    </Webhook:Events>
    <Webhook:TargetUrl xsi:type="xsd:string"></Webhook:TargetUrl>
    <Webhook:Secret xsi:type="xsd:string"></Webhook:Secret>
    <Webhook:State xsi:type="Webhook:WebhookState">Unknown</Webhook:State>
    <Webhook:Type xsi:type="xsd:string"></Webhook:Type>
    <Webhook:Headers xsi:type="Webhook:StringDictionary">
     <Webhook:StringKeyValuePair>
      <Webhook:Key xsi:type="xsd:string"></Webhook:Key>
      <Webhook:Value xsi:type="xsd:string"></Webhook:Value>
     </Webhook:StringKeyValuePair>
    </Webhook:Headers>
    <Webhook:Properties xsi:type="Webhook:StringObjectDictionary">
     <Webhook:StringObjectKeyValuePair>
      <Webhook:Key xsi:type="xsd:string"></Webhook:Key>
      <Webhook:Value xsi:type="xsd:anyType"></Webhook:Value>
     </Webhook:StringObjectKeyValuePair>
    </Webhook:Properties>
    <Webhook:Registered xsi:type="xsd:dateTime">2023-03-31T13:22:34Z</Webhook:Registered>
    <Webhook:RegisteredAssociate xsi:type="Webhook:Associate">
     <Webhook:AssociateId xsi:type="xsd:int">0</Webhook:AssociateId>
     <Webhook:Name xsi:type="xsd:string"></Webhook:Name>
     <Webhook:PersonId xsi:type="xsd:int">0</Webhook:PersonId>
     <Webhook:Rank xsi:type="xsd:short">0</Webhook:Rank>
     <Webhook:Tooltip xsi:type="xsd:string"></Webhook:Tooltip>
     <Webhook:Type xsi:type="Webhook:UserType">Unknown</Webhook:Type>
     <Webhook:GroupIdx xsi:type="xsd:int">0</Webhook:GroupIdx>
     <Webhook:FullName xsi:type="xsd:string"></Webhook:FullName>
     <Webhook:FormalName xsi:type="xsd:string"></Webhook:FormalName>
     <Webhook:Deleted xsi:type="xsd:boolean">false</Webhook:Deleted>
     <Webhook:EjUserId xsi:type="xsd:int">0</Webhook:EjUserId>
    </Webhook:RegisteredAssociate>
    <Webhook:Updated xsi:type="xsd:dateTime">2023-03-31T13:22:34Z</Webhook:Updated>
    <Webhook:UpdatedAssociate xsi:type="Webhook:Associate">
     <Webhook:AssociateId xsi:type="xsd:int">0</Webhook:AssociateId>
     <Webhook:Name xsi:type="xsd:string"></Webhook:Name>
     <Webhook:PersonId xsi:type="xsd:int">0</Webhook:PersonId>
     <Webhook:Rank xsi:type="xsd:short">0</Webhook:Rank>
     <Webhook:Tooltip xsi:type="xsd:string"></Webhook:Tooltip>
     <Webhook:Type xsi:type="Webhook:UserType">Unknown</Webhook:Type>
     <Webhook:GroupIdx xsi:type="xsd:int">0</Webhook:GroupIdx>
     <Webhook:FullName xsi:type="xsd:string"></Webhook:FullName>
     <Webhook:FormalName xsi:type="xsd:string"></Webhook:FormalName>
     <Webhook:Deleted xsi:type="xsd:boolean">false</Webhook:Deleted>
     <Webhook:EjUserId xsi:type="xsd:int">0</Webhook:EjUserId>
    </Webhook:UpdatedAssociate>
   </Webhook:Response>
  </Webhook:GetWebhookResponse>
 </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