BroadcastService


Klicken Sie hier, um die vollständige Vorgangsliste anzuzeigen.

GetCurrentSessionDetails

Test

Das Testformular ist nur für Anforderungen vom lokalen Computer verfügbar.

SOAP 1.1

Es folgt ein Beispiel für eine SOAP 1.1-Anforderung und -Antwort. Die angezeigten Platzhalter müssen durch tatsächliche Werte ersetzt werden.

POST /Service/BroadcastService.asmx HTTP/1.1
Host: liveviewer.p1-gaming.de
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://livetiming.stefanmizzi.com/GetCurrentSessionDetails"

<?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:Header>
    <AuthSoapHd xmlns="http://livetiming.stefanmizzi.com/">
      <strUserName>string</strUserName>
      <strPassword>string</strPassword>
    </AuthSoapHd>
  </soap:Header>
  <soap:Body>
    <GetCurrentSessionDetails xmlns="http://livetiming.stefanmizzi.com/">
      <sessionID>string</sessionID>
    </GetCurrentSessionDetails>
  </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>
    <GetCurrentSessionDetailsResponse xmlns="http://livetiming.stefanmizzi.com/">
      <GetCurrentSessionDetailsResult>
        <SessionID>string</SessionID>
        <ServerName>string</ServerName>
        <ModName>string</ModName>
        <TrackCourse>string</TrackCourse>
        <SessionType>string</SessionType>
        <TotalDrivers>string</TotalDrivers>
        <GameName>string</GameName>
        <ModDescription>string</ModDescription>
        <CarClass>
          <string>string</string>
          <string>string</string>
        </CarClass>
        <ServerInternalIP>string</ServerInternalIP>
        <ServerExternalIP>string</ServerExternalIP>
        <WebInternalStreamPort>string</WebInternalStreamPort>
        <WebExternalStreamPort>string</WebExternalStreamPort>
      </GetCurrentSessionDetailsResult>
    </GetCurrentSessionDetailsResponse>
  </soap:Body>
</soap:Envelope>

SOAP 1.2

Es folgt ein Beispiel für eine SOAP 1.2-Anforderung und -Antwort. Die angezeigten Platzhalter müssen durch tatsächliche Werte ersetzt werden.

POST /Service/BroadcastService.asmx HTTP/1.1
Host: liveviewer.p1-gaming.de
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:Header>
    <AuthSoapHd xmlns="http://livetiming.stefanmizzi.com/">
      <strUserName>string</strUserName>
      <strPassword>string</strPassword>
    </AuthSoapHd>
  </soap12:Header>
  <soap12:Body>
    <GetCurrentSessionDetails xmlns="http://livetiming.stefanmizzi.com/">
      <sessionID>string</sessionID>
    </GetCurrentSessionDetails>
  </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>
    <GetCurrentSessionDetailsResponse xmlns="http://livetiming.stefanmizzi.com/">
      <GetCurrentSessionDetailsResult>
        <SessionID>string</SessionID>
        <ServerName>string</ServerName>
        <ModName>string</ModName>
        <TrackCourse>string</TrackCourse>
        <SessionType>string</SessionType>
        <TotalDrivers>string</TotalDrivers>
        <GameName>string</GameName>
        <ModDescription>string</ModDescription>
        <CarClass>
          <string>string</string>
          <string>string</string>
        </CarClass>
        <ServerInternalIP>string</ServerInternalIP>
        <ServerExternalIP>string</ServerExternalIP>
        <WebInternalStreamPort>string</WebInternalStreamPort>
        <WebExternalStreamPort>string</WebExternalStreamPort>
      </GetCurrentSessionDetailsResult>
    </GetCurrentSessionDetailsResponse>
  </soap12:Body>
</soap12:Envelope>