Nachschlagen eines Entscheidungselements
Letzte Aktualisierung: 27. Dezember 2024
- Themen:
- Entscheidungs-Management
- API
- Sammlungen
Erstellt für:
- Experte
- Entwickler
Um nach bestimmten Entscheidungselementen zu suchen, stellen Sie eine GET-Anfrage an die Angebotsbibliothek-API, die die ID im Anfragepfad enthält.
API-Format
GET /{ENDPOINT_PATH}/offer-items/{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. | offerItem1234 |
Anfrage
curl -X GET 'https://platform.adobe.io/data/core/dps/offer-items/offerItem1234' \
-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}' \
-H 'x-schema-id: {SCHEMA_ID}'
Antwort
Bei einer erfolgreichen Antwort werden die Details des Entscheidungselements zurückgegeben.
{
"created": "2024-06-10T16:00:34.014Z",
"modified": "2024-07-09T22:59:21.507Z",
"etag": 1,
"createdBy": "{CREATED_BY}",
"lastModifiedBy": "{MODIFIED_BY}",
"id": "offerItem5678",
"_experience": {
"decisioning": {
"offeritem": {
"fCapConstraintsLastIndex": 0,
"lifecycleStatus": "approved"
},
"decisionitem": {
"itemCalendarConstraints": {
"endDate": "2030-12-31T08:00:00.000Z",
"startDate": "2024-06-10T04:00:00.000Z"
},
"itemCatalogID": "itemCatalong1234",
"itemConstraints": {
"eligibilityRule": "rule1234",
"profileConstraintType": "eligibilityRule"
},
"itemDescription": "Offer item description",
"itemID": "offerItem5678",
"itemLabels": [],
"itemName": "Offer Item One",
"itemPriority": 1,
"itemTags": []
}
}
},
"_<imsOrg>": {
"some_field": "some value"
}
}
recommendation-more-help
b22c9c5d-9208-48f4-b874-1cefb8df4d76