PULSAR
API ReferenceBackoffice

Update Count Sensor Config

Update count sensor config.

Authorization

bearerAuth superuser
Authorization<token>

In: header

Scope: superuser

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

Try it live
PATCH
/backoffice/machines/count-sensors

This endpoint requires authentication — use the Login page at the top of the API Reference, or paste a token in the Authorization section below.

curl -X PATCH "https://example.com/backoffice/machines/count-sensors" \  -H "Content-Type: application/json" \  -d '{    "updated": [      {        "configs": [          {            "type": "string",            "countingFactor": 0,            "channel": 0,            "nodeId": 0          }        ],        "isCountEnabled": true,        "machineRef": "string"      }    ],    "deleted": [      {        "configs": [          {            "type": "string",            "countingFactor": 0,            "channel": 0,            "nodeId": 0          }        ],        "isCountEnabled": true,        "machineRef": "string"      }    ],    "added": [      {        "configs": [          {            "type": "string",            "countingFactor": 0,            "channel": 0,            "nodeId": 0          }        ],        "isCountEnabled": true,        "machineRef": "string"      }    ],    "companyId": 0.1  }'
Empty