curl --request PUT \
--url https://app.azalt.co/api/v1/indicators/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"label": "<string>",
"description": "<string>",
"datasetItems": [
"<string>"
],
"variables": [
{
"sourceType": "form_element",
"formElementId": "<string>",
"inputIndicatorId": "<string>",
"value": "<string>",
"scopeRef": {
"scope": "site",
"metric": "value",
"relativeTo": "group"
},
"functionCall": {
"name": "SUM",
"fieldPath": "<string>",
"percentile": 0.5
}
}
],
"unitId": "<string>",
"tags": [
"<string>"
]
}
'{
"id": "<string>",
"name": "<string>",
"label": "<string>",
"description": "<string>",
"unitId": "<string>",
"tags": [
"<string>"
],
"organizationId": "<string>",
"createdAt": "<string>",
"updatedAt": "<string>"
}Gösterge adını, formülünü, birimlerini ve veri seti eşleştirmelerini günceller. Değişiklikler tüm bağlı hesaplamaları etkiler; güncelleme sonrası sonuçları doğrulamak önerilir.
curl --request PUT \
--url https://app.azalt.co/api/v1/indicators/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"label": "<string>",
"description": "<string>",
"datasetItems": [
"<string>"
],
"variables": [
{
"sourceType": "form_element",
"formElementId": "<string>",
"inputIndicatorId": "<string>",
"value": "<string>",
"scopeRef": {
"scope": "site",
"metric": "value",
"relativeTo": "group"
},
"functionCall": {
"name": "SUM",
"fieldPath": "<string>",
"percentile": 0.5
}
}
],
"unitId": "<string>",
"tags": [
"<string>"
]
}
'{
"id": "<string>",
"name": "<string>",
"label": "<string>",
"description": "<string>",
"unitId": "<string>",
"tags": [
"<string>"
],
"organizationId": "<string>",
"createdAt": "<string>",
"updatedAt": "<string>"
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Göster alt özellikler
form_element, indicator, operator, number, string, scope_ref, function