SMART cash web-adgang

Error in site JavaScript
Web Service Documentation
Service: SMARTCASH
Method: ValidateEmployeePind
Validate Waiter pindcode
Parameters
string: brugernavn
username
Parameter is Required
string: kodeord
password
Parameter is Required
string: waiguid
Waiter guid
Parameter is Optional
string: pindkode
pindkode
Parameter is Optional
Possible Return Data

List: ServiceErrors
ErrorNumber (int)
ErrorPosition (string)
ErrorRecordID (string)
ErrorDescription (string)
ErrorRecomendation (string)
List: ReturnQueue
WQ_WAITERGUID (string)
WQ_NAME (string)
WQ_MOBILNO (string)
WQ_EMAILADR (string)
WQ_WORKFUNCTION (string)
WQ_WORKSTATION (string)
WQ_MAGNETCARD (int)
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 /SMARTCASH HTTP/1.1
Host: sharkspoolhall.dk
Accept: application/xml
Content-Type: text/xml
Content-Length: length
SOAPAction: http://sharkspoolhall.dk/ValidateEmployeePind

<?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>
    <ValidateEmployeePind xmlns="SMARTCASH">
      <brugernavn>value</brugernavn>
      <kodeord>value</kodeord>
      <waiguid>value</waiguid>
      <pindkode>value</pindkode>
    </ValidateEmployeePind>
  </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>
    <ValidateEmployeePind_response xmlns="SMARTCASH">
      <ReturnQueue>
        <WaiterInfo>
          <WQ_WAITERGUID>value</WQ_WAITERGUID>
          <WQ_NAME>value</WQ_NAME>
          <WQ_MOBILNO>value</WQ_MOBILNO>
          <WQ_EMAILADR>value</WQ_EMAILADR>
          <WQ_WORKFUNCTION>value</WQ_WORKFUNCTION>
          <WQ_WORKSTATION>value</WQ_WORKSTATION>
          <WQ_MAGNETCARD>value</WQ_MAGNETCARD>
        </WaiterInfo>
        <WaiterInfo>
          <WQ_WAITERGUID>value</WQ_WAITERGUID>
          <WQ_NAME>value</WQ_NAME>
          <WQ_MOBILNO>value</WQ_MOBILNO>
          <WQ_EMAILADR>value</WQ_EMAILADR>
          <WQ_WORKFUNCTION>value</WQ_WORKFUNCTION>
          <WQ_WORKSTATION>value</WQ_WORKSTATION>
          <WQ_MAGNETCARD>value</WQ_MAGNETCARD>
        </WaiterInfo>
      </ReturnQueue>
    </ValidateEmployeePind_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 /SMARTCASH 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>
    <ValidateEmployeePind xmlns="SMARTCASH">
      <brugernavn>value</brugernavn>
      <kodeord>value</kodeord>
      <waiguid>value</waiguid>
      <pindkode>value</pindkode>
    </ValidateEmployeePind>
  </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>
    <ValidateEmployeePind_response xmlns="SMARTCASH">
      <ReturnQueue>
        <WaiterInfo>
          <WQ_WAITERGUID>value</WQ_WAITERGUID>
          <WQ_NAME>value</WQ_NAME>
          <WQ_MOBILNO>value</WQ_MOBILNO>
          <WQ_EMAILADR>value</WQ_EMAILADR>
          <WQ_WORKFUNCTION>value</WQ_WORKFUNCTION>
          <WQ_WORKSTATION>value</WQ_WORKSTATION>
          <WQ_MAGNETCARD>value</WQ_MAGNETCARD>
        </WaiterInfo>
        <WaiterInfo>
          <WQ_WAITERGUID>value</WQ_WAITERGUID>
          <WQ_NAME>value</WQ_NAME>
          <WQ_MOBILNO>value</WQ_MOBILNO>
          <WQ_EMAILADR>value</WQ_EMAILADR>
          <WQ_WORKFUNCTION>value</WQ_WORKFUNCTION>
          <WQ_WORKSTATION>value</WQ_WORKSTATION>
          <WQ_MAGNETCARD>value</WQ_MAGNETCARD>
        </WaiterInfo>
      </ReturnQueue>
    </ValidateEmployeePind_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 /ValidateEmployeePind HTTP/1.1
Host: sharkspoolhall.dk
Accept: application/xml
Content-Type: application/x-www-form-urlencoded
Content-Length: length

brugernavn=value&kodeord=value&waiguid=value&pindkode=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"?>
<ValidateEmployeePind_response xmlns="SMARTCASH">
  <ReturnQueue>
    <WaiterInfo>
      <WQ_WAITERGUID>value</WQ_WAITERGUID>
      <WQ_NAME>value</WQ_NAME>
      <WQ_MOBILNO>value</WQ_MOBILNO>
      <WQ_EMAILADR>value</WQ_EMAILADR>
      <WQ_WORKFUNCTION>value</WQ_WORKFUNCTION>
      <WQ_WORKSTATION>value</WQ_WORKSTATION>
      <WQ_MAGNETCARD>value</WQ_MAGNETCARD>
    </WaiterInfo>
    <WaiterInfo>
      <WQ_WAITERGUID>value</WQ_WAITERGUID>
      <WQ_NAME>value</WQ_NAME>
      <WQ_MOBILNO>value</WQ_MOBILNO>
      <WQ_EMAILADR>value</WQ_EMAILADR>
      <WQ_WORKFUNCTION>value</WQ_WORKFUNCTION>
      <WQ_WORKSTATION>value</WQ_WORKSTATION>
      <WQ_MAGNETCARD>value</WQ_MAGNETCARD>
    </WaiterInfo>
  </ReturnQueue>
</ValidateEmployeePind_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 /ValidateEmployeePind?brugernavn=value&kodeord=value&waiguid=value&pindkode=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"?>
<ValidateEmployeePind_response xmlns="SMARTCASH">
  <ReturnQueue>
    <WaiterInfo>
      <WQ_WAITERGUID>value</WQ_WAITERGUID>
      <WQ_NAME>value</WQ_NAME>
      <WQ_MOBILNO>value</WQ_MOBILNO>
      <WQ_EMAILADR>value</WQ_EMAILADR>
      <WQ_WORKFUNCTION>value</WQ_WORKFUNCTION>
      <WQ_WORKSTATION>value</WQ_WORKSTATION>
      <WQ_MAGNETCARD>value</WQ_MAGNETCARD>
    </WaiterInfo>
    <WaiterInfo>
      <WQ_WAITERGUID>value</WQ_WAITERGUID>
      <WQ_NAME>value</WQ_NAME>
      <WQ_MOBILNO>value</WQ_MOBILNO>
      <WQ_EMAILADR>value</WQ_EMAILADR>
      <WQ_WORKFUNCTION>value</WQ_WORKFUNCTION>
      <WQ_WORKSTATION>value</WQ_WORKSTATION>
      <WQ_MAGNETCARD>value</WQ_MAGNETCARD>
    </WaiterInfo>
  </ReturnQueue>
</ValidateEmployeePind_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 /SMARTCASH/ValidateEmployeePind/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"?>
<ValidateEmployeePind_response xmlns="SMARTCASH">
  <ReturnQueue>
    <WaiterInfo>
      <WQ_WAITERGUID>value</WQ_WAITERGUID>
      <WQ_NAME>value</WQ_NAME>
      <WQ_MOBILNO>value</WQ_MOBILNO>
      <WQ_EMAILADR>value</WQ_EMAILADR>
      <WQ_WORKFUNCTION>value</WQ_WORKFUNCTION>
      <WQ_WORKSTATION>value</WQ_WORKSTATION>
      <WQ_MAGNETCARD>value</WQ_MAGNETCARD>
    </WaiterInfo>
    <WaiterInfo>
      <WQ_WAITERGUID>value</WQ_WAITERGUID>
      <WQ_NAME>value</WQ_NAME>
      <WQ_MOBILNO>value</WQ_MOBILNO>
      <WQ_EMAILADR>value</WQ_EMAILADR>
      <WQ_WORKFUNCTION>value</WQ_WORKFUNCTION>
      <WQ_WORKSTATION>value</WQ_WORKSTATION>
      <WQ_MAGNETCARD>value</WQ_MAGNETCARD>
    </WaiterInfo>
  </ReturnQueue>
</ValidateEmployeePind_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 /ValidateEmployeePind HTTP/1.1
Host: sharkspoolhall.dk
Accept: application/json
Content-Type: application/json
Content-Length: length

{
  "brugernavn" : "value",
  "kodeord" : "value",
  "waiguid" : "value",
  "pindkode" : "value"
}

Example Response

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

{
  "ValidateEmployeePind_response" : {
    "ReturnQueue" : [
      {
        "WQ_WAITERGUID" : "value",
        "WQ_NAME" : "value",
        "WQ_MOBILNO" : "value",
        "WQ_EMAILADR" : "value",
        "WQ_WORKFUNCTION" : "value",
        "WQ_WORKSTATION" : "value",
        "WQ_MAGNETCARD" : 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 /ValidateEmployeePind?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

{
  "ValidateEmployeePind_response" : {
    "ReturnQueue" : [
      {
        "WQ_WAITERGUID" : "value",
        "WQ_NAME" : "value",
        "WQ_MOBILNO" : "value",
        "WQ_EMAILADR" : "value",
        "WQ_WORKFUNCTION" : "value",
        "WQ_WORKSTATION" : "value",
        "WQ_MAGNETCARD" : 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 /SMARTCASH/ValidateEmployeePind/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

{
  "ValidateEmployeePind_response" : {
    "ReturnQueue" : [
      {
        "WQ_WAITERGUID" : "value",
        "WQ_NAME" : "value",
        "WQ_MOBILNO" : "value",
        "WQ_EMAILADR" : "value",
        "WQ_WORKFUNCTION" : "value",
        "WQ_WORKSTATION" : "value",
        "WQ_MAGNETCARD" : value
      }
    ]
  }
}