GET api/timeClientFunction/employeeClients?employeeID={employeeID}&clients={clients}

Fetches a list of functions (timeFunctionList) that apply to the Employee specified as well as ALL of the clients referenced by ClientID in the list This is used to provide a list of valid functions on the EmployeeDateDetail page that apply to the existing list of clients in track segments attached to a time segment for a given employee

Request Information

URI Parameters

NameDescriptionTypeAdditional information
employeeID

The EmployeeID who must be assigned to any functions returned

integer

Required

clients

A list of clientIDs representing the list of clients all of which must be assigned to any functions returned.

string

Required

Body Parameters

None.

Response Information

Resource Description

Collection of timeFunctionList
NameDescriptionTypeAdditional information
FunctionID

integer

None.

FunctionCode

integer

None.

FunctionName

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "FunctionID": 1,
    "FunctionCode": 2,
    "FunctionName": "sample string 3"
  },
  {
    "FunctionID": 1,
    "FunctionCode": 2,
    "FunctionName": "sample string 3"
  }
]

application/xml, text/xml

Sample:
<ArrayOftimeFunctionList xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Data.Tables">
  <timeFunctionList>
    <FunctionCode>2</FunctionCode>
    <FunctionID>1</FunctionID>
    <FunctionName>sample string 3</FunctionName>
  </timeFunctionList>
  <timeFunctionList>
    <FunctionCode>2</FunctionCode>
    <FunctionID>1</FunctionID>
    <FunctionName>sample string 3</FunctionName>
  </timeFunctionList>
</ArrayOftimeFunctionList>