KLetter_WS


Click here for a complete list of operations.

getStats

Récupération des statistiques de la newsletter. retourne un tableau (tab) de chaine de caractères. tab[0]=objet de la newsletter. tab[1]=Etat de la newsletter. tab[2]=Nom du projet. tab[3]=Expediteur de la newsletter. tab[4]=Date expedition. tab[5]=nombre total de mails. tab[6]=Nombre de mails invalides. tab[7]=Nombre de mails en doubles. tab[8]=Nombre de mails corrigés. tab[9]=Nombre de mails blacklistés. tab[10]=Nombre de mails lus. tab[11]=URL pour visualiser la newsletter. tab[12]=Nom expéditeur. tab[13]=Nombre de mails blacklistés pour cette newsletter. tab[14]=Nombre envoi de la newsletter. tab[15]=Encoding de la newsletter

Test

The test form is only available for requests from the local machine.

SOAP 1.1

The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.

POST /KLetter_WS.asmx HTTP/1.1
Host: kletterws.kaliop.net
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://tempuri.org/KLetter_WebService/Service1/getStats"

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <getStats xmlns="http://tempuri.org/KLetter_WebService/Service1">
      <login>string</login>
      <pass>string</pass>
      <idN>int</idN>
    </getStats>
  </soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <getStatsResponse xmlns="http://tempuri.org/KLetter_WebService/Service1">
      <getStatsResult>
        <string>string</string>
        <string>string</string>
      </getStatsResult>
    </getStatsResponse>
  </soap:Body>
</soap:Envelope>

SOAP 1.2

The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.

POST /KLetter_WS.asmx HTTP/1.1
Host: kletterws.kaliop.net
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <getStats xmlns="http://tempuri.org/KLetter_WebService/Service1">
      <login>string</login>
      <pass>string</pass>
      <idN>int</idN>
    </getStats>
  </soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <getStatsResponse xmlns="http://tempuri.org/KLetter_WebService/Service1">
      <getStatsResult>
        <string>string</string>
        <string>string</string>
      </getStatsResult>
    </getStatsResponse>
  </soap12:Body>
</soap12:Envelope>