Anthill JSON API Documentation

Posted by anthillsoftwareleeds in Integrations - Last updated

Welcome to the documentation for the JSON version of the Anthill API.

Addition methods will be added overtime. If you require anything for the SOAP version, please contact us.

CreateEnquiry

This method is used to create a new enquiry for an existing customer. Common use cases are to send new enquires from websites into Anthill for response. On creation of the enquiry, the relevant workflow is automatically initiated.

The response contains the Enquiry ID of the created object.

Headers
X-SUBDOMAIN = staging 
API_KEY = 56f8906ab1546b2e989e0c8703ba4248
Request Body:
{
    "CustomerID": 347,

    "LocationID": 15,
    "Source": "V2Test",
    "TypeID": 2,
    "ExternalReference": "XYZ123",
    "CustomFields": [
        { "Key": "Budget", "Value": "42.99" },
        { "Key": "Notes", "Value": "Hello World" }
    ]
}

CreateCustomerEnquiry    

This method creates a new Customer and new Enquiry. Common use cases are to send new enquires from websites into Anthill for response. On creation of the enquiry, the relevant workflow is automatically initiated.

The response contains the Enquiry ID of the created object.

Headers
X-SUBDOMAIN = staging
API_KEY = 56f8906ab1546b2e989e0c8703ba4248
Request Body
{
    "Customer": {
        "LocationID": 15,
        "Source": "V2Test",
        "TypeID": 1,
        "ExternalReference": "Blah111",
        "CustomFields": [
            { "Key": "First Name", "Value": "Chris" },
            { "Key": "Last Name", "Value": "Test" },
            { "Key": "Email", "Value": chris@anthill.co.uk }
        ]
    },

    "LocationID": 15,
    "Source": "V2Test",
    "TypeID": 2,
    "ExternalReference": "XYZ123",
    "CustomFields": [
        { "Key": "Budget", "Value": "42.99" },
        { "Key": "Notes", "Value": "Hello World" }
    ]
}

If you have any other Integration Queries, please visit the Integrations Hub or Contact Us directly.

anthillsoftwareleeds -

Tags: ,

See how Anthill will reshape your business for the better

Master your processes, improve customer service & make more money!