wsAPISmartTID


Click here for a complete list of operations.

CreateEmployee

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 /wsAPISmartTID.asmx HTTP/1.1
Host: secureapi.smarttid.dk
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://api.smarttid.dk/CreateEmployee"

<?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>
    <CreateEmployee xmlns="http://api.smarttid.dk/">
      <sAPIKey>string</sAPIKey>
      <sEmployeeCode>string</sEmployeeCode>
      <sName>string</sName>
      <sAddress>string</sAddress>
      <sZipCode>string</sZipCode>
      <sCity>string</sCity>
      <sPhone>string</sPhone>
      <sCellPhone>string</sCellPhone>
      <sEmail>string</sEmail>
      <sCPRNo>string</sCPRNo>
      <sDepartmentCode>string</sDepartmentCode>
      <sDepartmentName>string</sDepartmentName>
      <sWorkCalendarCode>string</sWorkCalendarCode>
      <sWorkFunctionCode>string</sWorkFunctionCode>
      <sWorkFunctionName>string</sWorkFunctionName>
      <sPayrollTypeCode>string</sPayrollTypeCode>
      <sPayrollTypeName>string</sPayrollTypeName>
      <sJournalCode>string</sJournalCode>
      <sJournalName>string</sJournalName>
      <sEmployedStartDate>string</sEmployedStartDate>
      <sEmployedEndDate>string</sEmployedEndDate>
      <dtEmployedStartDate>dateTime</dtEmployedStartDate>
      <dtEmployedEndDate>dateTime</dtEmployedEndDate>
      <sTeamleaderCode>string</sTeamleaderCode>
      <bActive>boolean</bActive>
      <sEmployeeCode2>string</sEmployeeCode2>
      <sGroundsForTerminationCode>string</sGroundsForTerminationCode>
      <sDistrictCode>string</sDistrictCode>
      <sEmployeeGroupCode>string</sEmployeeGroupCode>
      <sProfileCode>string</sProfileCode>
      <sOldEmployeeCode>string</sOldEmployeeCode>
      <sSystemID>string</sSystemID>
      <sTAG>string</sTAG>
      <sTemplateCode>string</sTemplateCode>
      <sDimensionCode1>string</sDimensionCode1>
      <sDimensionCode2>string</sDimensionCode2>
      <sDimensionCode3>string</sDimensionCode3>
      <sDimensionCode4>string</sDimensionCode4>
      <sDimensionCode5>string</sDimensionCode5>
      <bTransferToPayroll>boolean</bTransferToPayroll>
    </CreateEmployee>
  </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>
    <CreateEmployeeResponse xmlns="http://api.smarttid.dk/" />
  </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 /wsAPISmartTID.asmx HTTP/1.1
Host: secureapi.smarttid.dk
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>
    <CreateEmployee xmlns="http://api.smarttid.dk/">
      <sAPIKey>string</sAPIKey>
      <sEmployeeCode>string</sEmployeeCode>
      <sName>string</sName>
      <sAddress>string</sAddress>
      <sZipCode>string</sZipCode>
      <sCity>string</sCity>
      <sPhone>string</sPhone>
      <sCellPhone>string</sCellPhone>
      <sEmail>string</sEmail>
      <sCPRNo>string</sCPRNo>
      <sDepartmentCode>string</sDepartmentCode>
      <sDepartmentName>string</sDepartmentName>
      <sWorkCalendarCode>string</sWorkCalendarCode>
      <sWorkFunctionCode>string</sWorkFunctionCode>
      <sWorkFunctionName>string</sWorkFunctionName>
      <sPayrollTypeCode>string</sPayrollTypeCode>
      <sPayrollTypeName>string</sPayrollTypeName>
      <sJournalCode>string</sJournalCode>
      <sJournalName>string</sJournalName>
      <sEmployedStartDate>string</sEmployedStartDate>
      <sEmployedEndDate>string</sEmployedEndDate>
      <dtEmployedStartDate>dateTime</dtEmployedStartDate>
      <dtEmployedEndDate>dateTime</dtEmployedEndDate>
      <sTeamleaderCode>string</sTeamleaderCode>
      <bActive>boolean</bActive>
      <sEmployeeCode2>string</sEmployeeCode2>
      <sGroundsForTerminationCode>string</sGroundsForTerminationCode>
      <sDistrictCode>string</sDistrictCode>
      <sEmployeeGroupCode>string</sEmployeeGroupCode>
      <sProfileCode>string</sProfileCode>
      <sOldEmployeeCode>string</sOldEmployeeCode>
      <sSystemID>string</sSystemID>
      <sTAG>string</sTAG>
      <sTemplateCode>string</sTemplateCode>
      <sDimensionCode1>string</sDimensionCode1>
      <sDimensionCode2>string</sDimensionCode2>
      <sDimensionCode3>string</sDimensionCode3>
      <sDimensionCode4>string</sDimensionCode4>
      <sDimensionCode5>string</sDimensionCode5>
      <bTransferToPayroll>boolean</bTransferToPayroll>
    </CreateEmployee>
  </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>
    <CreateEmployeeResponse xmlns="http://api.smarttid.dk/" />
  </soap12:Body>
</soap12:Envelope>