Fallback-Angebote nachschlagen look-up-fallback-offers
Sie können nach bestimmten Fallback-Angeboten suchen, indem Sie eine GET-Anfrage an die Offer Library-API richten, die die Fallback-Angebots-ID im Anfragepfad enthält.
API-Format
GET /{ENDPOINT_PATH}/offers/{ID}?offer-type=fallback
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.
fallbackOffer1234
Anfrage
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}'
Antwort
Bei einer erfolgreichen Antwort werden die Details des Fallback-Angebots zurückgegeben, einschließlich Informationen zu Ihrem Fallback-Angebot und der eindeutigen Fallback-Angebots-ID.
{
"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