Service1


Click here for a complete list of operations.

balthzar_get_n_top_scrap_reasons

Test

To test the operation using the HTTP POST protocol, click the 'Invoke' button.
Parameter Value
company_id:
company_key:
top_n:
machine_id:
from_date:
to_date:
from_shift:
to_shift:
from_part:
to_part:

SOAP 1.1

The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.

POST /localws/service1.asmx HTTP/1.1
Host: balthzarlocal.se
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://www.balthzar.se/ws/Service1/balthzar_get_n_top_scrap_reasons"

<?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>
    <balthzar_get_n_top_scrap_reasons xmlns="http://www.balthzar.se/ws/Service1">
      <company_id>string</company_id>
      <company_key>string</company_key>
      <top_n>int</top_n>
      <machine_id>string</machine_id>
      <from_date>string</from_date>
      <to_date>string</to_date>
      <from_shift>string</from_shift>
      <to_shift>string</to_shift>
      <from_part>string</from_part>
      <to_part>string</to_part>
    </balthzar_get_n_top_scrap_reasons>
  </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>
    <balthzar_get_n_top_scrap_reasonsResponse xmlns="http://www.balthzar.se/ws/Service1">
      <balthzar_get_n_top_scrap_reasonsResult>
        <xsd:schema>schema</xsd:schema>xml</balthzar_get_n_top_scrap_reasonsResult>
    </balthzar_get_n_top_scrap_reasonsResponse>
  </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.

POST /localws/service1.asmx HTTP/1.1
Host: balthzarlocal.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>
    <balthzar_get_n_top_scrap_reasons xmlns="http://www.balthzar.se/ws/Service1">
      <company_id>string</company_id>
      <company_key>string</company_key>
      <top_n>int</top_n>
      <machine_id>string</machine_id>
      <from_date>string</from_date>
      <to_date>string</to_date>
      <from_shift>string</from_shift>
      <to_shift>string</to_shift>
      <from_part>string</from_part>
      <to_part>string</to_part>
    </balthzar_get_n_top_scrap_reasons>
  </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>
    <balthzar_get_n_top_scrap_reasonsResponse xmlns="http://www.balthzar.se/ws/Service1">
      <balthzar_get_n_top_scrap_reasonsResult>
        <xsd:schema>schema</xsd:schema>xml</balthzar_get_n_top_scrap_reasonsResult>
    </balthzar_get_n_top_scrap_reasonsResponse>
  </soap12:Body>
</soap12:Envelope>

HTTP GET

The following is a sample HTTP GET request and response. The placeholders shown need to be replaced with actual values.

GET /localws/service1.asmx/balthzar_get_n_top_scrap_reasons?company_id=string&company_key=string&top_n=string&machine_id=string&from_date=string&to_date=string&from_shift=string&to_shift=string&from_part=string&to_part=string HTTP/1.1
Host: balthzarlocal.se
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<DataSet xmlns="http://www.balthzar.se/ws/Service1">
  <schema xmlns="http://www.w3.org/2001/XMLSchema">schema</schema>xml</DataSet>

HTTP POST

The following is a sample HTTP POST request and response. The placeholders shown need to be replaced with actual values.

POST /localws/service1.asmx/balthzar_get_n_top_scrap_reasons HTTP/1.1
Host: balthzarlocal.se
Content-Type: application/x-www-form-urlencoded
Content-Length: length

company_id=string&company_key=string&top_n=string&machine_id=string&from_date=string&to_date=string&from_shift=string&to_shift=string&from_part=string&to_part=string
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<DataSet xmlns="http://www.balthzar.se/ws/Service1">
  <schema xmlns="http://www.w3.org/2001/XMLSchema">schema</schema>xml</DataSet>