getEndpoints
This API operation and its parameters support the request to get SAP Commerce Cloudendpoints from the environments associated with a specific subscription.
Command
GET https://portalapi.commerce.ondemand.com/v2/subscriptions/{subscriptionCode}/environments/{environmentCode}/endpoints
Parameters
| Name | Required | Description |
|---|---|---|
|
subscriptionCode string (path) |
Yes | The code of the subscription to get associated environments.
You can find the subscription code in the Cloud Portal URL. It appears after subscription/ in the URL. |
|
environmentCode string (path) |
Yes | The code of the environment to get associated endpoints. |
Responses
| Code | Description |
|---|---|
| 200 | OK
Example Value | Model {"count": 0,
"value": [
{"code": "string",
"name": "string",
"webProxy": "string",
"service": "string",
"url": "string"
}
]
} |
| 401 | Unauthorized |
| 403 | Forbidden |
| 404 | Not Found |