|  Developer
Updated on June 17, 2022

nma.timezones.set

  • Title: Set timezone for Controller
  • Description: Set timezone for Controller
Edit
Field Type Description
timezone string desired timezone
Edit
Edit
Edit
Edit
  • request:
				
					{
    "id": "Z4E40EE6F",
    "method": "nma.timezones.set",
    "params": {
        "timezone": "Europe/Kiev"
    }
}
				
			
  • response(success):
				
					{
    "id": "Z4E40EE6F",
    "method": "nma.timezones.detailed.list",
    "error": null,
    "result": {
        "location": "Africa/Addis_Ababa"
    }
}

(it's controller's response)				
			
  • response(failure):
				
					controller's error message
				
			
Edit
Code Description
6 cloud.error.invalid_parameter
24 cloud.error.http_request_failed
-32600 Bad request, name is empty rpc.params.empty.name (controller)
-32600 Bad request, name does not exist rpc.params.notfound.name (controller)