Satıcı Adres Noktası Güncelle - updateSellerAddressPoint()
Satıcı Adres Noktası Güncelle
Horoz Lojistik E-İhracat Entegrasyonu üzerinde bulunan updateSellerAddressPoint()
metodu, sipariş girişinde kullanılacak olan ürünlerin sipariş özelinde adresten alınacak seçimi yapıldığında satıcının hangi noktasından alınacağını belirtmek için Horoz Lojistik sistemine tanımlanan çıkış noktası bilgisinin güncellenmesi için kullanılır. updateSellerAddressPoint()
metodu ile ilgili önemli bilgiler ve Horoz sisteminde satıcının çıkış noktası adresini güncellerken dikkat edilmesi gerekenler liste halinde aşağıda istemcilerin bilgisine sunulmuştur.
-
updateSellerAddressPoint()
metoduPOST
yöntem ileJSON
formatta veri alan, birRESFtul
web servis metodudur. -
updateSellerAddressPoint()
metodu ile Horoz sisteminde satıcı çıkış noktası bilgileri güncelleme işlemi yaparken, ilgili satıcının çıkış noktasına ait bilgiler metodun body kısmınaJSON
veri tipinde geçilmelidir. İstemciye ait processKey bilgisi metodun header kısmına parametre tipinde geçilmelidir.updateSellerAddressPoint()
metodu ile yapılan gönderim UTF-8 olarak encode edilerek Horoz Lojistik E-İhracat Entegrasyonu Web servisine iletilmelidir. -
Bu metodun içinde satıcının sahip olduğu çıkış noktalarında sellerAddressPoint bilgisine göre tekillik vardır.
-
sellerAddressPoint bilgisi aynı olan birden fazla kayıt oluşturulamaz. Güncelleme işlemide sellerAddressPointId bilgisi kullanılarak yapılabilir.
-
Bu metot içinde kullanılacak satıcı adres ili ve ilçesi bilgileri
listCounties()
metodundaki kayıtlarla oluşturulmalıdır. Bu kayıtlar dışındaki bilgi içeren istekler hata uyarılarıyla sisteme kayıt işlemleri yapılmayacaktır. -
updateSellerAddressPoint()
metodu, istemcinin Horoz sisteminde sipariş oluşturulacak ve daha önce createSellerAddressPoint metodu ile oluşturulmuş satıcı çıkış noktalarının Horoz sisteminde güncellenmesini sağlayan E-İhracat web servisi metodudur. -
updateSellerAddressPoint()
metodu parametre olarak; sellerAddressPointId, sellerAddressPoint, sellerAddressCity, sellerAddressCounty, sellerAddress, sellerAddressPostCode, sellerAddressPhone1, sellerAddressPhone2, sellerAddressEmailAddress, sellerAddressOfficialPerson değerleriniJSON
formattaPOST
method olarak alır. -
İlgili metot bunun karşılığında sellerAddressPointId, responseCode ve responseMessage bilgilerini istemciye dönerek kayıt işleminin başarı/başarısızlık durumunu bildirir. Eğer sellerAddressPoint güncelleniyorsa, güncel çıkış adres noktası bilgileri yeni oluşturulacak siparişler için geçerli olacaktır.
POST updateSellerAddressPoint()
Parametre Açıklamaları & Kuralları
Aşağıdaki tabloda updateSellerAddressPoint()
işleminin giriş ve çıkış parametreleri ve bu
parametrelerin tür ve formatları listelenmiştir.
- Alanlar
- Örnek İstek
- Örnek Cevap
Parametre | Açıklama | Veri Tipi | Uzunluk | Alan Yeri | Zorunluluk |
---|---|---|---|---|---|
processKey | İstemci için tanımlanan processKey bilgisi | string | 100 | Header | Zorunlu |
sellerAddressPointId | Satıcı çıkış noktası id | Integer | - | inBody Request | Zorunlu |
sellerAddressPoint | Satıcı çıkış noktası adı | string | 30 | inBody Request | Zorunlu |
sellerAddressCity | Satıcı çıkış noktası şehir | string | 100 | inBody Request | Zorunlu |
sellerAddressCounty | Satıcı çıkış noktası ilçe | string | 100 | inBody Request | Zorunlu |
sellerAddress | Satıcı çıkış noktası adresi | string | 500 | inBody Request | Zorunlu |
sellerAddressPostCode | Satıcı çıkış noktası posta kodu | string | 20 | inBody Request | Zorunlu |
sellerAddressPhone1 | Satıcı çıkış noktası telefon1 | string | 20 | inBody Request | Zorunlu |
sellerAddressPhone2 | Satıcı çıkış noktası telefon2 | string | 20 | inBody Request | Opsiyonel |
sellerAddressEmailAddress | Satıcı çıkış noktası email adresi | string | 100 | inBody Request | Zorunlu |
sellerAddressOfficialPerson | Satıcı çıkış noktası yetkili kişi | string | 100 | inBody Request | Zorunlu |
{
"sellerAddressPointId": 142,
"sellerAddressPoint": "TEKİRDAĞ ÇIKIŞ NOKTASI",
"sellerAddressCity": "TEKİRDAĞ",
"sellerAddressCounty": "ÇORLU",
"sellerAddress": "KARLITEPE MAHALLESİ, ATİLLA SOKAK, NO:4 TEKİRDAĞ/ÇORLU",
"sellerAddressPostCode": "595959",
"sellerAddressPhone1": "05512698745",
"sellerAddressPhone2": null,
"sellerAddressEmailAddress": "tekirdag@tekirdag.com",
"sellerAddressOfficialPerson": "MEHMET ÖZTÜRK"
}
{
"response": {
"responseCode": "STA-100",
"responseMessage": "Basarili",
"updateSellerAddressResponse": [
{
"sellerAddressPointId": 142
}
]
}
}
Servis Cevapları
Servise ait başarılı/başarısız servis cevaplarına buradan erişebilirsiniz.