VisionMobile


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

GetWebAccess

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/GetWebAccess"

<?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>
    <GetWebAccess xmlns="http://www.rco.se/Api/Mobile">
      <loginGuid>string</loginGuid>
    </GetWebAccess>
  </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>
    <GetWebAccessResponse xmlns="http://www.rco.se/Api/Mobile">
      <GetWebAccessResult>long</GetWebAccessResult>
    </GetWebAccessResponse>
  </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>
    <GetWebAccess xmlns="http://www.rco.se/Api/Mobile">
      <loginGuid>string</loginGuid>
    </GetWebAccess>
  </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>
    <GetWebAccessResponse xmlns="http://www.rco.se/Api/Mobile">
      <GetWebAccessResult>long</GetWebAccessResult>
    </GetWebAccessResponse>
  </soap12:Body>
</soap12:Envelope>