Download OpenAPI specification:
Responses are compressed automatically (gzip or Brotli) whenever the
client sends the Accept-Encoding header — virtually every HTTP client
does this by default, so no extra configuration is usually needed on
your side. This matters most on large list endpoints (e.g. GET /fields,
GET /farms, GET /applications), which can return heavy geometry data
in boundaries; see the withBoundaries query parameter on those
endpoints for a way to reduce the payload further by leaving that field
out.
create a new farm
| x-pf-correlation-id | string <uuid> (CorrelationHeader) Example: d5de0545-a36b-4c9d-b0cd-4e6e8a523bf1 correlation identifier between request and response |
| name required | string farm name |
| namespace required | string group to which the farm belongs |
| parentFarmId | string <uuid> identification of the parent farm. enter this attribute when you want to associate a farm with an existing one (as if it were a tree structure). |
{- "name": "My Farm",
- "namespace": "Farms",
- "parentFarmId": "bfc780ae-3873-4caf-92d3-9b7ae4ea2a57"
}{- "id": "20f94ebe-361b-44e6-9729-57d744d04b27",
- "name": "My Farm",
- "namespace": "Farms",
- "createdAt": "2024-05-27T22:52:44.903Z"
}search all farms
| withDeleted | boolean (WithDeletedQueryParameter) Default: false Example: withDeleted=true include deleted farms |
| namespace | string or null Example: namespace=Farms farm namespace |
| name | string or null Example: name=My Farm farm name |
| parentFarmId | string or null <uuid> Example: parentFarmId=09650ecf-a354-4d6b-9092-6c0f8d037a92 parent farm id |
| page | integer <int32> (PageQueryParameter) Default: 1 Example: page=2 current page number |
| pageSize | integer <int32> (PageSizeQueryParameter) Default: 10 Example: pageSize=20 number of farms per page |
| withBoundaries | boolean (WithBoundariesQueryParameter) Default: true Example: withBoundaries=false when false, skips aggregating the boundaries field of each farm (returned as an empty geometry), reducing query size for large lists |
| x-pf-correlation-id | string <uuid> (CorrelationHeader) Example: d5de0545-a36b-4c9d-b0cd-4e6e8a523bf1 correlation identifier between request and response |
[- {
- "id": "20f94ebe-361b-44e6-9729-57d744d04b27",
- "name": "My Farm",
- "namespace": "Farms",
- "area": 155.43,
- "count": 29,
- "boundaries": "MULTIPOLYGON (((-63.7279364 -8.8349494,-63.7264692 -8.8379071,-63.7252954 -8.8373272,-63.7272909 -8.8346015,-63.7279364 -8.8349494)),((-63.7265866 -8.8333836,-63.7268213 -8.8324557,-63.7245324 -8.8322238,-63.7246498 -8.8331516,-63.7265866 -8.8333836)))",
- "hasChildren": true,
- "childrenAmount": 2,
- "parentFarmId": "a4f8d25b-27cd-473a-ae25-ed6e8ff8f321",
- "parentFarm": {
- "id": "5854e582-e539-43ca-a153-52c66f4c98c5",
- "name": "Root Farm",
- "namespace": "Farms",
- "area": 0,
- "count": 0,
- "boundaries": "POLYGON EMPTY",
- "childrenCount": 0,
- "parentFarmId": null,
- "createdAt": "2024-05-27T22:52:44.903Z",
- "updatedAt": "2024-05-27T22:55:44.903Z",
- "deletedAt": null
}, - "farmNameHierarchy": [
- "Root Farm",
- "Sub Farm"
], - "createdAt": "2024-05-27T22:52:44.903Z",
- "updatedAt": "2024-05-27T22:55:44.903Z",
- "deletedAt": "2024-05-27T22:59:44.903Z"
}
]search farm by id
| farmId required | string <uuid> Example: c17ebf24-e2bd-4c83-88fc-f2c8b0e43883 unique farm identification |
| x-pf-correlation-id | string <uuid> (CorrelationHeader) Example: d5de0545-a36b-4c9d-b0cd-4e6e8a523bf1 correlation identifier between request and response |
{- "id": "20f94ebe-361b-44e6-9729-57d744d04b27",
- "name": "My Farm",
- "namespace": "Farms",
- "area": 155.43,
- "count": 29,
- "boundaries": "MULTIPOLYGON (((-63.7279364 -8.8349494,-63.7264692 -8.8379071,-63.7252954 -8.8373272,-63.7272909 -8.8346015,-63.7279364 -8.8349494)),((-63.7265866 -8.8333836,-63.7268213 -8.8324557,-63.7245324 -8.8322238,-63.7246498 -8.8331516,-63.7265866 -8.8333836)))",
- "hasChildren": true,
- "childrenAmount": 2,
- "parentFarmId": "a4f8d25b-27cd-473a-ae25-ed6e8ff8f321",
- "parentFarm": {
- "id": "5854e582-e539-43ca-a153-52c66f4c98c5",
- "name": "Root Farm",
- "namespace": "Farms",
- "area": 0,
- "count": 0,
- "boundaries": "POLYGON EMPTY",
- "childrenCount": 0,
- "parentFarmId": null,
- "createdAt": "2024-05-27T22:52:44.903Z",
- "updatedAt": "2024-05-27T22:55:44.903Z",
- "deletedAt": null
}, - "farmNameHierarchy": [
- "Root Farm",
- "Sub Farm"
], - "createdAt": "2024-05-27T22:52:44.903Z",
- "updatedAt": "2024-05-27T22:55:44.903Z",
- "deletedAt": "2024-05-27T22:59:44.903Z"
}search all fields by farm id
| farmId required | string <uuid> unique farm identification |
| withDeleted | boolean (WithDeletedQueryParameter) Default: false Example: withDeleted=true include deleted fields |
| page | integer <int32> (PageQueryParameter) Default: 1 Example: page=2 current page number |
| pageSize | integer <int32> (PageSizeQueryParameter) Default: 10 Example: pageSize=20 number of fields per page |
[- {
- "id": "b48207a5-9408-4b92-b15f-6954b225c0b6",
- "name": "Field 01",
- "area": 33.43,
- "boundaries": "POLYGON ((-56.1736668 -15.5591935,-56.1731188 -15.5592036,-56.1731971 -15.5595204,-56.1737295 -15.5594852,-56.1736668 -15.5591935))",
- "farm": {
- "id": "20f94ebe-361b-44e6-9729-57d744d04b27",
- "name": "My Farm"
}, - "createdAt": "2024-05-27T22:52:44.903Z",
- "updatedAt": "2024-05-27T22:55:44.903Z",
- "deletedAt": "2024-05-27T22:59:44.903Z"
}
]search all fields
| withDeleted | boolean (WithDeletedQueryParameter) Default: false Example: withDeleted=true include deleted fields |
| page | integer <int32> (PageQueryParameter) Default: 1 Example: page=2 current page number |
| pageSize | integer <int32> (PageSizeQueryParameter) Default: 10 Example: pageSize=20 number of fields per page |
| withBoundaries | boolean (WithBoundariesQueryParameter) Default: true Example: withBoundaries=false when false, omits the boundaries field of each field, reducing query and response size for large lists |
| x-pf-correlation-id | string <uuid> (CorrelationHeader) Example: d5de0545-a36b-4c9d-b0cd-4e6e8a523bf1 correlation identifier between request and response |
[- {
- "id": "b48207a5-9408-4b92-b15f-6954b225c0b6",
- "name": "Field 01",
- "area": 33.43,
- "boundaries": "POLYGON ((-56.1736668 -15.5591935,-56.1731188 -15.5592036,-56.1731971 -15.5595204,-56.1737295 -15.5594852,-56.1736668 -15.5591935))",
- "farm": {
- "id": "20f94ebe-361b-44e6-9729-57d744d04b27",
- "name": "My Farm"
}, - "createdAt": "2024-05-27T22:52:44.903Z",
- "updatedAt": "2024-05-27T22:55:44.903Z",
- "deletedAt": "2024-05-27T22:59:44.903Z"
}
]create a new field
| x-pf-correlation-id | string <uuid> (CorrelationHeader) Example: d5de0545-a36b-4c9d-b0cd-4e6e8a523bf1 correlation identifier between request and response |
| name required | string field name |
| boundaries required | string <wkt> object in wkt format that represents the georeferencing of the field |
| farmId required | string <uuid> unique farm identification to which the field will be associated |
{- "name": "Field 01",
- "boundaries": "POLYGON ((-56.1736668 -15.5591935,-56.1731188 -15.5592036,-56.1731971 -15.5595204,-56.1737295 -15.5594852,-56.1736668 -15.5591935))",
- "farmId": "20f94ebe-361b-44e6-9729-57d744d04b27"
}{- "id": "b48207a5-9408-4b92-b15f-6954b225c0b6",
- "name": "Field 01",
- "area": 33.43,
- "farm": {
- "id": "20f94ebe-361b-44e6-9729-57d744d04b27",
- "name": "1"
}, - "boundaries": "POLYGON ((-56.1736668 -15.5591935,-56.1731188 -15.5592036,-56.1731971 -15.5595204,-56.1737295 -15.5594852,-56.1736668 -15.5591935))",
- "createdAt": "2024-05-27T22:52:44.903Z",
- "updatedAt": "2024-05-27T22:55:44.903Z"
}search field by id
| fieldId required | string <uuid> Example: ecafbb6f-c7b4-43d6-bf54-5f7dd98d8377 unique field identification |
| withDeleted | boolean (WithDeletedQueryParameter) Default: false Example: withDeleted=true include deleted fields |
| x-pf-correlation-id | string <uuid> (CorrelationHeader) Example: d5de0545-a36b-4c9d-b0cd-4e6e8a523bf1 correlation identifier between request and response |
{- "id": "b48207a5-9408-4b92-b15f-6954b225c0b6",
- "name": "Field 01",
- "area": 33.43,
- "boundaries": "POLYGON ((-56.1736668 -15.5591935,-56.1731188 -15.5592036,-56.1731971 -15.5595204,-56.1737295 -15.5594852,-56.1736668 -15.5591935))",
- "farm": {
- "id": "20f94ebe-361b-44e6-9729-57d744d04b27",
- "name": "My Farm"
}, - "createdAt": "2024-05-27T22:52:44.903Z",
- "updatedAt": "2024-05-27T22:55:44.903Z",
- "deletedAt": "2024-05-27T22:59:44.903Z"
}search all applications
| withDeleted | boolean (WithDeletedQueryParameter) Default: false Example: withDeleted=true include deleted applications |
| serviceOrderId | string <uuid> Example: serviceOrderId=46e842b6-f4e8-4503-9c3e-bfdc34604849 unique service order identification |
| seasonId | string <uuid> Example: seasonId=21c85837-cf04-49a6-9a9e-2661060ef502 unique season identification |
| page | integer <int32> (PageQueryParameter) Default: 1 Example: page=2 current page number |
| pageSize | integer <int32> (PageSizeQueryParameter) Default: 10 Example: pageSize=20 number of applications per page |
| order | string (SortOrderEnum) Default: "asc" Enum: "asc" "desc" Example: order=asc sort direction for the results, always ordered by createdAt |
| withBoundaries | boolean (WithBoundariesQueryParameter) Default: true Example: withBoundaries=false when false, omits the boundaries field of each application field, reducing response size for large lists |
| crop | string (CropEnum) Enum: "unknown" "cotton" "corn" "avocado" "bean" "brachiaria" "cereals" "citrus" "cocoa" "coconut" "coffee" "eucalyptus" "grape" "oat" "orange" "peanut" "pineapple" "potato" "rice" "soybean" "sugarcane" "sunflower" "wheat" "sunn_hemp" "pearl_millet" "sorghum" "stylosanthes" "cover" "millet" "banana" "tobacco" "sesame" "seed_corn" Example: crop=cotton season crop |
| pilotId | string <uuid> (PilotId) Example: pilotId=d902bd61-6b7f-451e-970c-4576d1fbb238 unique pilot identification |
| aerialCompanyId | string <uuid> Example: aerialCompanyId=075773c3-0f4b-4ac0-b74b-6e777ec0a4bd unique aerial company identification |
| farmId | string <uuid> Example: farmId=075773c3-0f4b-4ac0-b74b-6e777ec0a4bd unique farm identification |
| applicationDateType | string (ApplicationDateTypeEnum) Enum: "application_date" "analysis_date" Example: applicationDateType=application_date application date type |
| applicationType | string (ApplicationTypeEnum) Enum: "aerial" "terrestrial" Example: applicationType=aerial application type |
| startedIn | string <date-time> Example: startedIn=2024-06-01T22:52:44.903Z application start date |
| finishedIn | string <date-time> Example: finishedIn=2024-06-30T22:52:44.903Z application end date |
| x-pf-correlation-id | string <uuid> (CorrelationHeader) Example: d5de0545-a36b-4c9d-b0cd-4e6e8a523bf1 correlation identifier between request and response |
{- "applications": [
- {
- "id": "fa2a8bbd-5f1d-4012-a022-12a28f676057",
- "season": {
- "id": "fe1e9d3c-18fa-4e31-86c1-38c33be1856c",
- "customer": {
- "id": "9b33e7ca-6cfb-4458-bfe4-d28ee7b373eb",
- "name": "My Company",
- "shortName": "My Co",
- "documentNumber": "11.111.111/1111-44",
- "defaultMap": "mapbox_map",
- "idealSuccessScoreThreshold": 80,
- "idealUniformityScoreThreshold": 80,
- "idealFailureScoreThreshold": 10,
- "idealWasteScoreThreshold": 15,
- "overFlowRateScoreThreshold": 10,
- "underFlowRateScoreThreshold": 10,
- "overHeightScoreThreshold": 10,
- "underHeightScoreThreshold": 10,
- "isFlightPlanningEnabled": false,
- "droneFuelingTimeTarget": 15,
- "aircraftFuelingTimeTarget": 15,
- "tractorFuelingTimeTarget": 15,
- "status": "enabled",
- "createdAt": "2024-05-27T22:52:44.903Z",
- "updatedAt": "2024-05-27T22:55:44.903Z",
- "deletedAt": null
}, - "startedIn": "2024-05-27T22:52:44.903Z",
- "finishedIn": "2024-05-27T22:52:44.903Z",
- "crop": "cotton",
- "createdAt": "2024-05-27T22:52:44.903Z",
- "updatedAt": "2024-05-27T22:55:44.903Z",
- "deletedAt": "2024-05-27T22:59:44.903Z"
}, - "status": "complete",
- "analysisMethod": "COMPLETE_TARGET",
- "applicationType": "aerial",
- "deletedReason": "wrong_application_data",
- "notChargeable": false,
- "inspectionFlags": [
- "success_score_warning"
], - "inspectionStatus": "not_inspected",
- "inspectionReason": "unknown",
- "inspectionObservation": "my application inspection comments",
- "deletedObservation": "duplicated application, recreated as OS-1234568",
- "fields": [
- {
- "id": "52a22d4e-69bf-4b6a-9f7f-247ada19104c",
- "boundaries": "POLYGON ((-64.8000009 -6.7046461,-55.2000008 -10.0284011,-63.3600009 -15.6419963,-64.8000009 -6.7046461))",
- "area": 33.43,
- "totalTargetFieldArea": 234.43,
- "totalInternalAppliedArea": 234.43,
- "totalNotAppliedArea": 234.43,
- "totalInternalAppliedOverlapArea": 234.43,
- "totalAppliedOverdoseArea": 234.43,
- "averageUniformityScore": 98.45,
- "averageFailureScore": 98.45,
- "averageSuccessScore": 98.45,
- "field": {
- "id": "b48207a5-9408-4b92-b15f-6954b225c0b6",
- "name": "Field 01",
- "area": 33.43,
- "boundaries": "POLYGON ((-56.1736668 -15.5591935,-56.1731188 -15.5592036,-56.1731971 -15.5595204,-56.1737295 -15.5594852,-56.1736668 -15.5591935))",
- "farm": {
- "id": "20f94ebe-361b-44e6-9729-57d744d04b27",
- "name": "My Farm"
}, - "createdAt": "2024-05-27T22:52:44.903Z",
- "updatedAt": "2024-05-27T22:55:44.903Z",
- "deletedAt": "2024-05-27T22:59:44.903Z"
}, - "applicationTrack": {
- "id": "2d1c9b8a-7f6e-4d5c-4b3a-2f1e9d8c7b6a",
- "boundaries": "POLYGON ((-56.1736668 -15.5591935,-56.1731188 -15.5592036,-56.1731971 -15.5595204,-56.1737295 -15.5594852,-56.1736668 -15.5591935))",
- "totalTrackArea": 234.43,
- "totalAppliedOverTrackArea": 98.45,
- "trackAreaRatio": 0.85,
- "applicationFields": [
- { }
], - "createdAt": "2024-05-27T22:52:44.903Z",
- "updatedAt": "2024-05-27T22:55:44.903Z",
- "deletedAt": "2024-05-27T22:59:44.903Z"
}, - "name": "Field 01",
- "createdAt": "2024-05-27T22:52:44.903Z",
- "updatedAt": "2024-05-27T22:55:44.903Z",
- "deletedAt": "2024-05-27T22:59:44.903Z"
}
], - "farms": [
- {
- "id": "5a4f3e2d-1c9b-4a8f-7e6d-5c4b3a2f1e9d",
- "farm": {
- "id": "20f94ebe-361b-44e6-9729-57d744d04b27",
- "name": "My Farm",
- "namespace": "Farms",
- "area": 155.43,
- "count": 29,
- "boundaries": "MULTIPOLYGON (((-63.7279364 -8.8349494,-63.7264692 -8.8379071,-63.7252954 -8.8373272,-63.7272909 -8.8346015,-63.7279364 -8.8349494)),((-63.7265866 -8.8333836,-63.7268213 -8.8324557,-63.7245324 -8.8322238,-63.7246498 -8.8331516,-63.7265866 -8.8333836)))",
- "hasChildren": true,
- "childrenAmount": 2,
- "parentFarmId": "a4f8d25b-27cd-473a-ae25-ed6e8ff8f321",
- "parentFarm": {
- "id": "5854e582-e539-43ca-a153-52c66f4c98c5",
- "name": "Root Farm",
- "namespace": "Farms",
- "area": 0,
- "count": 0,
- "boundaries": "POLYGON EMPTY",
- "childrenCount": 0,
- "parentFarmId": null,
- "createdAt": "2024-05-27T22:52:44.903Z",
- "updatedAt": "2024-05-27T22:55:44.903Z",
- "deletedAt": null
}, - "farmNameHierarchy": [
- "Root Farm",
- "Sub Farm"
], - "createdAt": "2024-05-27T22:52:44.903Z",
- "updatedAt": "2024-05-27T22:55:44.903Z",
- "deletedAt": "2024-05-27T22:59:44.903Z"
}, - "name": "My Farm",
- "namespace": "Farms",
- "totalFarmArea": 234.43,
- "totalInternalAppliedArea": 98.45,
- "totalNotAppliedArea": 98.45,
- "totalInternalAppliedOverlapArea": 98.45,
- "totalAppliedOverdoseArea": 98.45,
- "averageSuccessScore": 98.45,
- "averageUniformityScore": 98.45,
- "averageFailureScore": 98.45,
- "createdAt": "2024-05-27T22:52:44.903Z",
- "updatedAt": "2024-05-27T22:55:44.903Z",
- "deletedAt": "2024-05-27T22:59:44.903Z"
}
], - "restrictionFields": [
- {
- "id": "4f3e2d1c-9b8a-4f7e-6d5c-4b3a2f1e9d8c",
- "restrictionField": {
- "id": "d902bd61-6b7f-451e-970c-4576d1fbb238",
- "name": "Restriction Field 01",
- "type": "hydrography",
- "boundaries": "POLYGON ((-56.1736668 -15.5591935,-56.1731188 -15.5592036,-56.1731971 -15.5595204,-56.1737295 -15.5594852,-56.1736668 -15.5591935))",
- "warningDistance": 32.54,
- "area": 12.4,
- "createdAt": "2024-05-27T22:52:44.903Z",
- "updatedAt": "2024-05-27T22:55:44.903Z",
- "deletedAt": "2024-05-27T22:59:44.903Z"
}, - "name": "Restriction Field 01",
- "type": "hydrography",
- "warningDistance": 32.54,
- "totalRestrictionArea": 12.4,
- "totalAppliedRestrictionArea": 12.4,
- "totalAppliedBufferArea": 12.4,
- "boundaries": "POLYGON ((-56.1736668 -15.5591935,-56.1731188 -15.5592036,-56.1731971 -15.5595204,-56.1737295 -15.5594852,-56.1736668 -15.5591935))",
- "createdAt": "2024-05-27T22:52:44.903Z",
- "updatedAt": "2024-05-27T22:55:44.903Z",
- "deletedAt": "2024-05-27T22:59:44.903Z"
}
], - "schedules": [
- {
- "id": "ce75ce52-5064-485a-87a5-aa0f1ebe0c03",
- "status": "executed",
- "pilot": {
- "id": "d902bd61-6b7f-451e-970c-4576d1fbb238",
- "name": "John Due",
- "licenseId": "459439473",
- "aerialCompany": {
- "id": "134457d7-58d3-4247-9f67-3fa82b3a0535",
- "name": "Flight Company",
- "documentNumber": "00.000.000/0000-00",
- "state": "SP",
- "city": "São Paulo",
- "mapaRegistration": "123456",
- "customer": {
- "id": "9b33e7ca-6cfb-4458-bfe4-d28ee7b373eb",
- "name": "My Company",
- "shortName": "My Co",
- "documentNumber": "11.111.111/1111-44",
- "defaultMap": "mapbox_map",
- "idealSuccessScoreThreshold": 80,
- "idealUniformityScoreThreshold": 80,
- "idealFailureScoreThreshold": 10,
- "idealWasteScoreThreshold": 15,
- "overFlowRateScoreThreshold": 10,
- "underFlowRateScoreThreshold": 10,
- "overHeightScoreThreshold": 10,
- "underHeightScoreThreshold": 10,
- "isFlightPlanningEnabled": false,
- "droneFuelingTimeTarget": 15,
- "aircraftFuelingTimeTarget": 15,
- "tractorFuelingTimeTarget": 15,
- "status": "enabled",
- "createdAt": "2024-05-27T22:52:44.903Z",
- "updatedAt": "2024-05-27T22:55:44.903Z",
- "deletedAt": null
}, - "createdAt": "2024-05-27T22:52:44.903Z",
- "updatedAt": "2024-05-27T22:55:44.903Z",
- "deletedAt": "2024-05-27T22:59:44.903Z"
}, - "createdAt": "2024-05-27T22:52:44.903Z",
- "updatedAt": "2024-05-27T22:55:44.903Z",
- "deletedAt": "2024-05-27T22:59:44.903Z"
}, - "vehicle": {
- "id": "54e5221c-8a04-4f86-a558-d85b9210f0c9",
- "name": "PT-FFG",
- "model": {
- "id": "07d9a0aa-eb71-451d-af05-de2a06d3d888",
- "name": "AT-401",
- "type": "drone",
- "manufacturer": {
- "id": "ca824435-6ecc-4fcc-9ca1-53801a58790f",
- "name": "Air Tractor",
- "createdAt": "2024-05-27T22:52:44.903Z",
- "updatedAt": "2024-05-27T22:55:44.903Z",
- "deletedAt": "2024-05-27T22:59:44.903Z"
}, - "createdAt": "2024-05-27T22:52:44.903Z",
- "updatedAt": "2024-05-27T22:55:44.903Z",
- "deletedAt": "2024-05-27T22:59:44.903Z"
}, - "type": "drone",
- "aerialCompany": {
- "id": "134457d7-58d3-4247-9f67-3fa82b3a0535",
- "name": "Flight Company",
- "documentNumber": "00.000.000/0000-00",
- "state": "SP",
- "city": "São Paulo",
- "mapaRegistration": "123456",
- "customer": {
- "id": "9b33e7ca-6cfb-4458-bfe4-d28ee7b373eb",
- "name": "My Company",
- "shortName": "My Co",
- "documentNumber": "11.111.111/1111-44",
- "defaultMap": "mapbox_map",
- "idealSuccessScoreThreshold": 80,
- "idealUniformityScoreThreshold": 80,
- "idealFailureScoreThreshold": 10,
- "idealWasteScoreThreshold": 15,
- "overFlowRateScoreThreshold": 10,
- "underFlowRateScoreThreshold": 10,
- "overHeightScoreThreshold": 10,
- "underHeightScoreThreshold": 10,
- "isFlightPlanningEnabled": false,
- "droneFuelingTimeTarget": 15,
- "aircraftFuelingTimeTarget": 15,
- "tractorFuelingTimeTarget": 15,
- "status": "enabled",
- "createdAt": "2024-05-27T22:52:44.903Z",
- "updatedAt": "2024-05-27T22:55:44.903Z",
- "deletedAt": null
}, - "createdAt": "2024-05-27T22:52:44.903Z",
- "updatedAt": "2024-05-27T22:55:44.903Z",
- "deletedAt": "2024-05-27T22:59:44.903Z"
}, - "pulverizerType": "atomizer",
- "serialNumber": "PT-FFG123456",
- "idealHeight": 3.5,
- "idealSpeed": 120.5,
- "idealSwathWidth": 18,
- "externalVehicleId": "b4e5df6e-3b1a-4b4e-8f7f-9d6f7c6a5e4d",
- "connector": "satloc",
- "createdAt": "2024-05-27T22:52:44.903Z",
- "updatedAt": "2024-05-27T22:55:44.903Z",
- "deletedAt": "2024-05-27T22:59:44.903Z"
}, - "applicationLogs": [
- {
- "id": "d8632348-fb7a-4133-a133-8076445bdade",
- "filename": "03062024.log",
- "status": "processed",
- "format": "satloc",
- "metadata": { },
- "signature": "810de9221bab488baf90f2d6c04ed89e40cb64dbacfbed71ff19ccf79353ac54",
- "user": {
- "id": "26016dbb-f8de-4f33-9f26-d793d6ba999d",
- "status": "enabled",
- "name": "John Due",
- "email": "john.due@example.com",
- "phoneNumber": "+5511999999999",
- "identityProvider": "aws_cognito",
- "identityId": "26016dbb-f8de-4f33-9f26-d793d6ba999d",
- "createdAt": "2024-05-27T22:52:44.903Z",
- "updatedAt": "2024-05-27T22:55:44.903Z",
- "deletedAt": "2024-05-27T22:59:44.903Z",
- "lastAccessAt": "2024-05-27T22:59:44.903Z"
}, - "createdAt": "2024-05-27T22:52:44.903Z",
- "updatedAt": "2024-05-27T22:55:44.903Z",
- "deletedAt": "2024-05-27T22:59:44.903Z"
}
], - "scheduleFlight": [
- {
- "id": "6d5c4b3a-2f1e-4d3c-8b7a-9e8d7c6b5a4f",
- "totalFlightTime": 2400,
- "totalFuelingTime": 300,
- "totalOpenSprayTime": 1800,
- "averageOpenSpraySpeed": 120.5,
- "startDateTime": "2024-05-27T22:52:44.903Z",
- "endDateTime": "2024-05-27T23:32:22.100Z",
- "createdAt": "2024-05-27T22:52:44.903Z",
- "updatedAt": "2024-05-27T22:55:44.903Z",
- "deletedAt": "2024-05-27T22:59:44.903Z"
}
], - "startedIn": "2024-05-27T22:52:44.903Z",
- "finishedIn": "2024-05-27T23:32:22.100Z",
- "runwayDistance": 10.4,
- "swathWidth": 28,
- "comments": "my application schedule comments",
- "totalFlightStopTime": 120,
- "totalAppliedOverlapArea": 12.4,
- "totalExternalAppliedArea": 98.45,
- "totalAppliedArea": 98.45,
- "totalDistanceTraveled": 98.45,
- "totalAppliedOverTrackArea": 12.4,
- "totalAppliedOverRestrictionArea": 12.4,
- "totalAppliedOverBufferArea": 12.4,
- "averageSpeed": 98.45,
- "averageSampleRate": 2.58,
- "averageWasteScore": 98.45,
- "displacementMargin": 147.67,
- "totalInternalAppliedArea": 98.45,
- "totalInternalAppliedOverlapArea": 98.45,
- "totalAppliedOverdoseArea": 98.45,
- "averageUniformityScore": 98.45,
- "averageRateFlow": 98.45,
- "averageHeight": 98.45,
- "totalCost": 452.87,
- "totalCostByAppliedExternalArea": 12.4,
- "totalCostByAppliedInternalArea": 12.4,
- "totalCostByAppliedInternalOverlapArea": 12.4,
- "totalCostByArea": 12.4,
- "createdAt": "2024-05-27T22:52:44.903Z",
- "updatedAt": "2024-05-27T22:55:44.903Z",
- "deletedAt": "2024-05-27T22:59:44.903Z"
}
], - "logs": [
- {
- "id": "d8632348-fb7a-4133-a133-8076445bdade",
- "filename": "03062024.log",
- "status": "processed",
- "format": "satloc",
- "metadata": { },
- "signature": "810de9221bab488baf90f2d6c04ed89e40cb64dbacfbed71ff19ccf79353ac54",
- "user": {
- "id": "26016dbb-f8de-4f33-9f26-d793d6ba999d",
- "status": "enabled",
- "name": "John Due",
- "email": "john.due@example.com",
- "phoneNumber": "+5511999999999",
- "identityProvider": "aws_cognito",
- "identityId": "26016dbb-f8de-4f33-9f26-d793d6ba999d",
- "createdAt": "2024-05-27T22:52:44.903Z",
- "updatedAt": "2024-05-27T22:55:44.903Z",
- "deletedAt": "2024-05-27T22:59:44.903Z",
- "lastAccessAt": "2024-05-27T22:59:44.903Z"
}, - "createdAt": "2024-05-27T22:52:44.903Z",
- "updatedAt": "2024-05-27T22:55:44.903Z",
- "deletedAt": "2024-05-27T22:59:44.903Z"
}
], - "products": [
- {
- "id": "bac848b2-5137-4228-a61b-0d6a8e84b0a1",
- "dosage": 1.25,
- "amount": {
- "currency": "BRL",
- "value": 332.43
}, - "customerProduct": {
- "id": "efae9cea-767f-4d28-a4e6-891ee7b0e998",
- "currency": "BRL",
- "cost": 332.43,
- "code": 946749,
- "alias": "Product Alias Example",
- "manufacturerName": "Manufacturer Example",
- "classType": "fungicide",
- "serviceType": "pesticide_application",
- "formulation": "wettable_powder",
- "toxicityCategory": "category_3_moderately_toxic",
- "colorBand": "blue",
- "measurementUnit": "l",
- "createdAt": "2024-05-27T22:52:44.903Z",
- "updatedAt": "2024-05-27T22:55:44.903Z",
- "deletedAt": "2024-05-27T22:59:44.903Z"
}, - "totalAppliedAreaCost": 452.87,
- "totalCostByArea": 12.4,
- "totalEstimatedCost": 980.12,
- "totalVolume": 320.5,
- "createdAt": "2024-05-27T22:52:44.903Z",
- "updatedAt": "2024-05-27T22:55:44.903Z",
- "deletedAt": "2024-05-27T22:59:44.903Z"
}
], - "applicationOperationalServices": [
- {
- "id": "3e2d1c9b-8a7f-4e6d-5c4b-3a2f1e9d8c7b",
- "operationalService": {
- "id": "7c6b5a4f-3e2d-4c1b-9a8f-7d6c5b4a3f2e",
- "name": "Aerial Survey",
- "cost": 250,
- "currency": "BRL",
- "createdAt": "2024-05-27T22:52:44.903Z",
- "updatedAt": "2024-05-27T22:55:44.903Z",
- "deletedAt": "2024-05-27T22:59:44.903Z"
}, - "name": "Aerial Survey",
- "totalAppliedAreaCost": 452.87,
- "totalCostByArea": 12.4,
- "totalEstimatedCost": 980.12,
- "currency": "BRL",
- "createdAt": "2025-01-28T08:52:24.403Z",
- "updatedAt": "2025-01-28T08:52:24.403Z",
- "deletedAt": "2025-01-28T08:52:24.403Z"
}
], - "applicationTrack": {
- "id": "2d1c9b8a-7f6e-4d5c-4b3a-2f1e9d8c7b6a",
- "boundaries": "POLYGON ((-56.1736668 -15.5591935,-56.1731188 -15.5592036,-56.1731971 -15.5595204,-56.1737295 -15.5594852,-56.1736668 -15.5591935))",
- "totalTrackArea": 234.43,
- "totalAppliedOverTrackArea": 98.45,
- "trackAreaRatio": 0.85,
- "applicationFields": [
- {
- "id": "52a22d4e-69bf-4b6a-9f7f-247ada19104c",
- "boundaries": "POLYGON ((-64.8000009 -6.7046461,-55.2000008 -10.0284011,-63.3600009 -15.6419963,-64.8000009 -6.7046461))",
- "area": 33.43,
- "totalTargetFieldArea": 234.43,
- "totalInternalAppliedArea": 234.43,
- "totalNotAppliedArea": 234.43,
- "totalInternalAppliedOverlapArea": 234.43,
- "totalAppliedOverdoseArea": 234.43,
- "averageUniformityScore": 98.45,
- "averageFailureScore": 98.45,
- "averageSuccessScore": 98.45,
- "field": {
- "id": "b48207a5-9408-4b92-b15f-6954b225c0b6",
- "name": "Field 01",
- "area": 33.43,
- "boundaries": "POLYGON ((-56.1736668 -15.5591935,-56.1731188 -15.5592036,-56.1731971 -15.5595204,-56.1737295 -15.5594852,-56.1736668 -15.5591935))",
- "farm": {
- "id": "20f94ebe-361b-44e6-9729-57d744d04b27",
- "name": "My Farm"
}, - "createdAt": "2024-05-27T22:52:44.903Z",
- "updatedAt": "2024-05-27T22:55:44.903Z",
- "deletedAt": "2024-05-27T22:59:44.903Z"
}, - "applicationTrack": { },
- "name": "Field 01",
- "createdAt": "2024-05-27T22:52:44.903Z",
- "updatedAt": "2024-05-27T22:55:44.903Z",
- "deletedAt": "2024-05-27T22:59:44.903Z"
}
], - "createdAt": "2024-05-27T22:52:44.903Z",
- "updatedAt": "2024-05-27T22:55:44.903Z",
- "deletedAt": "2024-05-27T22:59:44.903Z"
}, - "runway": {
- "id": "8f0a5e2c-1b3d-4f6a-9c8e-7d6b5a4f3e2d",
- "name": "Runway 01",
- "latitude": -15.5591935,
- "longitude": -56.1736668,
- "createdAt": "2024-05-27T22:52:44.903Z",
- "updatedAt": "2024-05-27T22:55:44.903Z",
- "deletedAt": "2024-05-27T22:59:44.903Z"
}, - "operationalReportId": "8f0a5e2c-1b3d-4f6a-9c8e-7d6b5a4f3e2d",
- "processedAt": "2024-05-27T22:52:44.903Z",
- "lastReprocessedAt": "2024-05-27T22:52:44.903Z",
- "serviceOrder": {
- "id": "4b6d7415-a029-457a-9901-cc66f76aded4",
- "slug": "OS-1234",
- "status": "complete",
- "observation": "my service order comments",
- "averageUniformityScore": 98.45,
- "averageFailureScore": 98.45,
- "averageWasteScore": 98.45,
- "averageSuccessScore": 98.45,
- "averageRateFlow": 98.45,
- "averageHeight": 98.45,
- "averageSpeed": 98.45,
- "totalCroppedNotAppliedArea": 98.45,
- "totalInternalAppliedOverlapArea": 98.45,
- "totalExternalAppliedOverlapArea": 98.45,
- "totalInternalAppliedArea": 98.45,
- "totalExternalAppliedArea": 98.45,
- "totalAppliedOverlapArea": 98.45,
- "totalTargetFieldArea": 98.45,
- "totalNotAppliedArea": 98.45,
- "totalDistanceTraveled": 98.45,
- "totalAppliedArea": 98.45,
- "totalAppliedOverdoseArea": 98.45,
- "totalCostByArea": 12.4,
- "totalCostByAppliedArea": 12.4,
- "totalCostByTargetFieldArea": 12.4,
- "totalCostByExternalAppliedArea": 12.4,
- "totalCostByInternalAppliedArea": 12.4,
- "totalCostByInternalAppliedOverlapArea": 12.4,
- "totalCostByExternalAppliedOverlapArea": 12.4,
- "displacementMargin": 147.67,
- "averageSampleRate": 2.58,
- "preFlightSeason": {
- "season": {
- "id": "fe1e9d3c-18fa-4e31-86c1-38c33be1856c",
- "customer": {
- "id": "9b33e7ca-6cfb-4458-bfe4-d28ee7b373eb",
- "name": "My Company",
- "shortName": "My Co",
- "documentNumber": "11.111.111/1111-44",
- "defaultMap": "mapbox_map",
- "idealSuccessScoreThreshold": 80,
- "idealUniformityScoreThreshold": 80,
- "idealFailureScoreThreshold": 10,
- "idealWasteScoreThreshold": 15,
- "overFlowRateScoreThreshold": 10,
- "underFlowRateScoreThreshold": 10,
- "overHeightScoreThreshold": 10,
- "underHeightScoreThreshold": 10,
- "isFlightPlanningEnabled": false,
- "droneFuelingTimeTarget": 15,
- "aircraftFuelingTimeTarget": 15,
- "tractorFuelingTimeTarget": 15,
- "status": "enabled",
- "createdAt": "2024-05-27T22:52:44.903Z",
- "updatedAt": "2024-05-27T22:55:44.903Z",
- "deletedAt": null
}, - "startedIn": "2024-05-27T22:52:44.903Z",
- "finishedIn": "2024-05-27T22:52:44.903Z",
- "crop": "cotton",
- "createdAt": "2024-05-27T22:52:44.903Z",
- "updatedAt": "2024-05-27T22:55:44.903Z",
- "deletedAt": "2024-05-27T22:59:44.903Z"
}
}, - "plannedAverageHeight": 98.45,
- "plannedAverageRateFlow": 98.45,
- "plannedAverageSpeed": 98.45,
- "totalFieldArea": 98.45,
- "totalApplicationArea": 98.45,
- "totalViolatedArea": 98.45,
- "createdAt": "2024-05-27T22:52:44.903Z",
- "updatedAt": "2024-05-27T22:55:44.903Z",
- "deletedAt": "2024-05-27T22:59:44.903Z"
}, - "averageSuccessScore": 98.45,
- "averageFailureScore": 98.45,
- "averageUniformityScore": 98.45,
- "averageWasteScore": 98.45,
- "averageRateFlow": 98.45,
- "plannedAverageRateFlow": 98.45,
- "flowRateDataByGroup": [
- {
- "flowRateGroup": "1",
- "groupArea": 98.45,
- "groupPercentual": 98.45,
- "groupColor": "#FEF60D",
- "initialGroupRate": 98.45,
- "finalGroupRate": 98.45
}
], - "layers": [
- {
- "id": "fa2a8bbd-5f1d-4012-a022-12a28f676057",
- "length": 204800,
- "type": "APPLIED",
- "bbox": [
- 10,
- 20,
- 30,
- 40
], - "createdAt": "2024-05-27T22:52:44.903Z",
- "updatedAt": "2024-05-27T22:55:44.903Z"
}
], - "images": [
- {
- "id": "fa2a8bbd-5f1d-4012-a022-12a28f676057",
- "type": "APPLIED",
- "createdAt": "2024-05-27T22:52:44.903Z",
- "updatedAt": "2024-05-27T22:55:44.903Z"
}
], - "averageSpeed": 98.45,
- "averageHeight": 98.45,
- "plannedAverageHeight": 98.45,
- "heightDataByGroup": [
- {
- "heightGroup": "1",
- "groupArea": 98.45,
- "groupPercentual": 98.45,
- "groupColor": "#FEF60D",
- "initialGroupHeight": 98.45,
- "finalGroupHeight": 98.45
}
], - "speedDataByGroup": [
- {
- "speedGroup": "1",
- "groupArea": 98.45,
- "groupPercentual": 98.45,
- "groupColor": "#FEF60D",
- "initialGroupSpeed": 98.45,
- "finalGroupSpeed": 98.45
}
], - "plannedAverageSpeed": 98.45,
- "flowRangeVariation": 98.45,
- "heightRangeVariation": 98.45,
- "totalInternalAppliedOverlapArea": 98.45,
- "totalExternalAppliedOverlapArea": 98.45,
- "totalInternalAppliedArea": 98.45,
- "totalExternalAppliedArea": 98.45,
- "totalAppliedOverlapArea": 98.45,
- "totalTargetFieldArea": 98.45,
- "totalNotAppliedArea": 98.45,
- "totalDistanceTraveled": 98.45,
- "totalAppliedArea": 98.45,
- "totalCroppedNotAppliedArea": 98.45,
- "totalAppliedOverdoseArea": 98.45,
- "totalCostByArea": 98.45,
- "totalCostByAppliedArea": 98.45,
- "totalCostByTargetFieldArea": 98.45,
- "totalCostByExternalAppliedArea": 98.45,
- "totalCostByInternalAppliedArea": 98.45,
- "totalCostByInternalAppliedOverlapArea": 98.45,
- "totalCostByExternalAppliedOverlapArea": 98.45,
- "displacementMargin": 147.67,
- "averageSampleRate": 2.58,
- "createdAt": "2024-05-27T22:52:44.903Z",
- "updatedAt": "2024-05-27T22:55:44.903Z",
- "deletedAt": "2024-05-27T22:59:44.903Z"
}
], - "total": 42
}search application by id
| applicationId required | string <uuid> Example: fa2a8bbd-5f1d-4012-a022-12a28f676057 unique application identification |
| x-pf-correlation-id | string <uuid> (CorrelationHeader) Example: d5de0545-a36b-4c9d-b0cd-4e6e8a523bf1 correlation identifier between request and response |
{- "id": "fa2a8bbd-5f1d-4012-a022-12a28f676057",
- "season": {
- "id": "fe1e9d3c-18fa-4e31-86c1-38c33be1856c",
- "customer": {
- "id": "9b33e7ca-6cfb-4458-bfe4-d28ee7b373eb",
- "name": "My Company",
- "shortName": "My Co",
- "documentNumber": "11.111.111/1111-44",
- "defaultMap": "mapbox_map",
- "idealSuccessScoreThreshold": 80,
- "idealUniformityScoreThreshold": 80,
- "idealFailureScoreThreshold": 10,
- "idealWasteScoreThreshold": 15,
- "overFlowRateScoreThreshold": 10,
- "underFlowRateScoreThreshold": 10,
- "overHeightScoreThreshold": 10,
- "underHeightScoreThreshold": 10,
- "isFlightPlanningEnabled": false,
- "droneFuelingTimeTarget": 15,
- "aircraftFuelingTimeTarget": 15,
- "tractorFuelingTimeTarget": 15,
- "status": "enabled",
- "createdAt": "2024-05-27T22:52:44.903Z",
- "updatedAt": "2024-05-27T22:55:44.903Z",
- "deletedAt": null
}, - "startedIn": "2024-05-27T22:52:44.903Z",
- "finishedIn": "2024-05-27T22:52:44.903Z",
- "crop": "cotton",
- "createdAt": "2024-05-27T22:52:44.903Z",
- "updatedAt": "2024-05-27T22:55:44.903Z",
- "deletedAt": "2024-05-27T22:59:44.903Z"
}, - "status": "complete",
- "analysisMethod": "COMPLETE_TARGET",
- "applicationType": "aerial",
- "deletedReason": "wrong_application_data",
- "notChargeable": false,
- "inspectionFlags": [
- "success_score_warning"
], - "inspectionStatus": "not_inspected",
- "inspectionReason": "unknown",
- "inspectionObservation": "my application inspection comments",
- "deletedObservation": "duplicated application, recreated as OS-1234568",
- "fields": [
- {
- "id": "52a22d4e-69bf-4b6a-9f7f-247ada19104c",
- "boundaries": "POLYGON ((-64.8000009 -6.7046461,-55.2000008 -10.0284011,-63.3600009 -15.6419963,-64.8000009 -6.7046461))",
- "area": 33.43,
- "totalTargetFieldArea": 234.43,
- "totalInternalAppliedArea": 234.43,
- "totalNotAppliedArea": 234.43,
- "totalInternalAppliedOverlapArea": 234.43,
- "totalAppliedOverdoseArea": 234.43,
- "averageUniformityScore": 98.45,
- "averageFailureScore": 98.45,
- "averageSuccessScore": 98.45,
- "field": {
- "id": "b48207a5-9408-4b92-b15f-6954b225c0b6",
- "name": "Field 01",
- "area": 33.43,
- "boundaries": "POLYGON ((-56.1736668 -15.5591935,-56.1731188 -15.5592036,-56.1731971 -15.5595204,-56.1737295 -15.5594852,-56.1736668 -15.5591935))",
- "farm": {
- "id": "20f94ebe-361b-44e6-9729-57d744d04b27",
- "name": "My Farm"
}, - "createdAt": "2024-05-27T22:52:44.903Z",
- "updatedAt": "2024-05-27T22:55:44.903Z",
- "deletedAt": "2024-05-27T22:59:44.903Z"
}, - "applicationTrack": {
- "id": "2d1c9b8a-7f6e-4d5c-4b3a-2f1e9d8c7b6a",
- "boundaries": "POLYGON ((-56.1736668 -15.5591935,-56.1731188 -15.5592036,-56.1731971 -15.5595204,-56.1737295 -15.5594852,-56.1736668 -15.5591935))",
- "totalTrackArea": 234.43,
- "totalAppliedOverTrackArea": 98.45,
- "trackAreaRatio": 0.85,
- "applicationFields": [
- { }
], - "createdAt": "2024-05-27T22:52:44.903Z",
- "updatedAt": "2024-05-27T22:55:44.903Z",
- "deletedAt": "2024-05-27T22:59:44.903Z"
}, - "name": "Field 01",
- "createdAt": "2024-05-27T22:52:44.903Z",
- "updatedAt": "2024-05-27T22:55:44.903Z",
- "deletedAt": "2024-05-27T22:59:44.903Z"
}
], - "farms": [
- {
- "id": "5a4f3e2d-1c9b-4a8f-7e6d-5c4b3a2f1e9d",
- "farm": {
- "id": "20f94ebe-361b-44e6-9729-57d744d04b27",
- "name": "My Farm",
- "namespace": "Farms",
- "area": 155.43,
- "count": 29,
- "boundaries": "MULTIPOLYGON (((-63.7279364 -8.8349494,-63.7264692 -8.8379071,-63.7252954 -8.8373272,-63.7272909 -8.8346015,-63.7279364 -8.8349494)),((-63.7265866 -8.8333836,-63.7268213 -8.8324557,-63.7245324 -8.8322238,-63.7246498 -8.8331516,-63.7265866 -8.8333836)))",
- "hasChildren": true,
- "childrenAmount": 2,
- "parentFarmId": "a4f8d25b-27cd-473a-ae25-ed6e8ff8f321",
- "parentFarm": {
- "id": "5854e582-e539-43ca-a153-52c66f4c98c5",
- "name": "Root Farm",
- "namespace": "Farms",
- "area": 0,
- "count": 0,
- "boundaries": "POLYGON EMPTY",
- "childrenCount": 0,
- "parentFarmId": null,
- "createdAt": "2024-05-27T22:52:44.903Z",
- "updatedAt": "2024-05-27T22:55:44.903Z",
- "deletedAt": null
}, - "farmNameHierarchy": [
- "Root Farm",
- "Sub Farm"
], - "createdAt": "2024-05-27T22:52:44.903Z",
- "updatedAt": "2024-05-27T22:55:44.903Z",
- "deletedAt": "2024-05-27T22:59:44.903Z"
}, - "name": "My Farm",
- "namespace": "Farms",
- "totalFarmArea": 234.43,
- "totalInternalAppliedArea": 98.45,
- "totalNotAppliedArea": 98.45,
- "totalInternalAppliedOverlapArea": 98.45,
- "totalAppliedOverdoseArea": 98.45,
- "averageSuccessScore": 98.45,
- "averageUniformityScore": 98.45,
- "averageFailureScore": 98.45,
- "createdAt": "2024-05-27T22:52:44.903Z",
- "updatedAt": "2024-05-27T22:55:44.903Z",
- "deletedAt": "2024-05-27T22:59:44.903Z"
}
], - "restrictionFields": [
- {
- "id": "4f3e2d1c-9b8a-4f7e-6d5c-4b3a2f1e9d8c",
- "restrictionField": {
- "id": "d902bd61-6b7f-451e-970c-4576d1fbb238",
- "name": "Restriction Field 01",
- "type": "hydrography",
- "boundaries": "POLYGON ((-56.1736668 -15.5591935,-56.1731188 -15.5592036,-56.1731971 -15.5595204,-56.1737295 -15.5594852,-56.1736668 -15.5591935))",
- "warningDistance": 32.54,
- "area": 12.4,
- "createdAt": "2024-05-27T22:52:44.903Z",
- "updatedAt": "2024-05-27T22:55:44.903Z",
- "deletedAt": "2024-05-27T22:59:44.903Z"
}, - "name": "Restriction Field 01",
- "type": "hydrography",
- "warningDistance": 32.54,
- "totalRestrictionArea": 12.4,
- "totalAppliedRestrictionArea": 12.4,
- "totalAppliedBufferArea": 12.4,
- "boundaries": "POLYGON ((-56.1736668 -15.5591935,-56.1731188 -15.5592036,-56.1731971 -15.5595204,-56.1737295 -15.5594852,-56.1736668 -15.5591935))",
- "createdAt": "2024-05-27T22:52:44.903Z",
- "updatedAt": "2024-05-27T22:55:44.903Z",
- "deletedAt": "2024-05-27T22:59:44.903Z"
}
], - "schedules": [
- {
- "id": "ce75ce52-5064-485a-87a5-aa0f1ebe0c03",
- "status": "executed",
- "pilot": {
- "id": "d902bd61-6b7f-451e-970c-4576d1fbb238",
- "name": "John Due",
- "licenseId": "459439473",
- "aerialCompany": {
- "id": "134457d7-58d3-4247-9f67-3fa82b3a0535",
- "name": "Flight Company",
- "documentNumber": "00.000.000/0000-00",
- "state": "SP",
- "city": "São Paulo",
- "mapaRegistration": "123456",
- "customer": {
- "id": "9b33e7ca-6cfb-4458-bfe4-d28ee7b373eb",
- "name": "My Company",
- "shortName": "My Co",
- "documentNumber": "11.111.111/1111-44",
- "defaultMap": "mapbox_map",
- "idealSuccessScoreThreshold": 80,
- "idealUniformityScoreThreshold": 80,
- "idealFailureScoreThreshold": 10,
- "idealWasteScoreThreshold": 15,
- "overFlowRateScoreThreshold": 10,
- "underFlowRateScoreThreshold": 10,
- "overHeightScoreThreshold": 10,
- "underHeightScoreThreshold": 10,
- "isFlightPlanningEnabled": false,
- "droneFuelingTimeTarget": 15,
- "aircraftFuelingTimeTarget": 15,
- "tractorFuelingTimeTarget": 15,
- "status": "enabled",
- "createdAt": "2024-05-27T22:52:44.903Z",
- "updatedAt": "2024-05-27T22:55:44.903Z",
- "deletedAt": null
}, - "createdAt": "2024-05-27T22:52:44.903Z",
- "updatedAt": "2024-05-27T22:55:44.903Z",
- "deletedAt": "2024-05-27T22:59:44.903Z"
}, - "createdAt": "2024-05-27T22:52:44.903Z",
- "updatedAt": "2024-05-27T22:55:44.903Z",
- "deletedAt": "2024-05-27T22:59:44.903Z"
}, - "vehicle": {
- "id": "54e5221c-8a04-4f86-a558-d85b9210f0c9",
- "name": "PT-FFG",
- "model": {
- "id": "07d9a0aa-eb71-451d-af05-de2a06d3d888",
- "name": "AT-401",
- "type": "drone",
- "manufacturer": {
- "id": "ca824435-6ecc-4fcc-9ca1-53801a58790f",
- "name": "Air Tractor",
- "createdAt": "2024-05-27T22:52:44.903Z",
- "updatedAt": "2024-05-27T22:55:44.903Z",
- "deletedAt": "2024-05-27T22:59:44.903Z"
}, - "createdAt": "2024-05-27T22:52:44.903Z",
- "updatedAt": "2024-05-27T22:55:44.903Z",
- "deletedAt": "2024-05-27T22:59:44.903Z"
}, - "type": "drone",
- "aerialCompany": {
- "id": "134457d7-58d3-4247-9f67-3fa82b3a0535",
- "name": "Flight Company",
- "documentNumber": "00.000.000/0000-00",
- "state": "SP",
- "city": "São Paulo",
- "mapaRegistration": "123456",
- "customer": {
- "id": "9b33e7ca-6cfb-4458-bfe4-d28ee7b373eb",
- "name": "My Company",
- "shortName": "My Co",
- "documentNumber": "11.111.111/1111-44",
- "defaultMap": "mapbox_map",
- "idealSuccessScoreThreshold": 80,
- "idealUniformityScoreThreshold": 80,
- "idealFailureScoreThreshold": 10,
- "idealWasteScoreThreshold": 15,
- "overFlowRateScoreThreshold": 10,
- "underFlowRateScoreThreshold": 10,
- "overHeightScoreThreshold": 10,
- "underHeightScoreThreshold": 10,
- "isFlightPlanningEnabled": false,
- "droneFuelingTimeTarget": 15,
- "aircraftFuelingTimeTarget": 15,
- "tractorFuelingTimeTarget": 15,
- "status": "enabled",
- "createdAt": "2024-05-27T22:52:44.903Z",
- "updatedAt": "2024-05-27T22:55:44.903Z",
- "deletedAt": null
}, - "createdAt": "2024-05-27T22:52:44.903Z",
- "updatedAt": "2024-05-27T22:55:44.903Z",
- "deletedAt": "2024-05-27T22:59:44.903Z"
}, - "pulverizerType": "atomizer",
- "serialNumber": "PT-FFG123456",
- "idealHeight": 3.5,
- "idealSpeed": 120.5,
- "idealSwathWidth": 18,
- "externalVehicleId": "b4e5df6e-3b1a-4b4e-8f7f-9d6f7c6a5e4d",
- "connector": "satloc",
- "createdAt": "2024-05-27T22:52:44.903Z",
- "updatedAt": "2024-05-27T22:55:44.903Z",
- "deletedAt": "2024-05-27T22:59:44.903Z"
}, - "applicationLogs": [
- {
- "id": "d8632348-fb7a-4133-a133-8076445bdade",
- "filename": "03062024.log",
- "status": "processed",
- "format": "satloc",
- "metadata": { },
- "signature": "810de9221bab488baf90f2d6c04ed89e40cb64dbacfbed71ff19ccf79353ac54",
- "user": {
- "id": "26016dbb-f8de-4f33-9f26-d793d6ba999d",
- "status": "enabled",
- "name": "John Due",
- "email": "john.due@example.com",
- "phoneNumber": "+5511999999999",
- "identityProvider": "aws_cognito",
- "identityId": "26016dbb-f8de-4f33-9f26-d793d6ba999d",
- "createdAt": "2024-05-27T22:52:44.903Z",
- "updatedAt": "2024-05-27T22:55:44.903Z",
- "deletedAt": "2024-05-27T22:59:44.903Z",
- "lastAccessAt": "2024-05-27T22:59:44.903Z"
}, - "createdAt": "2024-05-27T22:52:44.903Z",
- "updatedAt": "2024-05-27T22:55:44.903Z",
- "deletedAt": "2024-05-27T22:59:44.903Z"
}
], - "scheduleFlight": [
- {
- "id": "6d5c4b3a-2f1e-4d3c-8b7a-9e8d7c6b5a4f",
- "totalFlightTime": 2400,
- "totalFuelingTime": 300,
- "totalOpenSprayTime": 1800,
- "averageOpenSpraySpeed": 120.5,
- "startDateTime": "2024-05-27T22:52:44.903Z",
- "endDateTime": "2024-05-27T23:32:22.100Z",
- "createdAt": "2024-05-27T22:52:44.903Z",
- "updatedAt": "2024-05-27T22:55:44.903Z",
- "deletedAt": "2024-05-27T22:59:44.903Z"
}
], - "startedIn": "2024-05-27T22:52:44.903Z",
- "finishedIn": "2024-05-27T23:32:22.100Z",
- "runwayDistance": 10.4,
- "swathWidth": 28,
- "comments": "my application schedule comments",
- "totalFlightStopTime": 120,
- "totalAppliedOverlapArea": 12.4,
- "totalExternalAppliedArea": 98.45,
- "totalAppliedArea": 98.45,
- "totalDistanceTraveled": 98.45,
- "totalAppliedOverTrackArea": 12.4,
- "totalAppliedOverRestrictionArea": 12.4,
- "totalAppliedOverBufferArea": 12.4,
- "averageSpeed": 98.45,
- "averageSampleRate": 2.58,
- "averageWasteScore": 98.45,
- "displacementMargin": 147.67,
- "totalInternalAppliedArea": 98.45,
- "totalInternalAppliedOverlapArea": 98.45,
- "totalAppliedOverdoseArea": 98.45,
- "averageUniformityScore": 98.45,
- "averageRateFlow": 98.45,
- "averageHeight": 98.45,
- "totalCost": 452.87,
- "totalCostByAppliedExternalArea": 12.4,
- "totalCostByAppliedInternalArea": 12.4,
- "totalCostByAppliedInternalOverlapArea": 12.4,
- "totalCostByArea": 12.4,
- "createdAt": "2024-05-27T22:52:44.903Z",
- "updatedAt": "2024-05-27T22:55:44.903Z",
- "deletedAt": "2024-05-27T22:59:44.903Z"
}
], - "logs": [
- {
- "id": "d8632348-fb7a-4133-a133-8076445bdade",
- "filename": "03062024.log",
- "status": "processed",
- "format": "satloc",
- "metadata": { },
- "signature": "810de9221bab488baf90f2d6c04ed89e40cb64dbacfbed71ff19ccf79353ac54",
- "user": {
- "id": "26016dbb-f8de-4f33-9f26-d793d6ba999d",
- "status": "enabled",
- "name": "John Due",
- "email": "john.due@example.com",
- "phoneNumber": "+5511999999999",
- "identityProvider": "aws_cognito",
- "identityId": "26016dbb-f8de-4f33-9f26-d793d6ba999d",
- "createdAt": "2024-05-27T22:52:44.903Z",
- "updatedAt": "2024-05-27T22:55:44.903Z",
- "deletedAt": "2024-05-27T22:59:44.903Z",
- "lastAccessAt": "2024-05-27T22:59:44.903Z"
}, - "createdAt": "2024-05-27T22:52:44.903Z",
- "updatedAt": "2024-05-27T22:55:44.903Z",
- "deletedAt": "2024-05-27T22:59:44.903Z"
}
], - "products": [
- {
- "id": "bac848b2-5137-4228-a61b-0d6a8e84b0a1",
- "dosage": 1.25,
- "amount": {
- "currency": "BRL",
- "value": 332.43
}, - "customerProduct": {
- "id": "efae9cea-767f-4d28-a4e6-891ee7b0e998",
- "currency": "BRL",
- "cost": 332.43,
- "code": 946749,
- "alias": "Product Alias Example",
- "manufacturerName": "Manufacturer Example",
- "classType": "fungicide",
- "serviceType": "pesticide_application",
- "formulation": "wettable_powder",
- "toxicityCategory": "category_3_moderately_toxic",
- "colorBand": "blue",
- "measurementUnit": "l",
- "createdAt": "2024-05-27T22:52:44.903Z",
- "updatedAt": "2024-05-27T22:55:44.903Z",
- "deletedAt": "2024-05-27T22:59:44.903Z"
}, - "totalAppliedAreaCost": 452.87,
- "totalCostByArea": 12.4,
- "totalEstimatedCost": 980.12,
- "totalVolume": 320.5,
- "createdAt": "2024-05-27T22:52:44.903Z",
- "updatedAt": "2024-05-27T22:55:44.903Z",
- "deletedAt": "2024-05-27T22:59:44.903Z"
}
], - "applicationOperationalServices": [
- {
- "id": "3e2d1c9b-8a7f-4e6d-5c4b-3a2f1e9d8c7b",
- "operationalService": {
- "id": "7c6b5a4f-3e2d-4c1b-9a8f-7d6c5b4a3f2e",
- "name": "Aerial Survey",
- "cost": 250,
- "currency": "BRL",
- "createdAt": "2024-05-27T22:52:44.903Z",
- "updatedAt": "2024-05-27T22:55:44.903Z",
- "deletedAt": "2024-05-27T22:59:44.903Z"
}, - "name": "Aerial Survey",
- "totalAppliedAreaCost": 452.87,
- "totalCostByArea": 12.4,
- "totalEstimatedCost": 980.12,
- "currency": "BRL",
- "createdAt": "2025-01-28T08:52:24.403Z",
- "updatedAt": "2025-01-28T08:52:24.403Z",
- "deletedAt": "2025-01-28T08:52:24.403Z"
}
], - "applicationTrack": {
- "id": "2d1c9b8a-7f6e-4d5c-4b3a-2f1e9d8c7b6a",
- "boundaries": "POLYGON ((-56.1736668 -15.5591935,-56.1731188 -15.5592036,-56.1731971 -15.5595204,-56.1737295 -15.5594852,-56.1736668 -15.5591935))",
- "totalTrackArea": 234.43,
- "totalAppliedOverTrackArea": 98.45,
- "trackAreaRatio": 0.85,
- "applicationFields": [
- {
- "id": "52a22d4e-69bf-4b6a-9f7f-247ada19104c",
- "boundaries": "POLYGON ((-64.8000009 -6.7046461,-55.2000008 -10.0284011,-63.3600009 -15.6419963,-64.8000009 -6.7046461))",
- "area": 33.43,
- "totalTargetFieldArea": 234.43,
- "totalInternalAppliedArea": 234.43,
- "totalNotAppliedArea": 234.43,
- "totalInternalAppliedOverlapArea": 234.43,
- "totalAppliedOverdoseArea": 234.43,
- "averageUniformityScore": 98.45,
- "averageFailureScore": 98.45,
- "averageSuccessScore": 98.45,
- "field": {
- "id": "b48207a5-9408-4b92-b15f-6954b225c0b6",
- "name": "Field 01",
- "area": 33.43,
- "boundaries": "POLYGON ((-56.1736668 -15.5591935,-56.1731188 -15.5592036,-56.1731971 -15.5595204,-56.1737295 -15.5594852,-56.1736668 -15.5591935))",
- "farm": {
- "id": "20f94ebe-361b-44e6-9729-57d744d04b27",
- "name": "My Farm"
}, - "createdAt": "2024-05-27T22:52:44.903Z",
- "updatedAt": "2024-05-27T22:55:44.903Z",
- "deletedAt": "2024-05-27T22:59:44.903Z"
}, - "applicationTrack": { },
- "name": "Field 01",
- "createdAt": "2024-05-27T22:52:44.903Z",
- "updatedAt": "2024-05-27T22:55:44.903Z",
- "deletedAt": "2024-05-27T22:59:44.903Z"
}
], - "createdAt": "2024-05-27T22:52:44.903Z",
- "updatedAt": "2024-05-27T22:55:44.903Z",
- "deletedAt": "2024-05-27T22:59:44.903Z"
}, - "runway": {
- "id": "8f0a5e2c-1b3d-4f6a-9c8e-7d6b5a4f3e2d",
- "name": "Runway 01",
- "latitude": -15.5591935,
- "longitude": -56.1736668,
- "createdAt": "2024-05-27T22:52:44.903Z",
- "updatedAt": "2024-05-27T22:55:44.903Z",
- "deletedAt": "2024-05-27T22:59:44.903Z"
}, - "operationalReportId": "8f0a5e2c-1b3d-4f6a-9c8e-7d6b5a4f3e2d",
- "processedAt": "2024-05-27T22:52:44.903Z",
- "lastReprocessedAt": "2024-05-27T22:52:44.903Z",
- "serviceOrder": {
- "id": "4b6d7415-a029-457a-9901-cc66f76aded4",
- "slug": "OS-1234",
- "status": "complete",
- "observation": "my service order comments",
- "averageUniformityScore": 98.45,
- "averageFailureScore": 98.45,
- "averageWasteScore": 98.45,
- "averageSuccessScore": 98.45,
- "averageRateFlow": 98.45,
- "averageHeight": 98.45,
- "averageSpeed": 98.45,
- "totalCroppedNotAppliedArea": 98.45,
- "totalInternalAppliedOverlapArea": 98.45,
- "totalExternalAppliedOverlapArea": 98.45,
- "totalInternalAppliedArea": 98.45,
- "totalExternalAppliedArea": 98.45,
- "totalAppliedOverlapArea": 98.45,
- "totalTargetFieldArea": 98.45,
- "totalNotAppliedArea": 98.45,
- "totalDistanceTraveled": 98.45,
- "totalAppliedArea": 98.45,
- "totalAppliedOverdoseArea": 98.45,
- "totalCostByArea": 12.4,
- "totalCostByAppliedArea": 12.4,
- "totalCostByTargetFieldArea": 12.4,
- "totalCostByExternalAppliedArea": 12.4,
- "totalCostByInternalAppliedArea": 12.4,
- "totalCostByInternalAppliedOverlapArea": 12.4,
- "totalCostByExternalAppliedOverlapArea": 12.4,
- "displacementMargin": 147.67,
- "averageSampleRate": 2.58,
- "preFlightSeason": {
- "season": {
- "id": "fe1e9d3c-18fa-4e31-86c1-38c33be1856c",
- "customer": {
- "id": "9b33e7ca-6cfb-4458-bfe4-d28ee7b373eb",
- "name": "My Company",
- "shortName": "My Co",
- "documentNumber": "11.111.111/1111-44",
- "defaultMap": "mapbox_map",
- "idealSuccessScoreThreshold": 80,
- "idealUniformityScoreThreshold": 80,
- "idealFailureScoreThreshold": 10,
- "idealWasteScoreThreshold": 15,
- "overFlowRateScoreThreshold": 10,
- "underFlowRateScoreThreshold": 10,
- "overHeightScoreThreshold": 10,
- "underHeightScoreThreshold": 10,
- "isFlightPlanningEnabled": false,
- "droneFuelingTimeTarget": 15,
- "aircraftFuelingTimeTarget": 15,
- "tractorFuelingTimeTarget": 15,
- "status": "enabled",
- "createdAt": "2024-05-27T22:52:44.903Z",
- "updatedAt": "2024-05-27T22:55:44.903Z",
- "deletedAt": null
}, - "startedIn": "2024-05-27T22:52:44.903Z",
- "finishedIn": "2024-05-27T22:52:44.903Z",
- "crop": "cotton",
- "createdAt": "2024-05-27T22:52:44.903Z",
- "updatedAt": "2024-05-27T22:55:44.903Z",
- "deletedAt": "2024-05-27T22:59:44.903Z"
}
}, - "plannedAverageHeight": 98.45,
- "plannedAverageRateFlow": 98.45,
- "plannedAverageSpeed": 98.45,
- "totalFieldArea": 98.45,
- "totalApplicationArea": 98.45,
- "totalViolatedArea": 98.45,
- "createdAt": "2024-05-27T22:52:44.903Z",
- "updatedAt": "2024-05-27T22:55:44.903Z",
- "deletedAt": "2024-05-27T22:59:44.903Z"
}, - "averageSuccessScore": 98.45,
- "averageFailureScore": 98.45,
- "averageUniformityScore": 98.45,
- "averageWasteScore": 98.45,
- "averageRateFlow": 98.45,
- "plannedAverageRateFlow": 98.45,
- "flowRateDataByGroup": [
- {
- "flowRateGroup": "1",
- "groupArea": 98.45,
- "groupPercentual": 98.45,
- "groupColor": "#FEF60D",
- "initialGroupRate": 98.45,
- "finalGroupRate": 98.45
}
], - "layers": [
- {
- "id": "fa2a8bbd-5f1d-4012-a022-12a28f676057",
- "length": 204800,
- "type": "APPLIED",
- "bbox": [
- 10,
- 20,
- 30,
- 40
], - "createdAt": "2024-05-27T22:52:44.903Z",
- "updatedAt": "2024-05-27T22:55:44.903Z"
}
], - "images": [
- {
- "id": "fa2a8bbd-5f1d-4012-a022-12a28f676057",
- "type": "APPLIED",
- "createdAt": "2024-05-27T22:52:44.903Z",
- "updatedAt": "2024-05-27T22:55:44.903Z"
}
], - "averageSpeed": 98.45,
- "averageHeight": 98.45,
- "plannedAverageHeight": 98.45,
- "heightDataByGroup": [
- {
- "heightGroup": "1",
- "groupArea": 98.45,
- "groupPercentual": 98.45,
- "groupColor": "#FEF60D",
- "initialGroupHeight": 98.45,
- "finalGroupHeight": 98.45
}
], - "speedDataByGroup": [
- {
- "speedGroup": "1",
- "groupArea": 98.45,
- "groupPercentual": 98.45,
- "groupColor": "#FEF60D",
- "initialGroupSpeed": 98.45,
- "finalGroupSpeed": 98.45
}
], - "plannedAverageSpeed": 98.45,
- "flowRangeVariation": 98.45,
- "heightRangeVariation": 98.45,
- "totalInternalAppliedOverlapArea": 98.45,
- "totalExternalAppliedOverlapArea": 98.45,
- "totalInternalAppliedArea": 98.45,
- "totalExternalAppliedArea": 98.45,
- "totalAppliedOverlapArea": 98.45,
- "totalTargetFieldArea": 98.45,
- "totalNotAppliedArea": 98.45,
- "totalDistanceTraveled": 98.45,
- "totalAppliedArea": 98.45,
- "totalCroppedNotAppliedArea": 98.45,
- "totalAppliedOverdoseArea": 98.45,
- "totalCostByArea": 98.45,
- "totalCostByAppliedArea": 98.45,
- "totalCostByTargetFieldArea": 98.45,
- "totalCostByExternalAppliedArea": 98.45,
- "totalCostByInternalAppliedArea": 98.45,
- "totalCostByInternalAppliedOverlapArea": 98.45,
- "totalCostByExternalAppliedOverlapArea": 98.45,
- "displacementMargin": 147.67,
- "averageSampleRate": 2.58,
- "createdAt": "2024-05-27T22:52:44.903Z",
- "updatedAt": "2024-05-27T22:55:44.903Z",
- "deletedAt": "2024-05-27T22:59:44.903Z"
}create a new product
| x-pf-correlation-id | string <uuid> (CorrelationHeader) Example: d5de0545-a36b-4c9d-b0cd-4e6e8a523bf1 correlation identifier between request and response |
| alias required | string product alias |
| manufacturerName | string or null Default: "Unknown" name of the manufacturer of the product |
| productId required | string <uuid> unique identifier of the suggested product this new product registration is associated with. Every customer product must be linked to one from the catalog — there is no support for a standalone product not tied to a suggested product. |
| code | integer or null custom product code |
| measurementUnit required | string (MeasurementUnitEnum) Enum: "l" "ha" "ac" "m" "kg" "km" "°" "°c" "°f" "mm" "%" measurement unit |
object (AmountDto) |
{- "alias": "My Product Example",
- "manufacturerName": "Manufacturer Example",
- "productId": "efae9cea-767f-4d28-a4e6-891ee7b0e998",
- "code": 946749,
- "measurementUnit": "l",
- "amount": {
- "currency": "BRL",
- "value": 332.43
}
}{- "id": "efae9cea-767f-4d28-a4e6-891ee7b0e998",
- "customer": {
- "id": "134457d7-58d3-4247-9f67-3fa82b3a0535"
}, - "currency": "BRL",
- "cost": 332.43,
- "code": 946749,
- "alias": "My Product Example",
- "manufacturerName": "Manufacturer Example",
- "classType": "fungicide",
- "serviceType": "pesticide_application",
- "formulation": "wettable_powder",
- "toxicityCategory": "category_3_moderately_toxic",
- "colorBand": "blue",
- "measurementUnit": "l",
- "createdAt": "2024-05-27T22:52:44.903Z",
- "updatedAt": "2024-05-27T22:55:44.903Z"
}search all products
| withDeleted | boolean (WithDeletedQueryParameter) Default: false Example: withDeleted=true include deleted products |
| manufacturerName | string Example: manufacturerName=Manufacturer Example product manufacturer name |
| alias | string Example: alias=My Custom Product product alias |
| code | integer or null Example: code=2932493 custom product code |
| classType | string (ProductClassTypeEnum) Default: "unknown" Enum: "unknown" "ripener" "adjuvant" "insecticide" "acaricide" "fungicide" "nematicide" "herbicide" "bactericide" "biological" "adulticide" "foliar_nutrition" "larvicide" "fertilizer" "phytohormone" "ant_killer" "seeding" "microbiological" "plant_activator" "termiticide" "pheromone" "plant_growth_regulator" "molluscicide" "seed_protectant" "biological_control_agent" "acaricide_bactericide_fungicide" "acaricide_ant_killer_insecticide" "acaricide_fungicide" "acaricide_fungicide_insecticide" "acaricide_insecticide" "acaricide_insecticide_nematicide" "acaricide_microbiological" "acaricide_microbiological_insecticide_microbiological" "bactericide_fungicide" "bactericide_microbiological_fungicide_microbiological" "termiticide_ant_killer_insecticide" "termiticide_insecticide" "pheromone_insecticide" "ant_killer_fungicide_herbicide_insecticide_nematicide" "ant_killer_fungicide_herbicide_nematicide" "ant_killer_insecticide" "fungicide_nematicide" "fungicide_nematicide_microbiological" "fungicide_herbicide_nematicide" "fungicide_insecticide" "fungicide_insecticide_nematicide" "fungicide_microbiological" "fungicide_microbiological_nematicide_microbiological" "herbicide_plant_growth_regulator" "insecticide_plant_growth_regulator" "fumigant_insecticide" "insecticide_microbiological" "insecticide_nematicide" "nematicide_microbiological" Example: classType=fungicide product class type |
| page | integer <int32> (PageQueryParameter) Default: 1 Example: page=2 current page number |
| pageSize | integer <int32> (PageSizeQueryParameter) Default: 10 Example: pageSize=20 number of products per page |
| x-pf-correlation-id | string <uuid> (CorrelationHeader) Example: d5de0545-a36b-4c9d-b0cd-4e6e8a523bf1 correlation identifier between request and response |
{- "products": [
- {
- "id": "efae9cea-767f-4d28-a4e6-891ee7b0e998",
- "currency": "BRL",
- "cost": 332.43,
- "code": 946749,
- "alias": "Product Alias Example",
- "manufacturerName": "Manufacturer Example",
- "classType": "fungicide",
- "serviceType": "pesticide_application",
- "formulation": "wettable_powder",
- "toxicityCategory": "category_3_moderately_toxic",
- "colorBand": "blue",
- "measurementUnit": "l",
- "createdAt": "2024-05-27T22:52:44.903Z",
- "updatedAt": "2024-05-27T22:55:44.903Z",
- "deletedAt": "2024-05-27T22:59:44.903Z"
}
], - "total": 2
}create a new season
| x-pf-correlation-id | string <uuid> (CorrelationHeader) Example: d5de0545-a36b-4c9d-b0cd-4e6e8a523bf1 correlation identifier between request and response |
| startedIn required | string <date-time> timestamp in RFC 3339 format (UTC) in which the season was started |
| finishedIn required | string <date-time> timestamp in RFC 3339 format (UTC) in which the season was finished |
| crop required | string (CropEnum) Enum: "unknown" "cotton" "corn" "avocado" "bean" "brachiaria" "cereals" "citrus" "cocoa" "coconut" "coffee" "eucalyptus" "grape" "oat" "orange" "peanut" "pineapple" "potato" "rice" "soybean" "sugarcane" "sunflower" "wheat" "sunn_hemp" "pearl_millet" "sorghum" "stylosanthes" "cover" "millet" "banana" "tobacco" "sesame" "seed_corn" crop type |
{- "startedIn": "2024-05-27T22:52:44.903Z",
- "finishedIn": "2024-05-27T22:52:44.903Z",
- "crop": "cotton"
}{- "id": "fe1e9d3c-18fa-4e31-86c1-38c33be1856c",
- "customer": {
- "id": "134457d7-58d3-4247-9f67-3fa82b3a0535"
}, - "startedIn": "2024-05-27T22:52:44.903Z",
- "finishedIn": "2024-05-27T22:52:44.903Z",
- "crop": "cotton",
- "createdAt": "2024-05-27T22:52:44.903Z",
- "updatedAt": "2024-05-27T22:55:44.903Z",
- "deletedAt": "2024-05-27T22:59:44.903Z"
}search all seasons
| withDeleted | boolean (WithDeletedQueryParameter) Default: false Example: withDeleted=true include deleted seasons |
| page | integer <int32> (PageQueryParameter) Default: 1 Example: page=2 current page number |
| pageSize | integer <int32> (PageSizeQueryParameter) Default: 10 Example: pageSize=20 number of seasons per page |
| x-pf-correlation-id | string <uuid> (CorrelationHeader) Example: d5de0545-a36b-4c9d-b0cd-4e6e8a523bf1 correlation identifier between request and response |
{- "seasons": [
- {
- "id": "fe1e9d3c-18fa-4e31-86c1-38c33be1856c",
- "customer": {
- "id": "9b33e7ca-6cfb-4458-bfe4-d28ee7b373eb",
- "name": "My Company",
- "shortName": "My Co",
- "documentNumber": "11.111.111/1111-44",
- "defaultMap": "mapbox_map",
- "idealSuccessScoreThreshold": 80,
- "idealUniformityScoreThreshold": 80,
- "idealFailureScoreThreshold": 10,
- "idealWasteScoreThreshold": 15,
- "overFlowRateScoreThreshold": 10,
- "underFlowRateScoreThreshold": 10,
- "overHeightScoreThreshold": 10,
- "underHeightScoreThreshold": 10,
- "isFlightPlanningEnabled": false,
- "droneFuelingTimeTarget": 15,
- "aircraftFuelingTimeTarget": 15,
- "tractorFuelingTimeTarget": 15,
- "status": "enabled",
- "createdAt": "2024-05-27T22:52:44.903Z",
- "updatedAt": "2024-05-27T22:55:44.903Z",
- "deletedAt": null
}, - "startedIn": "2024-05-27T22:52:44.903Z",
- "finishedIn": "2024-05-27T22:52:44.903Z",
- "crop": "cotton",
- "createdAt": "2024-05-27T22:52:44.903Z",
- "updatedAt": "2024-05-27T22:55:44.903Z",
- "deletedAt": "2024-05-27T22:59:44.903Z"
}
], - "total": 2
}search season by id
| seasonId required | string <uuid> Example: 3ffa8c69-cc87-46b6-b824-e62feb97f237 unique season identification |
| x-pf-correlation-id | string <uuid> (CorrelationHeader) Example: d5de0545-a36b-4c9d-b0cd-4e6e8a523bf1 correlation identifier between request and response |
{- "id": "fe1e9d3c-18fa-4e31-86c1-38c33be1856c",
- "customer": {
- "id": "9b33e7ca-6cfb-4458-bfe4-d28ee7b373eb",
- "name": "My Company",
- "shortName": "My Co",
- "documentNumber": "11.111.111/1111-44",
- "defaultMap": "mapbox_map",
- "idealSuccessScoreThreshold": 80,
- "idealUniformityScoreThreshold": 80,
- "idealFailureScoreThreshold": 10,
- "idealWasteScoreThreshold": 15,
- "overFlowRateScoreThreshold": 10,
- "underFlowRateScoreThreshold": 10,
- "overHeightScoreThreshold": 10,
- "underHeightScoreThreshold": 10,
- "isFlightPlanningEnabled": false,
- "droneFuelingTimeTarget": 15,
- "aircraftFuelingTimeTarget": 15,
- "tractorFuelingTimeTarget": 15,
- "status": "enabled",
- "createdAt": "2024-05-27T22:52:44.903Z",
- "updatedAt": "2024-05-27T22:55:44.903Z",
- "deletedAt": null
}, - "startedIn": "2024-05-27T22:52:44.903Z",
- "finishedIn": "2024-05-27T22:52:44.903Z",
- "crop": "cotton",
- "createdAt": "2024-05-27T22:52:44.903Z",
- "updatedAt": "2024-05-27T22:55:44.903Z",
- "deletedAt": "2024-05-27T22:59:44.903Z"
}search all vehicles
| name | string filter by vehicle name |
| type | string (VehicleTypeEnum) Enum: "drone" "aircraft" "tractor" Example: type=drone filter by vehicle type |
| serialNumber | string filter by vehicle serial number |
| x-pf-correlation-id | string <uuid> (CorrelationHeader) Example: d5de0545-a36b-4c9d-b0cd-4e6e8a523bf1 correlation identifier between request and response |
{- "vehicles": [
- {
- "id": "54e5221c-8a04-4f86-a558-d85b9210f0c9",
- "name": "PT-FFG",
- "model": {
- "id": "07d9a0aa-eb71-451d-af05-de2a06d3d888",
- "name": "AT-401",
- "type": "drone",
- "manufacturer": {
- "id": "ca824435-6ecc-4fcc-9ca1-53801a58790f",
- "name": "Air Tractor",
- "createdAt": "2024-05-27T22:52:44.903Z",
- "updatedAt": "2024-05-27T22:55:44.903Z",
- "deletedAt": "2024-05-27T22:59:44.903Z"
}, - "createdAt": "2024-05-27T22:52:44.903Z",
- "updatedAt": "2024-05-27T22:55:44.903Z",
- "deletedAt": "2024-05-27T22:59:44.903Z"
}, - "type": "drone",
- "aerialCompany": {
- "id": "134457d7-58d3-4247-9f67-3fa82b3a0535",
- "name": "Flight Company",
- "documentNumber": "00.000.000/0000-00",
- "state": "SP",
- "city": "São Paulo",
- "mapaRegistration": "123456",
- "customer": {
- "id": "9b33e7ca-6cfb-4458-bfe4-d28ee7b373eb",
- "name": "My Company",
- "shortName": "My Co",
- "documentNumber": "11.111.111/1111-44",
- "defaultMap": "mapbox_map",
- "idealSuccessScoreThreshold": 80,
- "idealUniformityScoreThreshold": 80,
- "idealFailureScoreThreshold": 10,
- "idealWasteScoreThreshold": 15,
- "overFlowRateScoreThreshold": 10,
- "underFlowRateScoreThreshold": 10,
- "overHeightScoreThreshold": 10,
- "underHeightScoreThreshold": 10,
- "isFlightPlanningEnabled": false,
- "droneFuelingTimeTarget": 15,
- "aircraftFuelingTimeTarget": 15,
- "tractorFuelingTimeTarget": 15,
- "status": "enabled",
- "createdAt": "2024-05-27T22:52:44.903Z",
- "updatedAt": "2024-05-27T22:55:44.903Z",
- "deletedAt": null
}, - "createdAt": "2024-05-27T22:52:44.903Z",
- "updatedAt": "2024-05-27T22:55:44.903Z",
- "deletedAt": "2024-05-27T22:59:44.903Z"
}, - "pulverizerType": "atomizer",
- "serialNumber": "PT-FFG123456",
- "idealHeight": 3.5,
- "idealSpeed": 120.5,
- "idealSwathWidth": 18,
- "externalVehicleId": "b4e5df6e-3b1a-4b4e-8f7f-9d6f7c6a5e4d",
- "connector": "satloc",
- "createdAt": "2024-05-27T22:52:44.903Z",
- "updatedAt": "2024-05-27T22:55:44.903Z",
- "deletedAt": "2024-05-27T22:59:44.903Z"
}
], - "total": 3
}search all pilots
| withDeleted | boolean (WithDeletedQueryParameter) Default: false Example: withDeleted=true include deleted pilots |
| page | integer <int32> (PageQueryParameter) Default: 1 Example: page=2 current page number |
| pageSize | integer <int32> (PageSizeQueryParameter) Default: 10 Example: pageSize=20 number of pilots per page |
| x-pf-correlation-id | string <uuid> (CorrelationHeader) Example: d5de0545-a36b-4c9d-b0cd-4e6e8a523bf1 correlation identifier between request and response |
{- "pilots": [
- {
- "id": "d902bd61-6b7f-451e-970c-4576d1fbb238",
- "name": "John Due",
- "licenseId": "459439473",
- "aerialCompany": {
- "id": "134457d7-58d3-4247-9f67-3fa82b3a0535",
- "name": "Flight Company",
- "documentNumber": "00.000.000/0000-00",
- "state": "SP",
- "city": "São Paulo",
- "mapaRegistration": "123456",
- "customer": {
- "id": "9b33e7ca-6cfb-4458-bfe4-d28ee7b373eb",
- "name": "My Company",
- "shortName": "My Co",
- "documentNumber": "11.111.111/1111-44",
- "defaultMap": "mapbox_map",
- "idealSuccessScoreThreshold": 80,
- "idealUniformityScoreThreshold": 80,
- "idealFailureScoreThreshold": 10,
- "idealWasteScoreThreshold": 15,
- "overFlowRateScoreThreshold": 10,
- "underFlowRateScoreThreshold": 10,
- "overHeightScoreThreshold": 10,
- "underHeightScoreThreshold": 10,
- "isFlightPlanningEnabled": false,
- "droneFuelingTimeTarget": 15,
- "aircraftFuelingTimeTarget": 15,
- "tractorFuelingTimeTarget": 15,
- "status": "enabled",
- "createdAt": "2024-05-27T22:52:44.903Z",
- "updatedAt": "2024-05-27T22:55:44.903Z",
- "deletedAt": null
}, - "createdAt": "2024-05-27T22:52:44.903Z",
- "updatedAt": "2024-05-27T22:55:44.903Z",
- "deletedAt": "2024-05-27T22:59:44.903Z"
}, - "createdAt": "2024-05-27T22:52:44.903Z",
- "updatedAt": "2024-05-27T22:55:44.903Z",
- "deletedAt": "2024-05-27T22:59:44.903Z"
}
], - "total": 2
}search all suggested products
| name | string or null Example: name=Suggested Product Example suggested product name |
| classType | string (ProductClassTypeEnum) Default: "unknown" Enum: "unknown" "ripener" "adjuvant" "insecticide" "acaricide" "fungicide" "nematicide" "herbicide" "bactericide" "biological" "adulticide" "foliar_nutrition" "larvicide" "fertilizer" "phytohormone" "ant_killer" "seeding" "microbiological" "plant_activator" "termiticide" "pheromone" "plant_growth_regulator" "molluscicide" "seed_protectant" "biological_control_agent" "acaricide_bactericide_fungicide" "acaricide_ant_killer_insecticide" "acaricide_fungicide" "acaricide_fungicide_insecticide" "acaricide_insecticide" "acaricide_insecticide_nematicide" "acaricide_microbiological" "acaricide_microbiological_insecticide_microbiological" "bactericide_fungicide" "bactericide_microbiological_fungicide_microbiological" "termiticide_ant_killer_insecticide" "termiticide_insecticide" "pheromone_insecticide" "ant_killer_fungicide_herbicide_insecticide_nematicide" "ant_killer_fungicide_herbicide_nematicide" "ant_killer_insecticide" "fungicide_nematicide" "fungicide_nematicide_microbiological" "fungicide_herbicide_nematicide" "fungicide_insecticide" "fungicide_insecticide_nematicide" "fungicide_microbiological" "fungicide_microbiological_nematicide_microbiological" "herbicide_plant_growth_regulator" "insecticide_plant_growth_regulator" "fumigant_insecticide" "insecticide_microbiological" "insecticide_nematicide" "nematicide_microbiological" Example: classType=fungicide suggested product class type |
| withDeleted | boolean (WithDeletedQueryParameter) Default: false Example: withDeleted=true include deleted suggested products |
| page | integer <int32> (PageQueryParameter) Default: 1 Example: page=2 current page number |
| pageSize | integer <int32> (PageSizeQueryParameter) Default: 10 Example: pageSize=20 number of suggested products per page |
| x-pf-correlation-id | string <uuid> (CorrelationHeader) Example: d5de0545-a36b-4c9d-b0cd-4e6e8a523bf1 correlation identifier between request and response |
[- {
- "id": "efae9cea-767f-4d28-a4e6-891ee7b0e998",
- "name": "Suggested Product Example",
- "manufacturerName": "Manufacturer Example",
- "classType": "fungicide",
- "serviceType": "pesticide_application",
- "formulation": "wettable_powder",
- "toxicityCategory": "category_3_moderately_toxic",
- "colorBand": "blue",
- "measurementUnit": "l",
- "createdAt": "2024-05-27T22:52:44.903Z",
- "updatedAt": "2024-05-27T22:55:44.903Z",
- "deletedAt": "2024-05-27T22:59:44.903Z"
}
]create a new pre flight
| x-pf-correlation-id | string <uuid> (CorrelationHeader) Example: d5de0545-a36b-4c9d-b0cd-4e6e8a523bf1 correlation identifier between request and response |
| slug | string service order identification. Optional — if omitted (or blank), a default of the form to obtain a valid pre-existing slug instead of letting one be generated, read |
| status | string (ServiceOrderStatusEnum) Enum: "waiting_job" "in_progress" "ready_to_process" "processing" "complete" service order status |
| observation | string or null pre flight observation |
| preFlightSeasonId | string <uuid> unique pre flight season identification |
| preFlightPilot | Array of strings <uuid> (PilotId) >= 0 items unique [ items <uuid > ] pilots of pre flight |
| preFlightVehicle | Array of strings <uuid> (VehicleId) >= 0 items unique [ items <uuid > ] vehicles of pre flight |
| preFlightTractor | Array of strings <uuid> (TractorId) >= 0 items unique [ items <uuid > ] tractors of pre flight |
Array of objects (CreatePreFlightFieldDto) >= 0 items unique fields of pre flight | |
Array of objects (CreatePreFlightProductDto) >= 0 items unique products of pre flight | |
Array of objects (CreatePreFlightRestrictionFieldDto) >= 0 items unique restriction fields of pre flight |
{- "slug": "OS-1234567899",
- "status": "complete",
- "observation": "my pre flight comments",
- "preFlightSeasonId": "134457d7-58d3-4247-9f67-3fa82b3a0535",
- "preFlightPilot": [
- "d902bd61-6b7f-451e-970c-4576d1fbb238"
], - "preFlightVehicle": [
- "54e5221c-8a04-4f86-a558-d85b9210f0c9"
], - "preFlightTractor": [
- "771bc011-22b9-439a-b0b4-0e7ffe3cc93e"
], - "preFlightField": [
- {
- "fieldId": "917bfcf8-8dbb-4e68-b4a5-f1e960669b14",
- "boundaries": "POLYGON ((-56.1736668 -15.5591935,-56.1731188 -15.5592036,-56.1731971 -15.5595204,-56.1737295 -15.5594852,-56.1736668 -15.5591935))"
}
], - "preFlightProduct": [
- {
- "customerProductId": "d902bd61-6b7f-451e-970c-4576d1fbb238",
- "dosage": 3.54
}
], - "preFlightRestrictionField": [
- {
- "restrictionFieldId": "d902bd61-6b7f-451e-970c-4576d1fbb238",
- "warningDistance": 32.54
}
]
}{- "slug": "OS-1234567899"
}