Microsoft.AgFoodPlatform (preview:2021-03-31)

2025/09/26 • 106 deleted methods

ApplicationData_ListByFarmerId (removed)
Description Get a paginated list of application data resources for a given farmer and search criteria. ###### Note: 1. Users will get paginated response with each page containing a link to the next page. Users are expected to iterate over all the pages using ‘nextLink’. The search comes to an end when ‘nextLink’ is null.
Reference Link ¶

⚼ Request

GET:  /farmers/{farmerId}/application-data
{
farmerId: string ,
minAvgMaterial: number ,
maxAvgMaterial: number ,
minTotalMaterial: number ,
maxTotalMaterial: number ,
sources: array ,
associatedBoundaryIds: array ,
operationBoundaryIds: array ,
minOperationStartDateTime: string ,
maxOperationStartDateTime: string ,
minOperationEndDateTime: string ,
maxOperationEndDateTime: string ,
minOperationModifiedDateTime: string ,
maxOperationModifiedDateTime: string ,
minArea: number ,
maxArea: number ,
ids: array ,
names: array ,
propertyFilters: array ,
statuses: array ,
minCreatedDateTime: string ,
maxCreatedDateTime: string ,
minLastModifiedDateTime: string ,
maxLastModifiedDateTime: string ,
$maxPageSize: integer ,
$skipToken: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
applicationProductDetails:
[
{
productName: string ,
isCarrier: boolean ,
avgMaterial:
{
unit: string ,
value: number ,
}
,
totalMaterial:
{
unit: string ,
value: number ,
}
,
}
,
]
,
avgMaterial:
{
unit: string ,
value: number ,
}
,
totalMaterial:
{
unit: string ,
value: number ,
}
,
area:
{
unit: string ,
value: number ,
}
,
source: string ,
operationModifiedDateTime: string ,
operationStartDateTime: string ,
operationEndDateTime: string ,
attachmentsLink: string ,
associatedBoundaryId: string ,
operationBoundaryId: string ,
farmerId: string ,
id: string ,
eTag: string ,
status: string ,
createdDateTime: string ,
modifiedDateTime: string ,
name: string ,
description: string ,
properties: object ,
}
,
]
,
$skipToken: string ,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
traceId: string ,
}
ApplicationData_List (removed)
Description Get a paginated list of application data resources across all the farmers for a given search criteria. ###### Note: 1. This API does a serial search of the database for the given search criteria. If the farmer Id is available, it is strongly recommended to use **‘List by Farmer Id’** API as it is performant. 2. Users will get paginated response with each page containing a link to the next page. Few pages may have **no items (zero results)**. Users are expected to iterate over all the pages using ‘nextLink’. The search comes to an end when ‘nextLink’ is null.
Reference Link ¶

⚼ Request

GET:  /application-data
{
minAvgMaterial: number ,
maxAvgMaterial: number ,
minTotalMaterial: number ,
maxTotalMaterial: number ,
sources: array ,
associatedBoundaryIds: array ,
operationBoundaryIds: array ,
minOperationStartDateTime: string ,
maxOperationStartDateTime: string ,
minOperationEndDateTime: string ,
maxOperationEndDateTime: string ,
minOperationModifiedDateTime: string ,
maxOperationModifiedDateTime: string ,
minArea: number ,
maxArea: number ,
ids: array ,
names: array ,
propertyFilters: array ,
statuses: array ,
minCreatedDateTime: string ,
maxCreatedDateTime: string ,
minLastModifiedDateTime: string ,
maxLastModifiedDateTime: string ,
$maxPageSize: integer ,
$skipToken: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
applicationProductDetails:
[
{
productName: string ,
isCarrier: boolean ,
avgMaterial:
{
unit: string ,
value: number ,
}
,
totalMaterial:
{
unit: string ,
value: number ,
}
,
}
,
]
,
avgMaterial:
{
unit: string ,
value: number ,
}
,
totalMaterial:
{
unit: string ,
value: number ,
}
,
area:
{
unit: string ,
value: number ,
}
,
source: string ,
operationModifiedDateTime: string ,
operationStartDateTime: string ,
operationEndDateTime: string ,
attachmentsLink: string ,
associatedBoundaryId: string ,
operationBoundaryId: string ,
farmerId: string ,
id: string ,
eTag: string ,
status: string ,
createdDateTime: string ,
modifiedDateTime: string ,
name: string ,
description: string ,
properties: object ,
}
,
]
,
$skipToken: string ,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
traceId: string ,
}
ApplicationData_Get (removed)
Description Get a specified application data resource for a given farmer.
Reference Link ¶

⚼ Request

GET:  /farmers/{farmerId}/application-data/{applicationDataId}
{
farmerId: string ,
applicationDataId: string ,
api-version: string ,
}

⚐ Response (200)

{
applicationProductDetails:
[
{
productName: string ,
isCarrier: boolean ,
avgMaterial:
{
unit: string ,
value: number ,
}
,
totalMaterial:
{
unit: string ,
value: number ,
}
,
}
,
]
,
avgMaterial:
{
unit: string ,
value: number ,
}
,
totalMaterial:
{
unit: string ,
value: number ,
}
,
area:
{
unit: string ,
value: number ,
}
,
source: string ,
operationModifiedDateTime: string ,
operationStartDateTime: string ,
operationEndDateTime: string ,
attachmentsLink: string ,
associatedBoundaryId: string ,
operationBoundaryId: string ,
farmerId: string ,
id: string ,
eTag: string ,
status: string ,
createdDateTime: string ,
modifiedDateTime: string ,
name: string ,
description: string ,
properties: object ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
traceId: string ,
}
ApplicationData_CreateOrUpdate (removed)
Description Create or update an application data resource for a given farmer. ###### Note: 1. The **‘contentType’** in the request header should be **'application/merge-patch+json'**. 2. 'Id' of a resource can only contain alphanumeric characters, '-', '_', '~' or '.', and must begin and end with an alphanumeric character. Minimum length of an ‘Id’ is 2 characters and maximum length is 50 characters. 3. 'Key' and 'value' in 'Properties' can have a maximum of 50 and 150 characters respectively.
Reference Link ¶

⚼ Request

PATCH:  /farmers/{farmerId}/application-data/{applicationDataId}
{
farmerId: string ,
applicationDataId: string ,
api-version: string ,
applicationData:
{
applicationProductDetails:
[
{
productName: string ,
isCarrier: boolean ,
avgMaterial:
{
unit: string ,
value: number ,
}
,
totalMaterial:
{
unit: string ,
value: number ,
}
,
}
,
]
,
avgMaterial:
{
unit: string ,
value: number ,
}
,
totalMaterial:
{
unit: string ,
value: number ,
}
,
area:
{
unit: string ,
value: number ,
}
,
source: string ,
operationModifiedDateTime: string ,
operationStartDateTime: string ,
operationEndDateTime: string ,
attachmentsLink: string ,
associatedBoundaryId: string ,
operationBoundaryId: string ,
farmerId: string ,
id: string ,
eTag: string ,
status: string ,
createdDateTime: string ,
modifiedDateTime: string ,
name: string ,
description: string ,
properties: object ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
traceId: string ,
}

⚐ Response (200)

{
applicationProductDetails:
[
{
productName: string ,
isCarrier: boolean ,
avgMaterial:
{
unit: string ,
value: number ,
}
,
totalMaterial:
{
unit: string ,
value: number ,
}
,
}
,
]
,
avgMaterial:
{
unit: string ,
value: number ,
}
,
totalMaterial:
{
unit: string ,
value: number ,
}
,
area:
{
unit: string ,
value: number ,
}
,
source: string ,
operationModifiedDateTime: string ,
operationStartDateTime: string ,
operationEndDateTime: string ,
attachmentsLink: string ,
associatedBoundaryId: string ,
operationBoundaryId: string ,
farmerId: string ,
id: string ,
eTag: string ,
status: string ,
createdDateTime: string ,
modifiedDateTime: string ,
name: string ,
description: string ,
properties: object ,
}

⚐ Response (201)

{
applicationProductDetails:
[
{
productName: string ,
isCarrier: boolean ,
avgMaterial:
{
unit: string ,
value: number ,
}
,
totalMaterial:
{
unit: string ,
value: number ,
}
,
}
,
]
,
avgMaterial:
{
unit: string ,
value: number ,
}
,
totalMaterial:
{
unit: string ,
value: number ,
}
,
area:
{
unit: string ,
value: number ,
}
,
source: string ,
operationModifiedDateTime: string ,
operationStartDateTime: string ,
operationEndDateTime: string ,
attachmentsLink: string ,
associatedBoundaryId: string ,
operationBoundaryId: string ,
farmerId: string ,
id: string ,
eTag: string ,
status: string ,
createdDateTime: string ,
modifiedDateTime: string ,
name: string ,
description: string ,
properties: object ,
}
ApplicationData_Delete (removed)
Description Delete a specified application data resource for a given farmer.
Reference Link ¶

⚼ Request

DELETE:  /farmers/{farmerId}/application-data/{applicationDataId}
{
farmerId: string ,
applicationDataId: string ,
api-version: string ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
traceId: string ,
}
ApplicationData_GetCascadeDeleteJobDetails (removed)
Description Get details of a cascade delete job for application data resource.
Reference Link ¶

⚼ Request

GET:  /application-data/cascade-delete/{jobId}
{
jobId: string ,
api-version: string ,
}

⚐ Response (200)

{
farmerId: string ,
resourceId: string ,
resourceType: string ,
id: string ,
status: enum ,
durationInSeconds: number ,
message: string ,
createdDateTime: string ,
lastActionDateTime: string ,
startTime: string ,
endTime: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
traceId: string ,
}
ApplicationData_CreateCascadeDeleteJob (removed)
Description Create cascade delete job for application data resource. ###### Note: 1. The **‘contentType’** in the request header should be **'application/json'**. 2. ‘Job id’ can only contain alphanumeric characters, '-', '_', '~' or '.', and must begin and end with an alphanumeric character. Minimum length of a ‘Job id’ is 2 characters and maximum length is 50 characters.
Reference Link ¶

⚼ Request

PUT:  /application-data/cascade-delete/{jobId}
{
jobId: string ,
farmerId: string ,
applicationDataId: string ,
api-version: string ,
}

⚐ Response (202)

{
farmerId: string ,
resourceId: string ,
resourceType: string ,
id: string ,
status: enum ,
durationInSeconds: number ,
message: string ,
createdDateTime: string ,
lastActionDateTime: string ,
startTime: string ,
endTime: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
traceId: string ,
}
Attachments_ListByFarmerId (removed)
Description Get a paginated list of attachment resources for a given farmer and search criteria.
Reference Link ¶

⚼ Request

GET:  /farmers/{farmerId}/attachments
{
farmerId: string ,
resourceIds: array ,
resourceTypes: array ,
ids: array ,
names: array ,
propertyFilters: array ,
statuses: array ,
minCreatedDateTime: string ,
maxCreatedDateTime: string ,
minLastModifiedDateTime: string ,
maxLastModifiedDateTime: string ,
$maxPageSize: integer ,
$skipToken: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
farmerId: string ,
resourceId: string ,
resourceType: string ,
originalFileName: string ,
id: string ,
status: string ,
createdDateTime: string ,
modifiedDateTime: string ,
name: string ,
description: string ,
eTag: string ,
}
,
]
,
$skipToken: string ,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
traceId: string ,
}
Attachments_Get (removed)
Description Get a specified attachment resource for a given farmer.
Reference Link ¶

⚼ Request

GET:  /farmers/{farmerId}/attachments/{attachmentId}
{
farmerId: string ,
attachmentId: string ,
api-version: string ,
}

⚐ Response (200)

{
farmerId: string ,
resourceId: string ,
resourceType: string ,
originalFileName: string ,
id: string ,
status: string ,
createdDateTime: string ,
modifiedDateTime: string ,
name: string ,
description: string ,
eTag: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
traceId: string ,
}
Attachments_CreateOrUpdate (removed)
Description Create or update an attachment resource for a given farmer. ###### Note: 1. The **‘contentType’** in the request header should be **'application/merge-patch+json'**. 2. 'Id' of a resource can only contain alphanumeric characters, '-', '_', '~' or '.', and must begin and end with an alphanumeric character. Minimum length of an ‘Id’ is 2 characters and maximum length is 50 characters.
Reference Link ¶

⚼ Request

PATCH:  /farmers/{farmerId}/attachments/{attachmentId}
{
farmerId: string ,
attachmentId: string ,
api-version: string ,
file: file ,
FarmerId: string ,
ResourceId: string ,
ResourceType: string ,
OriginalFileName: string ,
Id: string ,
Status: string ,
CreatedDateTime: string ,
ModifiedDateTime: string ,
Name: string ,
Description: string ,
ETag: string ,
}

⚐ Response (201)

{
farmerId: string ,
resourceId: string ,
resourceType: string ,
originalFileName: string ,
id: string ,
status: string ,
createdDateTime: string ,
modifiedDateTime: string ,
name: string ,
description: string ,
eTag: string ,
}

⚐ Response (200)

{
farmerId: string ,
resourceId: string ,
resourceType: string ,
originalFileName: string ,
id: string ,
status: string ,
createdDateTime: string ,
modifiedDateTime: string ,
name: string ,
description: string ,
eTag: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
traceId: string ,
}
Attachments_Delete (removed)
Description Delete a specified attachment resource for a given farmer.
Reference Link ¶

⚼ Request

DELETE:  /farmers/{farmerId}/attachments/{attachmentId}
{
farmerId: string ,
attachmentId: string ,
api-version: string ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
traceId: string ,
}
Attachments_Download (removed)
Description Return attachment as a file stream for a given input filePath.
Reference Link ¶

⚼ Request

GET:  /farmers/{farmerId}/attachments/{attachmentId}/file
{
farmerId: string ,
attachmentId: string ,
api-version: string ,
}

⚐ Response (200)

{
$schema: file ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
traceId: string ,
}
Boundaries_ListByFarmerId (removed)
Description Get a paginated list of boundary resources for a given farmer and search criteria. ###### Note: 1. Users will get paginated response with each page containing a link to the next page. Users are expected to iterate over all the pages using ‘nextLink’. The search comes to an end when ‘nextLink’ is null.
Reference Link ¶

⚼ Request

GET:  /farmers/{farmerId}/boundaries
{
farmerId: string ,
isPrimary: boolean ,
parentType: string ,
parentIds: array ,
minAcreage: number ,
maxAcreage: number ,
ids: array ,
names: array ,
propertyFilters: array ,
statuses: array ,
minCreatedDateTime: string ,
maxCreatedDateTime: string ,
minLastModifiedDateTime: string ,
maxLastModifiedDateTime: string ,
$maxPageSize: integer ,
$skipToken: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
farmerId: string ,
parentId: string ,
geometry:
{
type: enum ,
}
,
isPrimary: boolean ,
acreage: number ,
parentType: string ,
id: string ,
eTag: string ,
status: string ,
createdDateTime: string ,
modifiedDateTime: string ,
name: string ,
description: string ,
properties: object ,
}
,
]
,
$skipToken: string ,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
traceId: string ,
}
Boundaries_SearchByFarmerId (removed)
Description Search for boundaries of a farmer intersecting with a given geometry. This API is expected to be used when users want to find boundaries that intersect with a given geometry. Otherwise, this is functionally same as 'List by Farmer Id' API for boundaries. ###### Note: 1. Users will get paginated response with each page containing a link to the next page. Users are expected to iterate over all the pages using ‘nextLink’. The search comes to an end when ‘nextLink’ is null.
Reference Link ¶

⚼ Request

POST:  /farmers/{farmerId}/boundaries
{
farmerId: string ,
api-version: string ,
query:
{
ids:
[
string ,
]
,
names:
[
string ,
]
,
propertyFilters:
[
string ,
]
,
statuses:
[
string ,
]
,
minCreatedDateTime: string ,
maxCreatedDateTime: string ,
minLastModifiedDateTime: string ,
maxLastModifiedDateTime: string ,
$maxPageSize: integer ,
$skipToken: string ,
isPrimary: boolean ,
parentType: string ,
parentIds:
[
string ,
]
,
minAcreage: number ,
maxAcreage: number ,
intersectsWithGeometry:
{
type: enum ,
}
,
}
,
}

⚐ Response (200)

{
value:
[
{
farmerId: string ,
parentId: string ,
geometry:
{
type: enum ,
}
,
isPrimary: boolean ,
acreage: number ,
parentType: string ,
id: string ,
eTag: string ,
status: string ,
createdDateTime: string ,
modifiedDateTime: string ,
name: string ,
description: string ,
properties: object ,
}
,
]
,
$skipToken: string ,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
traceId: string ,
}
Boundaries_List (removed)
Description Get a paginated list of boundary resources across all the farmers for a given search criteria. ###### Note: 1. This API does a serial search of the database for the given search criteria. If the farmer Id is available, it is strongly recommended to use **‘List by Farmer Id’** API as it is performant. 2. Users will get paginated response with each page containing a link to the next page. Few pages may have **no items (zero results)**. Users are expected to iterate over all the pages using ‘nextLink’. The search comes to an end when ‘nextLink’ is null.
Reference Link ¶

⚼ Request

GET:  /boundaries
{
isPrimary: boolean ,
parentType: string ,
parentIds: array ,
minAcreage: number ,
maxAcreage: number ,
ids: array ,
names: array ,
propertyFilters: array ,
statuses: array ,
minCreatedDateTime: string ,
maxCreatedDateTime: string ,
minLastModifiedDateTime: string ,
maxLastModifiedDateTime: string ,
$maxPageSize: integer ,
$skipToken: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
farmerId: string ,
parentId: string ,
geometry:
{
type: enum ,
}
,
isPrimary: boolean ,
acreage: number ,
parentType: string ,
id: string ,
eTag: string ,
status: string ,
createdDateTime: string ,
modifiedDateTime: string ,
name: string ,
description: string ,
properties: object ,
}
,
]
,
$skipToken: string ,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
traceId: string ,
}
Boundaries_GetCascadeDeleteJobDetails (removed)
Description Get details of cascade delete job for a specified boundary.
Reference Link ¶

⚼ Request

GET:  /boundaries/cascade-delete/{jobId}
{
jobId: string ,
api-version: string ,
}

⚐ Response (200)

{
farmerId: string ,
resourceId: string ,
resourceType: string ,
id: string ,
status: enum ,
durationInSeconds: number ,
message: string ,
createdDateTime: string ,
lastActionDateTime: string ,
startTime: string ,
endTime: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
traceId: string ,
}
Boundaries_CreateCascadeDeleteJob (removed)
Description Create a cascade delete job for a specified boundary. ###### Note: 1. The **‘contentType’** in the request header should be **'application/json'**. 2. ‘Job id’ can only contain alphanumeric characters, '-', '_', '~' or '.', and must begin and end with an alphanumeric character. Minimum length of a ‘Job id’ is 2 characters and maximum length is 50 characters.
Reference Link ¶

⚼ Request

PUT:  /boundaries/cascade-delete/{jobId}
{
jobId: string ,
farmerId: string ,
boundaryId: string ,
api-version: string ,
}

⚐ Response (202)

{
farmerId: string ,
resourceId: string ,
resourceType: string ,
id: string ,
status: enum ,
durationInSeconds: number ,
message: string ,
createdDateTime: string ,
lastActionDateTime: string ,
startTime: string ,
endTime: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
traceId: string ,
}
Boundaries_Get (removed)
Description Get a specified boundary resource for a given farmer.
Reference Link ¶

⚼ Request

GET:  /farmers/{farmerId}/boundaries/{boundaryId}
{
farmerId: string ,
boundaryId: string ,
api-version: string ,
}

⚐ Response (200)

{
farmerId: string ,
parentId: string ,
geometry:
{
type: enum ,
}
,
isPrimary: boolean ,
acreage: number ,
parentType: string ,
id: string ,
eTag: string ,
status: string ,
createdDateTime: string ,
modifiedDateTime: string ,
name: string ,
description: string ,
properties: object ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
traceId: string ,
}
Boundaries_CreateOrUpdate (removed)
Description Create or update a boundary resource. ###### Note: 1. The **‘contentType’** in the request header should be **'application/merge-patch+json'**. 2. 'Id' of a resource can only contain alphanumeric characters, '-', '_', '~' or '.', and must begin and end with an alphanumeric character. Minimum length of an ‘Id’ is 2 characters and maximum length is 50 characters. 3. 'Key' and 'value' in 'Properties' can have a maximum of 50 and 150 characters respectively.
Reference Link ¶

⚼ Request

PATCH:  /farmers/{farmerId}/boundaries/{boundaryId}
{
farmerId: string ,
boundaryId: string ,
api-version: string ,
boundary:
{
farmerId: string ,
parentId: string ,
geometry:
{
type: enum ,
}
,
isPrimary: boolean ,
acreage: number ,
parentType: string ,
id: string ,
eTag: string ,
status: string ,
createdDateTime: string ,
modifiedDateTime: string ,
name: string ,
description: string ,
properties: object ,
}
,
}

⚐ Response (200)

{
farmerId: string ,
parentId: string ,
geometry:
{
type: enum ,
}
,
isPrimary: boolean ,
acreage: number ,
parentType: string ,
id: string ,
eTag: string ,
status: string ,
createdDateTime: string ,
modifiedDateTime: string ,
name: string ,
description: string ,
properties: object ,
}

⚐ Response (201)

{
farmerId: string ,
parentId: string ,
geometry:
{
type: enum ,
}
,
isPrimary: boolean ,
acreage: number ,
parentType: string ,
id: string ,
eTag: string ,
status: string ,
createdDateTime: string ,
modifiedDateTime: string ,
name: string ,
description: string ,
properties: object ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
traceId: string ,
}
Boundaries_Delete (removed)
Description Delete a specified boundary resource for a given farmer. It can only be deleted if it has no linked attachments, satellite or weather data.
Reference Link ¶

⚼ Request

DELETE:  /farmers/{farmerId}/boundaries/{boundaryId}
{
farmerId: string ,
boundaryId: string ,
api-version: string ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
traceId: string ,
}
Boundaries_GetOverlap (removed)
Description Get overlapping (intersecting) acreage between two boundaries.
Reference Link ¶

⚼ Request

GET:  /farmers/{farmerId}/boundaries/{boundaryId}/overlap
{
farmerId: string ,
boundaryId: string ,
otherFarmerId: string ,
otherBoundaryId: string ,
api-version: string ,
}

⚐ Response (200)

{
boundaryAcreage: number ,
otherBoundaryAcreage: number ,
intersectingAcreage: number ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
traceId: string ,
}
Crops_List (removed)
Description Get a paginated list of crop resources. ###### Note: 1. Users will get paginated response with each page containing a link to the next page. Users are expected to iterate over all the pages using ‘nextLink’. The search comes to an end when ‘nextLink’ is null.
Reference Link ¶

⚼ Request

GET:  /crops
{
phenotypes: array ,
ids: array ,
names: array ,
propertyFilters: array ,
statuses: array ,
minCreatedDateTime: string ,
maxCreatedDateTime: string ,
minLastModifiedDateTime: string ,
maxLastModifiedDateTime: string ,
$maxPageSize: integer ,
$skipToken: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
phenotype: string ,
id: string ,
eTag: string ,
status: string ,
createdDateTime: string ,
modifiedDateTime: string ,
name: string ,
description: string ,
properties: object ,
}
,
]
,
$skipToken: string ,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
traceId: string ,
}
Crops_Get (removed)
Description Get a specified crop resource.
Reference Link ¶

⚼ Request

GET:  /crops/{cropId}
{
cropId: string ,
api-version: string ,
}

⚐ Response (200)

{
phenotype: string ,
id: string ,
eTag: string ,
status: string ,
createdDateTime: string ,
modifiedDateTime: string ,
name: string ,
description: string ,
properties: object ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
traceId: string ,
}
Crops_CreateOrUpdate (removed)
Description Create or update a crop resource. ###### Note: 1. The **‘contentType’** in the request header should be **'application/merge-patch+json'**. 2. 'Id' of a resource can only contain alphanumeric characters, '-', '_', '~' or '.', and must begin and end with an alphanumeric character. Minimum length of an ‘Id’ is 2 characters and maximum length is 50 characters. 3. 'Key' and 'value' in 'Properties' can have a maximum of 50 and 150 characters respectively.
Reference Link ¶

⚼ Request

PATCH:  /crops/{cropId}
{
cropId: string ,
api-version: string ,
crop:
{
phenotype: string ,
id: string ,
eTag: string ,
status: string ,
createdDateTime: string ,
modifiedDateTime: string ,
name: string ,
description: string ,
properties: object ,
}
,
}

⚐ Response (200)

{
phenotype: string ,
id: string ,
eTag: string ,
status: string ,
createdDateTime: string ,
modifiedDateTime: string ,
name: string ,
description: string ,
properties: object ,
}

⚐ Response (201)

{
phenotype: string ,
id: string ,
eTag: string ,
status: string ,
createdDateTime: string ,
modifiedDateTime: string ,
name: string ,
description: string ,
properties: object ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
traceId: string ,
}
Crops_Delete (removed)
Description Delete a specified crop resource.
Reference Link ¶

⚼ Request

DELETE:  /crops/{cropId}
{
cropId: string ,
api-version: string ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
traceId: string ,
}
CropVarieties_ListByCropId (removed)
Description Get a paginated list of crop variety resources for a given crop and search criteria. ###### Note: 1. Users will get paginated response with each page containing a link to the next page. Users are expected to iterate over all the pages using ‘nextLink’. The search comes to an end when ‘nextLink’ is null.
Reference Link ¶

⚼ Request

GET:  /crops/{cropId}/crop-varieties
{
cropId: string ,
cropIds: array ,
brands: array ,
products: array ,
ids: array ,
names: array ,
propertyFilters: array ,
statuses: array ,
minCreatedDateTime: string ,
maxCreatedDateTime: string ,
minLastModifiedDateTime: string ,
maxLastModifiedDateTime: string ,
$maxPageSize: integer ,
$skipToken: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
cropId: string ,
brand: string ,
product: string ,
id: string ,
eTag: string ,
status: string ,
createdDateTime: string ,
modifiedDateTime: string ,
name: string ,
description: string ,
properties: object ,
}
,
]
,
$skipToken: string ,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
traceId: string ,
}
CropVarieties_List (removed)
Description Get a paginated list of crop variety resources across all the crops for a given search criteria. ###### Note: 1. This API does a serial search of the database for the given search criteria. If the crop Id is available, it is strongly recommended to use **‘List by Crop Id’** API as it is performant. 2. Users will get paginated response with each page containing a link to the next page. Few pages may have **no items (zero results)**. Users are expected to iterate over all the pages using ‘nextLink’. The search comes to an end when ‘nextLink’ is null.
Reference Link ¶

⚼ Request

GET:  /crop-varieties
{
cropIds: array ,
brands: array ,
products: array ,
ids: array ,
names: array ,
propertyFilters: array ,
statuses: array ,
minCreatedDateTime: string ,
maxCreatedDateTime: string ,
minLastModifiedDateTime: string ,
maxLastModifiedDateTime: string ,
$maxPageSize: integer ,
$skipToken: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
cropId: string ,
brand: string ,
product: string ,
id: string ,
eTag: string ,
status: string ,
createdDateTime: string ,
modifiedDateTime: string ,
name: string ,
description: string ,
properties: object ,
}
,
]
,
$skipToken: string ,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
traceId: string ,
}
CropVarieties_Get (removed)
Description Get a specified crop variety resource for a given crop.
Reference Link ¶

⚼ Request

GET:  /crops/{cropId}/crop-varieties/{cropVarietyId}
{
cropId: string ,
cropVarietyId: string ,
api-version: string ,
}

⚐ Response (200)

{
cropId: string ,
brand: string ,
product: string ,
id: string ,
eTag: string ,
status: string ,
createdDateTime: string ,
modifiedDateTime: string ,
name: string ,
description: string ,
properties: object ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
traceId: string ,
}
CropVarieties_CreateOrUpdate (removed)
Description Create or update a crop variety resource. ###### Note: 1. The **‘contentType’** in the request header should be **'application/merge-patch+json'**. 2. 'Id' of a resource can only contain alphanumeric characters, '-', '_', '~' or '.', and must begin and end with an alphanumeric character. Minimum length of an ‘Id’ is 2 characters and maximum length is 50 characters. 3. 'Key' and 'value' in 'Properties' can have a maximum of 50 and 150 characters respectively.
Reference Link ¶

⚼ Request

PATCH:  /crops/{cropId}/crop-varieties/{cropVarietyId}
{
cropId: string ,
cropVarietyId: string ,
api-version: string ,
cropVariety:
{
cropId: string ,
brand: string ,
product: string ,
id: string ,
eTag: string ,
status: string ,
createdDateTime: string ,
modifiedDateTime: string ,
name: string ,
description: string ,
properties: object ,
}
,
}

⚐ Response (201)

{
cropId: string ,
brand: string ,
product: string ,
id: string ,
eTag: string ,
status: string ,
createdDateTime: string ,
modifiedDateTime: string ,
name: string ,
description: string ,
properties: object ,
}

⚐ Response (200)

{
cropId: string ,
brand: string ,
product: string ,
id: string ,
eTag: string ,
status: string ,
createdDateTime: string ,
modifiedDateTime: string ,
name: string ,
description: string ,
properties: object ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
traceId: string ,
}
CropVarieties_Delete (removed)
Description Delete a specified crop variety resource for a given crop.
Reference Link ¶

⚼ Request

DELETE:  /crops/{cropId}/crop-varieties/{cropVarietyId}
{
cropId: string ,
cropVarietyId: string ,
api-version: string ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
traceId: string ,
}
Farmers_List (removed)
Description Get a paginated list of farmer resources for a given search criteria.
Reference Link ¶

⚼ Request

GET:  /farmers
{
ids: array ,
names: array ,
propertyFilters: array ,
statuses: array ,
minCreatedDateTime: string ,
maxCreatedDateTime: string ,
minLastModifiedDateTime: string ,
maxLastModifiedDateTime: string ,
$maxPageSize: integer ,
$skipToken: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
id: string ,
eTag: string ,
status: string ,
createdDateTime: string ,
modifiedDateTime: string ,
name: string ,
description: string ,
properties: object ,
}
,
]
,
$skipToken: string ,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
traceId: string ,
}
Farmers_Get (removed)
Description Get a specified farmer resource.
Reference Link ¶

⚼ Request

GET:  /farmers/{farmerId}
{
farmerId: string ,
api-version: string ,
}

⚐ Response (200)

{
id: string ,
eTag: string ,
status: string ,
createdDateTime: string ,
modifiedDateTime: string ,
name: string ,
description: string ,
properties: object ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
traceId: string ,
}
Farmers_CreateOrUpdate (removed)
Description Create or update a farmer resource. ###### Note: 1. The **‘contentType’** in the request header should be **'application/merge-patch+json'**. 2. 'Id' of a resource can only contain alphanumeric characters, '-', '_', '~' or '.', and must begin and end with an alphanumeric character. Minimum length of an ‘Id’ is 2 characters and maximum length is 50 characters. 3. 'Key' and 'value' in 'Properties' can have a maximum of 50 and 150 characters respectively.
Reference Link ¶

⚼ Request

PATCH:  /farmers/{farmerId}
{
farmerId: string ,
api-version: string ,
farmer:
{
id: string ,
eTag: string ,
status: string ,
createdDateTime: string ,
modifiedDateTime: string ,
name: string ,
description: string ,
properties: object ,
}
,
}

⚐ Response (201)

{
id: string ,
eTag: string ,
status: string ,
createdDateTime: string ,
modifiedDateTime: string ,
name: string ,
description: string ,
properties: object ,
}

⚐ Response (200)

{
id: string ,
eTag: string ,
status: string ,
createdDateTime: string ,
modifiedDateTime: string ,
name: string ,
description: string ,
properties: object ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
traceId: string ,
}
Farmers_Delete (removed)
Description Delete a specified farmer resource. It can only be deleted if it has no linked attachments or farms.
Reference Link ¶

⚼ Request

DELETE:  /farmers/{farmerId}
{
farmerId: string ,
api-version: string ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
traceId: string ,
}
Farmers_GetCascadeDeleteJobDetails (removed)
Description Get details of a cascade delete job for a specified farmer.
Reference Link ¶

⚼ Request

GET:  /farmers/cascade-delete/{jobId}
{
jobId: string ,
api-version: string ,
}

⚐ Response (200)

{
farmerId: string ,
resourceId: string ,
resourceType: string ,
id: string ,
status: enum ,
durationInSeconds: number ,
message: string ,
createdDateTime: string ,
lastActionDateTime: string ,
startTime: string ,
endTime: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
traceId: string ,
}
Farmers_CreateCascadeDeleteJob (removed)
Description Create a cascade delete job for a specified farmer. ###### Note: 1. The **‘contentType’** in the request header should be **'application/json'**. 2. ‘Job id’ can only contain alphanumeric characters, '-', '_', '~' or '.', and must begin and end with an alphanumeric character. Minimum length of a ‘Job id’ is 2 characters and maximum length is 50 characters.
Reference Link ¶

⚼ Request

PUT:  /farmers/cascade-delete/{jobId}
{
jobId: string ,
farmerId: string ,
api-version: string ,
}

⚐ Response (202)

{
farmerId: string ,
resourceId: string ,
resourceType: string ,
id: string ,
status: enum ,
durationInSeconds: number ,
message: string ,
createdDateTime: string ,
lastActionDateTime: string ,
startTime: string ,
endTime: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
traceId: string ,
}
FarmOperations_CreateDataIngestionJob (removed)
Description Create a farm operation data ingestion job. ###### Note: 1. The **‘contentType’** in the request header should be **'application/json'**. 2. ‘Job id’ can only contain alphanumeric characters, '-', '_', '~' or '.', and must begin and end with an alphanumeric character. Minimum length of a ‘Job id’ is 2 characters and maximum length is 50 characters. 3. 'Key' and 'value' in 'Properties' can have a maximum of 50 and 150 characters respectively.
Reference Link ¶

⚼ Request

PUT:  /farm-operations/ingest-data/{jobId}
{
jobId: string ,
api-version: string ,
job:
{
farmerId: string ,
authProviderId: string ,
operations:
[
string ,
]
,
startYear: integer ,
id: string ,
status: string ,
durationInSeconds: number ,
message: string ,
createdDateTime: string ,
lastActionDateTime: string ,
startTime: string ,
endTime: string ,
name: string ,
description: string ,
properties: object ,
}
,
}

⚐ Response (202)

{
farmerId: string ,
authProviderId: string ,
operations:
[
string ,
]
,
startYear: integer ,
id: string ,
status: string ,
durationInSeconds: number ,
message: string ,
createdDateTime: string ,
lastActionDateTime: string ,
startTime: string ,
endTime: string ,
name: string ,
description: string ,
properties: object ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
traceId: string ,
}
FarmOperations_GetDataIngestionJobDetails (removed)
Description Get details of a farm operation data ingestion job.
Reference Link ¶

⚼ Request

GET:  /farm-operations/ingest-data/{jobId}
{
jobId: string ,
api-version: string ,
}

⚐ Response (200)

{
farmerId: string ,
authProviderId: string ,
operations:
[
string ,
]
,
startYear: integer ,
id: string ,
status: string ,
durationInSeconds: number ,
message: string ,
createdDateTime: string ,
lastActionDateTime: string ,
startTime: string ,
endTime: string ,
name: string ,
description: string ,
properties: object ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
traceId: string ,
}
Farms_ListByFarmerId (removed)
Description Get a paginated list of farm resources for a given farmer and search criteria. ###### Note: 1. Users will get paginated response with each page containing a link to the next page. Users are expected to iterate over all the pages using ‘nextLink’. The search comes to an end when ‘nextLink’ is null.
Reference Link ¶

⚼ Request

GET:  /farmers/{farmerId}/farms
{
farmerId: string ,
ids: array ,
names: array ,
propertyFilters: array ,
statuses: array ,
minCreatedDateTime: string ,
maxCreatedDateTime: string ,
minLastModifiedDateTime: string ,
maxLastModifiedDateTime: string ,
$maxPageSize: integer ,
$skipToken: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
farmerId: string ,
id: string ,
eTag: string ,
status: string ,
createdDateTime: string ,
modifiedDateTime: string ,
name: string ,
description: string ,
properties: object ,
}
,
]
,
$skipToken: string ,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
traceId: string ,
}
Farms_List (removed)
Description Get a paginated list of farm resources across all the farmers for a given search criteria. ###### Note: 1. This API does a serial search of the database for the given search criteria. If the farmer Id is available, it is strongly recommended to use **‘List by Farmer Id’** API as it is performant. 2. Users will get paginated response with each page containing a link to the next page. Few pages may have **no items (zero results)**. Users are expected to iterate over all the pages using ‘nextLink’. The search comes to an end when ‘nextLink’ is null.
Reference Link ¶

⚼ Request

GET:  /farms
{
ids: array ,
names: array ,
propertyFilters: array ,
statuses: array ,
minCreatedDateTime: string ,
maxCreatedDateTime: string ,
minLastModifiedDateTime: string ,
maxLastModifiedDateTime: string ,
$maxPageSize: integer ,
$skipToken: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
farmerId: string ,
id: string ,
eTag: string ,
status: string ,
createdDateTime: string ,
modifiedDateTime: string ,
name: string ,
description: string ,
properties: object ,
}
,
]
,
$skipToken: string ,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
traceId: string ,
}
Farms_Get (removed)
Description Get a specified farm resource for a given farmer.
Reference Link ¶

⚼ Request

GET:  /farmers/{farmerId}/farms/{farmId}
{
farmerId: string ,
farmId: string ,
api-version: string ,
}

⚐ Response (200)

{
farmerId: string ,
id: string ,
eTag: string ,
status: string ,
createdDateTime: string ,
modifiedDateTime: string ,
name: string ,
description: string ,
properties: object ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
traceId: string ,
}
Farms_CreateOrUpdate (removed)
Description Create or update a farm resource for a given farmer. ###### Note: 1. The **‘contentType’** in the request header should be **'application/merge-patch+json'**. 2. 'Id' of a resource can only contain alphanumeric characters, '-', '_', '~' or '.', and must begin and end with an alphanumeric character. Minimum length of an ‘Id’ is 2 characters and maximum length is 50 characters. 3. 'Key' and 'value' in 'Properties' can have a maximum of 50 and 150 characters respectively.
Reference Link ¶

⚼ Request

PATCH:  /farmers/{farmerId}/farms/{farmId}
{
farmerId: string ,
farmId: string ,
api-version: string ,
farm:
{
farmerId: string ,
id: string ,
eTag: string ,
status: string ,
createdDateTime: string ,
modifiedDateTime: string ,
name: string ,
description: string ,
properties: object ,
}
,
}

⚐ Response (201)

{
farmerId: string ,
id: string ,
eTag: string ,
status: string ,
createdDateTime: string ,
modifiedDateTime: string ,
name: string ,
description: string ,
properties: object ,
}

⚐ Response (200)

{
farmerId: string ,
id: string ,
eTag: string ,
status: string ,
createdDateTime: string ,
modifiedDateTime: string ,
name: string ,
description: string ,
properties: object ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
traceId: string ,
}
Farms_Delete (removed)
Description Delete a specified farm resource for a given farmer. It can only be deleted if it has no linked attachments, fields or seasonal fields.
Reference Link ¶

⚼ Request

DELETE:  /farmers/{farmerId}/farms/{farmId}
{
farmerId: string ,
farmId: string ,
api-version: string ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
traceId: string ,
}
Farms_GetCascadeDeleteJobDetails (removed)
Description Get details of cascade delete job for a specified farm.
Reference Link ¶

⚼ Request

GET:  /farms/cascade-delete/{jobId}
{
jobId: string ,
api-version: string ,
}

⚐ Response (200)

{
farmerId: string ,
resourceId: string ,
resourceType: string ,
id: string ,
status: enum ,
durationInSeconds: number ,
message: string ,
createdDateTime: string ,
lastActionDateTime: string ,
startTime: string ,
endTime: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
traceId: string ,
}
Farms_CreateCascadeDeleteJob (removed)
Description Create a cascade delete job for a specified farm. ###### Note: 1. The **‘contentType’** in the request header should be **'application/json'**. 2. ‘Job id’ can only contain alphanumeric characters, '-', '_', '~' or '.', and must begin and end with an alphanumeric character. Minimum length of a ‘Job id’ is 2 characters and maximum length is 50 characters.
Reference Link ¶

⚼ Request

PUT:  /farms/cascade-delete/{jobId}
{
jobId: string ,
farmerId: string ,
farmId: string ,
api-version: string ,
}

⚐ Response (202)

{
farmerId: string ,
resourceId: string ,
resourceType: string ,
id: string ,
status: enum ,
durationInSeconds: number ,
message: string ,
createdDateTime: string ,
lastActionDateTime: string ,
startTime: string ,
endTime: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
traceId: string ,
}
Fields_ListByFarmerId (removed)
Description Get a paginated list of field resources for a given farmer and search criteria. ###### Note: 1. Users will get paginated response with each page containing a link to the next page. Users are expected to iterate over all the pages using ‘nextLink’. The search comes to an end when ‘nextLink’ is null.
Reference Link ¶

⚼ Request

GET:  /farmers/{farmerId}/fields
{
farmerId: string ,
farmIds: array ,
ids: array ,
names: array ,
propertyFilters: array ,
statuses: array ,
minCreatedDateTime: string ,
maxCreatedDateTime: string ,
minLastModifiedDateTime: string ,
maxLastModifiedDateTime: string ,
$maxPageSize: integer ,
$skipToken: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
farmId: string ,
farmerId: string ,
primaryBoundaryId: string ,
boundaryIds:
[
string ,
]
,
id: string ,
eTag: string ,
status: string ,
createdDateTime: string ,
modifiedDateTime: string ,
name: string ,
description: string ,
properties: object ,
}
,
]
,
$skipToken: string ,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
traceId: string ,
}
Fields_List (removed)
Description Get a paginated list of field resources across all the farmers for a given search criteria. ###### Note: 1. This API does a serial search of the database for the given search criteria. If the farmer Id is available, it is strongly recommended to use **‘List by Farmer Id’** API as it is performant. 2. Users will get paginated response with each page containing a link to the next page. Few pages may have **no items (zero results)**. Users are expected to iterate over all the pages using ‘nextLink’. The search comes to an end when ‘nextLink’ is null.
Reference Link ¶

⚼ Request

GET:  /fields
{
farmIds: array ,
ids: array ,
names: array ,
propertyFilters: array ,
statuses: array ,
minCreatedDateTime: string ,
maxCreatedDateTime: string ,
minLastModifiedDateTime: string ,
maxLastModifiedDateTime: string ,
$maxPageSize: integer ,
$skipToken: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
farmId: string ,
farmerId: string ,
primaryBoundaryId: string ,
boundaryIds:
[
string ,
]
,
id: string ,
eTag: string ,
status: string ,
createdDateTime: string ,
modifiedDateTime: string ,
name: string ,
description: string ,
properties: object ,
}
,
]
,
$skipToken: string ,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
traceId: string ,
}
Fields_Get (removed)
Description Get a specified field resource for a given farmer.
Reference Link ¶

⚼ Request

GET:  /farmers/{farmerId}/fields/{fieldId}
{
farmerId: string ,
fieldId: string ,
api-version: string ,
}

⚐ Response (200)

{
farmId: string ,
farmerId: string ,
primaryBoundaryId: string ,
boundaryIds:
[
string ,
]
,
id: string ,
eTag: string ,
status: string ,
createdDateTime: string ,
modifiedDateTime: string ,
name: string ,
description: string ,
properties: object ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
traceId: string ,
}
Fields_CreateOrUpdate (removed)
Description Create or update a field resource for a given farmer. ###### Note: 1. The **‘contentType’** in the request header should be **'application/merge-patch+json'**. 2. 'Id' of a resource can only contain alphanumeric characters, '-', '_', '~' or '.', and must begin and end with an alphanumeric character. Minimum length of an ‘Id’ is 2 characters and maximum length is 50 characters. 3. 'Key' and 'value' in 'Properties' can have a maximum of 50 and 150 characters respectively.
Reference Link ¶

⚼ Request

PATCH:  /farmers/{farmerId}/fields/{fieldId}
{
farmerId: string ,
fieldId: string ,
api-version: string ,
field:
{
farmId: string ,
farmerId: string ,
primaryBoundaryId: string ,
boundaryIds:
[
string ,
]
,
id: string ,
eTag: string ,
status: string ,
createdDateTime: string ,
modifiedDateTime: string ,
name: string ,
description: string ,
properties: object ,
}
,
}

⚐ Response (201)

{
farmId: string ,
farmerId: string ,
primaryBoundaryId: string ,
boundaryIds:
[
string ,
]
,
id: string ,
eTag: string ,
status: string ,
createdDateTime: string ,
modifiedDateTime: string ,
name: string ,
description: string ,
properties: object ,
}

⚐ Response (200)

{
farmId: string ,
farmerId: string ,
primaryBoundaryId: string ,
boundaryIds:
[
string ,
]
,
id: string ,
eTag: string ,
status: string ,
createdDateTime: string ,
modifiedDateTime: string ,
name: string ,
description: string ,
properties: object ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
traceId: string ,
}
Fields_Delete (removed)
Description Delete a specified field resource for a given farmer. It can only be deleted if it has no linked attachments, boundaries or seasonal fields.
Reference Link ¶

⚼ Request

DELETE:  /farmers/{farmerId}/fields/{fieldId}
{
farmerId: string ,
fieldId: string ,
api-version: string ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
traceId: string ,
}
Fields_GetCascadeDeleteJobDetails (removed)
Description Get details of cascade delete job for a specified field.
Reference Link ¶

⚼ Request

GET:  /fields/cascade-delete/{jobId}
{
jobId: string ,
api-version: string ,
}

⚐ Response (200)

{
farmerId: string ,
resourceId: string ,
resourceType: string ,
id: string ,
status: enum ,
durationInSeconds: number ,
message: string ,
createdDateTime: string ,
lastActionDateTime: string ,
startTime: string ,
endTime: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
traceId: string ,
}
Fields_CreateCascadeDeleteJob (removed)
Description Create a cascade delete job for specified field. ###### Note: 1. The **‘contentType’** in the request header should be **'application/json'**. 2. ‘Job id’ can only contain alphanumeric characters, '-', '_', '~' or '.', and must begin and end with an alphanumeric character. Minimum length of a ‘Job id’ is 2 characters and maximum length is 50 characters.
Reference Link ¶

⚼ Request

PUT:  /fields/cascade-delete/{jobId}
{
jobId: string ,
farmerId: string ,
fieldId: string ,
api-version: string ,
}

⚐ Response (202)

{
farmerId: string ,
resourceId: string ,
resourceType: string ,
id: string ,
status: enum ,
durationInSeconds: number ,
message: string ,
createdDateTime: string ,
lastActionDateTime: string ,
startTime: string ,
endTime: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
traceId: string ,
}
HarvestData_ListByFarmerId (removed)
Description Get a paginated list of harvest data resources for a given farmer and search criteria. ###### Note: 1. Users will get paginated response with each page containing a link to the next page. Users are expected to iterate over all the pages using ‘nextLink’. The search comes to an end when ‘nextLink’ is null.
Reference Link ¶

⚼ Request

GET:  /farmers/{farmerId}/harvest-data
{
farmerId: string ,
minTotalYield: number ,
maxTotalYield: number ,
minAvgYield: number ,
maxAvgYield: number ,
minTotalWetMass: number ,
maxTotalWetMass: number ,
minAvgWetMass: number ,
maxAvgWetMass: number ,
minAvgMoisture: number ,
maxAvgMoisture: number ,
minAvgSpeed: number ,
maxAvgSpeed: number ,
sources: array ,
associatedBoundaryIds: array ,
operationBoundaryIds: array ,
minOperationStartDateTime: string ,
maxOperationStartDateTime: string ,
minOperationEndDateTime: string ,
maxOperationEndDateTime: string ,
minOperationModifiedDateTime: string ,
maxOperationModifiedDateTime: string ,
minArea: number ,
maxArea: number ,
ids: array ,
names: array ,
propertyFilters: array ,
statuses: array ,
minCreatedDateTime: string ,
maxCreatedDateTime: string ,
minLastModifiedDateTime: string ,
maxLastModifiedDateTime: string ,
$maxPageSize: integer ,
$skipToken: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
totalYield:
{
unit: string ,
value: number ,
}
,
avgYield:
{
unit: string ,
value: number ,
}
,
totalWetMass:
{
unit: string ,
value: number ,
}
,
avgWetMass:
{
unit: string ,
value: number ,
}
,
avgMoisture:
{
unit: string ,
value: number ,
}
,
avgSpeed:
{
unit: string ,
value: number ,
}
,
harvestProductDetails:
[
{
productName: string ,
area:
{
unit: string ,
value: number ,
}
,
totalYield:
{
unit: string ,
value: number ,
}
,
avgYield:
{
unit: string ,
value: number ,
}
,
avgMoisture:
{
unit: string ,
value: number ,
}
,
totalWetMass:
{
unit: string ,
value: number ,
}
,
avgWetMass:
{
unit: string ,
value: number ,
}
,
}
,
]
,
area:
{
unit: string ,
value: number ,
}
,
source: string ,
operationModifiedDateTime: string ,
operationStartDateTime: string ,
operationEndDateTime: string ,
attachmentsLink: string ,
associatedBoundaryId: string ,
operationBoundaryId: string ,
farmerId: string ,
id: string ,
eTag: string ,
status: string ,
createdDateTime: string ,
modifiedDateTime: string ,
name: string ,
description: string ,
properties: object ,
}
,
]
,
$skipToken: string ,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
traceId: string ,
}
HarvestData_List (removed)
Description Get a paginated list of harvest data resources across all the farmers for a given search criteria. ###### Note: 1. This API does a serial search of the database for the given search criteria. If the farmer Id is available, it is strongly recommended to use **‘List by Farmer Id’** API as it is performant. 2. Users will get paginated response with each page containing a link to the next page. Few pages may have **no items (zero results)**. Users are expected to iterate over all the pages using ‘nextLink’. The search comes to an end when ‘nextLink’ is null.
Reference Link ¶

⚼ Request

GET:  /harvest-data
{
minTotalYield: number ,
maxTotalYield: number ,
minAvgYield: number ,
maxAvgYield: number ,
minTotalWetMass: number ,
maxTotalWetMass: number ,
minAvgWetMass: number ,
maxAvgWetMass: number ,
minAvgMoisture: number ,
maxAvgMoisture: number ,
minAvgSpeed: number ,
maxAvgSpeed: number ,
sources: array ,
associatedBoundaryIds: array ,
operationBoundaryIds: array ,
minOperationStartDateTime: string ,
maxOperationStartDateTime: string ,
minOperationEndDateTime: string ,
maxOperationEndDateTime: string ,
minOperationModifiedDateTime: string ,
maxOperationModifiedDateTime: string ,
minArea: number ,
maxArea: number ,
ids: array ,
names: array ,
propertyFilters: array ,
statuses: array ,
minCreatedDateTime: string ,
maxCreatedDateTime: string ,
minLastModifiedDateTime: string ,
maxLastModifiedDateTime: string ,
$maxPageSize: integer ,
$skipToken: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
totalYield:
{
unit: string ,
value: number ,
}
,
avgYield:
{
unit: string ,
value: number ,
}
,
totalWetMass:
{
unit: string ,
value: number ,
}
,
avgWetMass:
{
unit: string ,
value: number ,
}
,
avgMoisture:
{
unit: string ,
value: number ,
}
,
avgSpeed:
{
unit: string ,
value: number ,
}
,
harvestProductDetails:
[
{
productName: string ,
area:
{
unit: string ,
value: number ,
}
,
totalYield:
{
unit: string ,
value: number ,
}
,
avgYield:
{
unit: string ,
value: number ,
}
,
avgMoisture:
{
unit: string ,
value: number ,
}
,
totalWetMass:
{
unit: string ,
value: number ,
}
,
avgWetMass:
{
unit: string ,
value: number ,
}
,
}
,
]
,
area:
{
unit: string ,
value: number ,
}
,
source: string ,
operationModifiedDateTime: string ,
operationStartDateTime: string ,
operationEndDateTime: string ,
attachmentsLink: string ,
associatedBoundaryId: string ,
operationBoundaryId: string ,
farmerId: string ,
id: string ,
eTag: string ,
status: string ,
createdDateTime: string ,
modifiedDateTime: string ,
name: string ,
description: string ,
properties: object ,
}
,
]
,
$skipToken: string ,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
traceId: string ,
}
HarvestData_Get (removed)
Description Get a specified harvest data resource for a given farmer.
Reference Link ¶

⚼ Request

GET:  /farmers/{farmerId}/harvest-data/{harvestDataId}
{
farmerId: string ,
harvestDataId: string ,
api-version: string ,
}

⚐ Response (200)

{
totalYield:
{
unit: string ,
value: number ,
}
,
avgYield:
{
unit: string ,
value: number ,
}
,
totalWetMass:
{
unit: string ,
value: number ,
}
,
avgWetMass:
{
unit: string ,
value: number ,
}
,
avgMoisture:
{
unit: string ,
value: number ,
}
,
avgSpeed:
{
unit: string ,
value: number ,
}
,
harvestProductDetails:
[
{
productName: string ,
area:
{
unit: string ,
value: number ,
}
,
totalYield:
{
unit: string ,
value: number ,
}
,
avgYield:
{
unit: string ,
value: number ,
}
,
avgMoisture:
{
unit: string ,
value: number ,
}
,
totalWetMass:
{
unit: string ,
value: number ,
}
,
avgWetMass:
{
unit: string ,
value: number ,
}
,
}
,
]
,
area:
{
unit: string ,
value: number ,
}
,
source: string ,
operationModifiedDateTime: string ,
operationStartDateTime: string ,
operationEndDateTime: string ,
attachmentsLink: string ,
associatedBoundaryId: string ,
operationBoundaryId: string ,
farmerId: string ,
id: string ,
eTag: string ,
status: string ,
createdDateTime: string ,
modifiedDateTime: string ,
name: string ,
description: string ,
properties: object ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
traceId: string ,
}
HarvestData_CreateOrUpdate (removed)
Description Create or update harvest data resource for a given farmer. ###### Note: 1. The **‘contentType’** in the request header should be **'application/merge-patch+json'**. 2. 'Id' of a resource can only contain alphanumeric characters, '-', '_', '~' or '.', and must begin and end with an alphanumeric character. Minimum length of an ‘Id’ is 2 characters and maximum length is 50 characters. 3. 'Key' and 'value' in 'Properties' can have a maximum of 50 and 150 characters respectively.
Reference Link ¶

⚼ Request

PATCH:  /farmers/{farmerId}/harvest-data/{harvestDataId}
{
farmerId: string ,
harvestDataId: string ,
api-version: string ,
harvestData:
{
totalYield:
{
unit: string ,
value: number ,
}
,
avgYield:
{
unit: string ,
value: number ,
}
,
totalWetMass:
{
unit: string ,
value: number ,
}
,
avgWetMass:
{
unit: string ,
value: number ,
}
,
avgMoisture:
{
unit: string ,
value: number ,
}
,
avgSpeed:
{
unit: string ,
value: number ,
}
,
harvestProductDetails:
[
{
productName: string ,
area:
{
unit: string ,
value: number ,
}
,
totalYield:
{
unit: string ,
value: number ,
}
,
avgYield:
{
unit: string ,
value: number ,
}
,
avgMoisture:
{
unit: string ,
value: number ,
}
,
totalWetMass:
{
unit: string ,
value: number ,
}
,
avgWetMass:
{
unit: string ,
value: number ,
}
,
}
,
]
,
area:
{
unit: string ,
value: number ,
}
,
source: string ,
operationModifiedDateTime: string ,
operationStartDateTime: string ,
operationEndDateTime: string ,
attachmentsLink: string ,
associatedBoundaryId: string ,
operationBoundaryId: string ,
farmerId: string ,
id: string ,
eTag: string ,
status: string ,
createdDateTime: string ,
modifiedDateTime: string ,
name: string ,
description: string ,
properties: object ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
traceId: string ,
}

⚐ Response (200)

{
totalYield:
{
unit: string ,
value: number ,
}
,
avgYield:
{
unit: string ,
value: number ,
}
,
totalWetMass:
{
unit: string ,
value: number ,
}
,
avgWetMass:
{
unit: string ,
value: number ,
}
,
avgMoisture:
{
unit: string ,
value: number ,
}
,
avgSpeed:
{
unit: string ,
value: number ,
}
,
harvestProductDetails:
[
{
productName: string ,
area:
{
unit: string ,
value: number ,
}
,
totalYield:
{
unit: string ,
value: number ,
}
,
avgYield:
{
unit: string ,
value: number ,
}
,
avgMoisture:
{
unit: string ,
value: number ,
}
,
totalWetMass:
{
unit: string ,
value: number ,
}
,
avgWetMass:
{
unit: string ,
value: number ,
}
,
}
,
]
,
area:
{
unit: string ,
value: number ,
}
,
source: string ,
operationModifiedDateTime: string ,
operationStartDateTime: string ,
operationEndDateTime: string ,
attachmentsLink: string ,
associatedBoundaryId: string ,
operationBoundaryId: string ,
farmerId: string ,
id: string ,
eTag: string ,
status: string ,
createdDateTime: string ,
modifiedDateTime: string ,
name: string ,
description: string ,
properties: object ,
}

⚐ Response (201)

{
totalYield:
{
unit: string ,
value: number ,
}
,
avgYield:
{
unit: string ,
value: number ,
}
,
totalWetMass:
{
unit: string ,
value: number ,
}
,
avgWetMass:
{
unit: string ,
value: number ,
}
,
avgMoisture:
{
unit: string ,
value: number ,
}
,
avgSpeed:
{
unit: string ,
value: number ,
}
,
harvestProductDetails:
[
{
productName: string ,
area:
{
unit: string ,
value: number ,
}
,
totalYield:
{
unit: string ,
value: number ,
}
,
avgYield:
{
unit: string ,
value: number ,
}
,
avgMoisture:
{
unit: string ,
value: number ,
}
,
totalWetMass:
{
unit: string ,
value: number ,
}
,
avgWetMass:
{
unit: string ,
value: number ,
}
,
}
,
]
,
area:
{
unit: string ,
value: number ,
}
,
source: string ,
operationModifiedDateTime: string ,
operationStartDateTime: string ,
operationEndDateTime: string ,
attachmentsLink: string ,
associatedBoundaryId: string ,
operationBoundaryId: string ,
farmerId: string ,
id: string ,
eTag: string ,
status: string ,
createdDateTime: string ,
modifiedDateTime: string ,
name: string ,
description: string ,
properties: object ,
}
HarvestData_Delete (removed)
Description Delete a specified harvest data resource for a given farmer.
Reference Link ¶

⚼ Request

DELETE:  /farmers/{farmerId}/harvest-data/{harvestDataId}
{
farmerId: string ,
harvestDataId: string ,
api-version: string ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
traceId: string ,
}
HarvestData_GetCascadeDeleteJobDetails (removed)
Description Get details of a cascade delete job for harvest data resource.
Reference Link ¶

⚼ Request

GET:  /harvest-data/cascade-delete/{jobId}
{
jobId: string ,
api-version: string ,
}

⚐ Response (200)

{
farmerId: string ,
resourceId: string ,
resourceType: string ,
id: string ,
status: enum ,
durationInSeconds: number ,
message: string ,
createdDateTime: string ,
lastActionDateTime: string ,
startTime: string ,
endTime: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
traceId: string ,
}
HarvestData_CreateCascadeDeleteJob (removed)
Description Create cascade delete job for harvest data resource. ###### Note: 1. The **‘contentType’** in the request header should be **'application/json'**. 2. ‘Job id’ can only contain alphanumeric characters, '-', '_', '~' or '.', and must begin and end with an alphanumeric character. Minimum length of a ‘Job id’ is 2 characters and maximum length is 50 characters.
Reference Link ¶

⚼ Request

PUT:  /harvest-data/cascade-delete/{jobId}
{
jobId: string ,
farmerId: string ,
harvestDataId: string ,
api-version: string ,
}

⚐ Response (202)

{
farmerId: string ,
resourceId: string ,
resourceType: string ,
id: string ,
status: enum ,
durationInSeconds: number ,
message: string ,
createdDateTime: string ,
lastActionDateTime: string ,
startTime: string ,
endTime: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
traceId: string ,
}
ImageProcessing_CreateRasterizeJob (removed)
Description Create a job which converts shape files into raster images. ###### Note: 1. The **‘contentType’** in the request header should be **'application/json'**. 2. ‘Job id’ can only contain alphanumeric characters, '-', '_', '~' or '.', and must begin and end with an alphanumeric character. Minimum length of a ‘Job id’ is 2 characters and maximum length is 50 characters. 3. 'Key' and 'value' in 'Properties' can have a maximum of 50 and 150 characters respectively.
Reference Link ¶

⚼ Request

PUT:  /image-processing/rasterize/{jobId}
{
jobId: string ,
api-version: string ,
job:
{
farmerId: string ,
shapefileAttachmentId: string ,
shapefileColumnNames:
[
string ,
]
,
id: string ,
status: string ,
durationInSeconds: number ,
message: string ,
createdDateTime: string ,
lastActionDateTime: string ,
startTime: string ,
endTime: string ,
name: string ,
description: string ,
properties: object ,
}
,
}

⚐ Response (202)

{
farmerId: string ,
shapefileAttachmentId: string ,
shapefileColumnNames:
[
string ,
]
,
id: string ,
status: string ,
durationInSeconds: number ,
message: string ,
createdDateTime: string ,
lastActionDateTime: string ,
startTime: string ,
endTime: string ,
name: string ,
description: string ,
properties: object ,
}

⚐ Response (default)

{}
ImageProcessing_GetRasterizeJob (removed)
Description Get details of rasterize job. Rasterize job converts shape files into raster images.
Reference Link ¶

⚼ Request

GET:  /image-processing/rasterize/{jobId}
{
jobId: string ,
api-version: string ,
}

⚐ Response (200)

{
farmerId: string ,
shapefileAttachmentId: string ,
shapefileColumnNames:
[
string ,
]
,
id: string ,
status: string ,
durationInSeconds: number ,
message: string ,
createdDateTime: string ,
lastActionDateTime: string ,
startTime: string ,
endTime: string ,
name: string ,
description: string ,
properties: object ,
}
OAuthProviders_List (removed)
Description Get a paginated list of OAuth provider resources for a given search criteria. ###### Note: 1. Users will get paginated response with each page containing a link to the next page. Users are expected to iterate over all the pages using ‘nextLink’. The search comes to an end when ‘nextLink’ is null.
Reference Link ¶

⚼ Request

GET:  /oauth/providers
{
ids: array ,
names: array ,
propertyFilters: array ,
statuses: array ,
minCreatedDateTime: string ,
maxCreatedDateTime: string ,
minLastModifiedDateTime: string ,
maxLastModifiedDateTime: string ,
$maxPageSize: integer ,
$skipToken: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
appId: string ,
appSecret: string ,
apiKey: string ,
isProductionApp: boolean ,
id: string ,
eTag: string ,
createdDateTime: string ,
modifiedDateTime: string ,
name: string ,
description: string ,
properties: object ,
}
,
]
,
$skipToken: string ,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
traceId: string ,
}
OAuthProviders_Get (removed)
Description Get a specified OAuth provider resource.
Reference Link ¶

⚼ Request

GET:  /oauth/providers/{oauthProviderId}
{
oauthProviderId: string ,
api-version: string ,
}

⚐ Response (200)

{
appId: string ,
appSecret: string ,
apiKey: string ,
isProductionApp: boolean ,
id: string ,
eTag: string ,
createdDateTime: string ,
modifiedDateTime: string ,
name: string ,
description: string ,
properties: object ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
traceId: string ,
}
OAuthProviders_CreateOrUpdate (removed)
Description Create or update an OAuth provider resource. ###### Note: 1. The **‘contentType’** in the request header should be **'application/merge-patch+json'**. 2. 'Id' of a resource can only contain alphanumeric characters, '-', '_', '~' or '.', and must begin and end with an alphanumeric character. Minimum length of an ‘Id’ is 2 characters and maximum length is 50 characters. 3. 'Key' and 'value' in 'Properties' can have a maximum of 50 and 150 characters respectively.
Reference Link ¶

⚼ Request

PATCH:  /oauth/providers/{oauthProviderId}
{
oauthProviderId: string ,
api-version: string ,
oauthProvider:
{
appId: string ,
appSecret: string ,
apiKey: string ,
isProductionApp: boolean ,
id: string ,
eTag: string ,
createdDateTime: string ,
modifiedDateTime: string ,
name: string ,
description: string ,
properties: object ,
}
,
}

⚐ Response (201)

{
appId: string ,
appSecret: string ,
apiKey: string ,
isProductionApp: boolean ,
id: string ,
eTag: string ,
createdDateTime: string ,
modifiedDateTime: string ,
name: string ,
description: string ,
properties: object ,
}

⚐ Response (200)

{
appId: string ,
appSecret: string ,
apiKey: string ,
isProductionApp: boolean ,
id: string ,
eTag: string ,
createdDateTime: string ,
modifiedDateTime: string ,
name: string ,
description: string ,
properties: object ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
traceId: string ,
}
OAuthProviders_Delete (removed)
Description Delete a specified OAuth provider resource.
Reference Link ¶

⚼ Request

DELETE:  /oauth/providers/{oauthProviderId}
{
oauthProviderId: string ,
api-version: string ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
traceId: string ,
}
OAuthProviders_GetCascadeDeleteJobDetails (removed)
Description Get details of cascade delete job for an OAuth provider resource.
Reference Link ¶

⚼ Request

GET:  /oauth/providers/cascade-delete/{jobId}
{
jobId: string ,
api-version: string ,
}

⚐ Response (200)

{
oauthProviderId: string ,
id: string ,
status: string ,
durationInSeconds: number ,
message: string ,
createdDateTime: string ,
lastActionDateTime: string ,
startTime: string ,
endTime: string ,
name: string ,
description: string ,
properties: object ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
traceId: string ,
}
OAuthProviders_CreateCascadeDeleteJob (removed)
Description Create cascade delete job for an OAuth provider resource. ###### Note: 1. The **‘contentType’** in the request header should be **'application/json'**. 2. ‘Job id’ can only contain alphanumeric characters, '-', '_', '~' or '.', and must begin and end with an alphanumeric character. Minimum length of a ‘Job id’ is 2 characters and maximum length is 50 characters.
Reference Link ¶

⚼ Request

PUT:  /oauth/providers/cascade-delete/{jobId}
{
jobId: string ,
oauthProviderId: string ,
api-version: string ,
}

⚐ Response (202)

{
oauthProviderId: string ,
id: string ,
status: string ,
durationInSeconds: number ,
message: string ,
createdDateTime: string ,
lastActionDateTime: string ,
startTime: string ,
endTime: string ,
name: string ,
description: string ,
properties: object ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
traceId: string ,
}
OAuthTokens_List (removed)
Description Get a list of OAuthToken documents for a given search criteria.
Reference Link ¶

⚼ Request

GET:  /oauth/tokens
{
authProviderIds: array ,
farmerIds: array ,
isValid: boolean ,
minCreatedDateTime: string ,
maxCreatedDateTime: string ,
minLastModifiedDateTime: string ,
maxLastModifiedDateTime: string ,
$maxPageSize: integer ,
$skipToken: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
farmerId: string ,
authProviderId: string ,
isValid: boolean ,
eTag: string ,
createdDateTime: string ,
modifiedDateTime: string ,
}
,
]
,
$skipToken: string ,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
traceId: string ,
}
OAuthTokens_GetCascadeDeleteJobDetails (removed)
Description Get details of OAuth token remove job.
Reference Link ¶

⚼ Request

GET:  /oauth/tokens/remove/{jobId}
{
jobId: string ,
api-version: string ,
}

⚐ Response (200)

{
farmerId: string ,
resourceId: string ,
resourceType: string ,
id: string ,
status: enum ,
durationInSeconds: number ,
message: string ,
createdDateTime: string ,
lastActionDateTime: string ,
startTime: string ,
endTime: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
traceId: string ,
}
OAuthTokens_CreateCascadeDeleteJob (removed)
Description Create job to remove OAuth token. ###### Note: 1. The **‘contentType’** in the request header should be **'application/json'**. 2. ‘Job id’ can only contain alphanumeric characters, '-', '_', '~' or '.', and must begin and end with an alphanumeric character. Minimum length of a ‘Job id’ is 2 characters and maximum length is 50 characters.
Reference Link ¶

⚼ Request

PUT:  /oauth/tokens/remove/{jobId}
{
jobId: string ,
farmerId: string ,
oauthProviderId: string ,
api-version: string ,
}

⚐ Response (202)

{
farmerId: string ,
resourceId: string ,
resourceType: string ,
id: string ,
status: enum ,
durationInSeconds: number ,
message: string ,
createdDateTime: string ,
lastActionDateTime: string ,
startTime: string ,
endTime: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
traceId: string ,
}
PlantingData_ListByFarmerId (removed)
Description Get a paginated list of planting data resources for a given farm and search criteria. ###### Note: 1. Users will get paginated response with each page containing a link to the next page. Users are expected to iterate over all the pages using ‘nextLink’. The search comes to an end when ‘nextLink’ is null.
Reference Link ¶

⚼ Request

GET:  /farmers/{farmerId}/planting-data
{
farmerId: string ,
minAvgPlantingRate: number ,
maxAvgPlantingRate: number ,
minTotalMaterial: number ,
maxTotalMaterial: number ,
minAvgMaterial: number ,
maxAvgMaterial: number ,
sources: array ,
associatedBoundaryIds: array ,
operationBoundaryIds: array ,
minOperationStartDateTime: string ,
maxOperationStartDateTime: string ,
minOperationEndDateTime: string ,
maxOperationEndDateTime: string ,
minOperationModifiedDateTime: string ,
maxOperationModifiedDateTime: string ,
minArea: number ,
maxArea: number ,
ids: array ,
names: array ,
propertyFilters: array ,
statuses: array ,
minCreatedDateTime: string ,
maxCreatedDateTime: string ,
minLastModifiedDateTime: string ,
maxLastModifiedDateTime: string ,
$maxPageSize: integer ,
$skipToken: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
avgPlantingRate:
{
unit: string ,
value: number ,
}
,
totalMaterial:
{
unit: string ,
value: number ,
}
,
avgMaterial:
{
unit: string ,
value: number ,
}
,
plantingProductDetails:
[
{
productName: string ,
area:
{
unit: string ,
value: number ,
}
,
totalMaterial:
{
unit: string ,
value: number ,
}
,
avgMaterial:
{
unit: string ,
value: number ,
}
,
}
,
]
,
area:
{
unit: string ,
value: number ,
}
,
source: string ,
operationModifiedDateTime: string ,
operationStartDateTime: string ,
operationEndDateTime: string ,
attachmentsLink: string ,
associatedBoundaryId: string ,
operationBoundaryId: string ,
farmerId: string ,
id: string ,
eTag: string ,
status: string ,
createdDateTime: string ,
modifiedDateTime: string ,
name: string ,
description: string ,
properties: object ,
}
,
]
,
$skipToken: string ,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
traceId: string ,
}
PlantingData_List (removed)
Description Get a paginated list of planting data resources across all the farmers for a given search criteria. ###### Note: 1. This API does a serial search of the database for the given search criteria. If the farmer Id is available, it is strongly recommended to use **‘List by Farmer Id’** API as it is performant. 2. Users will get paginated response with each page containing a link to the next page. Few pages may have **no items (zero results)**. Users are expected to iterate over all the pages using ‘nextLink’. The search comes to an end when ‘nextLink’ is null.
Reference Link ¶

⚼ Request

GET:  /planting-data
{
minAvgPlantingRate: number ,
maxAvgPlantingRate: number ,
minTotalMaterial: number ,
maxTotalMaterial: number ,
minAvgMaterial: number ,
maxAvgMaterial: number ,
sources: array ,
associatedBoundaryIds: array ,
operationBoundaryIds: array ,
minOperationStartDateTime: string ,
maxOperationStartDateTime: string ,
minOperationEndDateTime: string ,
maxOperationEndDateTime: string ,
minOperationModifiedDateTime: string ,
maxOperationModifiedDateTime: string ,
minArea: number ,
maxArea: number ,
ids: array ,
names: array ,
propertyFilters: array ,
statuses: array ,
minCreatedDateTime: string ,
maxCreatedDateTime: string ,
minLastModifiedDateTime: string ,
maxLastModifiedDateTime: string ,
$maxPageSize: integer ,
$skipToken: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
avgPlantingRate:
{
unit: string ,
value: number ,
}
,
totalMaterial:
{
unit: string ,
value: number ,
}
,
avgMaterial:
{
unit: string ,
value: number ,
}
,
plantingProductDetails:
[
{
productName: string ,
area:
{
unit: string ,
value: number ,
}
,
totalMaterial:
{
unit: string ,
value: number ,
}
,
avgMaterial:
{
unit: string ,
value: number ,
}
,
}
,
]
,
area:
{
unit: string ,
value: number ,
}
,
source: string ,
operationModifiedDateTime: string ,
operationStartDateTime: string ,
operationEndDateTime: string ,
attachmentsLink: string ,
associatedBoundaryId: string ,
operationBoundaryId: string ,
farmerId: string ,
id: string ,
eTag: string ,
status: string ,
createdDateTime: string ,
modifiedDateTime: string ,
name: string ,
description: string ,
properties: object ,
}
,
]
,
$skipToken: string ,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
traceId: string ,
}
PlantingData_Get (removed)
Description Get a specified planting data resource for a given farmer.
Reference Link ¶

⚼ Request

GET:  /farmers/{farmerId}/planting-data/{plantingDataId}
{
farmerId: string ,
plantingDataId: string ,
api-version: string ,
}

⚐ Response (200)

{
avgPlantingRate:
{
unit: string ,
value: number ,
}
,
totalMaterial:
{
unit: string ,
value: number ,
}
,
avgMaterial:
{
unit: string ,
value: number ,
}
,
plantingProductDetails:
[
{
productName: string ,
area:
{
unit: string ,
value: number ,
}
,
totalMaterial:
{
unit: string ,
value: number ,
}
,
avgMaterial:
{
unit: string ,
value: number ,
}
,
}
,
]
,
area:
{
unit: string ,
value: number ,
}
,
source: string ,
operationModifiedDateTime: string ,
operationStartDateTime: string ,
operationEndDateTime: string ,
attachmentsLink: string ,
associatedBoundaryId: string ,
operationBoundaryId: string ,
farmerId: string ,
id: string ,
eTag: string ,
status: string ,
createdDateTime: string ,
modifiedDateTime: string ,
name: string ,
description: string ,
properties: object ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
traceId: string ,
}
PlantingData_CreateOrUpdate (removed)
Description Create or update a planting data resource for a given farmer. ###### Note: 1. The **‘contentType’** in the request header should be **'application/merge-patch+json'**. 2. 'Id' of a resource can only contain alphanumeric characters, '-', '_', '~' or '.', and must begin and end with an alphanumeric character. Minimum length of an ‘Id’ is 2 characters and maximum length is 50 characters. 3. 'Key' and 'value' in 'Properties' can have a maximum of 50 and 150 characters respectively.
Reference Link ¶

⚼ Request

PATCH:  /farmers/{farmerId}/planting-data/{plantingDataId}
{
farmerId: string ,
plantingDataId: string ,
api-version: string ,
plantingData:
{
avgPlantingRate:
{
unit: string ,
value: number ,
}
,
totalMaterial:
{
unit: string ,
value: number ,
}
,
avgMaterial:
{
unit: string ,
value: number ,
}
,
plantingProductDetails:
[
{
productName: string ,
area:
{
unit: string ,
value: number ,
}
,
totalMaterial:
{
unit: string ,
value: number ,
}
,
avgMaterial:
{
unit: string ,
value: number ,
}
,
}
,
]
,
area:
{
unit: string ,
value: number ,
}
,
source: string ,
operationModifiedDateTime: string ,
operationStartDateTime: string ,
operationEndDateTime: string ,
attachmentsLink: string ,
associatedBoundaryId: string ,
operationBoundaryId: string ,
farmerId: string ,
id: string ,
eTag: string ,
status: string ,
createdDateTime: string ,
modifiedDateTime: string ,
name: string ,
description: string ,
properties: object ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
traceId: string ,
}

⚐ Response (200)

{
avgPlantingRate:
{
unit: string ,
value: number ,
}
,
totalMaterial:
{
unit: string ,
value: number ,
}
,
avgMaterial:
{
unit: string ,
value: number ,
}
,
plantingProductDetails:
[
{
productName: string ,
area:
{
unit: string ,
value: number ,
}
,
totalMaterial:
{
unit: string ,
value: number ,
}
,
avgMaterial:
{
unit: string ,
value: number ,
}
,
}
,
]
,
area:
{
unit: string ,
value: number ,
}
,
source: string ,
operationModifiedDateTime: string ,
operationStartDateTime: string ,
operationEndDateTime: string ,
attachmentsLink: string ,
associatedBoundaryId: string ,
operationBoundaryId: string ,
farmerId: string ,
id: string ,
eTag: string ,
status: string ,
createdDateTime: string ,
modifiedDateTime: string ,
name: string ,
description: string ,
properties: object ,
}

⚐ Response (201)

{
avgPlantingRate:
{
unit: string ,
value: number ,
}
,
totalMaterial:
{
unit: string ,
value: number ,
}
,
avgMaterial:
{
unit: string ,
value: number ,
}
,
plantingProductDetails:
[
{
productName: string ,
area:
{
unit: string ,
value: number ,
}
,
totalMaterial:
{
unit: string ,
value: number ,
}
,
avgMaterial:
{
unit: string ,
value: number ,
}
,
}
,
]
,
area:
{
unit: string ,
value: number ,
}
,
source: string ,
operationModifiedDateTime: string ,
operationStartDateTime: string ,
operationEndDateTime: string ,
attachmentsLink: string ,
associatedBoundaryId: string ,
operationBoundaryId: string ,
farmerId: string ,
id: string ,
eTag: string ,
status: string ,
createdDateTime: string ,
modifiedDateTime: string ,
name: string ,
description: string ,
properties: object ,
}
PlantingData_Delete (removed)
Description Delete a specified planting data resource under a particular farmer.
Reference Link ¶

⚼ Request

DELETE:  /farmers/{farmerId}/planting-data/{plantingDataId}
{
farmerId: string ,
plantingDataId: string ,
api-version: string ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
traceId: string ,
}
PlantingData_GetCascadeDeleteJobDetails (removed)
Description Get details of a cascade delete job for planting data resource.
Reference Link ¶

⚼ Request

GET:  /planting-data/cascade-delete/{jobId}
{
jobId: string ,
api-version: string ,
}

⚐ Response (200)

{
farmerId: string ,
resourceId: string ,
resourceType: string ,
id: string ,
status: enum ,
durationInSeconds: number ,
message: string ,
createdDateTime: string ,
lastActionDateTime: string ,
startTime: string ,
endTime: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
traceId: string ,
}
PlantingData_CreateCascadeDeleteJob (removed)
Description Create cascade delete job for planting data resource. ###### Note: 1. The **‘contentType’** in the request header should be **'application/json'**. 2. ‘Job id’ can only contain alphanumeric characters, '-', '_', '~' or '.', and must begin and end with an alphanumeric character. Minimum length of a ‘Job id’ is 2 characters and maximum length is 50 characters.
Reference Link ¶

⚼ Request

PUT:  /planting-data/cascade-delete/{jobId}
{
jobId: string ,
farmerId: string ,
plantingDataId: string ,
api-version: string ,
}

⚐ Response (202)

{
farmerId: string ,
resourceId: string ,
resourceType: string ,
id: string ,
status: enum ,
durationInSeconds: number ,
message: string ,
createdDateTime: string ,
lastActionDateTime: string ,
startTime: string ,
endTime: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
traceId: string ,
}
Scenes_List (removed)
Description Get a paginated list of scene resources for a given search criteria. ###### Note: 1. Users will get paginated response with each page containing a link to the next page. Users are expected to iterate over all the pages using ‘nextLink’. The search comes to an end when ‘nextLink’ is null. 2. This API will retrieve scenes present in the FarmBeats datastore and does not ingest new data. Example: a user has ingested satellite data from 1st of Jan 2019 to 30th of June 2019. However, using the current API, the user has asked for data from 1st of Jan 2019 to 31st of December 2019. In such a case, only data for the first 6 months is returned to the user.
Reference Link ¶

⚼ Request

GET:  /scenes
{
provider: string ,
farmerId: string ,
boundaryId: string ,
source: string ,
startDateTime: string ,
endDateTime: string ,
maxCloudCoveragePercentage: number ,
maxDarkPixelCoveragePercentage: number ,
imageNames: array ,
imageResolutions: array ,
imageFormats: array ,
$maxPageSize: integer ,
$skipToken: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
sceneDateTime: string ,
provider: string ,
source: string ,
imageFiles:
[
{
fileLink: string ,
name: string ,
imageFormat: enum ,
resolution: number ,
}
,
]
,
imageFormat: enum ,
cloudCoverPercentage: number ,
darkPixelPercentage: number ,
ndviMedianValue: number ,
boundaryId: string ,
farmerId: string ,
id: string ,
eTag: string ,
}
,
]
,
$skipToken: string ,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
traceId: string ,
}
Scenes_CreateSatelliteDataIngestionJob (removed)
Description Create a satellite data ingestion job. ###### Note: 1. The **‘contentType’** in the request header should be **'application/json'**. 2. ‘Job id’ can only contain alphanumeric characters, '-', '_', '~' or '.', and must begin and end with an alphanumeric character. Minimum length of a ‘Job id’ is 2 characters and maximum length is 50 characters. 3. 'Key' and 'value' in 'Properties' can have a maximum of 50 and 150 characters respectively.
Reference Link ¶

⚼ Request

PUT:  /scenes/satellite/ingest-data/{jobId}
{
jobId: string ,
api-version: string ,
job:
{
farmerId: string ,
boundaryId: string ,
startDateTime: string ,
endDateTime: string ,
provider: enum ,
source: enum ,
data:
{
imageNames:
[
string ,
]
,
imageFormats:
[
string ,
]
,
imageResolutions:
[
number ,
]
,
}
,
id: string ,
status: string ,
durationInSeconds: number ,
message: string ,
createdDateTime: string ,
lastActionDateTime: string ,
startTime: string ,
endTime: string ,
name: string ,
description: string ,
properties: object ,
}
,
}

⚐ Response (202)

{
farmerId: string ,
boundaryId: string ,
startDateTime: string ,
endDateTime: string ,
provider: enum ,
source: enum ,
data:
{
imageNames:
[
string ,
]
,
imageFormats:
[
string ,
]
,
imageResolutions:
[
number ,
]
,
}
,
id: string ,
status: string ,
durationInSeconds: number ,
message: string ,
createdDateTime: string ,
lastActionDateTime: string ,
startTime: string ,
endTime: string ,
name: string ,
description: string ,
properties: object ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
traceId: string ,
}
Scenes_GetSatelliteDataIngestionJobDetails (removed)
Description Get details of a satellite data ingestion job.
Reference Link ¶

⚼ Request

GET:  /scenes/satellite/ingest-data/{jobId}
{
jobId: string ,
api-version: string ,
}

⚐ Response (200)

{
farmerId: string ,
boundaryId: string ,
startDateTime: string ,
endDateTime: string ,
provider: enum ,
source: enum ,
data:
{
imageNames:
[
string ,
]
,
imageFormats:
[
string ,
]
,
imageResolutions:
[
number ,
]
,
}
,
id: string ,
status: string ,
durationInSeconds: number ,
message: string ,
createdDateTime: string ,
lastActionDateTime: string ,
startTime: string ,
endTime: string ,
name: string ,
description: string ,
properties: object ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
traceId: string ,
}
Scenes_Download (removed)
Description Return scenes as a file stream for a given input filePath.
Reference Link ¶

⚼ Request

GET:  /scenes/downloadFiles
{
filePath: string ,
api-version: string ,
}

⚐ Response (200)

{
$schema: file ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
traceId: string ,
}
SeasonalFields_ListByFarmerId (removed)
Description Get a paginated list of seasonal field resources for a given farmer and search criteria. ###### Note: 1. Users will get paginated response with each page containing a link to the next page. Users are expected to iterate over all the pages using ‘nextLink’. The search comes to an end when ‘nextLink’ is null.
Reference Link ¶

⚼ Request

GET:  /farmers/{farmerId}/seasonal-fields
{
farmerId: string ,
farmIds: array ,
fieldIds: array ,
seasonIds: array ,
cropVarietyIds: array ,
cropIds: array ,
minAvgYieldValue: number ,
maxAvgYieldValue: number ,
avgYieldUnit: string ,
minAvgSeedPopulationValue: number ,
maxAvgSeedPopulationValue: number ,
avgSeedPopulationUnit: string ,
minPlantingDateTime: string ,
maxPlantingDateTime: string ,
ids: array ,
names: array ,
propertyFilters: array ,
statuses: array ,
minCreatedDateTime: string ,
maxCreatedDateTime: string ,
minLastModifiedDateTime: string ,
maxLastModifiedDateTime: string ,
$maxPageSize: integer ,
$skipToken: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
farmerId: string ,
primaryBoundaryId: string ,
boundaryIds:
[
string ,
]
,
farmId: string ,
fieldId: string ,
seasonId: string ,
cropVarietyIds:
[
string ,
]
,
cropId: string ,
avgYieldValue: number ,
avgYieldUnit: string ,
avgSeedPopulationValue: number ,
avgSeedPopulationUnit: string ,
plantingDateTime: string ,
id: string ,
eTag: string ,
status: string ,
createdDateTime: string ,
modifiedDateTime: string ,
name: string ,
description: string ,
properties: object ,
}
,
]
,
$skipToken: string ,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
traceId: string ,
}
SeasonalFields_List (removed)
Description Get a paginated list of seasonal field resources across all the farmers for a given search criteria. ###### Note: 1. This API does a serial search of the database for the given search criteria. If the farmer Id is available, it is strongly recommended to use **‘List by Farmer Id’** API as it is performant. 2. Users will get paginated response with each page containing a link to the next page. Few pages may have **no items (zero results)**. Users are expected to iterate over all the pages using ‘nextLink’. The search comes to an end when ‘nextLink’ is null.
Reference Link ¶

⚼ Request

GET:  /seasonal-fields
{
farmIds: array ,
fieldIds: array ,
seasonIds: array ,
cropVarietyIds: array ,
cropIds: array ,
minAvgYieldValue: number ,
maxAvgYieldValue: number ,
avgYieldUnit: string ,
minAvgSeedPopulationValue: number ,
maxAvgSeedPopulationValue: number ,
avgSeedPopulationUnit: string ,
minPlantingDateTime: string ,
maxPlantingDateTime: string ,
ids: array ,
names: array ,
propertyFilters: array ,
statuses: array ,
minCreatedDateTime: string ,
maxCreatedDateTime: string ,
minLastModifiedDateTime: string ,
maxLastModifiedDateTime: string ,
$maxPageSize: integer ,
$skipToken: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
farmerId: string ,
primaryBoundaryId: string ,
boundaryIds:
[
string ,
]
,
farmId: string ,
fieldId: string ,
seasonId: string ,
cropVarietyIds:
[
string ,
]
,
cropId: string ,
avgYieldValue: number ,
avgYieldUnit: string ,
avgSeedPopulationValue: number ,
avgSeedPopulationUnit: string ,
plantingDateTime: string ,
id: string ,
eTag: string ,
status: string ,
createdDateTime: string ,
modifiedDateTime: string ,
name: string ,
description: string ,
properties: object ,
}
,
]
,
$skipToken: string ,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
traceId: string ,
}
SeasonalFields_Get (removed)
Description Get a specified seasonal field resource for a given farmer.
Reference Link ¶

⚼ Request

GET:  /farmers/{farmerId}/seasonal-fields/{seasonalFieldId}
{
farmerId: string ,
seasonalFieldId: string ,
api-version: string ,
}

⚐ Response (200)

{
farmerId: string ,
primaryBoundaryId: string ,
boundaryIds:
[
string ,
]
,
farmId: string ,
fieldId: string ,
seasonId: string ,
cropVarietyIds:
[
string ,
]
,
cropId: string ,
avgYieldValue: number ,
avgYieldUnit: string ,
avgSeedPopulationValue: number ,
avgSeedPopulationUnit: string ,
plantingDateTime: string ,
id: string ,
eTag: string ,
status: string ,
createdDateTime: string ,
modifiedDateTime: string ,
name: string ,
description: string ,
properties: object ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
traceId: string ,
}
SeasonalFields_CreateOrUpdate (removed)
Description Create or update a seasonal field resource for a given farmer. ###### Note: 1. The **‘contentType’** in the request header should be **'application/merge-patch+json'**. 2. 'Id' of a resource can only contain alphanumeric characters, '-', '_', '~' or '.', and must begin and end with an alphanumeric character. Minimum length of an ‘Id’ is 2 characters and maximum length is 50 characters. 3. 'Key' and 'value' in 'Properties' can have a maximum of 50 and 150 characters respectively.
Reference Link ¶

⚼ Request

PATCH:  /farmers/{farmerId}/seasonal-fields/{seasonalFieldId}
{
farmerId: string ,
seasonalFieldId: string ,
api-version: string ,
seasonalField:
{
farmerId: string ,
primaryBoundaryId: string ,
boundaryIds:
[
string ,
]
,
farmId: string ,
fieldId: string ,
seasonId: string ,
cropVarietyIds:
[
string ,
]
,
cropId: string ,
avgYieldValue: number ,
avgYieldUnit: string ,
avgSeedPopulationValue: number ,
avgSeedPopulationUnit: string ,
plantingDateTime: string ,
id: string ,
eTag: string ,
status: string ,
createdDateTime: string ,
modifiedDateTime: string ,
name: string ,
description: string ,
properties: object ,
}
,
}

⚐ Response (201)

{
farmerId: string ,
primaryBoundaryId: string ,
boundaryIds:
[
string ,
]
,
farmId: string ,
fieldId: string ,
seasonId: string ,
cropVarietyIds:
[
string ,
]
,
cropId: string ,
avgYieldValue: number ,
avgYieldUnit: string ,
avgSeedPopulationValue: number ,
avgSeedPopulationUnit: string ,
plantingDateTime: string ,
id: string ,
eTag: string ,
status: string ,
createdDateTime: string ,
modifiedDateTime: string ,
name: string ,
description: string ,
properties: object ,
}

⚐ Response (200)

{
farmerId: string ,
primaryBoundaryId: string ,
boundaryIds:
[
string ,
]
,
farmId: string ,
fieldId: string ,
seasonId: string ,
cropVarietyIds:
[
string ,
]
,
cropId: string ,
avgYieldValue: number ,
avgYieldUnit: string ,
avgSeedPopulationValue: number ,
avgSeedPopulationUnit: string ,
plantingDateTime: string ,
id: string ,
eTag: string ,
status: string ,
createdDateTime: string ,
modifiedDateTime: string ,
name: string ,
description: string ,
properties: object ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
traceId: string ,
}
SeasonalFields_Delete (removed)
Description Delete a specified seasonal field resource for a given farmer. It can only be deleted if it has no linked attachments or boundaries.
Reference Link ¶

⚼ Request

DELETE:  /farmers/{farmerId}/seasonal-fields/{seasonalFieldId}
{
farmerId: string ,
seasonalFieldId: string ,
api-version: string ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
traceId: string ,
}
SeasonalFields_GetCascadeDeleteJobDetails (removed)
Description Get details of cascade delete job for a specified seasonal field.
Reference Link ¶

⚼ Request

GET:  /seasonal-fields/cascade-delete/{jobId}
{
jobId: string ,
api-version: string ,
}

⚐ Response (200)

{
farmerId: string ,
resourceId: string ,
resourceType: string ,
id: string ,
status: enum ,
durationInSeconds: number ,
message: string ,
createdDateTime: string ,
lastActionDateTime: string ,
startTime: string ,
endTime: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
traceId: string ,
}
SeasonalFields_CreateCascadeDeleteJob (removed)
Description Create a cascade delete job for a specified seasonal field. ###### Note: 1. The **‘contentType’** in the request header should be **'application/json'**. 2. ‘Job id’ can only contain alphanumeric characters, '-', '_', '~' or '.', and must begin and end with an alphanumeric character. Minimum length of a ‘Job id’ is 2 characters and maximum length is 50 characters.
Reference Link ¶

⚼ Request

PUT:  /seasonal-fields/cascade-delete/{jobId}
{
jobId: string ,
farmerId: string ,
seasonalFieldId: string ,
api-version: string ,
}

⚐ Response (202)

{
farmerId: string ,
resourceId: string ,
resourceType: string ,
id: string ,
status: enum ,
durationInSeconds: number ,
message: string ,
createdDateTime: string ,
lastActionDateTime: string ,
startTime: string ,
endTime: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
traceId: string ,
}
Seasons_List (removed)
Description Get a paginated list of season resources. ###### Note: 1. Users will get paginated response with each page containing a link to the next page. Users are expected to iterate over all the pages using ‘nextLink’. The search comes to an end when ‘nextLink’ is null.
Reference Link ¶

⚼ Request

GET:  /seasons
{
minStartDateTime: string ,
maxStartDateTime: string ,
minEndDateTime: string ,
maxEndDateTime: string ,
years: array ,
ids: array ,
names: array ,
propertyFilters: array ,
statuses: array ,
minCreatedDateTime: string ,
maxCreatedDateTime: string ,
minLastModifiedDateTime: string ,
maxLastModifiedDateTime: string ,
$maxPageSize: integer ,
$skipToken: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
startDateTime: string ,
endDateTime: string ,
year: integer ,
id: string ,
eTag: string ,
status: string ,
createdDateTime: string ,
modifiedDateTime: string ,
name: string ,
description: string ,
properties: object ,
}
,
]
,
$skipToken: string ,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
traceId: string ,
}
Seasons_Get (removed)
Description Get a specified season resource.
Reference Link ¶

⚼ Request

GET:  /seasons/{seasonId}
{
seasonId: string ,
api-version: string ,
}

⚐ Response (200)

{
startDateTime: string ,
endDateTime: string ,
year: integer ,
id: string ,
eTag: string ,
status: string ,
createdDateTime: string ,
modifiedDateTime: string ,
name: string ,
description: string ,
properties: object ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
traceId: string ,
}
Seasons_CreateOrUpdate (removed)
Description Create or update a season resource. ###### Note: 1. The **‘contentType’** in the request header should be **'application/merge-patch+json'**. 2. 'Id' of a resource can only contain alphanumeric characters, '-', '_', '~' or '.', and must begin and end with an alphanumeric character. Minimum length of an ‘Id’ is 2 characters and maximum length is 50 characters. 3. 'Key' and 'value' in 'Properties' can have a maximum of 50 and 150 characters respectively.
Reference Link ¶

⚼ Request

PATCH:  /seasons/{seasonId}
{
seasonId: string ,
api-version: string ,
season:
{
startDateTime: string ,
endDateTime: string ,
year: integer ,
id: string ,
eTag: string ,
status: string ,
createdDateTime: string ,
modifiedDateTime: string ,
name: string ,
description: string ,
properties: object ,
}
,
}

⚐ Response (201)

{
startDateTime: string ,
endDateTime: string ,
year: integer ,
id: string ,
eTag: string ,
status: string ,
createdDateTime: string ,
modifiedDateTime: string ,
name: string ,
description: string ,
properties: object ,
}

⚐ Response (200)

{
startDateTime: string ,
endDateTime: string ,
year: integer ,
id: string ,
eTag: string ,
status: string ,
createdDateTime: string ,
modifiedDateTime: string ,
name: string ,
description: string ,
properties: object ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
traceId: string ,
}
Seasons_Delete (removed)
Description Delete a specified season resource.
Reference Link ¶

⚼ Request

DELETE:  /seasons/{seasonId}
{
seasonId: string ,
api-version: string ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
traceId: string ,
}
TillageData_ListByFarmerId (removed)
Description Get a paginated list of tillage data resources for a given farmer and search criteria. ###### Note: 1. Users will get paginated response with each page containing a link to the next page. Users are expected to iterate over all the pages using ‘nextLink’. The search comes to an end when ‘nextLink’ is null.
Reference Link ¶

⚼ Request

GET:  /farmers/{farmerId}/tillage-data
{
farmerId: string ,
minTillageDepth: number ,
maxTillageDepth: number ,
minTillagePressure: number ,
maxTillagePressure: number ,
sources: array ,
associatedBoundaryIds: array ,
operationBoundaryIds: array ,
minOperationStartDateTime: string ,
maxOperationStartDateTime: string ,
minOperationEndDateTime: string ,
maxOperationEndDateTime: string ,
minOperationModifiedDateTime: string ,
maxOperationModifiedDateTime: string ,
minArea: number ,
maxArea: number ,
ids: array ,
names: array ,
propertyFilters: array ,
statuses: array ,
minCreatedDateTime: string ,
maxCreatedDateTime: string ,
minLastModifiedDateTime: string ,
maxLastModifiedDateTime: string ,
$maxPageSize: integer ,
$skipToken: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
tillageDepth:
{
unit: string ,
value: number ,
}
,
tillagePressure:
{
unit: string ,
value: number ,
}
,
area:
{
unit: string ,
value: number ,
}
,
source: string ,
operationModifiedDateTime: string ,
operationStartDateTime: string ,
operationEndDateTime: string ,
attachmentsLink: string ,
associatedBoundaryId: string ,
operationBoundaryId: string ,
farmerId: string ,
id: string ,
eTag: string ,
status: string ,
createdDateTime: string ,
modifiedDateTime: string ,
name: string ,
description: string ,
properties: object ,
}
,
]
,
$skipToken: string ,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
traceId: string ,
}
TillageData_List (removed)
Description Get a paginated list of tillage data resources across all the farmers for a given search criteria. ###### Note: 1. This API does a serial search of the database for the given search criteria. If the farmer Id is available, it is strongly recommended to use **‘List by Farmer Id’** API as it is performant. 2. Users will get paginated response with each page containing a link to the next page. Few pages may have **no items (zero results)**. Users are expected to iterate over all the pages using ‘nextLink’. The search comes to an end when ‘nextLink’ is null.
Reference Link ¶

⚼ Request

GET:  /tillage-data
{
minTillageDepth: number ,
maxTillageDepth: number ,
minTillagePressure: number ,
maxTillagePressure: number ,
sources: array ,
associatedBoundaryIds: array ,
operationBoundaryIds: array ,
minOperationStartDateTime: string ,
maxOperationStartDateTime: string ,
minOperationEndDateTime: string ,
maxOperationEndDateTime: string ,
minOperationModifiedDateTime: string ,
maxOperationModifiedDateTime: string ,
minArea: number ,
maxArea: number ,
ids: array ,
names: array ,
propertyFilters: array ,
statuses: array ,
minCreatedDateTime: string ,
maxCreatedDateTime: string ,
minLastModifiedDateTime: string ,
maxLastModifiedDateTime: string ,
$maxPageSize: integer ,
$skipToken: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
tillageDepth:
{
unit: string ,
value: number ,
}
,
tillagePressure:
{
unit: string ,
value: number ,
}
,
area:
{
unit: string ,
value: number ,
}
,
source: string ,
operationModifiedDateTime: string ,
operationStartDateTime: string ,
operationEndDateTime: string ,
attachmentsLink: string ,
associatedBoundaryId: string ,
operationBoundaryId: string ,
farmerId: string ,
id: string ,
eTag: string ,
status: string ,
createdDateTime: string ,
modifiedDateTime: string ,
name: string ,
description: string ,
properties: object ,
}
,
]
,
$skipToken: string ,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
traceId: string ,
}
TillageData_Get (removed)
Description Get a specified tillage data resource for a given farmer.
Reference Link ¶

⚼ Request

GET:  /farmers/{farmerId}/tillage-data/{tillageDataId}
{
farmerId: string ,
tillageDataId: string ,
api-version: string ,
}

⚐ Response (200)

{
tillageDepth:
{
unit: string ,
value: number ,
}
,
tillagePressure:
{
unit: string ,
value: number ,
}
,
area:
{
unit: string ,
value: number ,
}
,
source: string ,
operationModifiedDateTime: string ,
operationStartDateTime: string ,
operationEndDateTime: string ,
attachmentsLink: string ,
associatedBoundaryId: string ,
operationBoundaryId: string ,
farmerId: string ,
id: string ,
eTag: string ,
status: string ,
createdDateTime: string ,
modifiedDateTime: string ,
name: string ,
description: string ,
properties: object ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
traceId: string ,
}
TillageData_CreateOrUpdate (removed)
Description Create or update a tillage data resource for a given farmer. ###### Note: 1. The **‘contentType’** in the request header should be **'application/merge-patch+json'**. 2. 'Id' of a resource can only contain alphanumeric characters, '-', '_', '~' or '.', and must begin and end with an alphanumeric character. Minimum length of an ‘Id’ is 2 characters and maximum length is 50 characters. 3. 'Key' and 'value' in 'Properties' can have a maximum of 50 and 150 characters respectively.
Reference Link ¶

⚼ Request

PATCH:  /farmers/{farmerId}/tillage-data/{tillageDataId}
{
farmerId: string ,
tillageDataId: string ,
api-version: string ,
tillageData:
{
tillageDepth:
{
unit: string ,
value: number ,
}
,
tillagePressure:
{
unit: string ,
value: number ,
}
,
area:
{
unit: string ,
value: number ,
}
,
source: string ,
operationModifiedDateTime: string ,
operationStartDateTime: string ,
operationEndDateTime: string ,
attachmentsLink: string ,
associatedBoundaryId: string ,
operationBoundaryId: string ,
farmerId: string ,
id: string ,
eTag: string ,
status: string ,
createdDateTime: string ,
modifiedDateTime: string ,
name: string ,
description: string ,
properties: object ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
traceId: string ,
}

⚐ Response (200)

{
tillageDepth:
{
unit: string ,
value: number ,
}
,
tillagePressure:
{
unit: string ,
value: number ,
}
,
area:
{
unit: string ,
value: number ,
}
,
source: string ,
operationModifiedDateTime: string ,
operationStartDateTime: string ,
operationEndDateTime: string ,
attachmentsLink: string ,
associatedBoundaryId: string ,
operationBoundaryId: string ,
farmerId: string ,
id: string ,
eTag: string ,
status: string ,
createdDateTime: string ,
modifiedDateTime: string ,
name: string ,
description: string ,
properties: object ,
}

⚐ Response (201)

{
tillageDepth:
{
unit: string ,
value: number ,
}
,
tillagePressure:
{
unit: string ,
value: number ,
}
,
area:
{
unit: string ,
value: number ,
}
,
source: string ,
operationModifiedDateTime: string ,
operationStartDateTime: string ,
operationEndDateTime: string ,
attachmentsLink: string ,
associatedBoundaryId: string ,
operationBoundaryId: string ,
farmerId: string ,
id: string ,
eTag: string ,
status: string ,
createdDateTime: string ,
modifiedDateTime: string ,
name: string ,
description: string ,
properties: object ,
}
TillageData_Delete (removed)
Description Delete a specified tillage data resource for a given farmer.
Reference Link ¶

⚼ Request

DELETE:  /farmers/{farmerId}/tillage-data/{tillageDataId}
{
farmerId: string ,
tillageDataId: string ,
api-version: string ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
traceId: string ,
}
TillageData_GetCascadeDeleteJobDetails (removed)
Description Get details of a cascade delete job for tillage data resource.
Reference Link ¶

⚼ Request

GET:  /tillage-data/cascade-delete/{jobId}
{
jobId: string ,
api-version: string ,
}

⚐ Response (200)

{
farmerId: string ,
resourceId: string ,
resourceType: string ,
id: string ,
status: enum ,
durationInSeconds: number ,
message: string ,
createdDateTime: string ,
lastActionDateTime: string ,
startTime: string ,
endTime: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
traceId: string ,
}
TillageData_CreateCascadeDeleteJob (removed)
Description Create cascade delete job for tillage data resource. ###### Note: 1. The **‘contentType’** in the request header should be **'application/json'**. 2. ‘Job id’ can only contain alphanumeric characters, '-', '_', '~' or '.', and must begin and end with an alphanumeric character. Minimum length of a ‘Job id’ is 2 characters and maximum length is 50 characters.
Reference Link ¶

⚼ Request

PUT:  /tillage-data/cascade-delete/{jobId}
{
jobId: string ,
farmerId: string ,
tillageDataId: string ,
api-version: string ,
}

⚐ Response (202)

{
farmerId: string ,
resourceId: string ,
resourceType: string ,
id: string ,
status: enum ,
durationInSeconds: number ,
message: string ,
createdDateTime: string ,
lastActionDateTime: string ,
startTime: string ,
endTime: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
traceId: string ,
}
Weather_List (removed)
Description Get a paginated list of weather data resources for a given search criteria. ###### Note: 1. Users will get paginated response with each page containing a link to the next page. Users are expected to iterate over all the pages using ‘nextLink’. The search comes to an end when ‘nextLink’ is null. 2. This API will retrieve weather data present in the FarmBeats datastore and does not ingest new data. Example: a user has ingested historical weather data from 1st of Jan 2019 to 30th of June 2019. However, using the current API, the user has asked for historical data from 1st of Jan 2019 to 31st of December 2019. In such a case, only data for the first 6 months is returned to the user.
Reference Link ¶

⚼ Request

GET:  /weather
{
farmerId: string ,
boundaryId: string ,
extensionId: string ,
weatherDataType: string ,
granularity: string ,
startDateTime: string ,
endDateTime: string ,
$maxPageSize: integer ,
$skipToken: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
farmerId: string ,
boundaryId: string ,
extensionId: string ,
location:
{
latitude: number ,
longitude: number ,
}
,
dateTime: string ,
unitSystemCode: string ,
extensionVersion: string ,
weatherDataType: string ,
granularity: string ,
cloudCover:
{
unit: string ,
value: number ,
}
,
dewPoint:
{
unit: string ,
value: number ,
}
,
growingDegreeDay:
{
unit: string ,
value: number ,
}
,
precipitation:
{
unit: string ,
value: number ,
}
,
pressure:
{
unit: string ,
value: number ,
}
,
relativeHumidity:
{
unit: string ,
value: number ,
}
,
soilMoisture:
{
unit: string ,
value: number ,
}
,
soilTemperature:
{
unit: string ,
value: number ,
}
,
temperature:
{
unit: string ,
value: number ,
}
,
visibility:
{
unit: string ,
value: number ,
}
,
wetBulbTemperature:
{
unit: string ,
value: number ,
}
,
windChill:
{
unit: string ,
value: number ,
}
,
windDirection:
{
unit: string ,
value: number ,
}
,
windGust:
{
unit: string ,
value: number ,
}
,
windSpeed:
{
unit: string ,
value: number ,
}
,
id: string ,
eTag: string ,
createdDateTime: string ,
modifiedDateTime: string ,
properties: object ,
}
,
]
,
$skipToken: string ,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
traceId: string ,
}
Weather_GetDataIngestionJobDetails (removed)
Description Get details of a weather data ingestion job.
Reference Link ¶

⚼ Request

GET:  /weather/ingest-data/{jobId}
{
jobId: string ,
api-version: string ,
}

⚐ Response (200)

{
boundaryId: string ,
farmerId: string ,
extensionId: string ,
extensionApiName: string ,
extensionApiInput: object ,
extensionDataProviderAppId: string ,
extensionDataProviderApiKey: string ,
id: string ,
status: string ,
durationInSeconds: number ,
message: string ,
createdDateTime: string ,
lastActionDateTime: string ,
startTime: string ,
endTime: string ,
name: string ,
description: string ,
properties: object ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
traceId: string ,
}
Weather_CreateDataIngestionJob (removed)
Description Create a weather data ingestion job. ###### Note: 1. The **‘contentType’** in the request header should be **'application/json'**. 2. ‘Job id’ can only contain alphanumeric characters, '-', '_', '~' or '.', and must begin and end with an alphanumeric character. Minimum length of a ‘Job id’ is 2 characters and maximum length is 50 characters. 3. 'Key' and 'value' in 'Properties' can have a maximum of 50 and 150 characters respectively.
Reference Link ¶

⚼ Request

PUT:  /weather/ingest-data/{jobId}
{
jobId: string ,
api-version: string ,
job:
{
boundaryId: string ,
farmerId: string ,
extensionId: string ,
extensionApiName: string ,
extensionApiInput: object ,
extensionDataProviderAppId: string ,
extensionDataProviderApiKey: string ,
id: string ,
status: string ,
durationInSeconds: number ,
message: string ,
createdDateTime: string ,
lastActionDateTime: string ,
startTime: string ,
endTime: string ,
name: string ,
description: string ,
properties: object ,
}
,
}

⚐ Response (202)

{
boundaryId: string ,
farmerId: string ,
extensionId: string ,
extensionApiName: string ,
extensionApiInput: object ,
extensionDataProviderAppId: string ,
extensionDataProviderApiKey: string ,
id: string ,
status: string ,
durationInSeconds: number ,
message: string ,
createdDateTime: string ,
lastActionDateTime: string ,
startTime: string ,
endTime: string ,
name: string ,
description: string ,
properties: object ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
traceId: string ,
}
Weather_GetDataDeleteJobDetails (removed)
Description Get details of a weather data delete job.
Reference Link ¶

⚼ Request

GET:  /weather/delete-data/{jobId}
{
jobId: string ,
api-version: string ,
}

⚐ Response (200)

{
extensionId: string ,
farmerId: string ,
boundaryId: string ,
weatherDataType: string ,
granularity: string ,
startDateTime: string ,
endDateTime: string ,
id: string ,
status: string ,
durationInSeconds: number ,
message: string ,
createdDateTime: string ,
lastActionDateTime: string ,
startTime: string ,
endTime: string ,
name: string ,
description: string ,
properties: object ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
traceId: string ,
}
Weather_CreateDataDeleteJob (removed)
Description Create a weather data delete job. ###### Note: 1. The **‘contentType’** in the request header should be **'application/json'**. 2. ‘Job id’ can only contain alphanumeric characters, '-', '_', '~' or '.', and must begin and end with an alphanumeric character. Minimum length of a ‘Job id’ is 2 characters and maximum length is 50 characters. 3. 'Key' and 'value' in 'Properties' can have a maximum of 50 and 150 characters respectively.
Reference Link ¶

⚼ Request

PUT:  /weather/delete-data/{jobId}
{
jobId: string ,
api-version: string ,
job:
{
extensionId: string ,
farmerId: string ,
boundaryId: string ,
weatherDataType: string ,
granularity: string ,
startDateTime: string ,
endDateTime: string ,
id: string ,
status: string ,
durationInSeconds: number ,
message: string ,
createdDateTime: string ,
lastActionDateTime: string ,
startTime: string ,
endTime: string ,
name: string ,
description: string ,
properties: object ,
}
,
}

⚐ Response (202)

{
extensionId: string ,
farmerId: string ,
boundaryId: string ,
weatherDataType: string ,
granularity: string ,
startDateTime: string ,
endDateTime: string ,
id: string ,
status: string ,
durationInSeconds: number ,
message: string ,
createdDateTime: string ,
lastActionDateTime: string ,
startTime: string ,
endTime: string ,
name: string ,
description: string ,
properties: object ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
traceId: string ,
}