Previous Next JavaScript must be enabled to correctly display this content

## Get all valid world timezones

get

/service/lmm/timezones

This endpoint is used to get all valid world timezones maintenance records.

### Request

Supported Media Types

- application/json
- application/xml

Query Parameters

- countryCode(optional): string
  country of the timezone that needs to be fetched
- limit(optional): integer
  limit is maximum no of records to be fetched
- offset(optional): integer
  offset is starting no of records to be fetched
- timezone(optional): string
  timezone

Back to Top

### Response

Supported Media Types

- application/json
- application/xml

#### 201 Response

Returns message of success or failure
Headers

- Location: string

Body ()
Root Schema : LmmTmTimeZonesServiceCollection
Type: `object`
Collection of TimeZones.
Show Source

- data(optional): array data
- paging(optional): object PagingDto

    {
        "description":"Collection of TimeZones.",
        "type":"object",
        "properties":{
            "data":{
                "type":"array",
                "items":{
                    "$ref":"#/definitions/LmmTmTimeZoneDTO"
                }
            },
            "paging":{
                "$ref":"#/definitions/PagingDto"
            }
        }
    }

Nested Schema : data
Type: `array`
Show Source

- Array of: object LmmTmTimeZoneDTO

    {
        "type":"array",
        "items":{
            "$ref":"#/definitions/LmmTmTimeZoneDTO"
        }
    }

Nested Schema : PagingDto
Type: `object`
Show Source

- totalResults(optional): integer

    {
        "type":"object",
        "properties":{
            "totalResults":{
                "type":"integer"
            }
        }
    }

Nested Schema : LmmTmTimeZoneDTO
Type: `object`
Match All
Show Source

- allOf GenericDto
- object LmmTmTimeZoneDTO-allOf[1]

    {
        "type":"object",
        "allOf":[
            {
                "$ref":"#/definitions/GenericDto"
            },
            {
                "type":"object",
                "properties":{
                    "timeZone":{
                        "type":"string",
                        "description":""
                    },
                    "timeZoneDescription":{
                        "type":"string",
                        "description":""
                    },
                    "utcOffset":{
                        "type":"string",
                        "description":""
                    },
                    "dayLightSaving":{
                        "type":"number",
                        "description":""
                    },
                    "countryIsoCode":{
                        "type":"string",
                        "description":""
                    },
                    "countryIso2":{
                        "type":"string",
                        "description":""
                    }
                }
            }
        ]
    }

Nested Schema : GenericDto
Match All
Show Source

- object GenericDto-allOf[0]
  Discriminator: `resource_type`

    {
        "allOf":[
            {
                "type":"object",
                "discriminator":"resource_type"
            }
        ]
    }

Nested Schema : GenericDto-allOf[0]
Type: `object`
Discriminator: `resource_type`
Nested Schema : LmmTmTimeZoneDTO-allOf[1]
Type: `object`
Show Source

- countryIso2(optional): string
- countryIsoCode(optional): string
- dayLightSaving(optional): number
- timeZone(optional): string
- timeZoneDescription(optional): string
- utcOffset(optional): string

    {
        "type":"object",
        "properties":{
            "timeZone":{
                "type":"string",
                "description":""
            },
            "timeZoneDescription":{
                "type":"string",
                "description":""
            },
            "utcOffset":{
                "type":"string",
                "description":""
            },
            "dayLightSaving":{
                "type":"number",
                "description":""
            },
            "countryIsoCode":{
                "type":"string",
                "description":""
            },
            "countryIso2":{
                "type":"string",
                "description":""
            }
        }
    }

#### 400 Response

Malformed syntax.

#### 401 Response

Request does not have sufficient credentials.

#### 403 Response

Request is not authorized.

#### 405 Response

Invalid input

#### 500 Response

Internal error
Back to Top