Skip to content

Instantly share code, notes, and snippets.

@trepidity
Created April 6, 2018 14:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save trepidity/314a96ec30b1caa7c2bed0923e871bd5 to your computer and use it in GitHub Desktop.
Save trepidity/314a96ec30b1caa7c2bed0923e871bd5 to your computer and use it in GitHub Desktop.
Example of a SOAP call to delete a Entity from Autotask API
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<soap:Header>
<AutotaskIntegrations xmlns="http://autotask.net/ATWS/v1_5/">
<PartnerID>
</PartnerID>
<IntegrationCode>
</IntegrationCode>
</AutotaskIntegrations>
</soap:Header>
<soap:Body>
<delete xmlns="http://autotask.net/ATWS/v1_5/">
<Entities>
<Entity xsi:type="Appointment" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<id>3</id>
</Entity>
</Entities>
</delete>
</soap:Body>
</soap:Envelope>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment