PUT v1/core/Accounts/{accId}/timezone

Set the current timezone for the account

Request Information

Parameters

NameDescriptionAdditional information
accId
the account id

Define this parameter in the request URI.

item
the IP Address of the new DNS server of

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "Timezone": "GMT|CET|EET|AST|EST|CST|MST|PST|AKST|HAST|MSK|RZ3|RZ4|RZ5|RZ1|RZ6|RZ7|RZ8|RZ9|RZ10|RZ11|MSST|DST|MIS|MXP|MXM|MXC|BLT|VST|BVT|CHT|NST|BZT|AGT|GST|UST|JST|EGT|SAT|IST|SST|KST|INT|WAT|NAT|AUT|QST|NWT|AEST|ACST|AWST|HKT|ACT|AMT|BRT|FNT",
  "IsDaylightSavings": true
}

text/javascript

Sample:
{"Timezone":0,"IsDaylightSavings":true}

application/xml, text/xml

Sample:
<Timezones xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/pbnb_models">
  <IsDaylightSavings>true</IsDaylightSavings>
  <Timezone>GMT|CET|EET|AST|EST|CST|MST|PST|AKST|HAST|MSK|RZ3|RZ4|RZ5|RZ1|RZ6|RZ7|RZ8|RZ9|RZ10|RZ11|MSST|DST|MIS|MXP|MXM|MXC|BLT|VST|BVT|CHT|NST|BZT|AGT|GST|UST|JST|EGT|SAT|IST|SST|KST|INT|WAT|NAT|AUT|QST|NWT|AEST|ACST|AWST|HKT|ACT|AMT|BRT|FNT</Timezone>
</Timezones>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'Timezones'.

application/bson

Sample:
'TimezoneIsDaylightSavings

Response Information

Response body formats

application/json, text/json

Sample:
{
  "Success": true,
  "Data": {
    "Timezone": "GMT|CET|EET|AST|EST|CST|MST|PST|AKST|HAST|MSK|RZ3|RZ4|RZ5|RZ1|RZ6|RZ7|RZ8|RZ9|RZ10|RZ11|MSST|DST|MIS|MXP|MXM|MXC|BLT|VST|BVT|CHT|NST|BZT|AGT|GST|UST|JST|EGT|SAT|IST|SST|KST|INT|WAT|NAT|AUT|QST|NWT|AEST|ACST|AWST|HKT|ACT|AMT|BRT|FNT",
    "IsDaylightSavings": true
  },
  "ErrorCode": 2,
  "ErrorDescription": "sample string 3",
  "Meta": "sample string 4"
}

text/javascript

Sample:
{"Success":true,"Data":{"Timezone":0,"IsDaylightSavings":true},"ErrorCode":2,"ErrorDescription":"sample string 3","Meta":"sample string 4"}

application/xml, text/xml

Sample:
<PBNBReturnOfTimezonesCA1DLPoZ xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/pbnb_models">
  <Data>
    <IsDaylightSavings>true</IsDaylightSavings>
    <Timezone>GMT|CET|EET|AST|EST|CST|MST|PST|AKST|HAST|MSK|RZ3|RZ4|RZ5|RZ1|RZ6|RZ7|RZ8|RZ9|RZ10|RZ11|MSST|DST|MIS|MXP|MXM|MXC|BLT|VST|BVT|CHT|NST|BZT|AGT|GST|UST|JST|EGT|SAT|IST|SST|KST|INT|WAT|NAT|AUT|QST|NWT|AEST|ACST|AWST|HKT|ACT|AMT|BRT|FNT</Timezone>
  </Data>
  <ErrorCode>2</ErrorCode>
  <ErrorDescription>sample string 3</ErrorDescription>
  <Meta>sample string 4</Meta>
  <Success>true</Success>
</PBNBReturnOfTimezonesCA1DLPoZ>

application/bson

Sample:
�SuccessData'TimezoneIsDaylightSavingsErrorCodeErrorDescriptionsample string 3Metasample string 4