GET api/pcount/iot/v2/circuit/{machineKey}/configure
Retorna a configuração do Circuito através do MachineKey do Circuito
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| machineKey |
MachineKey do Circuito |
string |
Required |
Body Parameters
None.
Response Information
Resource Description
CircuitoConfiguracaoDto| Name | Description | Type | Additional information |
|---|---|---|---|
| circuitoId | globally unique identifier |
None. |
|
| contratoId | globally unique identifier |
None. |
|
| machinekey | string |
None. |
|
| macAddress | string |
None. |
|
| ddns | string |
None. |
|
| remoteId | integer |
None. |
|
| endpoint | string |
None. |
|
| detectionStartTime | time interval |
None. |
|
| detectionEndTime | time interval |
None. |
|
| reconnectTime | integer |
None. |
|
| enableCompress | boolean |
None. |
|
| compressTime | integer |
None. |
|
| compressSecretKey | string |
None. |
|
| compressEnableSync | boolean |
None. |
|
| compressSyncTime | integer |
None. |
|
| secondFrameDelay | integer |
None. |
|
| bucketName | string |
None. |
|
| accessKeyId | string |
None. |
|
| accessSecretKey | string |
None. |
|
| isActive | boolean |
None. |
|
| camera | Collection of CircuitoCameraConfiguracaoDto |
None. |
Response Formats
application/json, text/json
Sample:
{
"circuitoId": "89e4b4ea-a5a3-4e54-830b-2c21739b882a",
"contratoId": "b940e5cd-02ae-4704-aa7c-92a7ac76f0f7",
"machinekey": "sample string 3",
"macAddress": "sample string 4",
"ddns": "sample string 5",
"remoteId": 6,
"endpoint": "sample string 7",
"detectionStartTime": "00:00:00.1234567",
"detectionEndTime": "00:00:00.1234567",
"reconnectTime": 10,
"enableCompress": true,
"compressTime": 12,
"compressSecretKey": "sample string 13",
"compressEnableSync": true,
"compressSyncTime": 15,
"secondFrameDelay": 16,
"bucketName": "sample string 17",
"accessKeyId": "sample string 18",
"accessSecretKey": "sample string 19",
"isActive": true,
"camera": [
{
"$id": "2",
"id": "6329f48b-b6e6-44ab-ac33-eb2df6d12346",
"description": "sample string 2",
"ip": "sample string 3",
"port": 4,
"channel": 1,
"subtype": 1,
"user": "sample string 5",
"password": "sample string 6",
"urlFormat": "sample string 7",
"isActive": true
},
{
"$ref": "2"
}
]
}