C3rb Informatique


Médiathèque de Chateaurenard

Cliquez ici pour une liste complète des opérations.

GetNbResa

Récupère le nombre de réservations sur une notice

Test

Le formulaire de test est uniquement disponible pour les méthodes avec des types primitifs utilisés comme paramètres.

SOAP 1.1

Le texte suivant est un exemple de demande et de réponse SOAP 1.1. Les espaces réservés affichés doivent être remplacés par des valeurs réelles.

POST /Service.asmx HTTP/1.1
Host: wsc3rb.chateaurenard.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://orphee/wsOpac/GetNbResa"

<?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>
    <GetNbResa xmlns="http://orphee/wsOpac/">
      <ntcs>
        <string>string</string>
        <string>string</string>
      </ntcs>
      <calc_dmt>int</calc_dmt>
    </GetNbResa>
  </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>
    <GetNbResaResponse xmlns="http://orphee/wsOpac/">
      <GetNbResaResult>string</GetNbResaResult>
    </GetNbResaResponse>
  </soap:Body>
</soap:Envelope>

SOAP 1.2

Le texte suivant est un exemple de demande et de réponse SOAP 1.2. Les espaces réservés affichés doivent être remplacés par des valeurs réelles.

POST /Service.asmx HTTP/1.1
Host: wsc3rb.chateaurenard.com
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>
    <GetNbResa xmlns="http://orphee/wsOpac/">
      <ntcs>
        <string>string</string>
        <string>string</string>
      </ntcs>
      <calc_dmt>int</calc_dmt>
    </GetNbResa>
  </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>
    <GetNbResaResponse xmlns="http://orphee/wsOpac/">
      <GetNbResaResult>string</GetNbResaResult>
    </GetNbResaResponse>
  </soap12:Body>
</soap12:Envelope>

HTTP GET

Le texte suivant est un exemple de demande et de réponse HTTP GET. Les espaces réservés affichés doivent être remplacés par des valeurs réelles.

GET /Service.asmx/GetNbResa?ntcs=string&ntcs=string&calc_dmt=string HTTP/1.1
Host: wsc3rb.chateaurenard.com
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<string xmlns="http://orphee/wsOpac/">string</string>

HTTP POST

Le texte suivant est un exemple de demande et de réponse HTTP POST. Les espaces réservés affichés doivent être remplacés par des valeurs réelles.

POST /Service.asmx/GetNbResa HTTP/1.1
Host: wsc3rb.chateaurenard.com
Content-Type: application/x-www-form-urlencoded
Content-Length: length

ntcs=string&ntcs=string&calc_dmt=string
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<string xmlns="http://orphee/wsOpac/">string</string>