ProcEngWebService


Click here for a complete list of operations.

GetAbsenceCode

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 /MobileSSMWS/ProcEngWebService.asmx HTTP/1.1
Host: ta.nmwtra.org.uk
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://www.tensor.com/GetAbsenceCode"

<?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>
    <GetAbsenceCode xmlns="http://www.tensor.com/">
      <token>string</token>
      <systemID>int</systemID>
      <sysDT>dateTime</sysDT>
      <absenceCodeID>int</absenceCodeID>
    </GetAbsenceCode>
  </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>
    <GetAbsenceCodeResponse xmlns="http://www.tensor.com/">
      <GetAbsenceCodeResult>
        <EWSExportToExchange>int</EWSExportToExchange>
        <EWSShowAsPrivate>int</EWSShowAsPrivate>
        <EWSShowTimeAs>int</EWSShowTimeAs>
        <EWSExportColor>int</EWSExportColor>
        <TreatAsNonUseCard>int</TreatAsNonUseCard>
        <AbsenceCodeID>int</AbsenceCodeID>
        <AbsenceCode>string</AbsenceCode>
        <Description>string</Description>
        <AbsenceCategoryID>int</AbsenceCategoryID>
        <AbsenceCategoryName>string</AbsenceCategoryName>
        <PayRateType>int</PayRateType>
        <PayRateTypeName>string</PayRateTypeName>
        <EnhancedPaybandID>int</EnhancedPaybandID>
        <EnhancedPaybandName>string</EnhancedPaybandName>
        <PayRollExportTag>string</PayRollExportTag>
        <AbsenceTextColor>string</AbsenceTextColor>
        <AbsenceBackColor>string</AbsenceBackColor>
        <AccountingUnitRuleName>string</AccountingUnitRuleName>
        <ExcludefromWTR>int</ExcludefromWTR>
        <TreatAsBreak>int</TreatAsBreak>
        <AbsenceWorked>int</AbsenceWorked>
        <AccountingUnitRule>int</AccountingUnitRule>
        <WarningThresholddays>int</WarningThresholddays>
        <WarningThresholdOccurences>int</WarningThresholdOccurences>
        <InsertDefaultJob>int</InsertDefaultJob>
        <TreatAsRestDay>int</TreatAsRestDay>
        <MultidayReason>int</MultidayReason>
        <LastUpdate>dateTime</LastUpdate>
        <IncludeInLTSCalc>int</IncludeInLTSCalc>
        <IncludeInAMCalc>int</IncludeInAMCalc>
        <PayIsAveraged>int</PayIsAveraged>
        <PayAveragePeriod>int</PayAveragePeriod>
        <PayAverageStartDay>int</PayAverageStartDay>
        <AveragedPaybandID>int</AveragedPaybandID>
        <LockEmployeeOnUse>boolean</LockEmployeeOnUse>
        <ParentID>int</ParentID>
        <ObjDescription>string</ObjDescription>
      </GetAbsenceCodeResult>
    </GetAbsenceCodeResponse>
  </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 /MobileSSMWS/ProcEngWebService.asmx HTTP/1.1
Host: ta.nmwtra.org.uk
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>
    <GetAbsenceCode xmlns="http://www.tensor.com/">
      <token>string</token>
      <systemID>int</systemID>
      <sysDT>dateTime</sysDT>
      <absenceCodeID>int</absenceCodeID>
    </GetAbsenceCode>
  </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>
    <GetAbsenceCodeResponse xmlns="http://www.tensor.com/">
      <GetAbsenceCodeResult>
        <EWSExportToExchange>int</EWSExportToExchange>
        <EWSShowAsPrivate>int</EWSShowAsPrivate>
        <EWSShowTimeAs>int</EWSShowTimeAs>
        <EWSExportColor>int</EWSExportColor>
        <TreatAsNonUseCard>int</TreatAsNonUseCard>
        <AbsenceCodeID>int</AbsenceCodeID>
        <AbsenceCode>string</AbsenceCode>
        <Description>string</Description>
        <AbsenceCategoryID>int</AbsenceCategoryID>
        <AbsenceCategoryName>string</AbsenceCategoryName>
        <PayRateType>int</PayRateType>
        <PayRateTypeName>string</PayRateTypeName>
        <EnhancedPaybandID>int</EnhancedPaybandID>
        <EnhancedPaybandName>string</EnhancedPaybandName>
        <PayRollExportTag>string</PayRollExportTag>
        <AbsenceTextColor>string</AbsenceTextColor>
        <AbsenceBackColor>string</AbsenceBackColor>
        <AccountingUnitRuleName>string</AccountingUnitRuleName>
        <ExcludefromWTR>int</ExcludefromWTR>
        <TreatAsBreak>int</TreatAsBreak>
        <AbsenceWorked>int</AbsenceWorked>
        <AccountingUnitRule>int</AccountingUnitRule>
        <WarningThresholddays>int</WarningThresholddays>
        <WarningThresholdOccurences>int</WarningThresholdOccurences>
        <InsertDefaultJob>int</InsertDefaultJob>
        <TreatAsRestDay>int</TreatAsRestDay>
        <MultidayReason>int</MultidayReason>
        <LastUpdate>dateTime</LastUpdate>
        <IncludeInLTSCalc>int</IncludeInLTSCalc>
        <IncludeInAMCalc>int</IncludeInAMCalc>
        <PayIsAveraged>int</PayIsAveraged>
        <PayAveragePeriod>int</PayAveragePeriod>
        <PayAverageStartDay>int</PayAverageStartDay>
        <AveragedPaybandID>int</AveragedPaybandID>
        <LockEmployeeOnUse>boolean</LockEmployeeOnUse>
        <ParentID>int</ParentID>
        <ObjDescription>string</ObjDescription>
      </GetAbsenceCodeResult>
    </GetAbsenceCodeResponse>
  </soap12:Body>
</soap12:Envelope>