InsuranceCompanyName API

Bir sigorta şirketinin adı (Name) değiştiğinde, o şirketle çalışan platformlara gönderilir. Platform, kendi tarafındaki sigorta şirketi adını güncelleyebilir.

Mevcut NotificationType = 0 (InsuranceCompany) tipi kullanılır; payload { InsuranceCompanyId, InsuranceCompanyName } yapısındadır.

Ortak kurallar (header, zarf) için: Platform Entegrasyon Gereksinimleri.


Endpoint

AlanDeğer
HTTP MethodPOST
Path/PushNotification
NotificationType0

Örnek İstek

$curl -X POST "https://platform.ornek.com.tr/insurgw/PushNotification" \
> -H "Content-Type: application/json" \
> -H "x-api-key: 9f3c1e8a-2b4d-1234-5678-deadbeefcafe" \
> -d '{
> "ReferanceNo": "100_20260722153012345a1b2c_0_0",
> "SubReferanceNo": "a1b2c3d4-e5f6-7890abcdef1234567890",
> "RequestKeyValueSet": null,
> "RequestObject": {
> "NotificationType": 0,
> "Payload": "{\"InsuranceCompanyId\":100,\"InsuranceCompanyName\":\"Örnek Sigorta A.Ş.\"}"
> }
> }'

Parse Edilmiş Payload

1{
2 "InsuranceCompanyId": 100,
3 "InsuranceCompanyName": "Örnek Sigorta A.Ş."
4}
AlanTipAçıklama
InsuranceCompanyIdintAdı değişen sigorta şirketinin Id’si.
InsuranceCompanyNamestringSigorta şirketinin yeni adı.

Beklenen Cevap

Başarı:

1HTTP/1.1 200 OK
2Content-Type: application/json
3
4{ "ResultStatus": { "Status": "Success", "Explanation": null }, "Result": null }

Hata (retry tetikler):

1HTTP/1.1 200 OK
2Content-Type: application/json
3
4{ "ResultStatus": { "Status": "Error", "Explanation": "Sigorta şirketi güncellenemedi." }, "Result": null }

Retry

ParametreDeğer
Maksimum retry (orijinal hariç)5
Toplam maksimum deneme6
Bekleme süreleri3 sn → 10 sn → 1 dk → 1 saat (≥4. retry)