getTimezoneListRequest

Returns the list of time zone definitions at the post office.

Request

<getTimezoneListRequest/>

Response

<getTimezoneListResponse>
   <timezones type="TimezoneList"/>
   <status type="types:Status"/>
</getTimezoneListResponse>

Elements

timezones

Specifies the list of time zone definitions at the post office.

code

Returns the error number related to the event. 0 indicates that the request was successful.

status

Returns the success or failure of the method.

Example

<getTimezoneListRequest/>

<getTimezoneListResponse> 
   <timezones> 
      ...
      <timezone> 
         <id>DLT</id> 
         <description>(GMT-12:00) International Date Line 
                West</description> 
         <standard> 
            <name>Dateline Standard Time</name> 
            <offset>-43200</offset> 
         </standard> 
      </timezone> 
      <timezone> 
         <id>NZT</id> 
         <description>(GMT+12:00) Auckland, Wellington</description> 
         <daylight> 
         <name>New Zealand Daylight Time</name> 
         <month>10</month> 
         <dayOfWeek occurrence="First">Sunday</dayOfWeek> 
            <hour>2</hour> 
            <minute>0</minute> 
            <offset>46800</offset> 
         </daylight> 
         <standard> 
            <name>New Zealand Standard Time</name> 
            <month>3</month> 
            <dayOfWeek occurrence="Third">Sunday</dayOfWeek> 
            <hour>2</hour> 
            <minute>0</minute> 
            <offset>43200</offset> 
         </standard>
      </timezone> 
   </timezones> 
   <status> 
      <code>0</code> 
   </status> 
</getTimezoneListResponse>