Skip to content

Commit fa581bd

Browse files
[AgriFood] Adding 2021-07-31-preview API version (#20682)
* Adding 2021-07-31-preview API version * Adding java client auto-generation config
1 parent dcd9837 commit fa581bd

File tree

195 files changed

+31249
-1
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

195 files changed

+31249
-1
lines changed

specification/agrifood/data-plane/Microsoft.AgFoodPlatform/preview/2021-07-31-preview/agfood.json

+23,633
Large diffs are not rendered by default.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
{
2+
"parameters": {
3+
"farmerId": "FARMER123",
4+
"applicationDataId": "ApplicationData123",
5+
"api-version": "2021-07-31-preview",
6+
"jobId": "JOB123"
7+
},
8+
"responses": {
9+
"202": {
10+
"body": {
11+
"id": "JOB123",
12+
"status": "Waiting",
13+
"message": "Created cascade delete job for 'farmoperationapplicationdata' resource with id 'ApplicationData123' and farmerId 'FARMER123'.",
14+
"createdDateTime": "2021-04-19T11:31:20Z",
15+
"lastActionDateTime": "2021-04-19T11:31:34Z",
16+
"startTime": "2021-04-19T11:31:19Z",
17+
"farmerId": "FARMER123",
18+
"resourceId": "ApplicationData123",
19+
"resourceType": "farmoperationapplicationdata"
20+
}
21+
}
22+
}
23+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,148 @@
1+
{
2+
"parameters": {
3+
"farmerId": "FARMER123",
4+
"applicationDataId": "APPLICATION123",
5+
"api-version": "2021-07-31-preview",
6+
"applicationData": {
7+
"source": "Manual",
8+
"name": "Application data for North Farm",
9+
"description": "some description",
10+
"status": "Active",
11+
"operationStartDateTime": "2021-02-25T16:57:04Z",
12+
"operationEndDateTime": "2021-02-27T10:13:06Z",
13+
"operationModifiedDateTime": "2021-02-28T11:12:12Z",
14+
"operationBoundaryId": "APPLICATIONOPBOUNDARY1",
15+
"associatedBoundaryId": "NORTHFARM2021CORNBOUNDARY",
16+
"area": {
17+
"unit": "acre",
18+
"value": 60
19+
},
20+
"totalMaterial": {
21+
"unit": "kilos",
22+
"value": 9
23+
},
24+
"avgMaterial": {
25+
"unit": "kilosperacre",
26+
"value": 0.15
27+
},
28+
"applicationProductDetails": [
29+
{
30+
"productName": "POTASHVAR1",
31+
"isCarrier": false,
32+
"totalMaterial": {
33+
"unit": "kilos",
34+
"value": 4
35+
},
36+
"avgMaterial": {
37+
"unit": "kilosperacre",
38+
"value": 0.2
39+
}
40+
}
41+
],
42+
"properties": {
43+
"Region": "Europe",
44+
"CountyCode": 123
45+
}
46+
}
47+
},
48+
"responses": {
49+
"200": {
50+
"body": {
51+
"farmerId": "FARMER123",
52+
"id": "APPLICATION123",
53+
"source": "Manual",
54+
"name": "Application data for North Farm",
55+
"description": "some description",
56+
"status": "Active",
57+
"operationStartDateTime": "2021-02-25T16:57:04Z",
58+
"operationEndDateTime": "2021-02-27T10:13:06Z",
59+
"operationModifiedDateTime": "2021-02-28T11:12:12Z",
60+
"operationBoundaryId": "APPLICATIONOPBOUNDARY1",
61+
"associatedBoundaryId": "NORTHFARM2021CORNBOUNDARY",
62+
"area": {
63+
"unit": "acre",
64+
"value": 60
65+
},
66+
"totalMaterial": {
67+
"unit": "kilos",
68+
"value": 9
69+
},
70+
"avgMaterial": {
71+
"unit": "kilosperacre",
72+
"value": 0.15
73+
},
74+
"applicationProductDetails": [
75+
{
76+
"productName": "POTASHVAR1",
77+
"isCarrier": false,
78+
"totalMaterial": {
79+
"unit": "kilos",
80+
"value": 4
81+
},
82+
"avgMaterial": {
83+
"unit": "kilosperacre",
84+
"value": 0.2
85+
}
86+
}
87+
],
88+
"properties": {
89+
"Region": "Europe",
90+
"CountyCode": 123
91+
},
92+
"attachmentsLink": "https://<resource-name>.farmbeats.azure.net/farmer/{{farmerId}}/attachments?api-version={{apiVersion}}&resourceIds={{applicationDataId}}&resourceTypes=ApplicationData",
93+
"createdDateTime": "2021-02-28T04:57:04Z",
94+
"modifiedDateTime": "2021-03-08T18:22:07Z",
95+
"eTag": "cb00a3ac-0000-0100-0000-601d21ec0000"
96+
}
97+
},
98+
"201": {
99+
"body": {
100+
"farmerId": "FARMER123",
101+
"id": "APPLICATION123",
102+
"source": "Manual",
103+
"name": "Application data for North Farm",
104+
"description": "some description",
105+
"status": "Active",
106+
"operationStartDateTime": "2021-02-25T16:57:04Z",
107+
"operationEndDateTime": "2021-02-27T10:13:06Z",
108+
"operationModifiedDateTime": "2021-02-28T11:12:12Z",
109+
"operationBoundaryId": "APPLICATIONOPBOUNDARY1",
110+
"associatedBoundaryId": "NORTHFARM2021CORNBOUNDARY",
111+
"area": {
112+
"unit": "acre",
113+
"value": 60
114+
},
115+
"totalMaterial": {
116+
"unit": "kilos",
117+
"value": 9
118+
},
119+
"avgMaterial": {
120+
"unit": "kilosperacre",
121+
"value": 0.15
122+
},
123+
"applicationProductDetails": [
124+
{
125+
"productName": "POTASHVAR1",
126+
"isCarrier": false,
127+
"totalMaterial": {
128+
"unit": "kilos",
129+
"value": 4
130+
},
131+
"avgMaterial": {
132+
"unit": "kilosperacre",
133+
"value": 0.2
134+
}
135+
}
136+
],
137+
"properties": {
138+
"Region": "Europe",
139+
"CountyCode": 123
140+
},
141+
"attachmentsLink": "https://<resource-name>.farmbeats.azure.net/farmer/{{farmerId}}/attachments?api-version={{apiVersion}}&resourceIds={{applicationDataId}}&resourceTypes=ApplicationData",
142+
"createdDateTime": "2021-02-28T04:57:04Z",
143+
"modifiedDateTime": "2021-03-08T18:22:07Z",
144+
"eTag": "cb00a3ac-0000-0100-0000-601d21ec0000"
145+
}
146+
}
147+
}
148+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"parameters": {
3+
"farmerId": "FARMER123",
4+
"applicationDataId": "APPLICATION123",
5+
"api-version": "2021-07-31-preview"
6+
},
7+
"responses": {
8+
"204": {}
9+
}
10+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
{
2+
"parameters": {
3+
"farmerId": "FARMER123",
4+
"applicationDataId": "APPLICATION123",
5+
"api-version": "2021-07-31-preview"
6+
},
7+
"responses": {
8+
"200": {
9+
"body": {
10+
"farmerId": "FARMER123",
11+
"id": "APPLICATION123",
12+
"source": "Manual",
13+
"name": "Application data for North Farm",
14+
"description": "some description",
15+
"status": "Active",
16+
"operationStartDateTime": "2021-02-25T16:57:04Z",
17+
"operationEndDateTime": "2021-02-27T10:13:06Z",
18+
"operationModifiedDateTime": "2021-02-28T11:12:12Z",
19+
"operationBoundaryId": "APPLICATIONOPBOUNDARY1",
20+
"associatedBoundaryId": "NORTHFARM2021CORNBOUNDARY",
21+
"area": {
22+
"unit": "acre",
23+
"value": 60
24+
},
25+
"totalMaterial": {
26+
"unit": "kilos",
27+
"value": 9
28+
},
29+
"avgMaterial": {
30+
"unit": "kilosperacre",
31+
"value": 0.15
32+
},
33+
"applicationProductDetails": [
34+
{
35+
"productName": "POTASHVAR1",
36+
"isCarrier": false,
37+
"totalMaterial": {
38+
"unit": "kilos",
39+
"value": 4
40+
},
41+
"avgMaterial": {
42+
"unit": "kilosperacre",
43+
"value": 0.2
44+
}
45+
}
46+
],
47+
"properties": {
48+
"Region": "Europe",
49+
"CountyCode": 123
50+
},
51+
"attachmentsLink": "https://<resource-name>.farmbeats.azure.net/farmer/{{farmerId}}/attachments?api-version={{apiVersion}}&resourceIds={{applicationDataId}}&resourceTypes=ApplicationData",
52+
"createdDateTime": "2021-02-28T04:57:04Z",
53+
"modifiedDateTime": "2021-03-08T18:22:07Z",
54+
"eTag": "cb00a3ac-0000-0100-0000-601d21ec0000"
55+
}
56+
}
57+
}
58+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
{
2+
"parameters": {
3+
"api-version": "2021-07-31-preview",
4+
"jobId": "JOB123"
5+
},
6+
"responses": {
7+
"200": {
8+
"body": {
9+
"id": "JOB123",
10+
"status": "Succeeded",
11+
"message": "Job completed successfully.",
12+
"durationInSeconds": 14.7977857,
13+
"createdDateTime": "2021-04-19T11:31:20Z",
14+
"lastActionDateTime": "2021-04-19T11:31:34Z",
15+
"startTime": "2021-04-19T11:31:19Z",
16+
"farmerId": "FARMER123",
17+
"resourceId": "ApplicationData123",
18+
"resourceType": "farmoperationapplicationdata"
19+
}
20+
}
21+
}
22+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
{
2+
"parameters": {
3+
"api-version": "2021-07-31-preview"
4+
},
5+
"responses": {
6+
"200": {
7+
"body": {
8+
"value": [
9+
{
10+
"farmerId": "FARMER123",
11+
"id": "APPLICATION123",
12+
"source": "Manual",
13+
"name": "Application data for North Farm",
14+
"description": "some description",
15+
"status": "Active",
16+
"operationStartDateTime": "2021-02-25T16:57:04Z",
17+
"operationEndDateTime": "2021-02-27T10:13:06Z",
18+
"operationModifiedDateTime": "2021-02-28T11:12:12Z",
19+
"operationBoundaryId": "APPLICATIONOPBOUNDARY1",
20+
"associatedBoundaryId": "NORTHFARM2021CORNBOUNDARY",
21+
"area": {
22+
"unit": "acre",
23+
"value": 60
24+
},
25+
"totalMaterial": {
26+
"unit": "kilos",
27+
"value": 9
28+
},
29+
"avgMaterial": {
30+
"unit": "kilosperacre",
31+
"value": 0.15
32+
},
33+
"applicationProductDetails": [
34+
{
35+
"productName": "POTASHVAR1",
36+
"isCarrier": false,
37+
"totalMaterial": {
38+
"unit": "kilos",
39+
"value": 4
40+
},
41+
"avgMaterial": {
42+
"unit": "kilosperacre",
43+
"value": 0.2
44+
}
45+
}
46+
],
47+
"properties": {
48+
"Region": "Europe",
49+
"CountyCode": 123
50+
},
51+
"attachmentsLink": "https://<resource-name>.farmbeats.azure.net/farmer/{{farmerId}}/attachments?api-version={{apiVersion}}&resourceIds={{applicationDataId}}&resourceTypes=ApplicationData",
52+
"createdDateTime": "2021-02-28T04:57:04Z",
53+
"modifiedDateTime": "2021-03-08T18:22:07Z",
54+
"eTag": "cb00a3ac-0000-0100-0000-601d21ec0000"
55+
}
56+
],
57+
"$skipToken": "string",
58+
"nextLink": "https://{{resourceName}}.farmbeats.azure.net/farmers/{{farmerId}}/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"
59+
}
60+
}
61+
}
62+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
{
2+
"parameters": {
3+
"farmerId": "FARMER123",
4+
"api-version": "2021-07-31-preview"
5+
},
6+
"responses": {
7+
"200": {
8+
"body": {
9+
"value": [
10+
{
11+
"farmerId": "FARMER123",
12+
"id": "APPLICATION123",
13+
"source": "Manual",
14+
"name": "Application data for North Farm",
15+
"description": "some description",
16+
"status": "Active",
17+
"operationStartDateTime": "2021-02-25T16:57:04Z",
18+
"operationEndDateTime": "2021-02-27T10:13:06Z",
19+
"operationModifiedDateTime": "2021-02-28T11:12:12Z",
20+
"operationBoundaryId": "APPLICATIONOPBOUNDARY1",
21+
"associatedBoundaryId": "NORTHFARM2021CORNBOUNDARY",
22+
"area": {
23+
"unit": "acre",
24+
"value": 60
25+
},
26+
"totalMaterial": {
27+
"unit": "kilos",
28+
"value": 9
29+
},
30+
"avgMaterial": {
31+
"unit": "kilosperacre",
32+
"value": 0.15
33+
},
34+
"applicationProductDetails": [
35+
{
36+
"productName": "POTASHVAR1",
37+
"isCarrier": false,
38+
"totalMaterial": {
39+
"unit": "kilos",
40+
"value": 4
41+
},
42+
"avgMaterial": {
43+
"unit": "kilosperacre",
44+
"value": 0.2
45+
}
46+
}
47+
],
48+
"properties": {
49+
"Region": "Europe",
50+
"CountyCode": 123
51+
},
52+
"attachmentsLink": "https://<resource-name>.farmbeats.azure.net/farmer/{{farmerId}}/attachments?api-version={{apiVersion}}&resourceIds={{applicationDataId}}&resourceTypes=ApplicationData",
53+
"createdDateTime": "2021-02-28T04:57:04Z",
54+
"modifiedDateTime": "2021-03-08T18:22:07Z",
55+
"eTag": "cb00a3ac-0000-0100-0000-601d21ec0000"
56+
}
57+
],
58+
"$skipToken": "string",
59+
"nextLink": "https://{{resourceName}}.farmbeats.azure.net/farmers/{{farmerId}}/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"
60+
}
61+
}
62+
}
63+
}

0 commit comments

Comments
 (0)