Employee


Click here for a complete list of operations.

EmployeeEarnings

Use this method to print a Detail of employee. A good response will return the word VALID else an ERROR followed by the error details.
You must have a Valid Username and Password to use this featureYou must complete all additional fields required:

  1. EmployeeNumber: Put in full employee number
  2. Schema: True or False Includes Database Schema
  3. JSON: True or False Includes Database Output as JSON format

Test

To test the operation using the HTTP POST protocol, click the 'Invoke' button.
Parameter Value
EmployeeNumber:
Schema:
JSON:

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 /Employee.asmx HTTP/1.1
Host: www.freezbox.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://microsoft.com/webservices/EmployeeEarnings"

<?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>
    <EmployeeEarnings xmlns="http://microsoft.com/webservices/">
      <EmployeeNumber>long</EmployeeNumber>
      <Schema>boolean</Schema>
      <JSON>boolean</JSON>
    </EmployeeEarnings>
  </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>
    <EmployeeEarningsResponse xmlns="http://microsoft.com/webservices/">
      <EmployeeEarningsResult>string</EmployeeEarningsResult>
    </EmployeeEarningsResponse>
  </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 /Employee.asmx HTTP/1.1
Host: www.freezbox.com
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>
    <EmployeeEarnings xmlns="http://microsoft.com/webservices/">
      <EmployeeNumber>long</EmployeeNumber>
      <Schema>boolean</Schema>
      <JSON>boolean</JSON>
    </EmployeeEarnings>
  </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>
    <EmployeeEarningsResponse xmlns="http://microsoft.com/webservices/">
      <EmployeeEarningsResult>string</EmployeeEarningsResult>
    </EmployeeEarningsResponse>
  </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 /Employee.asmx/EmployeeEarnings?EmployeeNumber=string&Schema=string&JSON=string HTTP/1.1
Host: www.freezbox.com
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<string xmlns="http://microsoft.com/webservices/">string</string>

HTTP POST

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

POST /Employee.asmx/EmployeeEarnings HTTP/1.1
Host: www.freezbox.com
Content-Type: application/x-www-form-urlencoded
Content-Length: length

EmployeeNumber=string&Schema=string&JSON=string
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<string xmlns="http://microsoft.com/webservices/">string</string>