curl --request PATCH \
--url https://api.iklim.co/v1/alarms/forecasts/update \
--header 'Content-Type: application/json' \
--data '
{
"registrationId": "f7587d9e-2481-4b4c-818d-c8d1946851b7",
"recipientId": "customer-system-001",
"boundary": {
"cityId": 6,
"districtId": 557
},
"forecastDays": 3,
"forecastAlarmDelivery": [
"MORNING",
"EVENING"
],
"webhook": {
"accountId": "2f04f1b5-1c0a-4c4e-b0a7-0ba6e9b7f2e1",
"url": "https://api.customer.com/alerts/forecast-callback",
"httpMethod": "POST",
"contentType": "application/json",
"authentication": {
"type": "API_KEY",
"username": "alert-user",
"password": "******"
},
"requestHeaders": {
"source": "iklim.co",
"custom-header": "value"
},
"deliveryPolicy": {
"timeout": 60,
"maxRetries": 3,
"retryDelay": 10
}
},
"filter": {
"precipitationThreshold": "MODERATE",
"snowFallThreshold": "LIGHT",
"windGustThreshold": "STRONG_WIND",
"hotTemperatureThreshold": "HOT_SNAP",
"coldTemperatureThreshold": "COLD_SNAP"
}
}
'import requests
url = "https://api.iklim.co/v1/alarms/forecasts/update"
payload = {
"registrationId": "f7587d9e-2481-4b4c-818d-c8d1946851b7",
"recipientId": "customer-system-001",
"boundary": {
"cityId": 6,
"districtId": 557
},
"forecastDays": 3,
"forecastAlarmDelivery": ["MORNING", "EVENING"],
"webhook": {
"accountId": "2f04f1b5-1c0a-4c4e-b0a7-0ba6e9b7f2e1",
"url": "https://api.customer.com/alerts/forecast-callback",
"httpMethod": "POST",
"contentType": "application/json",
"authentication": {
"type": "API_KEY",
"username": "alert-user",
"password": "******"
},
"requestHeaders": {
"source": "iklim.co",
"custom-header": "value"
},
"deliveryPolicy": {
"timeout": 60,
"maxRetries": 3,
"retryDelay": 10
}
},
"filter": {
"precipitationThreshold": "MODERATE",
"snowFallThreshold": "LIGHT",
"windGustThreshold": "STRONG_WIND",
"hotTemperatureThreshold": "HOT_SNAP",
"coldTemperatureThreshold": "COLD_SNAP"
}
}
headers = {"Content-Type": "application/json"}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PATCH',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
registrationId: 'f7587d9e-2481-4b4c-818d-c8d1946851b7',
recipientId: 'customer-system-001',
boundary: {cityId: 6, districtId: 557},
forecastDays: 3,
forecastAlarmDelivery: ['MORNING', 'EVENING'],
webhook: {
accountId: '2f04f1b5-1c0a-4c4e-b0a7-0ba6e9b7f2e1',
url: 'https://api.customer.com/alerts/forecast-callback',
httpMethod: 'POST',
contentType: 'application/json',
authentication: {type: 'API_KEY', username: 'alert-user', password: '******'},
requestHeaders: {source: 'iklim.co', 'custom-header': 'value'},
deliveryPolicy: {timeout: 60, maxRetries: 3, retryDelay: 10}
},
filter: {
precipitationThreshold: 'MODERATE',
snowFallThreshold: 'LIGHT',
windGustThreshold: 'STRONG_WIND',
hotTemperatureThreshold: 'HOT_SNAP',
coldTemperatureThreshold: 'COLD_SNAP'
}
})
};
fetch('https://api.iklim.co/v1/alarms/forecasts/update', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.iklim.co/v1/alarms/forecasts/update",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PATCH",
CURLOPT_POSTFIELDS => json_encode([
'registrationId' => 'f7587d9e-2481-4b4c-818d-c8d1946851b7',
'recipientId' => 'customer-system-001',
'boundary' => [
'cityId' => 6,
'districtId' => 557
],
'forecastDays' => 3,
'forecastAlarmDelivery' => [
'MORNING',
'EVENING'
],
'webhook' => [
'accountId' => '2f04f1b5-1c0a-4c4e-b0a7-0ba6e9b7f2e1',
'url' => 'https://api.customer.com/alerts/forecast-callback',
'httpMethod' => 'POST',
'contentType' => 'application/json',
'authentication' => [
'type' => 'API_KEY',
'username' => 'alert-user',
'password' => '******'
],
'requestHeaders' => [
'source' => 'iklim.co',
'custom-header' => 'value'
],
'deliveryPolicy' => [
'timeout' => 60,
'maxRetries' => 3,
'retryDelay' => 10
]
],
'filter' => [
'precipitationThreshold' => 'MODERATE',
'snowFallThreshold' => 'LIGHT',
'windGustThreshold' => 'STRONG_WIND',
'hotTemperatureThreshold' => 'HOT_SNAP',
'coldTemperatureThreshold' => 'COLD_SNAP'
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.iklim.co/v1/alarms/forecasts/update"
payload := strings.NewReader("{\n \"registrationId\": \"f7587d9e-2481-4b4c-818d-c8d1946851b7\",\n \"recipientId\": \"customer-system-001\",\n \"boundary\": {\n \"cityId\": 6,\n \"districtId\": 557\n },\n \"forecastDays\": 3,\n \"forecastAlarmDelivery\": [\n \"MORNING\",\n \"EVENING\"\n ],\n \"webhook\": {\n \"accountId\": \"2f04f1b5-1c0a-4c4e-b0a7-0ba6e9b7f2e1\",\n \"url\": \"https://api.customer.com/alerts/forecast-callback\",\n \"httpMethod\": \"POST\",\n \"contentType\": \"application/json\",\n \"authentication\": {\n \"type\": \"API_KEY\",\n \"username\": \"alert-user\",\n \"password\": \"******\"\n },\n \"requestHeaders\": {\n \"source\": \"iklim.co\",\n \"custom-header\": \"value\"\n },\n \"deliveryPolicy\": {\n \"timeout\": 60,\n \"maxRetries\": 3,\n \"retryDelay\": 10\n }\n },\n \"filter\": {\n \"precipitationThreshold\": \"MODERATE\",\n \"snowFallThreshold\": \"LIGHT\",\n \"windGustThreshold\": \"STRONG_WIND\",\n \"hotTemperatureThreshold\": \"HOT_SNAP\",\n \"coldTemperatureThreshold\": \"COLD_SNAP\"\n }\n}")
req, _ := http.NewRequest("PATCH", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.patch("https://api.iklim.co/v1/alarms/forecasts/update")
.header("Content-Type", "application/json")
.body("{\n \"registrationId\": \"f7587d9e-2481-4b4c-818d-c8d1946851b7\",\n \"recipientId\": \"customer-system-001\",\n \"boundary\": {\n \"cityId\": 6,\n \"districtId\": 557\n },\n \"forecastDays\": 3,\n \"forecastAlarmDelivery\": [\n \"MORNING\",\n \"EVENING\"\n ],\n \"webhook\": {\n \"accountId\": \"2f04f1b5-1c0a-4c4e-b0a7-0ba6e9b7f2e1\",\n \"url\": \"https://api.customer.com/alerts/forecast-callback\",\n \"httpMethod\": \"POST\",\n \"contentType\": \"application/json\",\n \"authentication\": {\n \"type\": \"API_KEY\",\n \"username\": \"alert-user\",\n \"password\": \"******\"\n },\n \"requestHeaders\": {\n \"source\": \"iklim.co\",\n \"custom-header\": \"value\"\n },\n \"deliveryPolicy\": {\n \"timeout\": 60,\n \"maxRetries\": 3,\n \"retryDelay\": 10\n }\n },\n \"filter\": {\n \"precipitationThreshold\": \"MODERATE\",\n \"snowFallThreshold\": \"LIGHT\",\n \"windGustThreshold\": \"STRONG_WIND\",\n \"hotTemperatureThreshold\": \"HOT_SNAP\",\n \"coldTemperatureThreshold\": \"COLD_SNAP\"\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.iklim.co/v1/alarms/forecasts/update")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Patch.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"registrationId\": \"f7587d9e-2481-4b4c-818d-c8d1946851b7\",\n \"recipientId\": \"customer-system-001\",\n \"boundary\": {\n \"cityId\": 6,\n \"districtId\": 557\n },\n \"forecastDays\": 3,\n \"forecastAlarmDelivery\": [\n \"MORNING\",\n \"EVENING\"\n ],\n \"webhook\": {\n \"accountId\": \"2f04f1b5-1c0a-4c4e-b0a7-0ba6e9b7f2e1\",\n \"url\": \"https://api.customer.com/alerts/forecast-callback\",\n \"httpMethod\": \"POST\",\n \"contentType\": \"application/json\",\n \"authentication\": {\n \"type\": \"API_KEY\",\n \"username\": \"alert-user\",\n \"password\": \"******\"\n },\n \"requestHeaders\": {\n \"source\": \"iklim.co\",\n \"custom-header\": \"value\"\n },\n \"deliveryPolicy\": {\n \"timeout\": 60,\n \"maxRetries\": 3,\n \"retryDelay\": 10\n }\n },\n \"filter\": {\n \"precipitationThreshold\": \"MODERATE\",\n \"snowFallThreshold\": \"LIGHT\",\n \"windGustThreshold\": \"STRONG_WIND\",\n \"hotTemperatureThreshold\": \"HOT_SNAP\",\n \"coldTemperatureThreshold\": \"COLD_SNAP\"\n }\n}"
response = http.request(request)
puts response.read_body{
"registrationId": "f7587d9e-2481-4b4c-818d-c8d1946851b7",
"recipientId": "customer-system-001",
"boundary": {
"cityId": 6,
"districtId": 557
},
"forecastDays": 3,
"forecastAlarmDelivery": [
"MORNING",
"EVENING"
],
"webhook": {
"accountId": "2f04f1b5-1c0a-4c4e-b0a7-0ba6e9b7f2e1",
"url": "https://api.customer.com/alerts/forecast-callback",
"httpMethod": "POST",
"contentType": "application/json",
"authentication": {
"username": "alert-user",
"password": "******"
},
"requestHeaders": {
"source": "iklim.co",
"custom-header": "value"
},
"deliveryPolicy": {
"timeout": 60,
"maxRetries": 3,
"retryDelay": 10
}
},
"filter": {
"precipitationThreshold": "MODERATE",
"snowFallThreshold": "LIGHT",
"windGustThreshold": "STRONG_WIND",
"hotTemperatureThreshold": "HOT_SNAP",
"coldTemperatureThreshold": "COLD_SNAP"
},
"createdAt": "2025-01-01T10:15:30Z",
"updatedAt": "2025-01-01T11:15:30Z",
"warnings": [
"warning-1",
"warning-2"
]
}{
"timestamp": "YYYY-mm-DDTHH:MM:SS.nnnnnnnnn",
"status": "XXX",
"error": "Error Name",
"message": "Error Message",
"path": "/endpoint/uri/here",
"messages": [
"<string>"
]
}{
"timestamp": "YYYY-mm-DDTHH:MM:SS.nnnnnnnnn",
"status": "XXX",
"error": "Error Name",
"message": "Error Message",
"path": "/endpoint/uri/here",
"messages": [
"<string>"
]
}{
"timestamp": "YYYY-mm-DDTHH:MM:SS.nnnnnnnnn",
"status": "XXX",
"error": "Error Name",
"message": "Error Message",
"path": "/endpoint/uri/here",
"messages": [
"<string>"
]
}{
"timestamp": "YYYY-mm-DDTHH:MM:SS.nnnnnnnnn",
"status": "XXX",
"error": "Error Name",
"message": "Error Message",
"path": "/endpoint/uri/here",
"messages": [
"<string>"
]
}Kayıt güncelle
Mevcut bir tahmin alarm kaydını günceller.
curl --request PATCH \
--url https://api.iklim.co/v1/alarms/forecasts/update \
--header 'Content-Type: application/json' \
--data '
{
"registrationId": "f7587d9e-2481-4b4c-818d-c8d1946851b7",
"recipientId": "customer-system-001",
"boundary": {
"cityId": 6,
"districtId": 557
},
"forecastDays": 3,
"forecastAlarmDelivery": [
"MORNING",
"EVENING"
],
"webhook": {
"accountId": "2f04f1b5-1c0a-4c4e-b0a7-0ba6e9b7f2e1",
"url": "https://api.customer.com/alerts/forecast-callback",
"httpMethod": "POST",
"contentType": "application/json",
"authentication": {
"type": "API_KEY",
"username": "alert-user",
"password": "******"
},
"requestHeaders": {
"source": "iklim.co",
"custom-header": "value"
},
"deliveryPolicy": {
"timeout": 60,
"maxRetries": 3,
"retryDelay": 10
}
},
"filter": {
"precipitationThreshold": "MODERATE",
"snowFallThreshold": "LIGHT",
"windGustThreshold": "STRONG_WIND",
"hotTemperatureThreshold": "HOT_SNAP",
"coldTemperatureThreshold": "COLD_SNAP"
}
}
'import requests
url = "https://api.iklim.co/v1/alarms/forecasts/update"
payload = {
"registrationId": "f7587d9e-2481-4b4c-818d-c8d1946851b7",
"recipientId": "customer-system-001",
"boundary": {
"cityId": 6,
"districtId": 557
},
"forecastDays": 3,
"forecastAlarmDelivery": ["MORNING", "EVENING"],
"webhook": {
"accountId": "2f04f1b5-1c0a-4c4e-b0a7-0ba6e9b7f2e1",
"url": "https://api.customer.com/alerts/forecast-callback",
"httpMethod": "POST",
"contentType": "application/json",
"authentication": {
"type": "API_KEY",
"username": "alert-user",
"password": "******"
},
"requestHeaders": {
"source": "iklim.co",
"custom-header": "value"
},
"deliveryPolicy": {
"timeout": 60,
"maxRetries": 3,
"retryDelay": 10
}
},
"filter": {
"precipitationThreshold": "MODERATE",
"snowFallThreshold": "LIGHT",
"windGustThreshold": "STRONG_WIND",
"hotTemperatureThreshold": "HOT_SNAP",
"coldTemperatureThreshold": "COLD_SNAP"
}
}
headers = {"Content-Type": "application/json"}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PATCH',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
registrationId: 'f7587d9e-2481-4b4c-818d-c8d1946851b7',
recipientId: 'customer-system-001',
boundary: {cityId: 6, districtId: 557},
forecastDays: 3,
forecastAlarmDelivery: ['MORNING', 'EVENING'],
webhook: {
accountId: '2f04f1b5-1c0a-4c4e-b0a7-0ba6e9b7f2e1',
url: 'https://api.customer.com/alerts/forecast-callback',
httpMethod: 'POST',
contentType: 'application/json',
authentication: {type: 'API_KEY', username: 'alert-user', password: '******'},
requestHeaders: {source: 'iklim.co', 'custom-header': 'value'},
deliveryPolicy: {timeout: 60, maxRetries: 3, retryDelay: 10}
},
filter: {
precipitationThreshold: 'MODERATE',
snowFallThreshold: 'LIGHT',
windGustThreshold: 'STRONG_WIND',
hotTemperatureThreshold: 'HOT_SNAP',
coldTemperatureThreshold: 'COLD_SNAP'
}
})
};
fetch('https://api.iklim.co/v1/alarms/forecasts/update', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.iklim.co/v1/alarms/forecasts/update",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PATCH",
CURLOPT_POSTFIELDS => json_encode([
'registrationId' => 'f7587d9e-2481-4b4c-818d-c8d1946851b7',
'recipientId' => 'customer-system-001',
'boundary' => [
'cityId' => 6,
'districtId' => 557
],
'forecastDays' => 3,
'forecastAlarmDelivery' => [
'MORNING',
'EVENING'
],
'webhook' => [
'accountId' => '2f04f1b5-1c0a-4c4e-b0a7-0ba6e9b7f2e1',
'url' => 'https://api.customer.com/alerts/forecast-callback',
'httpMethod' => 'POST',
'contentType' => 'application/json',
'authentication' => [
'type' => 'API_KEY',
'username' => 'alert-user',
'password' => '******'
],
'requestHeaders' => [
'source' => 'iklim.co',
'custom-header' => 'value'
],
'deliveryPolicy' => [
'timeout' => 60,
'maxRetries' => 3,
'retryDelay' => 10
]
],
'filter' => [
'precipitationThreshold' => 'MODERATE',
'snowFallThreshold' => 'LIGHT',
'windGustThreshold' => 'STRONG_WIND',
'hotTemperatureThreshold' => 'HOT_SNAP',
'coldTemperatureThreshold' => 'COLD_SNAP'
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.iklim.co/v1/alarms/forecasts/update"
payload := strings.NewReader("{\n \"registrationId\": \"f7587d9e-2481-4b4c-818d-c8d1946851b7\",\n \"recipientId\": \"customer-system-001\",\n \"boundary\": {\n \"cityId\": 6,\n \"districtId\": 557\n },\n \"forecastDays\": 3,\n \"forecastAlarmDelivery\": [\n \"MORNING\",\n \"EVENING\"\n ],\n \"webhook\": {\n \"accountId\": \"2f04f1b5-1c0a-4c4e-b0a7-0ba6e9b7f2e1\",\n \"url\": \"https://api.customer.com/alerts/forecast-callback\",\n \"httpMethod\": \"POST\",\n \"contentType\": \"application/json\",\n \"authentication\": {\n \"type\": \"API_KEY\",\n \"username\": \"alert-user\",\n \"password\": \"******\"\n },\n \"requestHeaders\": {\n \"source\": \"iklim.co\",\n \"custom-header\": \"value\"\n },\n \"deliveryPolicy\": {\n \"timeout\": 60,\n \"maxRetries\": 3,\n \"retryDelay\": 10\n }\n },\n \"filter\": {\n \"precipitationThreshold\": \"MODERATE\",\n \"snowFallThreshold\": \"LIGHT\",\n \"windGustThreshold\": \"STRONG_WIND\",\n \"hotTemperatureThreshold\": \"HOT_SNAP\",\n \"coldTemperatureThreshold\": \"COLD_SNAP\"\n }\n}")
req, _ := http.NewRequest("PATCH", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.patch("https://api.iklim.co/v1/alarms/forecasts/update")
.header("Content-Type", "application/json")
.body("{\n \"registrationId\": \"f7587d9e-2481-4b4c-818d-c8d1946851b7\",\n \"recipientId\": \"customer-system-001\",\n \"boundary\": {\n \"cityId\": 6,\n \"districtId\": 557\n },\n \"forecastDays\": 3,\n \"forecastAlarmDelivery\": [\n \"MORNING\",\n \"EVENING\"\n ],\n \"webhook\": {\n \"accountId\": \"2f04f1b5-1c0a-4c4e-b0a7-0ba6e9b7f2e1\",\n \"url\": \"https://api.customer.com/alerts/forecast-callback\",\n \"httpMethod\": \"POST\",\n \"contentType\": \"application/json\",\n \"authentication\": {\n \"type\": \"API_KEY\",\n \"username\": \"alert-user\",\n \"password\": \"******\"\n },\n \"requestHeaders\": {\n \"source\": \"iklim.co\",\n \"custom-header\": \"value\"\n },\n \"deliveryPolicy\": {\n \"timeout\": 60,\n \"maxRetries\": 3,\n \"retryDelay\": 10\n }\n },\n \"filter\": {\n \"precipitationThreshold\": \"MODERATE\",\n \"snowFallThreshold\": \"LIGHT\",\n \"windGustThreshold\": \"STRONG_WIND\",\n \"hotTemperatureThreshold\": \"HOT_SNAP\",\n \"coldTemperatureThreshold\": \"COLD_SNAP\"\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.iklim.co/v1/alarms/forecasts/update")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Patch.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"registrationId\": \"f7587d9e-2481-4b4c-818d-c8d1946851b7\",\n \"recipientId\": \"customer-system-001\",\n \"boundary\": {\n \"cityId\": 6,\n \"districtId\": 557\n },\n \"forecastDays\": 3,\n \"forecastAlarmDelivery\": [\n \"MORNING\",\n \"EVENING\"\n ],\n \"webhook\": {\n \"accountId\": \"2f04f1b5-1c0a-4c4e-b0a7-0ba6e9b7f2e1\",\n \"url\": \"https://api.customer.com/alerts/forecast-callback\",\n \"httpMethod\": \"POST\",\n \"contentType\": \"application/json\",\n \"authentication\": {\n \"type\": \"API_KEY\",\n \"username\": \"alert-user\",\n \"password\": \"******\"\n },\n \"requestHeaders\": {\n \"source\": \"iklim.co\",\n \"custom-header\": \"value\"\n },\n \"deliveryPolicy\": {\n \"timeout\": 60,\n \"maxRetries\": 3,\n \"retryDelay\": 10\n }\n },\n \"filter\": {\n \"precipitationThreshold\": \"MODERATE\",\n \"snowFallThreshold\": \"LIGHT\",\n \"windGustThreshold\": \"STRONG_WIND\",\n \"hotTemperatureThreshold\": \"HOT_SNAP\",\n \"coldTemperatureThreshold\": \"COLD_SNAP\"\n }\n}"
response = http.request(request)
puts response.read_body{
"registrationId": "f7587d9e-2481-4b4c-818d-c8d1946851b7",
"recipientId": "customer-system-001",
"boundary": {
"cityId": 6,
"districtId": 557
},
"forecastDays": 3,
"forecastAlarmDelivery": [
"MORNING",
"EVENING"
],
"webhook": {
"accountId": "2f04f1b5-1c0a-4c4e-b0a7-0ba6e9b7f2e1",
"url": "https://api.customer.com/alerts/forecast-callback",
"httpMethod": "POST",
"contentType": "application/json",
"authentication": {
"username": "alert-user",
"password": "******"
},
"requestHeaders": {
"source": "iklim.co",
"custom-header": "value"
},
"deliveryPolicy": {
"timeout": 60,
"maxRetries": 3,
"retryDelay": 10
}
},
"filter": {
"precipitationThreshold": "MODERATE",
"snowFallThreshold": "LIGHT",
"windGustThreshold": "STRONG_WIND",
"hotTemperatureThreshold": "HOT_SNAP",
"coldTemperatureThreshold": "COLD_SNAP"
},
"createdAt": "2025-01-01T10:15:30Z",
"updatedAt": "2025-01-01T11:15:30Z",
"warnings": [
"warning-1",
"warning-2"
]
}{
"timestamp": "YYYY-mm-DDTHH:MM:SS.nnnnnnnnn",
"status": "XXX",
"error": "Error Name",
"message": "Error Message",
"path": "/endpoint/uri/here",
"messages": [
"<string>"
]
}{
"timestamp": "YYYY-mm-DDTHH:MM:SS.nnnnnnnnn",
"status": "XXX",
"error": "Error Name",
"message": "Error Message",
"path": "/endpoint/uri/here",
"messages": [
"<string>"
]
}{
"timestamp": "YYYY-mm-DDTHH:MM:SS.nnnnnnnnn",
"status": "XXX",
"error": "Error Name",
"message": "Error Message",
"path": "/endpoint/uri/here",
"messages": [
"<string>"
]
}{
"timestamp": "YYYY-mm-DDTHH:MM:SS.nnnnnnnnn",
"status": "XXX",
"error": "Error Name",
"message": "Error Message",
"path": "/endpoint/uri/here",
"messages": [
"<string>"
]
}Gövde
Tahmin nokta alarmı kaydı.
Kayıtın UUID değeri (güncelleme işlemleri için zorunludur).
"f7587d9e-2481-4b4c-818d-c8d1946851b7"
Bildirim alıcısı için çağrıran tarafın tanımladığı harici referans tanımlayıcısı.
"customer-system-001"
Alarm kayıt sınırı
Tahmin alarm koşulları için izlenecek coğrafi kapsamı tanımlar. Somut sınır türü type ayırt edici alanıyla seçilir; yalnızca seçilen alt türe ait alanlar gönderilmelidir.
- ADMINISTRATIVE – il (
cityId) ve ilçe (districtId) sayısal kimlik değerleriyle tanımlanan idari sınır; her iki alan da zorunludur. - POINT – tek bir boylam/enlem koordinatı (
point) ile tanımlanan coğrafi nokta sınırı. Alarm, o koordinata en yakın tahmin ızgara hücresi için değerlendirme yapar.
- Option 1
- Option 2
Show child attributes
Show child attributes
Alarm koşulları değerlendirilecek ileriki tahmin gün sayısı (1–14).
3
Alarm bildirimlerinin gönderildiği zaman dilimleri (MORNING – 04:00 UTC, EVENING – 16:00 UTC).
MORNING, EVENING ["MORNING", "EVENING"]
Bu kayıt için dışa çağrı (callback) yapılandırması.
Show child attributes
Show child attributes
Hangi tahmin koşullarının alarm tetikleyeceğini denetleyen eşik filtreleri.
Show child attributes
Show child attributes
Yanıt
Başarılı
Kayıtın UUID değeri (güncelleme işlemleri için zorunludur).
"f7587d9e-2481-4b4c-818d-c8d1946851b7"
Bildirim alıcısı için çağrıran tarafın tanımladığı harici referans tanımlayıcısı.
"customer-system-001"
Alarm kayıt sınırı
Tahmin alarm koşulları için izlenecek coğrafi kapsamı tanımlar. Somut sınır türü type ayırt edici alanıyla seçilir; yalnızca seçilen alt türe ait alanlar gönderilmelidir.
- ADMINISTRATIVE – il (
cityId) ve ilçe (districtId) sayısal kimlik değerleriyle tanımlanan idari sınır; her iki alan da zorunludur. - POINT – tek bir boylam/enlem koordinatı (
point) ile tanımlanan coğrafi nokta sınırı. Alarm, o koordinata en yakın tahmin ızgara hücresi için değerlendirme yapar.
- Option 1
- Option 2
Show child attributes
Show child attributes
Alarm koşulları değerlendirilecek ileriki tahmin gün sayısı (1–14).
3
Alarm bildirimlerinin gönderildiği zaman dilimleri (MORNING – 04:00 UTC, EVENING – 16:00 UTC).
MORNING, EVENING ["MORNING", "EVENING"]
Bu kayıt için dışa çağrı (callback) yapılandırması.
Show child attributes
Show child attributes
Hangi tahmin koşullarının alarm tetikleyeceğini denetleyen eşik filtreleri.
Show child attributes
Show child attributes
Kaydın ilk oluşturulduğu zaman damgası (ISO-8601).
"2025-01-01T10:15:30Z"
Kaydın en son güncellendiği zaman damgası (ISO-8601).
"2025-01-01T11:15:30Z"
Kayıt işleme sırasında oluşturulan kritik olmayan uyarılar.
["warning-1", "warning-2"]