setService - Yeni Servis Oluşturma
Test Servis https://test-demirdokumservice.nosiplus.com/json/setService
Canlı Servis https://demirdokumservice.nosiplus.com/json/setService
Giriş Parametreleri
| Alan | Tip | Zorunlu | Açıklama |
|---|---|---|---|
| serviceUsername | String | Zorunlu | Routewix Web Servis Kullanıcı Adı |
| servicePassword | String | Zorunlu | Routewix Web Servis Parola |
| externService | String | Zorunlu |
Extern / Intern Servis
|
| externCode | String | Zorunlu* |
Extern Servis (Yetkili Servis) Kodu
|
| externName | String | Zorunlu |
Extern Servis (Yetkili Servis) Adı
|
| kdtCode | String | Zorunlu |
KDT Kodu
|
| kdtName | String | Zorunlu |
KDT Adı
|
| kdtLatitude | String | Zorunlu |
KDT'nin servise başlayacağı konum enlem
|
| kdtLongitude | String | Zorunlu* |
KDT'nin servise başlayacağı konum boylam
|
| serviceNo | String | Zorunlu |
Servis No |
| serviceDate | String | Zorunlu |
Servis Tarihi |
| serviceSlotStart | String | Zorunlu |
Servis Slot Başlangıç |
| serviceSlotEnd | String | Zorunlu |
Servis Slot Bitiş |
| customerNo | String | Zorunlu | Müşteri No |
| customerName | String | Zorunlu | Müşteri Adı |
| customerAddress | String | Zorunlu | Müşteri açık adres |
| customerDistrict | String | Zorunlu | Müşteri İlçe |
| customerCity | String | Zorunlu | Müşteri İl |
| requestID | String | Sorgu ID |
|
| regionCode | String | Zorunlu | Bölge Kodu |
| regionName | String | Zorunlu | Bölge Adı |
| productGroupCode | String | Cihaz Grup Kodu |
|
| productGroupName | String | Cihaz Grup Adı |
|
| productCode | String | Zorunlu | Cihaz Kodu |
| productName | String | Zorunlu | Cihaz Adı |
| serviceTypeCode | String | Zorunlu | Servis Hizmet Tip Kodu |
| serviceTypeName | String | Zorunlu | Servis Hizmet Tip adı |
| serviceSegmentFeatures | int |
|
|
| segments | array[] |
Segmentler |
|
| serviceTime | int |
Teknikerin müşteride geçireceği tahmini süre Default : 30 |
|
| optionalSortie | int |
Opsitonel Servis Durumu 1 / 0 |
|
| agentNo | String | İşlem yapan kullanıcı no |
|
| agentName | String | İşlem yapan kullanıcı no |
{
"serviceUsername":"a72b7756-d644-4468-9594-87120ae076e7",
"servicePassword":"71bfc027-48f0-447b-9da3-919770c2468f",
"externService":"0",
"externCode":"",
"externName":"",
"kdtCode":"KDT1",
"kdtName":"Dinçer Keskin",
"kdtLatitude":"40.979009",
"kdtLongitude":"29.091209",
"serviceNo":"DD000001",
"serviceSlotStart":"09:00",
"serviceSlotEnd":"19:00",
"serviceDate":"2025-12-07",
"customerNo":"CN000001",
"customerName":"D**** K*****",
"customerAddress":"İstanbul,Kadıköy,19 Mayıs Mh.,İnönü Cd.,83",
"customerDistrict":"Kadıköy",
"customerCity":"İstanbul",
"requestID":"718326dc-8a13-4a5f-a4b2-c0c0d69ed1f7",
"regionCode":"RC000001",
"regionName":"İstanbul Anadolu 1",
"productGroupCode":"PGC0000001",
"productGroupName":"Yoğuşmalı Kombi",
"productCode":"PC0000001",
"productName":"Ademix 18/24 kw Yoğuşmalı Kombi",
"serviceTypeCode":"ST00001",
"serviceTypeName":"Devreye Alma",
"serviceSegmentFeatures":1,
"segments":[
{
"Code":"SEGMENT1",
"Name":"SEGMENT1"
},
{
"Code":"SEGMENT2",
"Name":"SEGMENT2"
}
],
"agentNo":"1",
"agentName":"Dinçer Keskin"
}
Sonuç Parametreleri
| Alan | Tip | Açıklama |
|---|---|---|
| response_val | int |
Servis Sonucu |
| response_text | string |
Servis sonuç açıklama |
| latitude | string |
Enlem |
| longitude | string |
Boylam |
| geocode_score | int |
Geocode Skor |
Servis Sonuc Değerleri
| response_val | Açıklama |
|---|---|
| 0 |
Başarılı |
| -1 |
Hata |
{
"response_val":0,
"response_text":"Başarılı",
"latitude":"",
"longitude":"",
"geocode_score":0
}