The method check_domain_night_mode determines the current night mode status of your Basix domain.
Method parameters
This method doesn't require any parameters
Response
Response will return a json string with result_code=0 in case of success and the data indicating the night mode status. A non-zero result_code indicates an error and will be accompanied by a description of the error.
result_code | Description |
---|---|
0 | Success |
500 | Error. Details will be present in the json string. |
The data will contain the fields:
- status: 0 (OFF), 1 (ON)
- night_mode_greeting
- fwd_night_mode_dest_type
- fwd_night_mode_dest_address