InventoryWebService


Click here for a complete list of operations.

InsertSelfAttendance

Test

The test form is only available for requests from the local machine.

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 /InventoryWebService.asmx HTTP/1.1
Host: laluws.compulinerp.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://tempuri.org/InsertSelfAttendance"

<?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>
    <InsertSelfAttendance xmlns="http://tempuri.org/">
      <Details>
        <COMPANY_ID>guid</COMPANY_ID>
        <COMPCODE>string</COMPCODE>
        <EMP_CODE>string</EMP_CODE>
        <PAY_MONTH>decimal</PAY_MONTH>
        <PAY_YEAR>decimal</PAY_YEAR>
        <ATTENDANCE_DATE>dateTime</ATTENDANCE_DATE>
        <EMP_NAME>string</EMP_NAME>
        <IN_TIME>decimal</IN_TIME>
        <OUT_TIME>decimal</OUT_TIME>
        <HOURS_WORKED>decimal</HOURS_WORKED>
        <USERCODE>string</USERCODE>
        <OT_HOURS>decimal</OT_HOURS>
        <DAY_NAME>string</DAY_NAME>
        <TXN_CODE1>string</TXN_CODE1>
        <TXN_CODE2>string</TXN_CODE2>
        <BRANCH_NAME>string</BRANCH_NAME>
        <BRANCH_CODE>string</BRANCH_CODE>
        <TXN_NAME>string</TXN_NAME>
        <DESCRIPTION>string</DESCRIPTION>
        <OFFICE_OPEN>decimal</OFFICE_OPEN>
        <LATE_HOURS>decimal</LATE_HOURS>
        <OFFICE_CLOSE>decimal</OFFICE_CLOSE>
        <EARLY_HOURS>decimal</EARLY_HOURS>
        <ORGNL_IN_TIME>decimal</ORGNL_IN_TIME>
        <ORGNL_OUT_TIME>decimal</ORGNL_OUT_TIME>
        <CHANGED_USER>string</CHANGED_USER>
        <CHANGED_DATE>dateTime</CHANGED_DATE>
        <CHANGED_USER_OUTTIME>string</CHANGED_USER_OUTTIME>
        <CHANGED_DATE_OUTTIME>dateTime</CHANGED_DATE_OUTTIME>
        <RECORD_DATE>dateTime</RECORD_DATE>
        <IN_DEVICE>string</IN_DEVICE>
        <OUT_DEVICE>string</OUT_DEVICE>
        <REQUESTED_REASON>string</REQUESTED_REASON>
        <REQUESTED_IN_TIME>decimal</REQUESTED_IN_TIME>
        <REQUESTED_OUT_TIME>decimal</REQUESTED_OUT_TIME>
        <REQUESTED_APPROVE_USER>string</REQUESTED_APPROVE_USER>
        <REQUESTED_APPROVE_DONE>int</REQUESTED_APPROVE_DONE>
        <REQUESTED_APPROVE_DATETIME>dateTime</REQUESTED_APPROVE_DATETIME>
        <LATITUDE_LABEL_OUT>string</LATITUDE_LABEL_OUT>
        <LONGITUDE_LABEL_OUT>string</LONGITUDE_LABEL_OUT>
        <GPS_LOCATION_NAME_OUT>string</GPS_LOCATION_NAME_OUT>
        <GPS_MORE_INFO_OUT>string</GPS_MORE_INFO_OUT>
        <LATITUDE_LABEL>string</LATITUDE_LABEL>
        <LONGITUDE_LABEL>string</LONGITUDE_LABEL>
        <GPS_LOCATION_NAME>string</GPS_LOCATION_NAME>
        <GPS_MORE_INFO>string</GPS_MORE_INFO>
        <ORIGINAL_IN>decimal</ORIGINAL_IN>
        <ORIGINAL_OUT>decimal</ORIGINAL_OUT>
        <ORIGINAL_TXN_NAME>string</ORIGINAL_TXN_NAME>
        <ORIGINAL_IN_LOCATION>string</ORIGINAL_IN_LOCATION>
        <ORIGINAL_OUT_LOCATION>string</ORIGINAL_OUT_LOCATION>
        <OT_VALUE_DAILY>decimal</OT_VALUE_DAILY>
      </Details>
      <IsIn>int</IsIn>
    </InsertSelfAttendance>
  </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>
    <InsertSelfAttendanceResponse xmlns="http://tempuri.org/">
      <InsertSelfAttendanceResult>string</InsertSelfAttendanceResult>
    </InsertSelfAttendanceResponse>
  </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 /InventoryWebService.asmx HTTP/1.1
Host: laluws.compulinerp.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>
    <InsertSelfAttendance xmlns="http://tempuri.org/">
      <Details>
        <COMPANY_ID>guid</COMPANY_ID>
        <COMPCODE>string</COMPCODE>
        <EMP_CODE>string</EMP_CODE>
        <PAY_MONTH>decimal</PAY_MONTH>
        <PAY_YEAR>decimal</PAY_YEAR>
        <ATTENDANCE_DATE>dateTime</ATTENDANCE_DATE>
        <EMP_NAME>string</EMP_NAME>
        <IN_TIME>decimal</IN_TIME>
        <OUT_TIME>decimal</OUT_TIME>
        <HOURS_WORKED>decimal</HOURS_WORKED>
        <USERCODE>string</USERCODE>
        <OT_HOURS>decimal</OT_HOURS>
        <DAY_NAME>string</DAY_NAME>
        <TXN_CODE1>string</TXN_CODE1>
        <TXN_CODE2>string</TXN_CODE2>
        <BRANCH_NAME>string</BRANCH_NAME>
        <BRANCH_CODE>string</BRANCH_CODE>
        <TXN_NAME>string</TXN_NAME>
        <DESCRIPTION>string</DESCRIPTION>
        <OFFICE_OPEN>decimal</OFFICE_OPEN>
        <LATE_HOURS>decimal</LATE_HOURS>
        <OFFICE_CLOSE>decimal</OFFICE_CLOSE>
        <EARLY_HOURS>decimal</EARLY_HOURS>
        <ORGNL_IN_TIME>decimal</ORGNL_IN_TIME>
        <ORGNL_OUT_TIME>decimal</ORGNL_OUT_TIME>
        <CHANGED_USER>string</CHANGED_USER>
        <CHANGED_DATE>dateTime</CHANGED_DATE>
        <CHANGED_USER_OUTTIME>string</CHANGED_USER_OUTTIME>
        <CHANGED_DATE_OUTTIME>dateTime</CHANGED_DATE_OUTTIME>
        <RECORD_DATE>dateTime</RECORD_DATE>
        <IN_DEVICE>string</IN_DEVICE>
        <OUT_DEVICE>string</OUT_DEVICE>
        <REQUESTED_REASON>string</REQUESTED_REASON>
        <REQUESTED_IN_TIME>decimal</REQUESTED_IN_TIME>
        <REQUESTED_OUT_TIME>decimal</REQUESTED_OUT_TIME>
        <REQUESTED_APPROVE_USER>string</REQUESTED_APPROVE_USER>
        <REQUESTED_APPROVE_DONE>int</REQUESTED_APPROVE_DONE>
        <REQUESTED_APPROVE_DATETIME>dateTime</REQUESTED_APPROVE_DATETIME>
        <LATITUDE_LABEL_OUT>string</LATITUDE_LABEL_OUT>
        <LONGITUDE_LABEL_OUT>string</LONGITUDE_LABEL_OUT>
        <GPS_LOCATION_NAME_OUT>string</GPS_LOCATION_NAME_OUT>
        <GPS_MORE_INFO_OUT>string</GPS_MORE_INFO_OUT>
        <LATITUDE_LABEL>string</LATITUDE_LABEL>
        <LONGITUDE_LABEL>string</LONGITUDE_LABEL>
        <GPS_LOCATION_NAME>string</GPS_LOCATION_NAME>
        <GPS_MORE_INFO>string</GPS_MORE_INFO>
        <ORIGINAL_IN>decimal</ORIGINAL_IN>
        <ORIGINAL_OUT>decimal</ORIGINAL_OUT>
        <ORIGINAL_TXN_NAME>string</ORIGINAL_TXN_NAME>
        <ORIGINAL_IN_LOCATION>string</ORIGINAL_IN_LOCATION>
        <ORIGINAL_OUT_LOCATION>string</ORIGINAL_OUT_LOCATION>
        <OT_VALUE_DAILY>decimal</OT_VALUE_DAILY>
      </Details>
      <IsIn>int</IsIn>
    </InsertSelfAttendance>
  </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>
    <InsertSelfAttendanceResponse xmlns="http://tempuri.org/">
      <InsertSelfAttendanceResult>string</InsertSelfAttendanceResult>
    </InsertSelfAttendanceResponse>
  </soap12:Body>
</soap12:Envelope>