항목 컬렉션 조회 lookup-item-collection

요청 경로에 ID가 포함된 오퍼 라이브러리 API에 대해 GET 요청을 수행하여 특정 항목 컬렉션을 조회할 수 있습니다.

API 형식

GET /{ENDPOINT_PATH}/item-collections/{ID}
매개변수
설명
{ENDPOINT_PATH}
지속성 API의 끝점 경로입니다.
https://platform.adobe.io/data/core/dps
{ID}
조회할 엔티티의 ID입니다.
itemCollections1234

요청

curl -X GET 'https://platform.adobe.io/data/core/dps/item-collections/itemCollections1234' \
-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}'

응답

성공한 응답은 항목 컬렉션의 세부 정보를 반환합니다.

{
    "created": "2024-01-31T18:28:52.888Z",
    "modified": "2024-06-28T19:44:13.112Z",
    "etag": 7,
    "schemas": [
        "https://ns.adobe.com/experience/decisioning/item-collection;version=1.2"
    ],
    "createdBy": "{CREATED_BY}",
    "lastModifiedBy": "{MODIFIED_BY}",
    "id": "itemCollection1234",
    "name": "Item collection One",
    "description": "Item collection",
    "constraints": [
        {
            "itemCatalogId": "itemCatalog1234",
            "uiModel": "{\"operator\":\"equals\",\"value\":{\"left\":\"_experience.decisioning.decisionitem.itemName\",\"right\":\"Some offer item\"}}"
        }
    ]
}
recommendation-more-help
b22c9c5d-9208-48f4-b874-1cefb8df4d76