Nachschlagen einer Auswahlstrategie
27. Dezember 2024
- Themen:
- Entscheidungs-Management
- API
- Sammlungen
Erstellt für:
- Experte
- Entwickler
Sie können nach einer bestimmten Auswahlstrategie suchen, indem Sie eine GET-Anfrage an die Angebotsbibliothek-API richten, die die ID im Anfragepfad enthält.
API-Format
GET /{ENDPOINT_PATH}/selection-strategies/{ID}
Parameter
Beschreibung
Beispiel
{ENDPOINT_PATH}
Der Endpunktpfad für persistente APIs.
https://platform.adobe.io/data/core/dps
{ID}
Die ID der Identität, die Sie nachschlagen möchten.
selectionStrategy1234
Anfrage
curl -X GET 'https://platform.adobe.io/data/core/dps/selection-strategies/selectionStrategy1234' \
-H 'Accept: *,application/json' \
-H 'Authorization: Bearer {ACCESS_TOKEN}' \
-H 'x-api-key: {API_KEY}' \
-H 'x-gw-ims-org-id: {IMS_ORG}' \
-H 'x-sandbox-name: {SANDBOX_NAME}'
Antwort
Bei einer erfolgreichen Antwort werden die Details der Auswahlstrategie zurückgegeben.
{
"created": "2024-02-08T03:01:50.924Z",
"modified": "2024-02-16T23:03:03.019Z",
"etag": 4,
"schemas": [
"https://ns.adobe.com/experience/offer-management/selection-strategy;version=0.2"
],
"createdBy": "{CREATED_BY}",
"lastModifiedBy": "{MODIFIED_BY}",
"id": "selectionStrategy1234",
"name": "Selection Strategy One",
"description": "Selection Strategy",
"rank": {
"priority": 1,
"order": {
"orderEvaluationType": "static"
}
},
"profileConstraint": {
"profileConstraintType": "eligibilityRule",
"eligibilityRule": "offerRule1234"
},
"optionSelection": {
"filter": "itemCollection1234",
}
}
recommendation-more-help
b22c9c5d-9208-48f4-b874-1cefb8df4d76