Ana içeriğe atla
GET
/
v1
/
alarms
/
geometries
/
get-by-recipient-id
/
{recipientId}
Alıcı kimliği ile getir
curl --request GET \
  --url https://api.iklim.co/v1/alarms/geometries/get-by-recipient-id/{recipientId}
{
  "registrations": [
    {
      "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
        }
      }
    }
  ],
  "totalRecords": 123,
  "pageNumber": 0,
  "pageSize": 10
}

Path Parameters

recipientId
string
required

Alıcı kimliği

Response

İşlem başarılı

Sayfalı kayıt sonucu

registrations
object[]

Kayıt listesi

totalRecords
integer

Toplam kayıt

Example:

123

pageNumber
integer

Mevcut sayfa numarası

Example:

0

pageSize
integer

Sayfa boyutu

Example:

10