All URIs are relative to https://tryitout.jamfcloud.com/uapi
Method | HTTP request | Description |
---|---|---|
v1_time_zones_get | GET /v1/time-zones | Return information about the currently supported Time Zones |
list[TimeZone] v1_time_zones_get()
Return information about the currently supported Time Zones
Returns information about the currently supported time zones
from __future__ import print_function
import time
import jamf
from jamf.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://tryitout.jamfcloud.com/uapi
# See configuration.py for a list of all supported configuration parameters.
configuration = jamf.Configuration(
host = "https://tryitout.jamfcloud.com/uapi"
)
# Enter a context with an instance of the API client
with jamf.ApiClient() as api_client:
# Create an instance of the API class
api_instance = jamf.TimeZonesPreviewApi(api_client)
try:
# Return information about the currently supported Time Zones
api_response = api_instance.v1_time_zones_get()
pprint(api_response)
except ApiException as e:
print("Exception when calling TimeZonesPreviewApi->v1_time_zones_get: %s\n" % e)
This endpoint does not need any parameter.
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | Successful response | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]