POST api/v1/videoConfig/{MAC}/Preset/{PresetSlot}
The GotoPreset Web PopulateResults is used to request that the camera be moved to the position defined by the given preset slot number.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| MAC |
MAC Address (unique identifier) for the camera in question. |
string |
Required |
| PresetSlot |
Slot number (1-9) to be moved to. |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
BaseResults object: ResultCode: Numerical indication of success/failure. 0=Success, Failure otherwise ResultData: Textual information, additional to the ResultCode as necessary.
BaseResults| Name | Description | Type | Additional information |
|---|---|---|---|
| ResultCode | integer |
None. |
|
| ResultData | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"ResultCode": 1,
"ResultData": "sample string 2"
}
application/xml, text/xml
Sample:
<BaseResults xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TC2Utilities.RestApi"> <ResultCode>1</ResultCode> <ResultData>sample string 2</ResultData> </BaseResults>