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/energy-data-services/tutorial-wellbore-ddms.md
+27-15Lines changed: 27 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -23,7 +23,7 @@ In this tutorial, you'll learn how to:
23
23
24
24
### Microsoft Energy Data Services instance details
25
25
26
-
* Once the [Microsoft Energy Data Services Preview instance](quickstart-create-microsoft-energy-data-services-instance.md) is created, note down the following details:
26
+
* Once the [Microsoft Energy Data Services Preview instance](quickstart-create-microsoft-energy-data-services-instance.md) is created, save the following details:
27
27
28
28
```Table
29
29
| Parameter | Value to use | Example |
@@ -38,20 +38,20 @@ In this tutorial, you'll learn how to:
38
38
39
39
### Postman setup
40
40
41
-
* Download and install [Postman](https://www.postman.com/) desktop app
* Update the **CURRENT_VALUE** of the Postman Environment with the information obtained in [Microsoft Energy Data Services instance details](#microsoft-energy-data-services-instance-details)
46
+
1. Update the **CURRENT_VALUE** of the Postman Environment with the information obtained in [Microsoft Energy Data Services instance details](#microsoft-energy-data-services-instance-details)
47
47
48
48
### Executing Postman Requests
49
49
50
-
* The Postman collection for Wellbore ddms contains requests that allows interaction with wells, wellbore, well log and well trajectory data.
51
-
* Make sure to choose the **Wellbore DDMS Environment** before triggering the Postman collection.
50
+
1. The Postman collection for Wellbore ddms contains requests that allows interaction with wells, wellbore, well log and well trajectory data.
51
+
2. Make sure to choose the **Wellbore DDMS Environment** before triggering the Postman collection.
* Each request can be triggered by clicking the **Send** Button.
54
-
* On every request Postman will validate the actual API response code against the expected response code; if there's any mismatch the Test Section will indicate failures.
53
+
3. Each request can be triggered by clicking the **Send** Button.
54
+
4. On every request Postman will validate the actual API response code against the expected response code; if there's any mismatch the Test Section will indicate failures.
55
55
56
56
**Successful Postman Call**
57
57
@@ -61,13 +61,25 @@ In this tutorial, you'll learn how to:
### Utilize Wellbore ddms APIs to store and retrieve wellbore and well log data
64
+
### Generate a token
65
65
66
-
1.**Get an SPN Token** - Generate the Service Principal Bearer token, which will be used to authenticate further API calls.
67
-
2.**Create a Legal Tag** - Create a legal tag that will be added automatically to the environment for data compliance purpose.
68
-
3.**Create Well** - Creates the wellbore record in Microsoft Energy Data Services instance.
66
+
1.**Get a Token** - Import the CURL command in Postman to generate the bearer token. Update the bearerToken in wellbore ddms environment. Use Bearer Token as Authorization type in other API calls.
67
+
```bash
68
+
curl --location --request POST 'https://login.microsoftonline.com/{{TENANT_ID}}/oauth2/v2.0/token' \
:::image type="content" source="media/tutorial-wellbore-ddms/tutorial-of-the-wellbore-generate-token.png" alt-text="Screenshot of the wellbore generate token." lightbox="media/tutorial-wellbore-ddms/tutorial-of-the-wellbore-generate-token.png":::
76
+
77
+
## Store and retrieve Wellbore and Well Log data with Wellbore ddms APIs
78
+
79
+
1. **Create a Legal Tag** - Create a legal tag that will be added automatically to the environment for data compliance purpose.
80
+
2. **Create Well** - Creates the wellbore record in Microsoft Energy Data Services instance.
69
81
:::image type="content" source="media/tutorial-wellbore-ddms/tutorial-create-well.png" alt-text="Screenshot of creating a Well." lightbox="media/tutorial-wellbore-ddms/tutorial-create-well.png":::
70
-
4.**Get Wells** - Returns the well data created in the last step.
82
+
3. **Get Wells** - Returns the well data created in the last step.
71
83
:::image type="content" source="media/tutorial-wellbore-ddms/tutorial-get-wells.png" alt-text="Screenshot of getting all wells." lightbox="media/tutorial-wellbore-ddms/tutorial-get-wells.png":::
72
84
1. **Get Well Versions** - Returns the versions of each ingested well record.
73
85
:::image type="content" source="media/tutorial-wellbore-ddms/tutorial-get-well-versions.png" alt-text="Screenshot of getting all Well versions." lightbox="media/tutorial-wellbore-ddms/tutorial-get-well-versions.png":::
0 commit comments