Een selectiestrategie zoeken
Laatst bijgewerkt: 19 augustus 2024
- Onderwerpen:
- Besluitbeheer
- API
- Verzamelingen
Gemaakt voor:
- Ervaren
- Ontwikkelaar
U kunt een specifieke selectiestrategie opzoeken door een GET-aanvraag in te dienen bij de API voor de bibliotheek van het aanbod die de id bevat in het aanvraagpad.
API formaat
GET /{ENDPOINT_PATH}/selection-strategies/{ID}
Parameter | Beschrijving | Voorbeeld |
---|---|---|
{ENDPOINT_PATH} | Het eindpuntpad voor persistentie-API's. | https://platform.adobe.io/data/core/dps |
{ID} | De id van de entiteit die u wilt opzoeken. | selectionStrategy1234 |
Verzoek
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}'
Reactie
Als de reactie succesvol was, worden de details van de selectiestrategie geretourneerd.
{
"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