GET api/v1/locations/{locationId}/doorbell/videoUrl/{deviceEventId}
This api provides the video URL for the given event of a doorbell
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| locationId | integer |
Required |
|
| deviceEventId | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
GetPartnerVideoURLResult
GetPartnerVideoURLResult| Name | Description | Type | Additional information |
|---|---|---|---|
| activityUrl | string |
None. |
|
| ResultCode | integer |
None. |
|
| ResultData | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"activityUrl": "sample string 1",
"ResultCode": 2,
"ResultData": "sample string 3"
}
application/xml, text/xml
Sample:
<GetPartnerVideoURLResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TC2WebAPIController.Models.V1"> <ResultCode xmlns="http://schemas.datacontract.org/2004/07/TC2Utilities.RestApi">2</ResultCode> <ResultData xmlns="http://schemas.datacontract.org/2004/07/TC2Utilities.RestApi">sample string 3</ResultData> <activityUrl>sample string 1</activityUrl> </GetPartnerVideoURLResult>