Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Method

GetEmployeeDocumentList

Retrieve list of meta-information for documents

EmployeeDocumentAdd

Method used to do the Add Employee Documents

EmployeeDocumentDelete

Method used to do the Delete Employee Documents

EmployeeDocumentUpdate

Method used to do the Update Employee Documents

GetEmployeeDocumentList

Minimum fields required in order to create the Employee.

...

Code Block
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://schemas.hr-manager.net/remoting/1.0/">
   <soapenv:Header/>
   <soapenv:Body>
      <ns:GetEmployeeDocumentList>
         <ns:request>
            <ns:AuthenticationToken></ns:AuthenticationToken>
            <ns:CustomerId></ns:CustomerId>
            <ns:ReferenceToken></ns:ReferenceToken>
            <ns:EmployeeId></ns:EmployeeId>
         </ns:request>
      </ns:GetEmployeeDocumentList>
   </soapenv:Body>
</soapenv:Envelope>

 

EmployeeDocumentAdd

Minimum fields required in order to create the Employee.

 

 

AuthenticationToken

This token is used to validate the request so that only authorized users can perform the import. This is to provide the security to the API and restrict the unauthorized access. We can either user customer specific API Key or the Master Key to get access to the system.

CustomerId

This is customer identification id to let system know where a particular employee should be imported

ReferenceToken

This field is required for the Import Employee request, however we can pass any value for now in this field.

EmployeeDocuments

Minimum one Document should be sent when adding employee document using the API.

Following fields should be set for each document:
-Contents
-DocumentCategory
-FileName and
-IsEmployeeVisible


Basic request structure:

Code Block
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://schemas.hr-manager.net/remoting/1.0/" xmlns:hrm="http://schemas.datacontract.org/2004/07/HRMTS.TalentManager.Common.Models.Remoting.Employees">
   <soapenv:Header/>
   <soapenv:Body>
      <ns:EmployeeDocumentAdd>
         <ns:request>
            <ns:AuthenticationToken></ns:AuthenticationToken>
            <ns:CustomerId></ns:CustomerId>            
            <ns:ReferenceToken></ns:ReferenceToken>
            <ns:EmployeeDocuments>
               <hrm:EmployeeDocument>
                  <hrm:Content></hrm:Content>
                  <hrm:DocumentCategory></hrm:DocumentCategory>
                  <hrm:FileName></hrm:FileName>
                  <hrm:IsEmployeeVisible></hrm:IsEmployeeVisible>
               </hrm:EmployeeDocument>
            </ns:EmployeeDocuments>
            <ns:EmployeeId></ns:EmployeeId>
         </ns:request>
      </ns:EmployeeDocumentAdd>
   </soapenv:Body>
</soapenv:Envelope>

 

EmployeeDocumentDelete

Minimum fields required

 

 

AuthenticationToken

This token is used to validate the request so that only authorized users can perform the import. This is to provide the security to the API and restrict the unauthorized access. We can either user customer specific API Key or the Master Key to get access to the system.

CustomerId

This is customer identification id to let system know where a particular employee should be imported

ReferenceToken

This field is required for the Import Employee request, however we can pass any value for now in this field.

EmployeeDocuments

Minimum one Document should be sent when deleting employee documents using the API.

Following fields should be set for each document:
-DocumentId - DocumentId used in TMAN System.
-EmployeeId - EmployeeId of the employee in -TMAN System.
-FileName - FileName of the document to be deleted. If the file name does not match document won't be deleted.


Basic request structure:

Code Block
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://schemas.hr-manager.net/remoting/1.0/" xmlns:hrm="http://schemas.datacontract.org/2004/07/HRMTS.TalentManager.Common.Models.Remoting.Employees">
   <soapenv:Header/>
   <soapenv:Body>
      <ns:EmployeeDocumentDelete>
         <ns:request>
            <ns:AuthenticationToken></ns:AuthenticationToken>
            <ns:CustomerId></ns:CustomerId>            
            <ns:ReferenceToken></ns:ReferenceToken>
            <ns:EmployeeDocuments>
               <hrm:EmployeeDocumentDelete>
                  <hrm:DocumentId></hrm:DocumentId>
                  <hrm:EmployeeId></hrm:EmployeeId>
                  <hrm:FileName></hrm:FileName>
               </hrm:EmployeeDocumentDelete>
            </ns:EmployeeDocuments>
         </ns:request>
      </ns:EmployeeDocumentDelete>
   </soapenv:Body>
</soapenv:Envelope>

 

EmployeeDocumentUpdate

Minimum fields required in order to update.

 

 

AuthenticationToken

This token is used to validate the request so that only authorized users can perform the import. This is to provide the security to the API and restrict the unauthorized access. We can either user customer specific API Key or the Master Key to get access to the system.

CustomerId

This is customer identification id to let system know where a particular employee should be imported

ReferenceToken

This field is required for the Import Employee request, however we can pass any value for now in this field.

EmployeeDocuments

Minimum one Document should be sent when updating employee documents using the API. Following fields should be set for each document:
-DocumentId
-DocumentCategory
-IsEmployeeVisible


Basic request structure:

Code Block
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://schemas.hr-manager.net/remoting/1.0/" xmlns:hrm="http://schemas.datacontract.org/2004/07/HRMTS.TalentManager.Common.Models.Remoting.Employees">
   <soapenv:Header/>
   <soapenv:Body>
      <ns:EmployeeDocumentUpdate>
         <ns:request>
            <ns:AuthenticationToken></ns:AuthenticationToken>
            <ns:CustomerId></ns:CustomerId>            
            <ns:ReferenceToken></ns:ReferenceToken>
            <ns:EmployeeDocuments>
               <hrm:EmployeeDocument>
                  <hrm:DocumentCategory></hrm:DocumentCategory>
                  <hrm:DocumentId></hrm:DocumentId>
                  <hrm:IsEmployeeVisible></hrm:IsEmployeeVisible>
               </hrm:EmployeeDocument>
            </ns:EmployeeDocuments>
            <ns:EmployeeId></ns:EmployeeId>
         </ns:request>
      </ns:EmployeeDocumentUpdate>
   </soapenv:Body>
</soapenv:Envelope>