GET api/Worker/GetTeams?startDate={startDate}&endDate={endDate}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| startDate | date |
Required |
|
| endDate | date |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of TeamDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| CodeValue | string |
None. |
|
| Denomination | string |
None. |
|
| DenominationReferent | string |
None. |
|
| WorkerNumber | integer |
None. |
|
| HourlyCostForWorker | decimal number |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"Id": 1,
"CodeValue": "sample string 2",
"Denomination": "sample string 3",
"DenominationReferent": "sample string 4",
"WorkerNumber": 5,
"HourlyCostForWorker": 6.0
},
{
"Id": 1,
"CodeValue": "sample string 2",
"Denomination": "sample string 3",
"DenominationReferent": "sample string 4",
"WorkerNumber": 5,
"HourlyCostForWorker": 6.0
}
]
application/xml, text/xml
Sample:
<ArrayOfTeamDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RestApi.DTO.FarmingOperation">
<TeamDto>
<CodeValue>sample string 2</CodeValue>
<Denomination>sample string 3</Denomination>
<DenominationReferent>sample string 4</DenominationReferent>
<HourlyCostForWorker>6</HourlyCostForWorker>
<Id>1</Id>
<WorkerNumber>5</WorkerNumber>
</TeamDto>
<TeamDto>
<CodeValue>sample string 2</CodeValue>
<Denomination>sample string 3</Denomination>
<DenominationReferent>sample string 4</DenominationReferent>
<HourlyCostForWorker>6</HourlyCostForWorker>
<Id>1</Id>
<WorkerNumber>5</WorkerNumber>
</TeamDto>
</ArrayOfTeamDto>