You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/iot-central/core/howto-manage-data-export-with-rest-api.md
+20-20Lines changed: 20 additions & 20 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,8 +1,8 @@
1
1
---
2
2
title: Use the REST API to manage data export in Azure IoT Central
3
3
description: How to use the IoT Central REST API to manage data export in an application
4
-
author: eross-msft
5
-
ms.author: lizross
4
+
author: dominicbetts
5
+
ms.author: dobett
6
6
ms.date: 06/15/2022
7
7
ms.topic: how-to
8
8
ms.service: iot-central
@@ -34,7 +34,7 @@ Each data export definition can send data to one or more destinations. Create th
34
34
Use the following request to create or update a destination definition:
35
35
36
36
```http
37
-
PUT https://{subdomain}.{baseDomain}/api/dataExport/destinations/{destinationId}?api-version=2022-10-31-preview
37
+
PUT https://{your app subdomain}/api/dataExport/destinations/{destinationId}?api-version=2022-10-31-preview
38
38
```
39
39
40
40
* destinationId - Unique ID for the destination.
@@ -53,11 +53,11 @@ The following example shows a request body that creates a blob storage destinati
53
53
The request body has some required fields:
54
54
55
55
*`displayName`: Display name of the destination.
56
-
*`type`: Type of destination object which can be one of: `blobstorage@v1`, `dataexplorer@v1`, `eventhubs@v1`, `servicebusqueue@v1`, `servicebustopic@v1`, `webhook@v1`.
56
+
*`type`: Type of destination object. One of: `blobstorage@v1`, `dataexplorer@v1`, `eventhubs@v1`, `servicebusqueue@v1`, `servicebustopic@v1`, `webhook@v1`.
57
57
*`connectionString`: The connection string for accessing the destination resource.
58
58
*`containerName`: For a blob storage destination, the name of the container where data should be written.
59
59
60
-
The response to this request looks like the following example:
60
+
The response to this request looks like the following example:
61
61
62
62
```json
63
63
{
@@ -75,7 +75,7 @@ The response to this request looks like the following example:
75
75
Use the following request to retrieve details of a destination from your application:
76
76
77
77
```http
78
-
GET https://{subdomain}.{baseDomain}/api/dataExport/destinations/{destinationId}?api-version=2022-10-31-preview
78
+
GET https://{your app subdomain}/api/dataExport/destinations/{destinationId}?api-version=2022-10-31-preview
79
79
```
80
80
81
81
The response to this request looks like the following example:
@@ -96,10 +96,10 @@ The response to this request looks like the following example:
96
96
Use the following request to retrieve a list of destinations from your application:
97
97
98
98
```http
99
-
GET https://{subdomain}.{baseDomain}/api/dataExport/destinations?api-version=2022-10-31-preview
99
+
GET https://{your app subdomain}/api/dataExport/destinations?api-version=2022-10-31-preview
100
100
```
101
101
102
-
The response to this request looks like the following example:
102
+
The response to this request looks like the following example:
103
103
104
104
```json
105
105
{
@@ -131,10 +131,10 @@ The response to this request looks like the following example:
You can use this to perform an incremental update to an export. The sample request body looks like the following example that updates the `displayName` to a destination:
137
+
You can use this call to perform an incremental update to an export. The sample request body looks like the following example that updates the `displayName` to a destination:
138
138
139
139
```json
140
140
{
@@ -163,15 +163,15 @@ The response to this request looks like the following example:
163
163
Use the following request to delete a destination:
Use the following request to create or update a data export definition:
172
172
173
173
```http
174
-
PUT https://{subdomain}.{baseDomain}/api/dataExport/exports/{exportId}?api-version=2022-10-31-preview
174
+
PUT https://{your app subdomain}/api/dataExport/exports/{exportId}?api-version=2022-10-31-preview
175
175
```
176
176
177
177
The following example shows a request body that creates an export definition for device telemetry:
@@ -203,10 +203,10 @@ The request body has some required fields:
203
203
204
204
There are some optional fields you can use to add more details to the export.
205
205
206
-
*`enrichments`: Additional pieces of information to include with each sent message. Data is represented as a set of key/value pairs, where the key is the name of the enrichment that will appear in the output message and the value identifies the data to send.
206
+
*`enrichments`: Extra pieces of information to include with each sent message. Data is represented as a set of key/value pairs, where the key is the name of the enrichment that will appear in the output message and the value identifies the data to send.
207
207
*`filter`: Query defining which events from the source should be exported.
208
208
209
-
The response to this request looks like the following example:
209
+
The response to this request looks like the following example:
210
210
211
211
```json
212
212
{
@@ -233,7 +233,7 @@ The response to this request looks like the following example:
233
233
Use the following request to retrieve details of an export definition from your application:
234
234
235
235
```http
236
-
GET https://{subdomain}.{baseDomain}/api/dataExport/exports/{exportId}?api-version=2022-10-31-preview
236
+
GET https://{your app subdomain}/api/dataExport/exports/{exportId}?api-version=2022-10-31-preview
237
237
```
238
238
239
239
The response to this request looks like the following example:
@@ -254,10 +254,10 @@ The response to this request looks like the following example:
254
254
Use the following request to retrieve a list of export definitions from your application:
255
255
256
256
```http
257
-
GET https://{subdomain}.{baseDomain}/api/dataExport/exports?api-version=2022-10-31-preview
257
+
GET https://{your app subdomain}/api/dataExport/exports?api-version=2022-10-31-preview
258
258
```
259
259
260
-
The response to this request looks like the following example:
260
+
The response to this request looks like the following example:
261
261
262
262
```json
263
263
{
@@ -303,10 +303,10 @@ The response to this request looks like the following example:
You can use this to perform an incremental update to an export. The sample request body looks like the following example that updates the `enrichments` to an export:
309
+
You can use this call to perform an incremental update to an export. The sample request body looks like the following example that updates the `enrichments` to an export:
310
310
311
311
```json
312
312
{
@@ -353,7 +353,7 @@ The response to this request looks like the following example:
353
353
Use the following request to delete an export definition:
0 commit comments