Promotion mappings
The Promotion Mappings operations enable you to track the mappings used by the Promotions service from the source environment to one or more target environment. This is particularly important if you’ve allowed the Promotions service to automatically generate the mappings when you created the promotion. Refer to Create Promotion for more information.
Promotion Mappings data model
| Property | Type | Required | Mutable | Description |
|---|---|---|---|---|
|
String |
N/A |
Read-only |
The identifier of the source environment. |
|
String |
N/A |
Read-only |
The identifier of the target environment. |
|
String |
N/A |
Read-only |
The mappings of source environment resource to target environment resource based on their identifiers. |
Promotion mappings errors
In addition to the general error codes, promotion mapping operations can return the following errors:
| HTTP status | Top‑level code | Detail code | When it happens and what the response contains |
|---|---|---|---|
400 |
|
None |
Message: When and detailsWhen: The Promotions service could not read the promotion mappings in its datastore Details: Describes the failing operation; the datastore error message from the service is returned. |
401 |
|
None |
Message: When and detailsWhen: The access token is missing, invalid, or expired Details: None. |
403 |
|
|
Message: When and detailsWhen: The actor lacks the Details: |
403 |
|
|
Message: When and detailsWhen: The environment referenced by the request is disabled, or the Configuration Management capability is not enabled for the environment Details: |
404 |
|
None |
Message: When and detailsWhen: A Read All Promotion Mappings request references a source and target environment pair with no promotion mappings Details: |