Ana içeriğe geç

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() metodu POST yöntem ile JSON formatta veri alan, bir RESFtul 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ına JSON 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ğerlerini JSON formatta POST 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.

ParametreAçıklamaVeri TipiUzunlukAlan YeriZorunluluk
processKeyİstemci için tanımlanan processKey bilgisistring100HeaderZorunlu
sellerAddressPointIdSatıcı çıkış noktası idInteger-inBody RequestZorunlu
sellerAddressPointSatıcı çıkış noktası adıstring30inBody RequestZorunlu
sellerAddressCitySatıcı çıkış noktası şehirstring100inBody RequestZorunlu
sellerAddressCountySatıcı çıkış noktası ilçestring100inBody RequestZorunlu
sellerAddressSatıcı çıkış noktası adresistring500inBody RequestZorunlu
sellerAddressPostCodeSatıcı çıkış noktası posta kodustring20inBody RequestZorunlu
sellerAddressPhone1Satıcı çıkış noktası telefon1string20inBody RequestZorunlu
sellerAddressPhone2Satıcı çıkış noktası telefon2string20inBody RequestOpsiyonel
sellerAddressEmailAddressSatıcı çıkış noktası email adresistring100inBody RequestZorunlu
sellerAddressOfficialPersonSatıcı çıkış noktası yetkili kişistring100inBody RequestZorunlu

Servis Cevapları

Servise ait başarılı/başarısız servis cevaplarına buradan erişebilirsiniz.