SMART cash web-adgang

Error in site JavaScript
Web Service Documentation
Service: SMARTCASH
Method: GetCategorieItem
get categorie in menuen
Parameters
string: brugernavn
username
Parameter is Required
string: kodeord
password
Parameter is Required
string: Catguid
categorie guid
Parameter is Optional
Possible Return Data

List: ServiceErrors
ErrorNumber (int)
ErrorPosition (string)
ErrorRecordID (string)
ErrorDescription (string)
ErrorRecomendation (string)
List: ReturnQueue
CIQ_MENUGUID (string)
CIQ_CATEGORIEGUID (string)
CIQ_ROW (int)
CIQ_COLUMN (int)
CIQ_VARETYPE (int)
CIQ_VARENR (int)
CIQ_SALGSPRIS (int)
CIQ_TEXT_LINE_1 (string)
CIQ_TEXT_LINE_2 (string)
CIQ_TEXT_LINE_3 (string)
CIQ_BACKGROUNDCOLOR (string)
CIQ_FRONTCOLOR (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 /SMARTCASH HTTP/1.1
Host: sharkspoolhall.dk
Accept: application/xml
Content-Type: text/xml
Content-Length: length
SOAPAction: http://sharkspoolhall.dk/GetCategorieItem

<?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>
    <GetCategorieItem xmlns="SMARTCASH">
      <brugernavn>value</brugernavn>
      <kodeord>value</kodeord>
      <Catguid>value</Catguid>
    </GetCategorieItem>
  </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>
    <GetCategorieItem_response xmlns="SMARTCASH">
      <ReturnQueue>
        <CategorieItemInfo>
          <CIQ_MENUGUID>value</CIQ_MENUGUID>
          <CIQ_CATEGORIEGUID>value</CIQ_CATEGORIEGUID>
          <CIQ_ROW>value</CIQ_ROW>
          <CIQ_COLUMN>value</CIQ_COLUMN>
          <CIQ_VARETYPE>value</CIQ_VARETYPE>
          <CIQ_VARENR>value</CIQ_VARENR>
          <CIQ_SALGSPRIS>value</CIQ_SALGSPRIS>
          <CIQ_TEXT_LINE_1>value</CIQ_TEXT_LINE_1>
          <CIQ_TEXT_LINE_2>value</CIQ_TEXT_LINE_2>
          <CIQ_TEXT_LINE_3>value</CIQ_TEXT_LINE_3>
          <CIQ_BACKGROUNDCOLOR>value</CIQ_BACKGROUNDCOLOR>
          <CIQ_FRONTCOLOR>value</CIQ_FRONTCOLOR>
        </CategorieItemInfo>
        <CategorieItemInfo>
          <CIQ_MENUGUID>value</CIQ_MENUGUID>
          <CIQ_CATEGORIEGUID>value</CIQ_CATEGORIEGUID>
          <CIQ_ROW>value</CIQ_ROW>
          <CIQ_COLUMN>value</CIQ_COLUMN>
          <CIQ_VARETYPE>value</CIQ_VARETYPE>
          <CIQ_VARENR>value</CIQ_VARENR>
          <CIQ_SALGSPRIS>value</CIQ_SALGSPRIS>
          <CIQ_TEXT_LINE_1>value</CIQ_TEXT_LINE_1>
          <CIQ_TEXT_LINE_2>value</CIQ_TEXT_LINE_2>
          <CIQ_TEXT_LINE_3>value</CIQ_TEXT_LINE_3>
          <CIQ_BACKGROUNDCOLOR>value</CIQ_BACKGROUNDCOLOR>
          <CIQ_FRONTCOLOR>value</CIQ_FRONTCOLOR>
        </CategorieItemInfo>
      </ReturnQueue>
    </GetCategorieItem_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>
    <GetCategorieItem xmlns="SMARTCASH">
      <brugernavn>value</brugernavn>
      <kodeord>value</kodeord>
      <Catguid>value</Catguid>
    </GetCategorieItem>
  </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>
    <GetCategorieItem_response xmlns="SMARTCASH">
      <ReturnQueue>
        <CategorieItemInfo>
          <CIQ_MENUGUID>value</CIQ_MENUGUID>
          <CIQ_CATEGORIEGUID>value</CIQ_CATEGORIEGUID>
          <CIQ_ROW>value</CIQ_ROW>
          <CIQ_COLUMN>value</CIQ_COLUMN>
          <CIQ_VARETYPE>value</CIQ_VARETYPE>
          <CIQ_VARENR>value</CIQ_VARENR>
          <CIQ_SALGSPRIS>value</CIQ_SALGSPRIS>
          <CIQ_TEXT_LINE_1>value</CIQ_TEXT_LINE_1>
          <CIQ_TEXT_LINE_2>value</CIQ_TEXT_LINE_2>
          <CIQ_TEXT_LINE_3>value</CIQ_TEXT_LINE_3>
          <CIQ_BACKGROUNDCOLOR>value</CIQ_BACKGROUNDCOLOR>
          <CIQ_FRONTCOLOR>value</CIQ_FRONTCOLOR>
        </CategorieItemInfo>
        <CategorieItemInfo>
          <CIQ_MENUGUID>value</CIQ_MENUGUID>
          <CIQ_CATEGORIEGUID>value</CIQ_CATEGORIEGUID>
          <CIQ_ROW>value</CIQ_ROW>
          <CIQ_COLUMN>value</CIQ_COLUMN>
          <CIQ_VARETYPE>value</CIQ_VARETYPE>
          <CIQ_VARENR>value</CIQ_VARENR>
          <CIQ_SALGSPRIS>value</CIQ_SALGSPRIS>
          <CIQ_TEXT_LINE_1>value</CIQ_TEXT_LINE_1>
          <CIQ_TEXT_LINE_2>value</CIQ_TEXT_LINE_2>
          <CIQ_TEXT_LINE_3>value</CIQ_TEXT_LINE_3>
          <CIQ_BACKGROUNDCOLOR>value</CIQ_BACKGROUNDCOLOR>
          <CIQ_FRONTCOLOR>value</CIQ_FRONTCOLOR>
        </CategorieItemInfo>
      </ReturnQueue>
    </GetCategorieItem_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 /GetCategorieItem HTTP/1.1
Host: sharkspoolhall.dk
Accept: application/xml
Content-Type: application/x-www-form-urlencoded
Content-Length: length

brugernavn=value&kodeord=value&Catguid=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"?>
<GetCategorieItem_response xmlns="SMARTCASH">
  <ReturnQueue>
    <CategorieItemInfo>
      <CIQ_MENUGUID>value</CIQ_MENUGUID>
      <CIQ_CATEGORIEGUID>value</CIQ_CATEGORIEGUID>
      <CIQ_ROW>value</CIQ_ROW>
      <CIQ_COLUMN>value</CIQ_COLUMN>
      <CIQ_VARETYPE>value</CIQ_VARETYPE>
      <CIQ_VARENR>value</CIQ_VARENR>
      <CIQ_SALGSPRIS>value</CIQ_SALGSPRIS>
      <CIQ_TEXT_LINE_1>value</CIQ_TEXT_LINE_1>
      <CIQ_TEXT_LINE_2>value</CIQ_TEXT_LINE_2>
      <CIQ_TEXT_LINE_3>value</CIQ_TEXT_LINE_3>
      <CIQ_BACKGROUNDCOLOR>value</CIQ_BACKGROUNDCOLOR>
      <CIQ_FRONTCOLOR>value</CIQ_FRONTCOLOR>
    </CategorieItemInfo>
    <CategorieItemInfo>
      <CIQ_MENUGUID>value</CIQ_MENUGUID>
      <CIQ_CATEGORIEGUID>value</CIQ_CATEGORIEGUID>
      <CIQ_ROW>value</CIQ_ROW>
      <CIQ_COLUMN>value</CIQ_COLUMN>
      <CIQ_VARETYPE>value</CIQ_VARETYPE>
      <CIQ_VARENR>value</CIQ_VARENR>
      <CIQ_SALGSPRIS>value</CIQ_SALGSPRIS>
      <CIQ_TEXT_LINE_1>value</CIQ_TEXT_LINE_1>
      <CIQ_TEXT_LINE_2>value</CIQ_TEXT_LINE_2>
      <CIQ_TEXT_LINE_3>value</CIQ_TEXT_LINE_3>
      <CIQ_BACKGROUNDCOLOR>value</CIQ_BACKGROUNDCOLOR>
      <CIQ_FRONTCOLOR>value</CIQ_FRONTCOLOR>
    </CategorieItemInfo>
  </ReturnQueue>
</GetCategorieItem_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 /GetCategorieItem?brugernavn=value&kodeord=value&Catguid=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"?>
<GetCategorieItem_response xmlns="SMARTCASH">
  <ReturnQueue>
    <CategorieItemInfo>
      <CIQ_MENUGUID>value</CIQ_MENUGUID>
      <CIQ_CATEGORIEGUID>value</CIQ_CATEGORIEGUID>
      <CIQ_ROW>value</CIQ_ROW>
      <CIQ_COLUMN>value</CIQ_COLUMN>
      <CIQ_VARETYPE>value</CIQ_VARETYPE>
      <CIQ_VARENR>value</CIQ_VARENR>
      <CIQ_SALGSPRIS>value</CIQ_SALGSPRIS>
      <CIQ_TEXT_LINE_1>value</CIQ_TEXT_LINE_1>
      <CIQ_TEXT_LINE_2>value</CIQ_TEXT_LINE_2>
      <CIQ_TEXT_LINE_3>value</CIQ_TEXT_LINE_3>
      <CIQ_BACKGROUNDCOLOR>value</CIQ_BACKGROUNDCOLOR>
      <CIQ_FRONTCOLOR>value</CIQ_FRONTCOLOR>
    </CategorieItemInfo>
    <CategorieItemInfo>
      <CIQ_MENUGUID>value</CIQ_MENUGUID>
      <CIQ_CATEGORIEGUID>value</CIQ_CATEGORIEGUID>
      <CIQ_ROW>value</CIQ_ROW>
      <CIQ_COLUMN>value</CIQ_COLUMN>
      <CIQ_VARETYPE>value</CIQ_VARETYPE>
      <CIQ_VARENR>value</CIQ_VARENR>
      <CIQ_SALGSPRIS>value</CIQ_SALGSPRIS>
      <CIQ_TEXT_LINE_1>value</CIQ_TEXT_LINE_1>
      <CIQ_TEXT_LINE_2>value</CIQ_TEXT_LINE_2>
      <CIQ_TEXT_LINE_3>value</CIQ_TEXT_LINE_3>
      <CIQ_BACKGROUNDCOLOR>value</CIQ_BACKGROUNDCOLOR>
      <CIQ_FRONTCOLOR>value</CIQ_FRONTCOLOR>
    </CategorieItemInfo>
  </ReturnQueue>
</GetCategorieItem_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/GetCategorieItem/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"?>
<GetCategorieItem_response xmlns="SMARTCASH">
  <ReturnQueue>
    <CategorieItemInfo>
      <CIQ_MENUGUID>value</CIQ_MENUGUID>
      <CIQ_CATEGORIEGUID>value</CIQ_CATEGORIEGUID>
      <CIQ_ROW>value</CIQ_ROW>
      <CIQ_COLUMN>value</CIQ_COLUMN>
      <CIQ_VARETYPE>value</CIQ_VARETYPE>
      <CIQ_VARENR>value</CIQ_VARENR>
      <CIQ_SALGSPRIS>value</CIQ_SALGSPRIS>
      <CIQ_TEXT_LINE_1>value</CIQ_TEXT_LINE_1>
      <CIQ_TEXT_LINE_2>value</CIQ_TEXT_LINE_2>
      <CIQ_TEXT_LINE_3>value</CIQ_TEXT_LINE_3>
      <CIQ_BACKGROUNDCOLOR>value</CIQ_BACKGROUNDCOLOR>
      <CIQ_FRONTCOLOR>value</CIQ_FRONTCOLOR>
    </CategorieItemInfo>
    <CategorieItemInfo>
      <CIQ_MENUGUID>value</CIQ_MENUGUID>
      <CIQ_CATEGORIEGUID>value</CIQ_CATEGORIEGUID>
      <CIQ_ROW>value</CIQ_ROW>
      <CIQ_COLUMN>value</CIQ_COLUMN>
      <CIQ_VARETYPE>value</CIQ_VARETYPE>
      <CIQ_VARENR>value</CIQ_VARENR>
      <CIQ_SALGSPRIS>value</CIQ_SALGSPRIS>
      <CIQ_TEXT_LINE_1>value</CIQ_TEXT_LINE_1>
      <CIQ_TEXT_LINE_2>value</CIQ_TEXT_LINE_2>
      <CIQ_TEXT_LINE_3>value</CIQ_TEXT_LINE_3>
      <CIQ_BACKGROUNDCOLOR>value</CIQ_BACKGROUNDCOLOR>
      <CIQ_FRONTCOLOR>value</CIQ_FRONTCOLOR>
    </CategorieItemInfo>
  </ReturnQueue>
</GetCategorieItem_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 /GetCategorieItem HTTP/1.1
Host: sharkspoolhall.dk
Accept: application/json
Content-Type: application/json
Content-Length: length

{
  "brugernavn" : "value",
  "kodeord" : "value",
  "Catguid" : "value"
}

Example Response

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

{
  "GetCategorieItem_response" : {
    "ReturnQueue" : [
      {
        "CIQ_MENUGUID" : "value",
        "CIQ_CATEGORIEGUID" : "value",
        "CIQ_ROW" : value,
        "CIQ_COLUMN" : value,
        "CIQ_VARETYPE" : value,
        "CIQ_VARENR" : value,
        "CIQ_SALGSPRIS" : value,
        "CIQ_TEXT_LINE_1" : "value",
        "CIQ_TEXT_LINE_2" : "value",
        "CIQ_TEXT_LINE_3" : "value",
        "CIQ_BACKGROUNDCOLOR" : "value",
        "CIQ_FRONTCOLOR" : "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 /GetCategorieItem?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

{
  "GetCategorieItem_response" : {
    "ReturnQueue" : [
      {
        "CIQ_MENUGUID" : "value",
        "CIQ_CATEGORIEGUID" : "value",
        "CIQ_ROW" : value,
        "CIQ_COLUMN" : value,
        "CIQ_VARETYPE" : value,
        "CIQ_VARENR" : value,
        "CIQ_SALGSPRIS" : value,
        "CIQ_TEXT_LINE_1" : "value",
        "CIQ_TEXT_LINE_2" : "value",
        "CIQ_TEXT_LINE_3" : "value",
        "CIQ_BACKGROUNDCOLOR" : "value",
        "CIQ_FRONTCOLOR" : "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/GetCategorieItem/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

{
  "GetCategorieItem_response" : {
    "ReturnQueue" : [
      {
        "CIQ_MENUGUID" : "value",
        "CIQ_CATEGORIEGUID" : "value",
        "CIQ_ROW" : value,
        "CIQ_COLUMN" : value,
        "CIQ_VARETYPE" : value,
        "CIQ_VARENR" : value,
        "CIQ_SALGSPRIS" : value,
        "CIQ_TEXT_LINE_1" : "value",
        "CIQ_TEXT_LINE_2" : "value",
        "CIQ_TEXT_LINE_3" : "value",
        "CIQ_BACKGROUNDCOLOR" : "value",
        "CIQ_FRONTCOLOR" : "value"
      }
    ]
  }
}