Create an exd placement create-exd-placement
You can create a exd placement by making a POST request to the Offer Library API.
Accept and Content-Type headers
The following table shows the valid values which comprise the Content-Type fields in the request header:
Parameter
Description
Content-Type
application/jsonAPI format
POST /{ENDPOINT_PATH}/exd-placements
Parameter
Description
Example
{ENDPOINT_PATH}The endpoint path for persistence APIs.
https://platform.adobe.io/data/core/dpsRequest
curl --location 'https://platform-stage.adobe.io/data/core/dps/exd-placements' \
--header 'Content-Type: application/json' \
--header 'x-gw-ims-org-id: {IMS_ORG}' \
--header 'x-sandbox-name: {SANDBOX_NAME}' \
--header 'x-api-key: {API_KEY}' \
--header 'Authorization: Bearer {ACCESS_TOKEN}' \
--data '{
"name": "Test Exd Placement1 Pants",
"channel": "https://ns.adobe.com/xdm/channel-types/email",
"tags":["3d75b849-b344-402b-9d9e-5d750bd46884"],
"channelConfiguration":"530b76f9-dcd6-4fd5-8c52-38e29b04a60a",
"description": "compressing alarm",
"status":"active"
}'
Response
A successful response returns the details of the newly created exd placement including the id. You can use the ID in later steps to update or delete your exd placement.
{
"id": "dps:exd-placement:19cb038eca47bead",
"sandboxId": "068abf40-575e-11ea-8512-9b1bfdb82603",
"etag": 2,
"createdDate": "2024-11-18T18:48:56.298Z",
"lastModifiedDate": "2024-11-18T18:57:27.457Z",
"createdBy": "71486D7B5F4011980A494030@AdobeID",
"lastModifiedBy": "71486D7B5F4011980A494030@AdobeID",
"lastModifiedByClientId": "CJMTestClientACP"
}
recommendation-more-help
b22c9c5d-9208-48f4-b874-1cefb8df4d76