Ana içeriğe atla
GET
/
v1
/
alarms
/
points
/
get-by-recipient-id
/
{recipientId}
recipientId ile kayıtları listele
curl --request GET \
  --url https://api.iklim.co/v1/alarms/points/get-by-recipient-id/{recipientId}
{
  "registrations": [
    {
      "registrationId": "f7587d9e-2481-4b4c-818d-c8d1946851b7",
      "recipientId": "Recipient1",
      "boundary": {
        "point": {
          "lat": 39.9208,
          "lng": 32.8541
        },
        "radius": 10000
      },
      "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
        }
      }
    }
  ],
  "totalRecords": 128,
  "pageNumber": 0,
  "pageSize": 10
}

Path Parameters

recipientId
string
required

Response

Alıcıya ait kayıtlar başarıyla döndürüldü

registrations
object[]

Bu sayfaya ait kayıtlar

totalRecords
integer

Toplam eşleşen kayıt sayısı

Example:

128

pageNumber
integer

Dönen sayfa numarası

Example:

0

pageSize
integer

Dönen sayfa boyutu

Example:

10