VisionMobile


Klicka här om du vill se en komplett lista över åtgärder.

ApiVersion

Testa

Testformuläret är endast tillgängligt för begäranden från den lokala datorn.

SOAP 1.1

Nedan visas ett exempel på en SOAP 1.1-begäran och ett SOAP 1.1-svar. Platshållarna måste ersättas med verkliga värden.

POST /M5WebBokning/Api/Mobile/VisionMobile.asmx HTTP/1.1
Host: boka.sandstugan.se
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://www.rco.se/Api/Mobile/ApiVersion"

<?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>
    <ApiVersion xmlns="http://www.rco.se/Api/Mobile">
      <apiMin>string</apiMin>
      <apiMax>string</apiMax>
      <deviceType>string</deviceType>
      <appVersion>string</appVersion>
    </ApiVersion>
  </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>
    <ApiVersionResponse xmlns="http://www.rco.se/Api/Mobile">
      <ApiVersionResult>
        <anyType />
        <anyType />
      </ApiVersionResult>
    </ApiVersionResponse>
  </soap:Body>
</soap:Envelope>

SOAP 1.2

Nedan visas ett exempel på en SOAP 1.2-begäran och ett SOAP 1.2-svar. Platshållarna måste ersättas med verkliga värden.

POST /M5WebBokning/Api/Mobile/VisionMobile.asmx HTTP/1.1
Host: boka.sandstugan.se
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>
    <ApiVersion xmlns="http://www.rco.se/Api/Mobile">
      <apiMin>string</apiMin>
      <apiMax>string</apiMax>
      <deviceType>string</deviceType>
      <appVersion>string</appVersion>
    </ApiVersion>
  </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>
    <ApiVersionResponse xmlns="http://www.rco.se/Api/Mobile">
      <ApiVersionResult>
        <anyType />
        <anyType />
      </ApiVersionResult>
    </ApiVersionResponse>
  </soap12:Body>
</soap12:Envelope>