Skip to content

Commit 4d10e85

Browse files
committed
fix_postman_occurrence
1 parent 050ca22 commit 4d10e85

File tree

1 file changed

+20
-16
lines changed

1 file changed

+20
-16
lines changed

articles/energy-data-services/tutorial-seismic-ddms.md

Lines changed: 20 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ ms.custom: template-tutorial
1616

1717
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.
1818

19-
In this tutorial, you will learn how to:
19+
In this tutorial, you learn how to:
2020

2121
> [!div class="checklist"]
2222
>
@@ -35,26 +35,27 @@ For more information about DDMS, see [DDMS concepts](concepts-ddms.md).
3535

3636
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):
3737

38-
| Parameter | Description | Example |
39-
| ------------------ | -------------------------- |-------------------------------------- |
40-
| `client_id` | Application (client) ID | `00001111-aaaa-2222-bbbb-3333cccc4444`|
41-
| `client_secret` | Client secret | `_fl******************` |
42-
| `tenant_id` | Directory (tenant) ID | `72f988bf-86f1-41af-91ab-xxxxxxxxxxxx`|
43-
| `base_url` | Instance URL | `https://<instance>.energy.azure.com` |
44-
| `data_partition_id`| Data partition name | `opendes` |
38+
| Parameter | Description | Example | Where to find this value |
39+
| ------------------ | -------------------------- |-------------------------------------- |-------------------------------------- |
40+
| `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.|
4546

4647
## Use Seismic DDMS APIs to store and retrieve seismic data
4748

4849
### Create a legal tag
4950

50-
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.
5152

5253
API: **Setup** > **Create Legal Tag for SDMS**
5354

5455
```bash
5556
curl --request POST \
5657
--url https://{base_url}/api/legal/v1/legaltags \
57-
--header 'Authorization: Bearer {access-token}' \
58+
--header 'Authorization: Bearer {access_token}' \
5859
--header 'Content-Type: application/json' \
5960
--header 'Data-Partition-Id: {data_partition_id}' \
6061
--data '{
@@ -109,11 +110,12 @@ API: **Service Verification** > **Check Status**
109110
curl --request GET \
110111
--url http://{base_url}/seistore-svc/api/v3/svcstatus \
111112
--header 'Content-Type: application/json' \
113+
--header 'Authorization: Bearer {access_token}' \
112114
--header 'data-partition-id: {data_partition_id}'
113115
```
114116

115117
**Sample Response:**
116-
```json
118+
```bash
117119
service OK
118120
```
119121

@@ -133,7 +135,7 @@ API: **Tenant** > **Register a seismic-dms tenant**
133135
curl --request POST \
134136
--url https://{base_url}/seistore-svc/api/v3/tenant/{data_partition_id} \
135137
--header 'Accept: application/json' \
136-
--header 'Authorization: Bearer {access-token}' \
138+
--header 'Authorization: Bearer {access_token}' \
137139
--header 'Content-Type: application/json' \
138140
--data '{
139141
"gcpid": "{data_partition_id}",
@@ -165,7 +167,7 @@ API: **Subproject** > **Create a new subproject**
165167
curl --request POST \
166168
--url https://{base_url}/seistore-svc/api/v3/subproject/tenant/{data_partition_id}/subproject/{sesimic_subproject} \
167169
--header 'Accept: application/json' \
168-
--header 'Authorization: Bearer {access-token}' \
170+
--header 'Authorization: Bearer {access_token}' \
169171
--header 'Content-Type: application/json' \
170172
--header 'ltag: opendes-Seismic-Legal-Tag-Test999943387766' \
171173
--data '{
@@ -207,7 +209,7 @@ API: **Dataset** > **Register a new dataset**
207209
curl --request POST \
208210
--url https://{base_url}/seistore-svc/api/v3/dataset/tenant/{data_partition_id}/subproject/{seismic_subproject}/dataset/{dataset_name} \
209211
--header 'Accept: application/json' \
210-
--header 'Authorization: Bearer {access-token}' \
212+
--header 'Authorization: Bearer {access_token}' \
211213
--header 'Content-Type: application/json' \
212214
--header 'ltag: {legal_tag}' \
213215
--data '{
@@ -268,10 +270,10 @@ API: **Applications** > **Register a new application**
268270
```bash
269271
curl --request POST \
270272
--url 'https://{base_url}/seistore-svc/api/v3/app?email={email}&sdpath={sdpath}' \
271-
--header 'Authorization: Bearer {access-token}'
273+
--header 'Authorization: Bearer {access_token}'
272274
```
273275
**Sample Response:**
274-
```json
276+
```bash
275277
Status Code: 200
276278
```
277279

@@ -281,3 +283,5 @@ As an alternative user experience to Postman, you can use the sdutil command-lin
281283

282284
> [!div class="nextstepaction"]
283285
> [Use sdutil to load data into Seismic Store](./tutorial-seismic-ddms-sdutil.md)
286+
287+
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

Comments
 (0)