# Set

## Function

This API is used to set parameter for AI > Setup > ParcelDetection .

## Request Message

### Parameter Description

See AI > Setup > ParcelDetection > Range >Parameter Description>Table 2 for parameter description.

Sample：

    POST /API/AI/Setup/ParcelDetection/Set HTTP/1.1

    {
        "version": "1.0",
        "data": {"channel_info": {"CH1": {"abilities": [{"ability_info": [{
            "ability": "ParcelDetection",
            "state": "On"
        }]}]}}}
    }

## Response Message

### Parameter Description

None.

Sample：

    HTTP/1.1 200 OK
    Content-Type: application/json

    {
        "result":"success",
        "data":{}
    }

## Error Code

See Response Messages Body and Common error_code for more information.