GetClientTips

Get our Tips/Tricks for a particular client. You will not be charged for making this API call, it is included free of charge for our API Customers. Add 'xml' as the last segment in the url request to return XML format. Add 'json' as the last segment in the url request to return JSON format.

URLs:

Sandbox:

https://sandbox.emailonacid.com/v4/getClientTips - Default (XML) Request
https://sandbox.emailonacid.com/v4/getClientTips/xml - XML Request
https://sandbox.emailonacid.com/v4/getClientTips/json - JSON Request

Production:

https://api.emailonacid.com/v4/getClientTips - Default (XML) Request
https://api.emailonacid.com/v4/getClientTips/xml - XML Request
https://api.emailonacid.com/v4/getClientTips/json - JSON Request

Request:

XML

<?xml version="1.0" encoding="utf-8"?>
<client_tips>
    <client_code>1</client_code>
</client_tips>

JSON

{
    "client_code" : "1"
}

JSON Validation Schema:

Click here to download.

Request Details

Element Description Data Type Required
client_code The client id for the tips to retrieve String Y

Response:

XML

<?xml version="1.0" encoding="utf-8"?>
<xml>
    <client_tips>
        <client_tip>
            <name><![CDATA[Tip #1]]></name>
            <tip><![CDATA[...]]></tip>
        </client_tip>
        <client_tip>
            <name><![CDATA[Tip #2]]></name>
            <tip><![CDATA[...]]></tip>
        </client_tip>
        ...
    </client_tips>
</xml>

JSON

{
    "client_tips": [
        {
            "client_tip": {
                "name": "Tip #1",
                "tip": "..."
            }
        },
        {
            "client_tip": {
                "name": "Tip #2",
                "tip": "..."
            }
        }
    ]
}

Response Details

Element Description
name Name of the Tip/Trick.
tip Details of the tip/trick. If a tip/trick contains a code snippet it will be surrounded by [code][/code] tags. Line-breaks are represented as /n.