wsdlGetDeletedEmployees

Description

Used to fetch summary of deleted employees.

Notes

Request

Parameter

Data type

Required

Format/example

Comment

apiKey

String

Mandatory

1111-1111-1111-1111

deletedSince

DateTime

Optional

2018-10-27 00:00:00

Return only employees which have been deleted after the provided date/time.

Response

Parameter

Data type

Required

Format/example

Comment

Array of DeletedEmployee

Mandatory

See separate table below

DeletedEmployee

Parameter

Data type

Required

Format/example

Comment

persId

Integer

815918

Employee ID

unitId

Integer

22848

ID of employee’s unit

badgeNo

String

1245813

Employee badge no

deleted

DateTime

2018-10-10 17:04:59

When employee was deleted

Example request

<soapenv:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:uri="uri:FlexForce">

   <soapenv:Header/>

   <soapenv:Body>

          <uri:wsdlGetDeletedEmployees soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">

             <apiKey xsi:type="xsd:string">1111-1111-1111-1111</apiKey>

             <deletedSince xsi:type="xsd:string">2018-10-01 00:00:00</deletedSince>

          </uri:wsdlGetDeletedEmployees>

   </soapenv:Body>

</soapenv:Envelope>

Change log

Date

Released in version

Description

Author

2018-10-10

346

Method created.

Torbjörn Stabo