Skip to content

Commit ca16230

Browse files
authored
July 2023 API Version for Azure Data Manager for Agriculture (#24755)
* added july 2023 api version * fixed few changes * Prettier * Avocado * Updated examples * fixed examples * added changes * addressed review comments * addressed review comment * fixed build issue * fixed model validation error * addressed comment * addressed review comments * few minor changes * added minor changes * prettier * addressed review comments
1 parent 3e985d0 commit ca16230

File tree

175 files changed

+30820
-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.

175 files changed

+30820
-1
lines changed

specification/agrifood/data-plane/Microsoft.AgFoodPlatform/preview/2023-07-01-preview/agfood.json

Lines changed: 21964 additions & 0 deletions
Large diffs are not rendered by default.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
{
2+
"parameters": {
3+
"partyId": "PARTY123",
4+
"applicationDataId": "ApplicationData123",
5+
"api-version": "2023-07-01-preview",
6+
"jobId": "JOB123"
7+
},
8+
"responses": {
9+
"202": {
10+
"body": {
11+
"id": "JOB123",
12+
"status": "Waiting",
13+
"message": "Created cascade delete job for 'ApplicationData' resource with id 'ApplicationData123' and partyId 'PARTY123'.",
14+
"createdDateTime": "2021-04-19T11:31:20Z",
15+
"lastActionDateTime": "2021-04-19T11:31:34Z",
16+
"startTime": "2021-04-19T11:31:19Z",
17+
"partyId": "PARTY123",
18+
"resourceId": "ApplicationData123",
19+
"resourceType": "ApplicationData"
20+
}
21+
}
22+
}
23+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,257 @@
1+
{
2+
"parameters": {
3+
"partyId": "PARTY123",
4+
"applicationDataId": "APPLICATION123",
5+
"api-version": "2023-07-01-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+
"geometry": {
15+
"type": "Polygon",
16+
"coordinates": [
17+
[
18+
[
19+
73.70457172393799,
20+
20.545385304358106
21+
],
22+
[
23+
73.70457172393799,
24+
20.545385304358106
25+
],
26+
[
27+
73.70448589324951,
28+
20.542411534243367
29+
],
30+
[
31+
73.70877742767334,
32+
20.541688176010233
33+
],
34+
[
35+
73.71023654937744,
36+
20.545083911372505
37+
],
38+
[
39+
73.70663166046143,
40+
20.546992723579137
41+
],
42+
[
43+
73.70457172393799,
44+
20.545385304358106
45+
]
46+
]
47+
]
48+
},
49+
"associatedResource": {
50+
"type": "Field",
51+
"id": "FIELD123"
52+
},
53+
"area": {
54+
"unit": "acre",
55+
"value": 60
56+
},
57+
"totalMaterial": {
58+
"unit": "kilos",
59+
"value": 9
60+
},
61+
"avgMaterial": {
62+
"unit": "kilosperacre",
63+
"value": 0.15
64+
},
65+
"applicationProductDetails": [
66+
{
67+
"productName": "POTASHVAR1",
68+
"isCarrier": false,
69+
"totalMaterial": {
70+
"unit": "kilos",
71+
"value": 4
72+
},
73+
"avgMaterial": {
74+
"unit": "kilosperacre",
75+
"value": 0.2
76+
}
77+
}
78+
],
79+
"properties": {
80+
"Region": "Europe",
81+
"CountyCode": 123
82+
}
83+
}
84+
},
85+
"responses": {
86+
"200": {
87+
"body": {
88+
"partyId": "PARTY123",
89+
"id": "APPLICATION123",
90+
"source": "Manual",
91+
"name": "Application data for North Farm",
92+
"description": "some description",
93+
"status": "Active",
94+
"operationStartDateTime": "2021-02-25T16:57:04Z",
95+
"operationEndDateTime": "2021-02-27T10:13:06Z",
96+
"operationModifiedDateTime": "2021-02-28T11:12:12Z",
97+
"associatedResource": {
98+
"type": "Field",
99+
"id": "FIELD123"
100+
},
101+
"geometry": {
102+
"type": "Polygon",
103+
"coordinates": [
104+
[
105+
[
106+
73.70457172393799,
107+
20.545385304358106
108+
],
109+
[
110+
73.70457172393799,
111+
20.545385304358106
112+
],
113+
[
114+
73.70448589324951,
115+
20.542411534243367
116+
],
117+
[
118+
73.70877742767334,
119+
20.541688176010233
120+
],
121+
[
122+
73.71023654937744,
123+
20.545083911372505
124+
],
125+
[
126+
73.70663166046143,
127+
20.546992723579137
128+
],
129+
[
130+
73.70457172393799,
131+
20.545385304358106
132+
]
133+
]
134+
]
135+
},
136+
"area": {
137+
"unit": "acre",
138+
"value": 60
139+
},
140+
"totalMaterial": {
141+
"unit": "kilos",
142+
"value": 9
143+
},
144+
"avgMaterial": {
145+
"unit": "kilosperacre",
146+
"value": 0.15
147+
},
148+
"applicationProductDetails": [
149+
{
150+
"productName": "POTASHVAR1",
151+
"isCarrier": false,
152+
"totalMaterial": {
153+
"unit": "kilos",
154+
"value": 4
155+
},
156+
"avgMaterial": {
157+
"unit": "kilosperacre",
158+
"value": 0.2
159+
}
160+
}
161+
],
162+
"properties": {
163+
"Region": "Europe",
164+
"CountyCode": 123
165+
},
166+
"createdDateTime": "2022-05-11T07:00:10.2750191Z",
167+
"modifiedDateTime": "2022-05-11T07:00:10.2750191Z",
168+
"eTag": "cb00a3ac-0000-0100-0000-601d21ec0000"
169+
}
170+
},
171+
"201": {
172+
"body": {
173+
"partyId": "PARTY123",
174+
"id": "APPLICATION123",
175+
"source": "Manual",
176+
"name": "Application data for North Farm",
177+
"description": "some description",
178+
"status": "Active",
179+
"operationStartDateTime": "2021-02-25T16:57:04Z",
180+
"operationEndDateTime": "2021-02-27T10:13:06Z",
181+
"operationModifiedDateTime": "2021-02-28T11:12:12Z",
182+
"associatedResource": {
183+
"type": "Field",
184+
"id": "FIELD123"
185+
},
186+
"geometry": {
187+
"type": "Polygon",
188+
"coordinates": [
189+
[
190+
[
191+
73.70457172393799,
192+
20.545385304358106
193+
],
194+
[
195+
73.70457172393799,
196+
20.545385304358106
197+
],
198+
[
199+
73.70448589324951,
200+
20.542411534243367
201+
],
202+
[
203+
73.70877742767334,
204+
20.541688176010233
205+
],
206+
[
207+
73.71023654937744,
208+
20.545083911372505
209+
],
210+
[
211+
73.70663166046143,
212+
20.546992723579137
213+
],
214+
[
215+
73.70457172393799,
216+
20.545385304358106
217+
]
218+
]
219+
]
220+
},
221+
"area": {
222+
"unit": "acre",
223+
"value": 60
224+
},
225+
"totalMaterial": {
226+
"unit": "kilos",
227+
"value": 9
228+
},
229+
"avgMaterial": {
230+
"unit": "kilosperacre",
231+
"value": 0.15
232+
},
233+
"applicationProductDetails": [
234+
{
235+
"productName": "POTASHVAR1",
236+
"isCarrier": false,
237+
"totalMaterial": {
238+
"unit": "kilos",
239+
"value": 4
240+
},
241+
"avgMaterial": {
242+
"unit": "kilosperacre",
243+
"value": 0.2
244+
}
245+
}
246+
],
247+
"properties": {
248+
"Region": "Europe",
249+
"CountyCode": 123
250+
},
251+
"createdDateTime": "2022-05-11T07:00:10.2750191Z",
252+
"modifiedDateTime": "2022-05-11T07:00:10.2750191Z",
253+
"eTag": "cb00a3ac-0000-0100-0000-601d21ec0000"
254+
}
255+
}
256+
}
257+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"parameters": {
3+
"partyId": "PARTY123",
4+
"applicationDataId": "APPLICATION123",
5+
"api-version": "2023-07-01-preview"
6+
},
7+
"responses": {
8+
"204": {}
9+
}
10+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,94 @@
1+
{
2+
"parameters": {
3+
"partyId": "PARTY123",
4+
"applicationDataId": "APPLICATION123",
5+
"api-version": "2023-07-01-preview"
6+
},
7+
"responses": {
8+
"200": {
9+
"body": {
10+
"partyId": "PARTY123",
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+
"geometry": {
20+
"type": "Polygon",
21+
"coordinates": [
22+
[
23+
[
24+
73.70457172393799,
25+
20.545385304358106
26+
],
27+
[
28+
73.70457172393799,
29+
20.545385304358106
30+
],
31+
[
32+
73.70448589324951,
33+
20.542411534243367
34+
],
35+
[
36+
73.70877742767334,
37+
20.541688176010233
38+
],
39+
[
40+
73.71023654937744,
41+
20.545083911372505
42+
],
43+
[
44+
73.70663166046143,
45+
20.546992723579137
46+
],
47+
[
48+
73.70457172393799,
49+
20.545385304358106
50+
]
51+
]
52+
]
53+
},
54+
"associatedResource": {
55+
"type": "Field",
56+
"id": "FIELD123"
57+
},
58+
"area": {
59+
"unit": "acre",
60+
"value": 60
61+
},
62+
"totalMaterial": {
63+
"unit": "kilos",
64+
"value": 9
65+
},
66+
"avgMaterial": {
67+
"unit": "kilosperacre",
68+
"value": 0.15
69+
},
70+
"applicationProductDetails": [
71+
{
72+
"productName": "POTASHVAR1",
73+
"isCarrier": false,
74+
"totalMaterial": {
75+
"unit": "kilos",
76+
"value": 4
77+
},
78+
"avgMaterial": {
79+
"unit": "kilosperacre",
80+
"value": 0.2
81+
}
82+
}
83+
],
84+
"properties": {
85+
"Region": "Europe",
86+
"CountyCode": 123
87+
},
88+
"createdDateTime": "2020-12-31T11:10:21Z",
89+
"modifiedDateTime": "2020-12-31T11:10:21Z",
90+
"eTag": "cb00a3ac-0000-0100-0000-601d21ec0000"
91+
}
92+
}
93+
}
94+
}

0 commit comments

Comments
 (0)