[Legacy]{class="badge informative"}
Cercare le offerte di fallback look-up-fallback-offers
TIP
La funzione Decisioni, la nuova funzionalità decisionale di Adobe Journey Optimizer, è ora disponibile tramite i canali e-mail e di esperienza basati su codice. Ulteriori informazioni
Per cercare offerte di fallback specifiche, devi eseguire una richiesta GET all'API Offer Library che includa l'ID offerta di fallback nel percorso della richiesta.
Formato API
GET /{ENDPOINT_PATH}/offers/{ID}?offer-type=fallback
Parametro
Descrizione
Esempio
{ENDPOINT_PATH}Percorso endpoint per le API di persistenza.
https://platform.adobe.io/data/core/dps/{ID}ID dell’entità da cercare.
fallbackOffer1234Richiesta
curl -X GET 'https://platform.adobe.io/data/core/dps/offers/fallbackOffer1234?offer-type=fallback' \
-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}'
Risposta
In caso di esito positivo, la risposta restituisce i dettagli dell’offerta di fallback, incluse le informazioni sull’offerta di fallback e l’ID dell’offerta di fallback univoco.
{
"created": "2023-06-08T14:04:41.011+00:00",
"modified": "2023-06-08T14:04:41.011+00:00",
"etag": 1,
"schemas": [
"https://ns.adobe.com/experience/offer-management/fallback-offer;version=0.8"
],
"createdBy": "{CREATED_BY}",
"lastModifiedBy": "{MODIFIED_BY}",
"id": "fallbackOffer1234",
"name": "Fallback Offer Web",
"description": "Fallback Offer Web Description",
"status": "draft",
"representations": [
{
"channel": "https://ns.adobe.com/xdm/channel-types/web",
"placement": "offerPlacement1234",
"components": [
{
"type": "imagelink",
"format": "image/png",
"deliveryURL": "https://mysite.com"
}
]
}
]
}
recommendation-more-help
b22c9c5d-9208-48f4-b874-1cefb8df4d76