Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding BYOL changes #24064

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"parameters": {
"partyId": "PARTY123",
"applicationDataId": "ApplicationData123",
"api-version": "2023-06-01-preview",
"jobId": "JOB123"
},
"responses": {
"202": {
"body": {
"id": "JOB123",
"status": "Waiting",
"message": "Created cascade delete job for 'farmoperationapplicationdata' resource with id 'ApplicationData123' and partyId 'PARTY123'.",
"createdDateTime": "2021-04-19T11:31:20Z",
"lastActionDateTime": "2021-04-19T11:31:34Z",
"startTime": "2021-04-19T11:31:19Z",
"partyId": "PARTY123",
"resourceId": "ApplicationData123",
"resourceType": "farmoperationapplicationdata"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,145 @@
{
"parameters": {
"partyId": "PARTY123",
"applicationDataId": "APPLICATION123",
"api-version": "2023-06-01-preview",
"applicationData": {
"source": "Manual",
"name": "Application data for North Farm",
"description": "some description",
"status": "Active",
"operationStartDateTime": "2021-02-25T16:57:04Z",
"operationEndDateTime": "2021-02-27T10:13:06Z",
"operationModifiedDateTime": "2021-02-28T11:12:12Z",
"associatedBoundaryId": "NORTHFARM2021CORNBOUNDARY",
"area": {
"unit": "acre",
"value": 60
},
"totalMaterial": {
"unit": "kilos",
"value": 9
},
"avgMaterial": {
"unit": "kilosperacre",
"value": 0.15
},
"applicationProductDetails": [
{
"productName": "POTASHVAR1",
"isCarrier": false,
"totalMaterial": {
"unit": "kilos",
"value": 4
},
"avgMaterial": {
"unit": "kilosperacre",
"value": 0.2
}
}
],
"properties": {
"Region": "Europe",
"CountyCode": 123
}
}
},
"responses": {
"200": {
"body": {
"partyId": "PARTY123",
"id": "APPLICATION123",
"source": "Manual",
"name": "Application data for North Farm",
"description": "some description",
"status": "Active",
"operationStartDateTime": "2021-02-25T16:57:04Z",
"operationEndDateTime": "2021-02-27T10:13:06Z",
"operationModifiedDateTime": "2021-02-28T11:12:12Z",
"associatedBoundaryId": "NORTHFARM2021CORNBOUNDARY",
"area": {
"unit": "acre",
"value": 60
},
"totalMaterial": {
"unit": "kilos",
"value": 9
},
"avgMaterial": {
"unit": "kilosperacre",
"value": 0.15
},
"applicationProductDetails": [
{
"productName": "POTASHVAR1",
"isCarrier": false,
"totalMaterial": {
"unit": "kilos",
"value": 4
},
"avgMaterial": {
"unit": "kilosperacre",
"value": 0.2
}
}
],
"properties": {
"Region": "Europe",
"CountyCode": 123
},
"attachmentsLink": "https://<resource-name>.farmbeats.azure.net/party/{{partyId}}/attachments?api-version={{apiVersion}}&resourceIds={{applicationDataId}}&resourceTypes=ApplicationData",
"createdDateTime": "2022-05-11T07:00:10.2750191Z",
"modifiedDateTime": "2022-05-11T07:00:10.2750191Z",
"eTag": "cb00a3ac-0000-0100-0000-601d21ec0000"
}
},
"201": {
"body": {
"partyId": "PARTY123",
"id": "APPLICATION123",
"source": "Manual",
"name": "Application data for North Farm",
"description": "some description",
"status": "Active",
"operationStartDateTime": "2021-02-25T16:57:04Z",
"operationEndDateTime": "2021-02-27T10:13:06Z",
"operationModifiedDateTime": "2021-02-28T11:12:12Z",
"associatedBoundaryId": "NORTHFARM2021CORNBOUNDARY",
"area": {
"unit": "acre",
"value": 60
},
"totalMaterial": {
"unit": "kilos",
"value": 9
},
"avgMaterial": {
"unit": "kilosperacre",
"value": 0.15
},
"applicationProductDetails": [
{
"productName": "POTASHVAR1",
"isCarrier": false,
"totalMaterial": {
"unit": "kilos",
"value": 4
},
"avgMaterial": {
"unit": "kilosperacre",
"value": 0.2
}
}
],
"properties": {
"Region": "Europe",
"CountyCode": 123
},
"attachmentsLink": "https://<resource-name>.farmbeats.azure.net/party/{{partyId}}/attachments?api-version={{apiVersion}}&resourceIds={{applicationDataId}}&resourceTypes=ApplicationData",
"createdDateTime": "2022-05-11T07:00:10.2750191Z",
"modifiedDateTime": "2022-05-11T07:00:10.2750191Z",
"eTag": "cb00a3ac-0000-0100-0000-601d21ec0000"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"parameters": {
"partyId": "PARTY123",
"applicationDataId": "APPLICATION123",
"api-version": "2023-06-01-preview"
},
"responses": {
"204": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
{
"parameters": {
"partyId": "PARTY123",
"applicationDataId": "APPLICATION123",
"api-version": "2023-06-01-preview"
},
"responses": {
"200": {
"body": {
"partyId": "PARTY123",
"id": "APPLICATION123",
"source": "Manual",
"name": "Application data for North Farm",
"description": "some description",
"status": "Active",
"operationStartDateTime": "2021-02-25T16:57:04Z",
"operationEndDateTime": "2021-02-27T10:13:06Z",
"operationModifiedDateTime": "2021-02-28T11:12:12Z",
"associatedBoundaryId": "NORTHFARM2021CORNBOUNDARY",
"area": {
"unit": "acre",
"value": 60
},
"totalMaterial": {
"unit": "kilos",
"value": 9
},
"avgMaterial": {
"unit": "kilosperacre",
"value": 0.15
},
"applicationProductDetails": [
{
"productName": "POTASHVAR1",
"isCarrier": false,
"totalMaterial": {
"unit": "kilos",
"value": 4
},
"avgMaterial": {
"unit": "kilosperacre",
"value": 0.2
}
}
],
"properties": {
"Region": "Europe",
"CountyCode": 123
},
"attachmentsLink": "https://<resource-name>.farmbeats.azure.net/party/{{partyId}}/attachments?api-version={{apiVersion}}&resourceIds={{applicationDataId}}&resourceTypes=ApplicationData",
"createdDateTime": "2020-12-31T11:10:21Z",
"modifiedDateTime": "2020-12-31T11:10:21Z",
"eTag": "cb00a3ac-0000-0100-0000-601d21ec0000"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"parameters": {
"api-version": "2023-06-01-preview",
"jobId": "JOB123"
},
"responses": {
"200": {
"body": {
"id": "JOB123",
"status": "Succeeded",
"message": "Job completed successfully.",
"durationInSeconds": 14.7977857,
"createdDateTime": "2021-04-19T11:31:20Z",
"lastActionDateTime": "2021-04-19T11:31:34Z",
"startTime": "2021-04-19T11:31:19Z",
"partyId": "PARTY123",
"resourceId": "ApplicationData123",
"resourceType": "farmoperationapplicationdata"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
{
"parameters": {
"api-version": "2023-06-01-preview"
},
"responses": {
"200": {
"body": {
"value": [
{
"partyId": "PARTY123",
"id": "APPLICATION123",
"source": "Manual",
"name": "Application data for North Farm",
"description": "some description",
"status": "Active",
"operationStartDateTime": "2021-02-25T16:57:04Z",
"operationEndDateTime": "2021-02-27T10:13:06Z",
"operationModifiedDateTime": "2021-02-28T11:12:12Z",
"associatedBoundaryId": "NORTHFARM2021CORNBOUNDARY",
"area": {
"unit": "acre",
"value": 60
},
"totalMaterial": {
"unit": "kilos",
"value": 9
},
"avgMaterial": {
"unit": "kilosperacre",
"value": 0.15
},
"applicationProductDetails": [
{
"productName": "POTASHVAR1",
"isCarrier": false,
"totalMaterial": {
"unit": "kilos",
"value": 4
},
"avgMaterial": {
"unit": "kilosperacre",
"value": 0.2
}
}
],
"properties": {
"Region": "Europe",
"CountyCode": 123
},
"attachmentsLink": "https://<resource-name>.farmbeats.azure.net/party/{{partyId}}/attachments?api-version={{apiVersion}}&resourceIds={{applicationDataId}}&resourceTypes=ApplicationData",
"createdDateTime": "2022-05-11T07:00:10.2750191Z",
"modifiedDateTime": "2022-05-11T07:00:10.2750191Z",
"eTag": "cb00a3ac-0000-0100-0000-601d21ec0000"
}
],
"skipToken": "string",
"nextLink": "https://{{resourceName}}.farmbeats.azure.net/parties/{{partyId}}/seasonalFields/{{seasonalFieldId}}?api-version={{apiVersion}}&skipToken=%5b%7b%22token%22%3a%22%2bRID%3a%7e23TRC%3a10%23ISA%3d%22%2c%22range%22%3a%7b%22min%22%3a%22%22%2c%22max%22%3a%22FF%22%7d%7d%5d"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
{
"parameters": {
"partyId": "PARTY123",
"api-version": "2023-06-01-preview"
},
"responses": {
"200": {
"body": {
"value": [
{
"partyId": "PARTY123",
"id": "APPLICATION123",
"source": "Manual",
"name": "Application data for North Farm",
"description": "some description",
"status": "Active",
"operationStartDateTime": "2021-02-25T16:57:04Z",
"operationEndDateTime": "2021-02-27T10:13:06Z",
"operationModifiedDateTime": "2021-02-28T11:12:12Z",
"associatedBoundaryId": "NORTHFARM2021CORNBOUNDARY",
"area": {
"unit": "acre",
"value": 60
},
"totalMaterial": {
"unit": "kilos",
"value": 9
},
"avgMaterial": {
"unit": "kilosperacre",
"value": 0.15
},
"applicationProductDetails": [
{
"productName": "POTASHVAR1",
"isCarrier": false,
"totalMaterial": {
"unit": "kilos",
"value": 4
},
"avgMaterial": {
"unit": "kilosperacre",
"value": 0.2
}
}
],
"properties": {
"Region": "Europe",
"CountyCode": 123
},
"attachmentsLink": "https://<resource-name>.farmbeats.azure.net/parties/{{partyId}}/attachments?api-version={{apiVersion}}&resourceIds={{applicationDataId}}&resourceTypes=ApplicationData",
"createdDateTime": "2022-05-11T07:00:10.2750191Z",
"modifiedDateTime": "2022-05-11T07:00:10.2750191Z",
"eTag": "cb00a3ac-0000-0100-0000-601d21ec0000"
}
],
"skipToken": "string",
"nextLink": "https://{{resourceName}}.farmbeats.azure.net/parties/{{partytId}}/applicationData/{{applicationDataId}}?api-version={{apiVersion}}&skipToken=%5b%7b%22token%22%3a%22%2bRID%3a%7e23TRC%3a10%23ISA%3d%22%2c%22range%22%3a%7b%22min%22%3a%22%22%2c%22max%22%3a%22FF%22%7d%7d%5d"
}
}
}
}
Loading