wsdlGetTimeTrackerList

Lists time trackers for both active and non active users.

Input Values

Data Name

Data Type

Format

Comment

apiKey

String

-

selectionId

String

Unique ID of the selected type choosen

selectionType

Integer

1 = select by user badgeNo
2 = select by user id
3 = select by section id
4 = select by external section name/id
5 = select all units in current customer (selectionId is not set)
6 = select all in this unit (selectionId is not set)


Output Values

Data Name

Data Type

Format

Comment

timeTrackerListItem->item->userId

integer

timeTrackerListItem->item->timeTrackerId

integer

timeTrackerListItem->item->timeTrackerName

String

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:wsdlGetTimeTrackerList soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
        <apiKey xsi:type="xsd:string">xxxx-xxxx-xxxx-xxxx</apiKey>
        <selectionId xsi:type="xsd:string"></selectionId>
        <selectionType xsi:type="xsd:int"></selectionType>
     </uri:wsdlGetTimeTrackerList>
  </soapenv:Body>
</soapenv:Envelope>

Response

<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tns="http://qwfm/soap/FlexForce">
  <SOAP-ENV:Body>
     <ns1:wsdlGetTimeTrackerListResponse xmlns:ns1="uri:FlexForce">
        <return xsi:type="SOAP-ENC:Array" SOAP-ENC:arrayType="tns:timeTrackerListItem[2]">
           <item xsi:type="tns:timeTrackerListItem">
              <userId xsi:type="xsd:int">9999</userId>
              <timeTrackerId xsi:type="xsd:int">9999</timeTrackerId>
              <timeTrackerName xsi:type="xsd:string">Flex</timeTrackerName>
           </item>
           <item xsi:type="tns:timeTrackerListItem">
              <userId xsi:type="xsd:int">9999</userId>
              <timeTrackerId xsi:type="xsd:int">9998</timeTrackerId>
              <timeTrackerName xsi:type="xsd:string">Semesterdagar</timeTrackerName>
           </item>
        </return>
     </ns1:wsdlGetTimeTrackerListResponse>
  </SOAP-ENV:Body>
</SOAP-ENV:Envelope>