Skip to main content

PresetCapture

Definition​

PresetCapture Type
presetCapture.json
{
"id": 0,
"presetID": 0,
"interval": 0,
"beginDate": "",
"endDate": "",
}

Get PresetCaptures​

curl -X GET "https://${baseUrl}/preset-capture/?\$filter=&\$orderBy=&\$page=1&\$pageSize=10" \
-H "Authorization: Bearer ${accessToken}" \
-H "Content-Type: application/json" \
-H "Accept: application/json"

Get PresetCapture​

curl -X GET "https://${baseUrl}/preset-capture/${id}" \
-H "Authorization: Bearer ${accessToken}" \
-H "Content-Type: application/json" \
-H "Accept: application/json"

Apply PresetCapture.ID​

curl -X POST "https://${baseUrl}/apply/preset-capture/id/" \
-H "Authorization: Bearer ${accessToken}" \
-H "Content-Type: application/json" \
-H "Accept: application/json"

Create PresetCapture​

curl -X POST "https://${baseUrl}/preset-capture/" \
-H "Authorization: Bearer ${accessToken}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d @presetCapture.json
info
presetCapture.json
{
"presetID": 0,
"interval": 0,
"beginDate": "",
"endDate": "",
}
tip

success status: 201

Update PresetCapture​

curl -X PUT "https://${baseUrl}/preset-capture/${id}" \
-H "Authorization: Bearer ${accessToken}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d @presetCapture.json
info
presetCapture.json
{
"presetID": 0,
"interval": 0,
"beginDate": "",
"endDate": "",
}

Update PresetCapture Partial​

curl -X PATCH "https://${baseUrl}/preset-capture/${id}" \
-H "Authorization: Bearer ${accessToken}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-H "Attrs: presetID,interval,beginDate,endDate" \
-d @presetCapture.json
info
presetCapture.json
{
"presetID": 0,
"interval": 0,
"beginDate": "",
"endDate": "",
}

Destroy PresetCapture​

curl -X DELETE "https://${baseUrl}/preset-capture/${id}" \
-H "Authorization: Bearer ${accessToken}" \
-H "Content-Type: application/json" \
-H "Accept: application/json"