SMART cash web-adgang

Error in site JavaScript
Web Service Documentation
Service: RESERVATION
Method: GetLoungeEvents
Hent alle Sport events som visse på storskærm
Parameters
string: brugernavn
brugernavn
Parameter is Required
string: kodeord
kodeord
Parameter is Required
string: EventDate
Event Start date
Parameter is Optional
Default Value: 21/07/2019
string: EventEndDate
Event slut dato
Parameter is Optional
Default Value: 20/08/2019
Possible Return Data

List: ServiceErrors
ErrorNumber (int)
ErrorPosition (string)
ErrorRecordID (string)
ErrorDescription (string)
ErrorRecomendation (string)
List: ReturnQueue
RQ_DATO (string)
RQ_PLAYONSREEN (string)
RQ_KLOKKEN (string)
RQ_SPORTTYPE (string)
RQ_SPORTEVENT (string)
RQ_KOMMENTAR (string)
SOAP 1.1
The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.

Example Request

POST /RESERVATION HTTP/1.1
Host: sharkspoolhall.dk
Accept: application/xml
Content-Type: text/xml
Content-Length: length
SOAPAction: http://sharkspoolhall.dk/GetLoungeEvents

<?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>
    <GetLoungeEvents xmlns="">
      <brugernavn>value</brugernavn>
      <kodeord>value</kodeord>
      <EventDate>value</EventDate>
      <EventEndDate>value</EventEndDate>
    </GetLoungeEvents>
  </soap:Body>
</soap:Envelope>

Example Response

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>
    <GetLoungeEvents_response xmlns="">
      <ReturnQueue>
        <SportsEventsInfo>
          <RQ_DATO>value</RQ_DATO>
          <RQ_PLAYONSREEN>value</RQ_PLAYONSREEN>
          <RQ_KLOKKEN>value</RQ_KLOKKEN>
          <RQ_SPORTTYPE>value</RQ_SPORTTYPE>
          <RQ_SPORTEVENT>value</RQ_SPORTEVENT>
          <RQ_KOMMENTAR>value</RQ_KOMMENTAR>
        </SportsEventsInfo>
        <SportsEventsInfo>
          <RQ_DATO>value</RQ_DATO>
          <RQ_PLAYONSREEN>value</RQ_PLAYONSREEN>
          <RQ_KLOKKEN>value</RQ_KLOKKEN>
          <RQ_SPORTTYPE>value</RQ_SPORTTYPE>
          <RQ_SPORTEVENT>value</RQ_SPORTEVENT>
          <RQ_KOMMENTAR>value</RQ_KOMMENTAR>
        </SportsEventsInfo>
      </ReturnQueue>
    </GetLoungeEvents_response>
  </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.

Example Request

POST /RESERVATION HTTP/1.1
Host: sharkspoolhall.dk
Accept: application/xml
Content-Type: application/soap+xml
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://www.w3.org/2003/05/soap-envelope">
  <soap:Body>
    <GetLoungeEvents xmlns="">
      <brugernavn>value</brugernavn>
      <kodeord>value</kodeord>
      <EventDate>value</EventDate>
      <EventEndDate>value</EventEndDate>
    </GetLoungeEvents>
  </soap:Body>
</soap:Envelope>

Example Response

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>
    <GetLoungeEvents_response xmlns="">
      <ReturnQueue>
        <SportsEventsInfo>
          <RQ_DATO>value</RQ_DATO>
          <RQ_PLAYONSREEN>value</RQ_PLAYONSREEN>
          <RQ_KLOKKEN>value</RQ_KLOKKEN>
          <RQ_SPORTTYPE>value</RQ_SPORTTYPE>
          <RQ_SPORTEVENT>value</RQ_SPORTEVENT>
          <RQ_KOMMENTAR>value</RQ_KOMMENTAR>
        </SportsEventsInfo>
        <SportsEventsInfo>
          <RQ_DATO>value</RQ_DATO>
          <RQ_PLAYONSREEN>value</RQ_PLAYONSREEN>
          <RQ_KLOKKEN>value</RQ_KLOKKEN>
          <RQ_SPORTTYPE>value</RQ_SPORTTYPE>
          <RQ_SPORTEVENT>value</RQ_SPORTEVENT>
          <RQ_KOMMENTAR>value</RQ_KOMMENTAR>
        </SportsEventsInfo>
      </ReturnQueue>
    </GetLoungeEvents_response>
  </soap:Body>
</soap:Envelope>
HTTP POST (XML Response)
The following is a sample HTTP POST request and response. The placeholders shown need to be replaced with actual values.

Example Request

POST /GetLoungeEvents HTTP/1.1
Host: sharkspoolhall.dk
Accept: application/xml
Content-Type: application/x-www-form-urlencoded
Content-Length: length

brugernavn=value&kodeord=value&EventDate=value&EventEndDate=value

Example Response

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

<?xml version="1.0" encoding="utf-8"?>
<GetLoungeEvents_response xmlns="">
  <ReturnQueue>
    <SportsEventsInfo>
      <RQ_DATO>value</RQ_DATO>
      <RQ_PLAYONSREEN>value</RQ_PLAYONSREEN>
      <RQ_KLOKKEN>value</RQ_KLOKKEN>
      <RQ_SPORTTYPE>value</RQ_SPORTTYPE>
      <RQ_SPORTEVENT>value</RQ_SPORTEVENT>
      <RQ_KOMMENTAR>value</RQ_KOMMENTAR>
    </SportsEventsInfo>
    <SportsEventsInfo>
      <RQ_DATO>value</RQ_DATO>
      <RQ_PLAYONSREEN>value</RQ_PLAYONSREEN>
      <RQ_KLOKKEN>value</RQ_KLOKKEN>
      <RQ_SPORTTYPE>value</RQ_SPORTTYPE>
      <RQ_SPORTEVENT>value</RQ_SPORTEVENT>
      <RQ_KOMMENTAR>value</RQ_KOMMENTAR>
    </SportsEventsInfo>
  </ReturnQueue>
</GetLoungeEvents_response>
HTTP GET (XML Response)
The following is a sample HTTP GET request and response. The placeholders shown need to be replaced with actual values.

Example Request

GET /GetLoungeEvents?brugernavn=value&kodeord=value&EventDate=value&EventEndDate=value HTTP/1.1
Host: sharkspoolhall.dk
Accept: application/xml

Example Response

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

<?xml version="1.0" encoding="utf-8"?>
<GetLoungeEvents_response xmlns="">
  <ReturnQueue>
    <SportsEventsInfo>
      <RQ_DATO>value</RQ_DATO>
      <RQ_PLAYONSREEN>value</RQ_PLAYONSREEN>
      <RQ_KLOKKEN>value</RQ_KLOKKEN>
      <RQ_SPORTTYPE>value</RQ_SPORTTYPE>
      <RQ_SPORTEVENT>value</RQ_SPORTEVENT>
      <RQ_KOMMENTAR>value</RQ_KOMMENTAR>
    </SportsEventsInfo>
    <SportsEventsInfo>
      <RQ_DATO>value</RQ_DATO>
      <RQ_PLAYONSREEN>value</RQ_PLAYONSREEN>
      <RQ_KLOKKEN>value</RQ_KLOKKEN>
      <RQ_SPORTTYPE>value</RQ_SPORTTYPE>
      <RQ_SPORTEVENT>value</RQ_SPORTEVENT>
      <RQ_KOMMENTAR>value</RQ_KOMMENTAR>
    </SportsEventsInfo>
  </ReturnQueue>
</GetLoungeEvents_response>
REST GET (XML Response)
The following is a sample REST request and response. The placeholders shown need to be replaced with actual values.

Example Request

GET /RESERVATION/GetLoungeEvents/brugernavnvalue?kodeord=value HTTP/1.1
Host: sharkspoolhall.dk
Accept: application/xml

Example Response

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

<?xml version="1.0" encoding="utf-8"?>
<GetLoungeEvents_response xmlns="">
  <ReturnQueue>
    <SportsEventsInfo>
      <RQ_DATO>value</RQ_DATO>
      <RQ_PLAYONSREEN>value</RQ_PLAYONSREEN>
      <RQ_KLOKKEN>value</RQ_KLOKKEN>
      <RQ_SPORTTYPE>value</RQ_SPORTTYPE>
      <RQ_SPORTEVENT>value</RQ_SPORTEVENT>
      <RQ_KOMMENTAR>value</RQ_KOMMENTAR>
    </SportsEventsInfo>
    <SportsEventsInfo>
      <RQ_DATO>value</RQ_DATO>
      <RQ_PLAYONSREEN>value</RQ_PLAYONSREEN>
      <RQ_KLOKKEN>value</RQ_KLOKKEN>
      <RQ_SPORTTYPE>value</RQ_SPORTTYPE>
      <RQ_SPORTEVENT>value</RQ_SPORTEVENT>
      <RQ_KOMMENTAR>value</RQ_KOMMENTAR>
    </SportsEventsInfo>
  </ReturnQueue>
</GetLoungeEvents_response>
HTTP POST (JSON)
The following is a sample HTTP POST request and response. The placeholders shown need to be replaced with actual values.

Example Request

POST /GetLoungeEvents HTTP/1.1
Host: sharkspoolhall.dk
Accept: application/json
Content-Type: application/json
Content-Length: length

{
  "brugernavn" : "value",
  "kodeord" : "value",
  "EventDate" : "value",
  "EventEndDate" : "value"
}

Example Response

HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
Content-Length: length

{
  "GetLoungeEvents_response" : {
    "ReturnQueue" : [
      {
        "RQ_DATO" : "value",
        "RQ_PLAYONSREEN" : "value",
        "RQ_KLOKKEN" : "value",
        "RQ_SPORTTYPE" : "value",
        "RQ_SPORTEVENT" : "value",
        "RQ_KOMMENTAR" : "value"
      }
    ]
  }
}
HTTP GET (JSON Response)
The following is a sample JSON GET request and response. The placeholders shown need to be replaced with actual values.

Example Request

GET /GetLoungeEvents?brugernavn=value&kodeord=value HTTP/1.1
Host: sharkspoolhall.dk
Accept: application/json

Example Response

HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
Content-Length: length

{
  "GetLoungeEvents_response" : {
    "ReturnQueue" : [
      {
        "RQ_DATO" : "value",
        "RQ_PLAYONSREEN" : "value",
        "RQ_KLOKKEN" : "value",
        "RQ_SPORTTYPE" : "value",
        "RQ_SPORTEVENT" : "value",
        "RQ_KOMMENTAR" : "value"
      }
    ]
  }
}
REST GET (JSON Response)
The following is a sample REST request and response. The placeholders shown need to be replaced with actual values.

Example Request

GET /RESERVATION/GetLoungeEvents/brugernavnvalue?kodeord=value HTTP/1.1
Host: sharkspoolhall.dk
Accept: application/json

Example Response

HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
Content-Length: length

{
  "GetLoungeEvents_response" : {
    "ReturnQueue" : [
      {
        "RQ_DATO" : "value",
        "RQ_PLAYONSREEN" : "value",
        "RQ_KLOKKEN" : "value",
        "RQ_SPORTTYPE" : "value",
        "RQ_SPORTEVENT" : "value",
        "RQ_KOMMENTAR" : "value"
      }
    ]
  }
}