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
title: "Tutorial: Work with seismic data by using Seismic DDMS APIs"
3
3
titleSuffix: Microsoft Azure Data Manager for Energy
4
4
description: This tutorial shows sample steps for interacting with the Seismic DDMS APIs in Azure Data Manager for Energy.
5
-
author: elizabethhalper
6
-
ms.author: elhalper
5
+
author: akshatjoshi
6
+
ms.author: akshatjoshi
7
7
ms.service: azure-data-manager-energy
8
8
ms.topic: tutorial
9
-
ms.date: 3/16/2022
9
+
ms.date: 3/10/2025
10
10
ms.custom: template-tutorial
11
11
12
12
#Customer intent: As a developer, I want to learn how to use the Seismic DDMS APIs so that I can store and retrieve similar kinds of data.
13
13
---
14
14
15
15
# Tutorial: Work with seismic data by using Seismic DDMS APIs
16
16
17
-
Use Seismic Domain Data Management Services (DDMS) APIs in Postman to work with seismic data in an Azure Data Manager for Energy instance.
17
+
This tutorial demonstrates how to utilize Seismic Domain Data Management Services (DDMS) APIs with cURL to manage seismic data within an Azure Data Manager for Energy instance.
18
18
19
19
In this tutorial, you learn how to:
20
20
21
21
> [!div class="checklist"]
22
22
>
23
23
> * Register a data partition for seismic data.
24
-
> *Use Seismic DDMS APIs to store and retrieve seismic data.
24
+
> *Utilize Seismic DDMS APIs to store and retrieve seismic data.
25
25
26
26
For more information about DDMS, see [DDMS concepts](concepts-ddms.md).
27
27
28
28
## Prerequisites
29
-
30
29
* An Azure subscription
31
30
* An instance of [Azure Data Manager for Energy](quickstart-create-microsoft-energy-data-services-instance.md) created in your Azure subscription
31
+
* cURL command-line tool installed on your machine
32
+
* Generate the service principal access token to call the Seismic APIs. See [How to generate auth token](how-to-generate-auth-token.md).
32
33
33
34
## Get your Azure Data Manager for Energy instance details
34
35
35
-
The first step is to get the following information from your [Azure Data Manager for Energy instance](quickstart-create-microsoft-energy-data-services-instance.md) in the [Azure portal](https://portal.azure.com/?microsoft_azure_marketplace_ItemHideKey=Microsoft_Azure_OpenEnergyPlatformHidden):
:::image type="content" source="media/tutorial-ddms/postman-import-button.png" alt-text="Screenshot that shows the Import button in Postman." lightbox="media/tutorial-ddms/postman-import-button.png":::
36
+
To proceed, gather the following details from your [Azure Data Manager for Energy instance](quickstart-create-microsoft-energy-data-services-instance.md) via the [Azure portal](https://portal.azure.com/?microsoft_azure_marketplace_ItemHideKey=Microsoft_Azure_OpenEnergyPlatformHidden):
58
37
59
-
1. Paste the URL of each file into the search box.
60
-
61
-
:::image type="content" source="media/tutorial-ddms/postman-import-search.png" alt-text="Screenshot that shows importing collection and environment files in Postman via URL." lightbox="media/tutorial-ddms/postman-import-search.png":::
62
-
63
-
3. Update `CURRENT_VALUE` in the Postman environment with the information that you obtained in the Azure Data Manager for Energy instance details.
38
+
| Parameter | Description | Example | Where to find this value |
|`client_id`| Application (client) ID |`00001111-aaaa-2222-bbbb-3333cccc4444`| You use this app or client ID when registering the application with the Microsoft identity platform. See [Register an application](../active-directory/develop/quickstart-register-app.md#register-an-application)|
41
+
|`client_secret`| Client secret |`_fl******************`|Sometimes called an *application password*, a client secret is a string value that your app can use in place of a certificate to identity itself. See [Add a client secret](../active-directory/develop/quickstart-register-app.md#add-a-client-secret).|
42
+
|`tenant_id`| Directory (tenant) ID |`72f988bf-86f1-41af-91ab-xxxxxxxxxxxx`| Hover over your account name in the Azure portal to get the directory or tenant ID. Alternatively, search for and select **Microsoft Entra ID** > **Properties** > **Tenant ID** in the Azure portal. |
43
+
|`base_url`| Instance URL |`https://<instance>.energy.azure.com`| Find this value on the overview page of the Azure Data Manager for Energy instance.|
44
+
|`data_partition_id`| Data partition name |`opendes`| Find this value on the overview page of the Azure Data Manager for Energy instance.|
45
+
|`access_token`| Access token value |`0.ATcA01-XWHdJ0ES-qDevC6r...........`| Follow [How to generate auth token](how-to-generate-auth-token.md) to create an access token and save it.|
64
46
65
47
## Use Seismic DDMS APIs to store and retrieve seismic data
66
48
67
49
### Create a legal tag
68
50
69
-
Create a legal tag that's automatically added to your Seismic DDMS environment for data compliance.
51
+
Create a legal tag that is automatically added to the Seismic DDMS environment for data compliance.
:::image type="content" source="media/tutorial-seismic-ddms/postman-api-create-legal-tag.png" alt-text="Screenshot that shows the API that creates a legal tag." lightbox="media/tutorial-seismic-ddms/postman-api-create-legal-tag.png":::
76
100
77
101
For more information, see [Manage legal tags](how-to-manage-legal-tags.md).
78
102
@@ -82,9 +106,20 @@ Run basic service connection and status tests in your Azure Data Manager for Ene
:::image type="content" source="media/tutorial-seismic-ddms/postman-api-check-service-status.png" alt-text="Screenshot that shows the API that checks the service's status." lightbox="media/tutorial-seismic-ddms/postman-api-check-service-status.png":::
117
+
**Sample Response:**
118
+
```bash
119
+
service OK
120
+
```
121
+
122
+
88
123
89
124
### Tenant
90
125
@@ -95,43 +130,157 @@ Create a tenant in your Azure Data Manager for Energy instance.
95
130
96
131
API: **Tenant** > **Register a seismic-dms tenant**
97
132
98
-
Method: `POST`
99
133
100
-
:::image type="content" source="media/tutorial-seismic-ddms/postman-api-register-tenant.png" alt-text="Screenshot that shows the API that registers a tenant." lightbox="media/tutorial-seismic-ddms/postman-api-register-tenant.png":::
Create a subproject in your Azure Data Manager for Energy instance.
105
163
106
164
API: **Subproject** > **Create a new subproject**
107
165
108
-
Method: `POST`
109
-
110
-
:::image type="content" source="media/tutorial-seismic-ddms/postman-api-create-subproject.png" alt-text="Screenshot that shows the API that creates a subproject." lightbox="media/tutorial-seismic-ddms/postman-api-create-subproject.png":::
:::image type="content" source="media/tutorial-seismic-ddms/postman-api-create-dataset.png" alt-text="Screenshot that shows the API that creates a dataset." lightbox="media/tutorial-seismic-ddms/postman-api-create-dataset.png":::
121
263
122
264
### Register applications
123
265
124
266
Register applications in your Azure Data Manager for Energy instance.
125
267
126
268
API: **Applications** > **Register a new application**
127
269
128
-
Method: `POST`
129
-
130
-
:::image type="content" source="media/tutorial-seismic-ddms/postman-api-register-application.png" alt-text="Screenshot that shows the API that registers an application." lightbox="media/tutorial-seismic-ddms/postman-api-register-application.png":::
As an alternative user experience to Postman, you can use the sdutil command-line Python tool to directly interact with Seismic Store. Use the following tutorial to get started:
135
283
136
284
> [!div class="nextstepaction"]
137
285
> [Use sdutil to load data into Seismic Store](./tutorial-seismic-ddms-sdutil.md)
286
+
> For more information on the Seismic REST APIs in Azure Data Manager for Energy, see the OpenAPI specifications available in the [adme-samples](https://microsoft.github.io/adme-samples/) GitHub repository.
0 commit comments