조회 a list-ranking-formula

요청 경로에 ID를 포함하는 오퍼 라이브러리 API에 대해 GET 요청을 수행하면 특정 등급 공식을 조회할 수 있습니다.

API 형식

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

요청

curl -X GET 'https://platform.adobe.io/data/core/dps/ranking-formulas/rankingFormula1234' \
-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-08-08T23:45:15.380Z",
    "modified": "2024-10-22T18:15:05.909Z",
    "etag": 36,
    "schemas": [
        "https://ns.adobe.com/experience/offer-management/ranking-function"
    ],
    "createdBy": "71486D7B5F4011980A494030@AdobeID",
    "lastModifiedBy": "71486D7B5F4011980A494030@AdobeID",
    "id": "dps:ranking-function:1947f5372cc4ed74",
    "name": "[Do not delete] - Cypress e2e - edit",
    "description": "some description",
    "returnType": {
        "type": "INTEGER"
    },
    "exdFunction": true,
    "expression": {
        "type": "PQL",
        "format": "pql/text",
        "value": "42 = 11"
    }
}
recommendation-more-help
b22c9c5d-9208-48f4-b874-1cefb8df4d76