ResourcesAPI documentation

mailkit.campaigns.schedule.timezone

Function mailkit.campaigns.schedule.timezone returns a list of supported time-zones for campaign delivery scheduling.

API call example:

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>

JSON

{  
   "function":"mailkit.campaigns.schedule.timezones",
   "id":"client_id",
   "md5":"client_md5"
}

Values

client_id * = client ID can be found in your Mailkit account's menu Profile / Integration / API settings.
client_md5 * = MD5 code can be found in your Mailkit account's menu Profile / Integration / API settings.

* required value

Successful call response:

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>					

JSON

[
    {
        "TIMEZONE": "Africa/Abidjan",
        "TZ_CODES": [
            "GMT"
        ]
    },
    {
        "TIMEZONE": "Africa/Accra",
        "TZ_CODES": [
            "GHST",
            "GMT"
        ]
    },
    ...
    ...
]

Values:

TIMEZONE = Name of the time-zone
TZ_CODES = Array of time-zone codes used in the time-zone