API call example:
JSON
{
"function":"mailkit.campaigns.schedule.timezones",
"id":"client_id",
"md5":"client_md5"
}
XML
<?xml version="1.0" encoding="UTF-8"?>
<methodCall>
<methodName>mailkit.campaigns.schedule.timezones</methodName>
<params>
<param>
<value>
<int>client_id</int>
</value>
</param>
<param>
<value>
<string>client_md5</string>
</value>
</param>
</params>
</methodCall>
Values
client_id * = client ID can be found in your Mailkit account's menu Profile/Integration.
client_md5 * = MD5 code can be found in your Mailkit account's menu Profile/Integration.
* required value
Successful call response:
JSON
[
{
"TIMEZONE": "Africa/Abidjan",
"TZ_CODES": [
"GMT"
]
},
{
"TIMEZONE": "Africa/Accra",
"TZ_CODES": [
"GHST",
"GMT"
]
},
...
...
]
XML
<?xml version="1.0" encoding="utf-8"?>
<methodResponse>
<params>
<param>
<value>
<array>
<data>
<value>
<struct>
<member>
<name>TZ_CODES</name>
<value>
<array>
<data>
<value>
<string>GMT</string>
</value>
</data>
</array>
</value>
</member>
<member>
<name>TIMEZONE</name>
<value>
<string>Africa/Abidjan</string>
</value>
</member>
</struct>
</value>
<value>
<struct>
<member>
<name>TZ_CODES</name>
<value>
<array>
<data>
<value>
<string>GHST</string>
</value>
<value>
<string>GMT</string>
</value>
</data>
</array>
</value>
</member>
<member>
<name>TIMEZONE</name>
<value>
<string>Africa/Accra</string>
</value>
</member>
</struct>
</value>
...
</data>
</array>
</value>
</param>
</params>
</methodResponse>
Values:
TIMEZONE = Name of the time-zone
TZ_CODES = Array of time-zone codes used in the time-zone