Ana içeriğe atla
GET
/
v1
/
alarms
/
geometries
/
get-by-id
/
{registrationId}
Kayıt ID ile getir
curl --request GET \
  --url https://api.iklim.co/v1/alarms/geometries/get-by-id/{registrationId}
{
  "registrationId": "f7587d9e-2481-4b4c-818d-c8d1946851b7",
  "recipientId": "Recipient 1",
  "boundary": {
    "cityId": 6,
    "districtId": 557,
    "neighborhoodId": 55766
  },
  "webhook": {
    "accountId": "2f04f1b5-1c0a-4c4e-b0a7-0ba6e9b7f2e1",
    "url": "https://api.customer.com/alerts/callback",
    "httpMethod": "POST",
    "contentType": "application/json",
    "authentication": {
      "username": "alert-user",
      "password": "******"
    },
    "deliveryPolicy": {
      "timeout": 5000,
      "maxRetries": 3,
      "retryDelay": 10
    }
  },
  "filter": {
    "lightning": {
      "type": "FLASH_CLOUD_TO_GROUND",
      "peakCurrent": -12.5,
      "inCloudHeight": 4500
    },
    "thunderstorm": {
      "intersectsAffectedPolygon": true,
      "intersectsCellPolygon": false,
      "severityThreshold": "MEDIUM",
      "speedThreshold": 20
    },
    "precipitation": {
      "types": [
        "RAIN",
        "SNOW"
      ],
      "intensity": 2
    }
  },
  "createdAt": "2025-01-01T10:15:30Z",
  "updatedAt": "2025-01-01T11:15:30Z",
  "warnings": [
    "warning-1",
    "warning-2"
  ]
}

Path Parameters

registrationId
string
required

Kayıt UUID

Response

İşlem başarılı

Kayıt cevabı (zaman damgaları ve uyarılar)

registrationId
string<uuid>

Kayıt UUID

Example:

"f7587d9e-2481-4b4c-818d-c8d1946851b7"

recipientId
string

Alıcı tanımı / kimliği

Example:

"Recipient 1"

boundary
object

Sınır tanımı İdari sınır (şehir/ilçe/mahalle)

  • Option 1
  • Option 2
  • Option 3
webhook
object

Alarm bildirimleri için dışa çağrı (callback) yapılandırması.

filter
object

Filtre zarfı

createdAt
string<date-time>

Oluşturulma zamanı

Example:

"2025-01-01T10:15:30Z"

updatedAt
string<date-time>

Güncellenme zamanı

Example:

"2025-01-01T11:15:30Z"

warnings
string[]

Uyarılar

{msg:swagger.schema.registration.warnings}

Example:
["warning-1", "warning-2"]