Hatalı Ürün Görselleri

Bu metod, genellikle son ürün güncellemesinde resim hatalarıyla karşılaşan ürünleri tanımlamak ve hatanın nedenini belirlemek için kullanılır. Bir güncelleme sırasında resim hatası oluştuğunda, buradaki kayıt da güncellenir. Tüm resimler başarıyla işlenirse, kayıt kaldırılır.

Endpoint Bilgileri

  • URL: https://ws.pttavm.com:93/service.svc HTTP/1.1
  • HTTP Metodu: POST
  • Content-Type: text/xml;charset=UTF-8
  • Content-Length: 4016
  • SOAPAction: http://tempuri.org/IService/GetAllProductImagesWithError
  • Host: ws.pttavm.com:93

Dikkat Edilmesi Gereken Kurallar

  • Tüm parametreler boş olamaz. Sayfalandırma parametrelerinden veya barkod parametrelerinden en az biri sağlanmalıdır.
  • Barkodlar gönderilirse, tek bir istekte 10.000'den fazla barkod olmamalıdır.
  • Sayfalandırma parametreleri gönderilirse, sayfa boyutu 10.000'i geçemez. 1'in altındaki sayfa numaraları 1 olarak kabul edilecektir.

Örnek Servis İsteği

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:tem="http://tempuri.org/" xmlns:ept="http://schemas.datacontract.org/2004/07/ePttAVMService.Model.Requests" xmlns:arr="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
   <soapenv:Header/>
   <soapenv:Body>
      <tem:GetAllProductImagesWithError>
         <!--Optional:-->
         <tem:item>
            <!--Optional:-->
            <ept:PaginationParameters>
               <!--Optional:-->
               <ept:PageNumber>1</ept:PageNumber>
               <!--Optional:-->
               <ept:PageSize>1</ept:PageSize>
            </ept:PaginationParameters>
            <!--Optional:-->
            <ept:ProductBarcodes>
               <!--Zero or more repetitions:-->
               <arr:string></arr:string>
            </ept:ProductBarcodes>
         </tem:item>
      </tem:GetAllProductImagesWithError>
   </soapenv:Body>
</soapenv:Envelope>

Örnek Servis Cevabı


<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" xmlns:u="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
   <s:Header>
      <ActivityId CorrelationId="6669061f-3306-4244-82ea-544a2ff97498" xmlns="http://schemas.microsoft.com/2004/09/ServiceModel/Diagnostics">00000000-0000-0000-0000-000000000000</ActivityId>
      <o:Security s:mustUnderstand="1" xmlns:o="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
         <u:Timestamp u:Id="_0">
            <u:Created>2025-04-27T12:53:04.756Z</u:Created>
            <u:Expires>2025-04-27T12:58:04.756Z</u:Expires>
         </u:Timestamp>
      </o:Security>
   </s:Header>
   <s:Body>
      <GetAllProductImagesWithErrorResponse xmlns="http://tempuri.org/">
         <GetAllProductImagesWithErrorResult xmlns:a="http://schemas.datacontract.org/2004/07/ePttAVMService.Model.Responses" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
            <a:Message>Resim hatası olan ürün bulunamadı.</a:Message>
            <a:Success>false</a:Success>
            <a:ProductImagesWithErrorList i:nil="true"/>
         </GetAllProductImagesWithErrorResult>
      </GetAllProductImagesWithErrorResponse>
   </s:Body>
</s:Envelope>
Parametre Tür Açıklama
PageNumber integer Sayfa numarası ( 1'den başlar.)
PageSize integer Sayfa başına kayıt sayısı.
ProductBarcodes string Ürün barkod listesi (opsiyonel)
Barcode string İlk,ikinci,üçüncü ürünün barkod numarasını içerir.
Message string İşlem mesajı
Success boolean İşlem başarı durumu
ProductImagesWithErrorList array Ürün görseli hatalarını içeren liste
Infos array Ürün görseli hata detayı
ErrorReason string Hata nedeni
OccurredAt DateTime Hata oluşma tarihi
Order int Görüntü dizisindeki sıralama
Url string Resmin URL'i