POST api/TaskAssign
Request Information
URI Parameters
None.
Body Parameters
TaskAssignRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| tasksToAssign | Collection of globally unique identifier |
None. |
|
| assignToPilotId | globally unique identifier |
None. |
|
| executionDate | date |
None. |
|
| statusId | globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{
"tasksToAssign": [
"b24b5c69-c8f6-4200-9efd-691c87c63d74",
"abfd128a-4746-4dd8-aac7-79f39151f678"
],
"assignToPilotId": "1aaf2ac1-7a14-49e9-83ad-93eec9b3cb35",
"executionDate": "2026-03-20T18:36:24.1793097+00:00",
"statusId": "1914a968-a3aa-4d37-8290-54be940c73a2"
}
text/html
Sample:
{"tasksToAssign":["b24b5c69-c8f6-4200-9efd-691c87c63d74","abfd128a-4746-4dd8-aac7-79f39151f678"],"assignToPilotId":"1aaf2ac1-7a14-49e9-83ad-93eec9b3cb35","executionDate":"2026-03-20T18:36:24.1793097+00:00","statusId":"1914a968-a3aa-4d37-8290-54be940c73a2"}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Collection of Task| Name | Description | Type | Additional information |
|---|---|---|---|
| taskId | globally unique identifier |
None. |
|
| customerId | globally unique identifier |
None. |
|
| fieldId | globally unique identifier |
None. |
|
| materialId | globally unique identifier |
None. |
|
| protocolId | globally unique identifier |
None. |
|
| statusId | globally unique identifier |
None. |
|
| createdDate | date |
None. |
|
| executionDate | date |
None. |
|
| executionTeam | string |
None. |
|
| pilotId | globally unique identifier |
None. |
|
| approvedExecutionDate | date |
None. |
|
| approvedStatusId | globally unique identifier |
None. |
|
| scheduledDate | date |
None. |
|
| scheduledTeam | string |
None. |
|
| executionStatusId | globally unique identifier |
None. |
|
| Customer | Customer |
None. |
|
| Material | Material |
None. |
|
| Pilot | Pilot |
None. |
|
| Status | Status |
None. |
|
| Field | Field |
None. |
|
| Protocol | Protocol |
None. |
|
| ApprovedStatus | Status |
None. |
|
| ExecutionStatus | Status |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"taskId": "607b009c-d3ea-4ae5-a21f-5a91abcafeca",
"customerId": "8c5996d5-dce3-441a-9d4d-7bcfe67347e7",
"fieldId": "846b82c7-50bf-43cf-a60d-a380cd46bde9",
"materialId": "f16cf0bd-d8cf-48fb-9521-668031d71899",
"protocolId": "df3d1b9c-e8d9-472c-bf5f-c09ad548f56d",
"statusId": "0b69e459-70d8-426f-b8f5-bb7284a912fc",
"createdDate": "2026-03-20T18:36:24.3044116+00:00",
"executionDate": "2026-03-20T18:36:24.3044116+00:00",
"executionTeam": "sample string 8",
"pilotId": "d59582a9-f86c-421e-bcc8-b8beaeebf2c7",
"approvedExecutionDate": "2026-03-20T18:36:24.3044116+00:00",
"approvedStatusId": "7bb5847c-9a88-4a43-bab2-b76c0f9affc5",
"scheduledDate": "2026-03-20T18:36:24.3044116+00:00",
"scheduledTeam": "sample string 9",
"executionStatusId": "85cf3140-0688-4146-8287-456540b0ad5d",
"Customer": {
"customerId": "ecf76e57-04bc-4c78-a1ed-6adc97e1dd81",
"name": "sample string 2",
"phone": "sample string 3",
"email": "sample string 4",
"dateCreated": "2026-03-20T18:36:24.3044116+00:00"
},
"Material": {
"materialId": "5d913438-46d4-443f-affa-412a432118a5",
"name": "sample string 2",
"createdDate": "2026-03-20T18:36:24.3044116+00:00"
},
"Pilot": {
"pilotId": "5d8797d0-a30e-4ee7-82d8-5562e4e1f343",
"name": "sample string 2",
"pilotTypeId": "f87ec2da-73b0-4a66-8293-9ef4d3a3fa5d",
"phone": "sample string 4",
"isLicenseGimel": true,
"isLicenseRT": true,
"createdDate": "2026-03-20T18:36:24.3044116+00:00",
"PilotType": {
"pilotTypeId": "de9e3661-b274-4100-b304-6cbea2ca652b",
"name": "sample string 2"
}
},
"Status": {
"statusId": "03cae6e3-f3b1-4aac-84ad-6750bad84f9b",
"name": "sample string 2",
"createdDate": "2026-03-20T18:36:24.3044116+00:00"
},
"Field": {
"fieldId": "fa6c857a-67d5-4a35-a4ee-65630e99297d",
"customerId": "bbe071e8-39c1-4709-b680-b709645f43bb",
"coordinates": "sample string 3",
"cropName": "sample string 4",
"plotNumber": "sample string 5",
"plantingYear": 1,
"createdDate": "2026-03-20T18:36:24.3044116+00:00",
"fullyLoaded": true,
"moagId": "sample string 6",
"isDeleted": true,
"areaSquareMeters": 1.1,
"Customer": {
"customerId": "ecf76e57-04bc-4c78-a1ed-6adc97e1dd81",
"name": "sample string 2",
"phone": "sample string 3",
"email": "sample string 4",
"dateCreated": "2026-03-20T18:36:24.3044116+00:00"
}
},
"Protocol": {
"protocolId": "e85eeb81-c7dd-485d-8054-906848993a8a",
"name": "sample string 2",
"materialId": "c11ab6ef-c465-4a2e-b54c-67644cac0393",
"marginSpace": 4.1,
"rowSpace": 5.1,
"dunamVolume": 1.1,
"activeIngredientVolume": 1.1,
"waterVolume": 1.1,
"createdDate": "2026-03-20T18:36:24.3044116+00:00",
"payloadId": "07a9c985-8cd6-444a-a5cf-0be1ddf458fe",
"nozzle": "sample string 6",
"Material": {
"materialId": "5d913438-46d4-443f-affa-412a432118a5",
"name": "sample string 2",
"createdDate": "2026-03-20T18:36:24.3044116+00:00"
},
"Payload": {
"payloadId": "d8fc6933-b838-413b-802c-a514dc6761b5",
"name": "sample string 2",
"createdDate": "2026-03-20T18:36:24.3044116+00:00"
}
},
"ApprovedStatus": {
"statusId": "03cae6e3-f3b1-4aac-84ad-6750bad84f9b",
"name": "sample string 2",
"createdDate": "2026-03-20T18:36:24.3044116+00:00"
},
"ExecutionStatus": {
"statusId": "03cae6e3-f3b1-4aac-84ad-6750bad84f9b",
"name": "sample string 2",
"createdDate": "2026-03-20T18:36:24.3044116+00:00"
}
},
{
"taskId": "607b009c-d3ea-4ae5-a21f-5a91abcafeca",
"customerId": "8c5996d5-dce3-441a-9d4d-7bcfe67347e7",
"fieldId": "846b82c7-50bf-43cf-a60d-a380cd46bde9",
"materialId": "f16cf0bd-d8cf-48fb-9521-668031d71899",
"protocolId": "df3d1b9c-e8d9-472c-bf5f-c09ad548f56d",
"statusId": "0b69e459-70d8-426f-b8f5-bb7284a912fc",
"createdDate": "2026-03-20T18:36:24.3044116+00:00",
"executionDate": "2026-03-20T18:36:24.3044116+00:00",
"executionTeam": "sample string 8",
"pilotId": "d59582a9-f86c-421e-bcc8-b8beaeebf2c7",
"approvedExecutionDate": "2026-03-20T18:36:24.3044116+00:00",
"approvedStatusId": "7bb5847c-9a88-4a43-bab2-b76c0f9affc5",
"scheduledDate": "2026-03-20T18:36:24.3044116+00:00",
"scheduledTeam": "sample string 9",
"executionStatusId": "85cf3140-0688-4146-8287-456540b0ad5d",
"Customer": {
"customerId": "ecf76e57-04bc-4c78-a1ed-6adc97e1dd81",
"name": "sample string 2",
"phone": "sample string 3",
"email": "sample string 4",
"dateCreated": "2026-03-20T18:36:24.3044116+00:00"
},
"Material": {
"materialId": "5d913438-46d4-443f-affa-412a432118a5",
"name": "sample string 2",
"createdDate": "2026-03-20T18:36:24.3044116+00:00"
},
"Pilot": {
"pilotId": "5d8797d0-a30e-4ee7-82d8-5562e4e1f343",
"name": "sample string 2",
"pilotTypeId": "f87ec2da-73b0-4a66-8293-9ef4d3a3fa5d",
"phone": "sample string 4",
"isLicenseGimel": true,
"isLicenseRT": true,
"createdDate": "2026-03-20T18:36:24.3044116+00:00",
"PilotType": {
"pilotTypeId": "de9e3661-b274-4100-b304-6cbea2ca652b",
"name": "sample string 2"
}
},
"Status": {
"statusId": "03cae6e3-f3b1-4aac-84ad-6750bad84f9b",
"name": "sample string 2",
"createdDate": "2026-03-20T18:36:24.3044116+00:00"
},
"Field": {
"fieldId": "fa6c857a-67d5-4a35-a4ee-65630e99297d",
"customerId": "bbe071e8-39c1-4709-b680-b709645f43bb",
"coordinates": "sample string 3",
"cropName": "sample string 4",
"plotNumber": "sample string 5",
"plantingYear": 1,
"createdDate": "2026-03-20T18:36:24.3044116+00:00",
"fullyLoaded": true,
"moagId": "sample string 6",
"isDeleted": true,
"areaSquareMeters": 1.1,
"Customer": {
"customerId": "ecf76e57-04bc-4c78-a1ed-6adc97e1dd81",
"name": "sample string 2",
"phone": "sample string 3",
"email": "sample string 4",
"dateCreated": "2026-03-20T18:36:24.3044116+00:00"
}
},
"Protocol": {
"protocolId": "e85eeb81-c7dd-485d-8054-906848993a8a",
"name": "sample string 2",
"materialId": "c11ab6ef-c465-4a2e-b54c-67644cac0393",
"marginSpace": 4.1,
"rowSpace": 5.1,
"dunamVolume": 1.1,
"activeIngredientVolume": 1.1,
"waterVolume": 1.1,
"createdDate": "2026-03-20T18:36:24.3044116+00:00",
"payloadId": "07a9c985-8cd6-444a-a5cf-0be1ddf458fe",
"nozzle": "sample string 6",
"Material": {
"materialId": "5d913438-46d4-443f-affa-412a432118a5",
"name": "sample string 2",
"createdDate": "2026-03-20T18:36:24.3044116+00:00"
},
"Payload": {
"payloadId": "d8fc6933-b838-413b-802c-a514dc6761b5",
"name": "sample string 2",
"createdDate": "2026-03-20T18:36:24.3044116+00:00"
}
},
"ApprovedStatus": {
"statusId": "03cae6e3-f3b1-4aac-84ad-6750bad84f9b",
"name": "sample string 2",
"createdDate": "2026-03-20T18:36:24.3044116+00:00"
},
"ExecutionStatus": {
"statusId": "03cae6e3-f3b1-4aac-84ad-6750bad84f9b",
"name": "sample string 2",
"createdDate": "2026-03-20T18:36:24.3044116+00:00"
}
}
]
text/html
Sample:
[{"taskId":"607b009c-d3ea-4ae5-a21f-5a91abcafeca","customerId":"8c5996d5-dce3-441a-9d4d-7bcfe67347e7","fieldId":"846b82c7-50bf-43cf-a60d-a380cd46bde9","materialId":"f16cf0bd-d8cf-48fb-9521-668031d71899","protocolId":"df3d1b9c-e8d9-472c-bf5f-c09ad548f56d","statusId":"0b69e459-70d8-426f-b8f5-bb7284a912fc","createdDate":"2026-03-20T18:36:24.3044116+00:00","executionDate":"2026-03-20T18:36:24.3044116+00:00","executionTeam":"sample string 8","pilotId":"d59582a9-f86c-421e-bcc8-b8beaeebf2c7","approvedExecutionDate":"2026-03-20T18:36:24.3044116+00:00","approvedStatusId":"7bb5847c-9a88-4a43-bab2-b76c0f9affc5","scheduledDate":"2026-03-20T18:36:24.3044116+00:00","scheduledTeam":"sample string 9","executionStatusId":"85cf3140-0688-4146-8287-456540b0ad5d","Customer":{"customerId":"ecf76e57-04bc-4c78-a1ed-6adc97e1dd81","name":"sample string 2","phone":"sample string 3","email":"sample string 4","dateCreated":"2026-03-20T18:36:24.3044116+00:00"},"Material":{"materialId":"5d913438-46d4-443f-affa-412a432118a5","name":"sample string 2","createdDate":"2026-03-20T18:36:24.3044116+00:00"},"Pilot":{"pilotId":"5d8797d0-a30e-4ee7-82d8-5562e4e1f343","name":"sample string 2","pilotTypeId":"f87ec2da-73b0-4a66-8293-9ef4d3a3fa5d","phone":"sample string 4","isLicenseGimel":true,"isLicenseRT":true,"createdDate":"2026-03-20T18:36:24.3044116+00:00","PilotType":{"pilotTypeId":"de9e3661-b274-4100-b304-6cbea2ca652b","name":"sample string 2"}},"Status":{"statusId":"03cae6e3-f3b1-4aac-84ad-6750bad84f9b","name":"sample string 2","createdDate":"2026-03-20T18:36:24.3044116+00:00"},"Field":{"fieldId":"fa6c857a-67d5-4a35-a4ee-65630e99297d","customerId":"bbe071e8-39c1-4709-b680-b709645f43bb","coordinates":"sample string 3","cropName":"sample string 4","plotNumber":"sample string 5","plantingYear":1,"createdDate":"2026-03-20T18:36:24.3044116+00:00","fullyLoaded":true,"moagId":"sample string 6","isDeleted":true,"areaSquareMeters":1.1,"Customer":{"customerId":"ecf76e57-04bc-4c78-a1ed-6adc97e1dd81","name":"sample string 2","phone":"sample string 3","email":"sample string 4","dateCreated":"2026-03-20T18:36:24.3044116+00:00"}},"Protocol":{"protocolId":"e85eeb81-c7dd-485d-8054-906848993a8a","name":"sample string 2","materialId":"c11ab6ef-c465-4a2e-b54c-67644cac0393","marginSpace":4.1,"rowSpace":5.1,"dunamVolume":1.1,"activeIngredientVolume":1.1,"waterVolume":1.1,"createdDate":"2026-03-20T18:36:24.3044116+00:00","payloadId":"07a9c985-8cd6-444a-a5cf-0be1ddf458fe","nozzle":"sample string 6","Material":{"materialId":"5d913438-46d4-443f-affa-412a432118a5","name":"sample string 2","createdDate":"2026-03-20T18:36:24.3044116+00:00"},"Payload":{"payloadId":"d8fc6933-b838-413b-802c-a514dc6761b5","name":"sample string 2","createdDate":"2026-03-20T18:36:24.3044116+00:00"}},"ApprovedStatus":{"statusId":"03cae6e3-f3b1-4aac-84ad-6750bad84f9b","name":"sample string 2","createdDate":"2026-03-20T18:36:24.3044116+00:00"},"ExecutionStatus":{"statusId":"03cae6e3-f3b1-4aac-84ad-6750bad84f9b","name":"sample string 2","createdDate":"2026-03-20T18:36:24.3044116+00:00"}},{"taskId":"607b009c-d3ea-4ae5-a21f-5a91abcafeca","customerId":"8c5996d5-dce3-441a-9d4d-7bcfe67347e7","fieldId":"846b82c7-50bf-43cf-a60d-a380cd46bde9","materialId":"f16cf0bd-d8cf-48fb-9521-668031d71899","protocolId":"df3d1b9c-e8d9-472c-bf5f-c09ad548f56d","statusId":"0b69e459-70d8-426f-b8f5-bb7284a912fc","createdDate":"2026-03-20T18:36:24.3044116+00:00","executionDate":"2026-03-20T18:36:24.3044116+00:00","executionTeam":"sample string 8","pilotId":"d59582a9-f86c-421e-bcc8-b8beaeebf2c7","approvedExecutionDate":"2026-03-20T18:36:24.3044116+00:00","approvedStatusId":"7bb5847c-9a88-4a43-bab2-b76c0f9affc5","scheduledDate":"2026-03-20T18:36:24.3044116+00:00","scheduledTeam":"sample string 9","executionStatusId":"85cf3140-0688-4146-8287-456540b0ad5d","Customer":{"customerId":"ecf76e57-04bc-4c78-a1ed-6adc97e1dd81","name":"sample string 2","phone":"sample string 3","email":"sample string 4","dateCreated":"2026-03-20T18:36:24.3044116+00:00"},"Material":{"materialId":"5d913438-46d4-443f-affa-412a432118a5","name":"sample string 2","createdDate":"2026-03-20T18:36:24.3044116+00:00"},"Pilot":{"pilotId":"5d8797d0-a30e-4ee7-82d8-5562e4e1f343","name":"sample string 2","pilotTypeId":"f87ec2da-73b0-4a66-8293-9ef4d3a3fa5d","phone":"sample string 4","isLicenseGimel":true,"isLicenseRT":true,"createdDate":"2026-03-20T18:36:24.3044116+00:00","PilotType":{"pilotTypeId":"de9e3661-b274-4100-b304-6cbea2ca652b","name":"sample string 2"}},"Status":{"statusId":"03cae6e3-f3b1-4aac-84ad-6750bad84f9b","name":"sample string 2","createdDate":"2026-03-20T18:36:24.3044116+00:00"},"Field":{"fieldId":"fa6c857a-67d5-4a35-a4ee-65630e99297d","customerId":"bbe071e8-39c1-4709-b680-b709645f43bb","coordinates":"sample string 3","cropName":"sample string 4","plotNumber":"sample string 5","plantingYear":1,"createdDate":"2026-03-20T18:36:24.3044116+00:00","fullyLoaded":true,"moagId":"sample string 6","isDeleted":true,"areaSquareMeters":1.1,"Customer":{"customerId":"ecf76e57-04bc-4c78-a1ed-6adc97e1dd81","name":"sample string 2","phone":"sample string 3","email":"sample string 4","dateCreated":"2026-03-20T18:36:24.3044116+00:00"}},"Protocol":{"protocolId":"e85eeb81-c7dd-485d-8054-906848993a8a","name":"sample string 2","materialId":"c11ab6ef-c465-4a2e-b54c-67644cac0393","marginSpace":4.1,"rowSpace":5.1,"dunamVolume":1.1,"activeIngredientVolume":1.1,"waterVolume":1.1,"createdDate":"2026-03-20T18:36:24.3044116+00:00","payloadId":"07a9c985-8cd6-444a-a5cf-0be1ddf458fe","nozzle":"sample string 6","Material":{"materialId":"5d913438-46d4-443f-affa-412a432118a5","name":"sample string 2","createdDate":"2026-03-20T18:36:24.3044116+00:00"},"Payload":{"payloadId":"d8fc6933-b838-413b-802c-a514dc6761b5","name":"sample string 2","createdDate":"2026-03-20T18:36:24.3044116+00:00"}},"ApprovedStatus":{"statusId":"03cae6e3-f3b1-4aac-84ad-6750bad84f9b","name":"sample string 2","createdDate":"2026-03-20T18:36:24.3044116+00:00"},"ExecutionStatus":{"statusId":"03cae6e3-f3b1-4aac-84ad-6750bad84f9b","name":"sample string 2","createdDate":"2026-03-20T18:36:24.3044116+00:00"}}]