GET api/Agenda/GetTaskDetailsById?taskId={taskId}&taskMultifieldId={taskMultifieldId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| taskId | integer |
None. |
|
| taskMultifieldId | integer |
None. |
Body Parameters
None.
Response Information
Resource Description
TaskDetailsDto| Name | Description | Type | Additional information |
|---|---|---|---|
| MultiFieldTaskField | Collection of TaskMultifieldDto |
None. |
|
| TaskFarmingOperation | TaskFarmingOperationDto |
None. |
|
| Title | string |
None. |
|
| Note | string |
None. |
|
| TaskType | TaskType |
None. |
|
| StartDate | date |
None. |
|
| EndDate | date |
None. |
|
| StartHour | time interval |
None. |
|
| Duration | time interval |
None. |
|
| Field | FieldDto |
None. |
|
| WorkerCount | integer |
None. |
|
| TeamLeadDenomination | string |
None. |
|
| PackageType | string |
None. |
|
| Quantity | decimal number |
None. |
|
| TaskId | integer |
None. |
|
| TaskMultifieldId | integer |
None. |
|
| TaskState | TaskStateType |
None. |
|
| IsMultiLotto | boolean |
None. |
|
| MessageState | string |
None. |
|
| DoneStartDateTime | date |
None. |
|
| DoneEndDateTime | date |
None. |
Response Formats
application/json, text/json
Sample:
{
"MultiFieldTaskField": [
{
"Field": {
"FieldName": "sample string 1",
"LandId": 2,
"LandName": "sample string 3",
"ProductId": 1,
"ProductName": "sample string 4",
"ProductColor": "sample string 5",
"OccupiedArea": 6.0,
"GeoJson": null,
"SeasonYear": 7,
"SeasonStartDate": "2026-06-22T08:17:34.5178747+02:00",
"SeasonEndDate": "2026-06-22T08:17:34.5178747+02:00",
"SeasonState": 0,
"Id": 8,
"CreatedOnDate": "2026-06-22T08:17:34.5178747+02:00"
},
"TaskId": 1,
"TaskMultifieldId": 1,
"TaskState": 0,
"IsMultiLotto": true,
"MessageState": "sample string 2",
"DoneStartDateTime": "2026-06-22T08:17:34.5178747+02:00",
"DoneEndDateTime": "2026-06-22T08:17:34.5178747+02:00"
},
{
"Field": {
"FieldName": "sample string 1",
"LandId": 2,
"LandName": "sample string 3",
"ProductId": 1,
"ProductName": "sample string 4",
"ProductColor": "sample string 5",
"OccupiedArea": 6.0,
"GeoJson": null,
"SeasonYear": 7,
"SeasonStartDate": "2026-06-22T08:17:34.5178747+02:00",
"SeasonEndDate": "2026-06-22T08:17:34.5178747+02:00",
"SeasonState": 0,
"Id": 8,
"CreatedOnDate": "2026-06-22T08:17:34.5178747+02:00"
},
"TaskId": 1,
"TaskMultifieldId": 1,
"TaskState": 0,
"IsMultiLotto": true,
"MessageState": "sample string 2",
"DoneStartDateTime": "2026-06-22T08:17:34.5178747+02:00",
"DoneEndDateTime": "2026-06-22T08:17:34.5178747+02:00"
}
],
"TaskFarmingOperation": {
"Workers": [
{
"FirstName": "sample string 1",
"LastNameOrBusinessName": "sample string 2",
"OperationDuration": "00:00:00.1234567",
"OperationDurationTotalMinutes": 4.1,
"OperationDurationTotalHours": 5.1,
"OperationDurationTotalDays": 6.1,
"Id": 7,
"CreatedOnDate": "2026-06-22T08:17:34.5178747+02:00"
},
{
"FirstName": "sample string 1",
"LastNameOrBusinessName": "sample string 2",
"OperationDuration": "00:00:00.1234567",
"OperationDurationTotalMinutes": 4.1,
"OperationDurationTotalHours": 5.1,
"OperationDurationTotalDays": 6.1,
"Id": 7,
"CreatedOnDate": "2026-06-22T08:17:34.5178747+02:00"
}
],
"Suppliers": [
{
"FirstName": "sample string 1",
"LastNameOrBusinessName": "sample string 2",
"OperationDuration": "00:00:00.1234567",
"OperationDurationTotalMinutes": 4.1,
"OperationDurationTotalHours": 5.1,
"OperationDurationTotalDays": 6.1,
"Id": 7,
"CreatedOnDate": "2026-06-22T08:17:34.5178747+02:00"
},
{
"FirstName": "sample string 1",
"LastNameOrBusinessName": "sample string 2",
"OperationDuration": "00:00:00.1234567",
"OperationDurationTotalMinutes": 4.1,
"OperationDurationTotalHours": 5.1,
"OperationDurationTotalDays": 6.1,
"Id": 7,
"CreatedOnDate": "2026-06-22T08:17:34.5178747+02:00"
}
],
"Teams": [
{
"Name": "sample string 1",
"TeamLeader": "sample string 2",
"OperationDuration": "00:00:00.1234567",
"OperationDurationTotalMinutes": 4.1,
"OperationDurationTotalHours": 5.1,
"OperationDurationTotalDays": 6.1,
"Id": 7,
"CreatedOnDate": "2026-06-22T08:17:34.5178747+02:00"
},
{
"Name": "sample string 1",
"TeamLeader": "sample string 2",
"OperationDuration": "00:00:00.1234567",
"OperationDurationTotalMinutes": 4.1,
"OperationDurationTotalHours": 5.1,
"OperationDurationTotalDays": 6.1,
"Id": 7,
"CreatedOnDate": "2026-06-22T08:17:34.5178747+02:00"
}
],
"Machinery": [
{
"MachineryName": "sample string 1",
"OperationDuration": "00:00:00.1234567",
"OperationDurationTotalMinutes": 3.1,
"OperationDurationTotalHours": 4.1,
"OperationDurationTotalDays": 5.1,
"Id": 6,
"CreatedOnDate": "2026-06-22T08:17:34.5178747+02:00"
},
{
"MachineryName": "sample string 1",
"OperationDuration": "00:00:00.1234567",
"OperationDurationTotalMinutes": 3.1,
"OperationDurationTotalHours": 4.1,
"OperationDurationTotalDays": 5.1,
"Id": 6,
"CreatedOnDate": "2026-06-22T08:17:34.5178747+02:00"
}
],
"Products": [
{
"Name": "sample string 1",
"Quantity": 2.0,
"Dose": 1.0,
"UnitOfMeasureAcronym": "sample string 3",
"DoseLabel": "sample string 3/ha",
"Id": 4,
"CreatedOnDate": "2026-06-22T08:17:34.5178747+02:00"
},
{
"Name": "sample string 1",
"Quantity": 2.0,
"Dose": 1.0,
"UnitOfMeasureAcronym": "sample string 3",
"DoseLabel": "sample string 3/ha",
"Id": 4,
"CreatedOnDate": "2026-06-22T08:17:34.5178747+02:00"
}
],
"WaterUsedForTreatment": 1.0,
"WaterUsedPerHectara": 1.0
},
"Title": "sample string 1",
"Note": "sample string 2",
"TaskType": 0,
"StartDate": "2026-06-22T08:17:34.5178747+02:00",
"EndDate": "2026-06-22T08:17:34.5178747+02:00",
"StartHour": "00:00:00.1234567",
"Duration": "00:00:00.1234567",
"Field": {
"FieldName": "sample string 1",
"LandId": 2,
"LandName": "sample string 3",
"ProductId": 1,
"ProductName": "sample string 4",
"ProductColor": "sample string 5",
"OccupiedArea": 6.0,
"GeoJson": null,
"SeasonYear": 7,
"SeasonStartDate": "2026-06-22T08:17:34.5178747+02:00",
"SeasonEndDate": "2026-06-22T08:17:34.5178747+02:00",
"SeasonState": 0,
"Id": 8,
"CreatedOnDate": "2026-06-22T08:17:34.5178747+02:00"
},
"WorkerCount": 5,
"TeamLeadDenomination": "sample string 6",
"PackageType": "sample string 7",
"Quantity": 1.0,
"TaskId": 1,
"TaskMultifieldId": 1,
"TaskState": 0,
"IsMultiLotto": true,
"MessageState": "sample string 9",
"DoneStartDateTime": "2026-06-22T08:17:34.5178747+02:00",
"DoneEndDateTime": "2026-06-22T08:17:34.5178747+02:00"
}
application/xml
Sample:
Sample not available.
text/xml
Sample:
Sample not available.