DataCollector

SPA: Updates a Data Collector.

Updates a Data Collector.

PATCH/api/spa/data-collectors/{id}

Authorizations

X-AUTH-TOKEN
stringheaderrequired

Value for the X-AUTH-TOKEN header parameter.

Path Parameters

id
stringrequired

DataCollector identifier

Request Body

application/json
required

The updated DataCollector resource

{
  "identifier": "string",
  "schedule": 1,
  "type": "string",
  "configuration": [
    "string"
  ],
  "requestMapping": [
    "string"
  ],
  "apiToken": {
    "subClient": {}
  },
  "subClient": {}
}

Response

200application/json

DataCollector resource updated

id
integer
identifier
stringrequired
schedule
integer | null
type
stringrequired
configuration
string[]
requestMapping
string[]
apiToken
value | null
lastExecution
string<date-time> | null
createdBy
string

User, created this entry

Example: "user1@company.com"

updatedBy
string

User, updated this entry

Example: "user1@company.com"

createdAt
string<date-time>

UTC date time of entry creation

Example: "2024-08-23T00:00:00+00:00"

updatedAt
string<date-time>

UTC date time of last entry update

Example: "2024-08-23T00:00:00+00:00"

active
boolean

Active flag. Default: true

Available options: truefalse

Example: true

activeFrom
string<date-time>

Date to activate the entry. Default: today

Example: "2024-01-01"

subClientId
integer

SubClient ID. Provided on instances with enabled sub-client module only.

Example: 3

subClientDescription
string

SubClient description. Provided on instances with enabled sub-client module only.

Example: "Branch Office A"