GET api/timeDashboard/functionsInWarehouse/{id}
Return a list of functions currently being used and how many people are in that function
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
The warehouse we are searching in.. |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of timeFunctionsInWarehouse| Name | Description | Type | Additional information |
|---|---|---|---|
| FunctionID | integer |
None. |
|
| FunctionCode | integer |
None. |
|
| FunctionName | string |
None. |
|
| WarehouseID | integer |
None. |
|
| NumberOfEmployees | integer |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"FunctionID": 1,
"FunctionCode": 2,
"FunctionName": "sample string 3",
"WarehouseID": 4,
"NumberOfEmployees": 5
},
{
"FunctionID": 1,
"FunctionCode": 2,
"FunctionName": "sample string 3",
"WarehouseID": 4,
"NumberOfEmployees": 5
}
]
application/xml, text/xml
Sample:
<ArrayOftimeFunctionsInWarehouse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Data.Tables">
<timeFunctionsInWarehouse>
<FunctionCode>2</FunctionCode>
<FunctionID>1</FunctionID>
<FunctionName>sample string 3</FunctionName>
<NumberOfEmployees>5</NumberOfEmployees>
<WarehouseID>4</WarehouseID>
</timeFunctionsInWarehouse>
<timeFunctionsInWarehouse>
<FunctionCode>2</FunctionCode>
<FunctionID>1</FunctionID>
<FunctionName>sample string 3</FunctionName>
<NumberOfEmployees>5</NumberOfEmployees>
<WarehouseID>4</WarehouseID>
</timeFunctionsInWarehouse>
</ArrayOftimeFunctionsInWarehouse>