Skip to content

Commit 3d7e9aa

Browse files
committed
feedback from testing team
1 parent 1c73baa commit 3d7e9aa

File tree

2 files changed

+28
-11
lines changed

2 files changed

+28
-11
lines changed

tutorials/cp-starter-isuite-api-management/cp-starter-isuite-api-management.md

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,11 @@ In this step, you copy the endpoint address of the integration flow.
4949

5050
In this step, you define and expose an integration flow endpoint as an application programming interface
5151

52-
1. Choose **Design** > **APIs** > **Create** to create an API.
52+
1. Choose **Settings** > **APIs** to provision the API Management capability. This provisioning might take a few seconds to complete. After the provisioning is complete, refresh your page.
5353

54-
2. On the **Create API** dialog, next to **Select**: choose **URL** and specify the following parameters:
54+
2. Choose **Design** > **APIs** > **Create** to create an API.
55+
56+
3. On the **Create API** dialog, next to **Select**: choose **URL** and specify the following parameters:
5557
>**IMPORTANT** : Paste only the endpoint URL till **`/http/products`** Otherwise, the scenario will not run appropriately.
5658
5759
| Parameter | Settings
@@ -65,33 +67,33 @@ In this step, you define and expose an integration flow endpoint as an applicati
6567

6668
Select **Create**.
6769

68-
3. On the landing page, choose **Resources** tab and then **Add**.
70+
4. On the landing page, choose **Resources** tab and then **Add**.
6971

7072
<!-- border -->![Add resources](2-5-create-api-resources.png)
7173

72-
4. In field **Tag** enter **`Product Details`**, and in the field **Path Prefix** enter **`/details`**.
74+
5. In field **Tag** enter **`Product Details`**, and in the field **Path Prefix** enter **`/details`**.
7375

7476
<!-- border -->![Add details](2-6-add-resources.png)
7577

76-
5. Under **Operations**, delete all tabs except the **POST** tab and choose **OK**.
78+
6. Under **Operations**, delete all tabs except the **POST** tab and choose **OK**.
7779

7880
<!-- border -->![Add operations](2-7-save-resources.png)
7981

8082
The API Resource is displayed.
8183

82-
6. Choose **Deploy** to create and activate the API Proxy for your integration flow.
84+
7. Choose **Deploy** to create and activate the API Proxy for your integration flow.
8385

8486
<!-- border -->![Deploy](009.png)
8587

86-
7. Choose the **POST** operation to display more details on the API. A default API definition in Open API specification format is also generated.
88+
8. Choose the **POST** operation to display more details on the API. A default API definition in Open API specification format is also generated.
8789

88-
8. To update the generated API definition in Open API format, choose **Edit > Edit in API Designer**.
90+
9. To update the generated API definition in Open API format, choose **Edit > Edit in API Designer**.
8991

9092
<!-- border -->![Edit API designer](010.png)
9193

9294
The API designer is opened.
9395

94-
9. In the editable section on the right part of the screen, make the following changes.
96+
10. In the editable section on the right part of the screen, make the following changes.
9597

9698
Change **Payload** to **`productIdentifier`** and add a row as shown in the following screenshot.
9799

@@ -103,13 +105,13 @@ In this step, you define and expose an integration flow endpoint as an applicati
103105

104106
Choose **Save**.
105107

106-
10. Choose **`RequestProductDetails`** and then the **Resources** tab.
108+
11. Choose **`RequestProductDetails`** and then the **Resources** tab.
107109

108110
Choose the **POST** request. You notice the API changes, in particular, the request body contains now one element with a product identifier.
109111

110112
<!-- border -->![Resources Tab API Changes](014.png)
111113

112-
11. When you choose **Try Out** and then **Execute**, since no authentication details have been configured, you get an error message with error code 401 (not authorized).
114+
12. When you choose **Try Out** and then **Execute**, since no authentication details have been configured, you get an error message with error code 401 (not authorized).
113115

114116
<!-- border -->![Error message](015.png)
115117

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
[VALIDATE_4]
2+
###Rule
3+
multiple-choice
4+
5+
###Question
6+
Which of the following values are mandatory to authorize the API client and to call an integration flow as an HTTP endpoint?
7+
8+
###Match
9+
[X] clientid
10+
[ ] roles
11+
[X] clientsecret
12+
[ ] url
13+
[X] tokenurl
14+
15+
[VALIDATE_4]

0 commit comments

Comments
 (0)