Control

Function

This API is used to set parameter for Network > Email page.

Request Message

See Network > Email > Range > Parameter Description > Table 1 for parameter description.

Sample:

POST /API/NetworkConfig/Email/Control HTTP/1.1
{
    "version":"1.0",
    "data":{
        "email_type":"Outlook",
        "outlook_active":"Inactive"
    }
}

Response Message

See Network > Email > Range > Parameter Description > Table 1 for parameter description.

Sample:

HTTP/1.1 200 OK
Content-Type: application/json
{
    "result": "success",
    "data": {
        "url": "https://microsoft.com/devicelogin",
        "user_code": "NB2T3WR6C"
    }
}

Error Code

See Response Messages Body and Common error_code for more information.