{ "openapi": "3.0.1", "info": { "title": "Adobe Target Admin and Reporting APIs", "termsOfService": "https://www.adobe.com/legal/terms.html", "version": "v1.0" }, "servers": [ { "url": "https://mc.adobe.io/", "description": "Adobe.io gateway" } ], "paths": { "/{tenant}/target/properties/{id}": { "get": { "tags": [ "Properties" ], "summary": "Get a property by ID", "description": "Retrieve the current definition of a property referenced by the property ID.", "operationId": "getProperty", "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer", "format": "int64" } } ], "responses": { "400": { "description": "Bad Request", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "407": { "description": "Proxy Authentication Required", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "401": { "description": "Unauthorized", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "406": { "description": "Not Acceptable", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "404": { "description": "Not Found", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "200": { "description": "OK", "content": { "application/vnd.adobe.target.v1+json": { "schema": { "$ref": "#/components/schemas/Property" } } } } } }, "put": { "tags": [ "Properties" ], "summary": "Update a property by ID", "description": "Update the property referenced by the property ID.", "operationId": "updateProperty", "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer", "format": "int64" } } ], "requestBody": { "content": { "application/vnd.adobe.target.v1+json": { "schema": { "$ref": "#/components/schemas/Property" } } }, "required": true }, "responses": { "400": { "description": "Bad Request", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "407": { "description": "Proxy Authentication Required", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "401": { "description": "Unauthorized", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "406": { "description": "Not Acceptable", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "404": { "description": "Not Found", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "200": { "description": "OK", "content": { "application/vnd.adobe.target.v1+json": { "schema": { "$ref": "#/components/schemas/Property" } } } } } }, "delete": { "tags": [ "Properties" ], "summary": "Delete a property by ID", "description": "Delete the property referenced by the property ID.", "operationId": "deleteProperty", "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer", "format": "int64" } } ], "responses": { "400": { "description": "Bad Request", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "407": { "description": "Proxy Authentication Required", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "401": { "description": "Unauthorized", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "406": { "description": "Not Acceptable", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "404": { "description": "Not Found", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "200": { "description": "OK", "content": { "application/vnd.adobe.target.v1+json": { "schema": { "$ref": "#/components/schemas/Property" } } } } } } }, "/{tenant}/target/offers/recs/{id}": { "get": { "tags": [ "Offers" ], "summary": "Get recs offer by ID", "description": "Retrieves the contents of the Recommendations offer referenced by the provided ID.", "operationId": "getOffer", "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer", "format": "int64" } } ], "responses": { "400": { "description": "Bad Request", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "407": { "description": "Proxy Authentication Required", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "401": { "description": "Unauthorized", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "406": { "description": "Not Acceptable", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "404": { "description": "Not Found", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "200": { "description": "OK", "content": { "application/vnd.adobe.target.v1+json": { "schema": { "$ref": "#/components/schemas/RecommendationOffer" } } } } } }, "put": { "tags": [ "Offers" ], "summary": "Update a recs offer by ID", "description": "Updates the Recommendations offer referenced by the ID specified in the URL.", "operationId": "updateOffer", "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer", "format": "int64" } } ], "requestBody": { "content": { "application/vnd.adobe.target.v1+json": { "schema": { "$ref": "#/components/schemas/RecommendationOffer" } } }, "required": true }, "responses": { "400": { "description": "Bad Request", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "407": { "description": "Proxy Authentication Required", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "401": { "description": "Unauthorized", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "406": { "description": "Not Acceptable", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "404": { "description": "Not Found", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "200": { "description": "OK", "content": { "application/vnd.adobe.target.v1+json": { "schema": { "$ref": "#/components/schemas/RecommendationOffer" } } } } } }, "delete": { "tags": [ "Offers" ], "summary": "Delete a recs offer by ID", "description": "Deletes the Recommendations offer referenced by the provided ID.", "operationId": "deleteOffer", "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer", "format": "int64" } } ], "responses": { "400": { "description": "Bad Request", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "407": { "description": "Proxy Authentication Required", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "401": { "description": "Unauthorized", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "406": { "description": "Not Acceptable", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "404": { "description": "Not Found", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "200": { "description": "OK", "content": { "application/vnd.adobe.target.v1+json": { "schema": { "$ref": "#/components/schemas/RecommendationOffer" } } } } } } }, "/{tenant}/target/offers/json/{id}": { "get": { "tags": [ "Offers" ], "summary": "Get json offer by ID", "description": "Retrieves the contents of the JSON offer referenced by the provided ID.", "operationId": "getOffer_1", "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer", "format": "int64" } } ], "responses": { "400": { "description": "Bad Request", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "407": { "description": "Proxy Authentication Required", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "401": { "description": "Unauthorized", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "406": { "description": "Not Acceptable", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "404": { "description": "Not Found", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "200": { "description": "OK", "content": { "application/vnd.adobe.target.v2+json": { "schema": { "$ref": "#/components/schemas/JsonOffer" } } } } } }, "put": { "tags": [ "Offers" ], "summary": "Update a json offer by ID", "description": "Updates the JSON offer referenced by the ID specified in the URL.", "operationId": "updateOffer_1", "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer", "format": "int64" } } ], "requestBody": { "content": { "application/vnd.adobe.target.v2+json": { "schema": { "$ref": "#/components/schemas/JsonOffer" } } }, "required": true }, "responses": { "400": { "description": "Bad Request", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "407": { "description": "Proxy Authentication Required", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "401": { "description": "Unauthorized", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "406": { "description": "Not Acceptable", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "404": { "description": "Not Found", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "200": { "description": "OK", "content": { "application/vnd.adobe.target.v2+json": { "schema": { "$ref": "#/components/schemas/JsonOffer" } } } } } }, "delete": { "tags": [ "Offers" ], "summary": "Delete a json offer by ID", "description": "Deletes the JSON offer referenced by the provided ID.", "operationId": "deleteOffer_1", "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer", "format": "int64" } } ], "responses": { "400": { "description": "Bad Request", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "407": { "description": "Proxy Authentication Required", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "401": { "description": "Unauthorized", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "406": { "description": "Not Acceptable", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "404": { "description": "Not Found", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "200": { "description": "OK", "content": { "application/vnd.adobe.target.v2+json": { "schema": { "$ref": "#/components/schemas/JsonOffer" } } } } } } }, "/{tenant}/target/offers/content/{id}": { "get": { "tags": [ "Offers" ], "summary": "Get content offer by ID", "description": "Retrieves the contents of the content offer referenced by the provided ID.", "operationId": "getOffer_2", "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer", "format": "int64" } } ], "responses": { "400": { "description": "Bad Request", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "407": { "description": "Proxy Authentication Required", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "401": { "description": "Unauthorized", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "406": { "description": "Not Acceptable", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "404": { "description": "Not Found", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "200": { "description": "OK", "content": { "application/vnd.adobe.target.v2+json": { "schema": { "$ref": "#/components/schemas/ContentOffer" } } } } } }, "put": { "tags": [ "Offers" ], "summary": "Update a content offer by ID", "description": "Updates the content offer referenced by the ID specified in the URL.", "operationId": "updateOffer_2", "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer", "format": "int64" } } ], "requestBody": { "content": { "application/vnd.adobe.target.v2+json": { "schema": { "$ref": "#/components/schemas/ContentOffer" } } }, "required": true }, "responses": { "400": { "description": "Bad Request", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "407": { "description": "Proxy Authentication Required", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "401": { "description": "Unauthorized", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "406": { "description": "Not Acceptable", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "404": { "description": "Not Found", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "200": { "description": "OK", "content": { "application/vnd.adobe.target.v2+json": { "schema": { "$ref": "#/components/schemas/ContentOffer" } } } } } }, "delete": { "tags": [ "Offers" ], "summary": "Delete a content offer by ID", "description": "Deletes the content offer referenced by the provided ID.", "operationId": "deleteOffer_2", "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer", "format": "int64" } } ], "responses": { "400": { "description": "Bad Request", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "407": { "description": "Proxy Authentication Required", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "401": { "description": "Unauthorized", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "406": { "description": "Not Acceptable", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "404": { "description": "Not Found", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "200": { "description": "OK", "content": { "application/vnd.adobe.target.v2+json": { "schema": { "$ref": "#/components/schemas/ContentOffer" } } } } } } }, "/{tenant}/target/hosts/{hostName}": { "put": { "tags": [ "Hosts" ], "summary": "Update host", "description": "Update the host referenced by the environment and host name.", "operationId": "updateHost", "parameters": [ { "name": "hostName", "in": "path", "required": true, "schema": { "type": "string" } } ], "requestBody": { "content": { "application/vnd.adobe.target.v1+json": { "schema": { "$ref": "#/components/schemas/HostEnvironment" } } }, "required": true }, "responses": { "400": { "description": "Bad Request", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "407": { "description": "Proxy Authentication Required", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "401": { "description": "Unauthorized", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "405": { "description": "Method Not Allowed", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "406": { "description": "Not Acceptable", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "415": { "description": "Unsupported Media Type", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "404": { "description": "Not Found", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "200": { "description": "OK", "content": { "application/vnd.adobe.target.v1+json": { "schema": { "$ref": "#/components/schemas/HostEnvironment" } } } } } }, "delete": { "tags": [ "Hosts" ], "summary": "Delete host", "description": "Delete the host referenced by the host name.", "operationId": "deleteHost", "parameters": [ { "name": "hostName", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "400": { "description": "Bad Request", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "407": { "description": "Proxy Authentication Required", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "401": { "description": "Unauthorized", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "406": { "description": "Not Acceptable", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "404": { "description": "Not Found", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "200": { "description": "OK", "content": { "application/vnd.adobe.target.v1+json": { "schema": { "$ref": "#/components/schemas/Host" } } } } } } }, "/{tenant}/target/environments/{id}": { "get": { "tags": [ "Environments" ], "summary": "List environment", "description": "Retrieve the current definition of an environment as referenced by the environment ID.", "operationId": "getEnvironment", "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer", "format": "int64" } } ], "responses": { "400": { "description": "Bad Request", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "407": { "description": "Proxy Authentication Required", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "401": { "description": "Unauthorized", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "406": { "description": "Not Acceptable", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "404": { "description": "Not Found", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "200": { "description": "OK", "content": { "application/vnd.adobe.target.v1+json": { "schema": { "$ref": "#/components/schemas/Environment" } } } } } }, "put": { "tags": [ "Environments" ], "summary": "Update environment", "description": "Update the environment referenced by the environment ID.", "operationId": "updateEnvironment", "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer", "format": "int64" } } ], "requestBody": { "content": { "application/vnd.adobe.target.v1+json": { "schema": { "$ref": "#/components/schemas/Environment" } } }, "required": true }, "responses": { "400": { "description": "Bad Request", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "407": { "description": "Proxy Authentication Required", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "401": { "description": "Unauthorized", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "406": { "description": "Not Acceptable", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "404": { "description": "Not Found", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "200": { "description": "OK", "content": { "application/vnd.adobe.target.v1+json": { "schema": { "$ref": "#/components/schemas/Environment" } } } } } }, "delete": { "tags": [ "Environments" ], "summary": "Delete environment", "description": "Delete the environment referenced by the environment ID.", "operationId": "deleteEnvironment", "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer", "format": "int64" } } ], "responses": { "400": { "description": "Bad Request", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "407": { "description": "Proxy Authentication Required", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "401": { "description": "Unauthorized", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "406": { "description": "Not Acceptable", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "404": { "description": "Not Found", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "200": { "description": "OK", "content": { "application/vnd.adobe.target.v1+json": { "schema": { "$ref": "#/components/schemas/Environment" } } } } } } }, "/{tenant}/target/environments/defaults": { "get": { "tags": [ "Environments" ], "summary": "Get default environments", "description": "Retrieve a list of the default environments.", "operationId": "getDefaultEnvironments", "responses": { "400": { "description": "Bad Request", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "407": { "description": "Proxy Authentication Required", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "401": { "description": "Unauthorized", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "406": { "description": "Not Acceptable", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "404": { "description": "Not Found", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "200": { "description": "OK", "content": { "application/vnd.adobe.target.v1+json": { "schema": { "$ref": "#/components/schemas/DefaultEnvironmentsDTO" } } } } } }, "put": { "tags": [ "Environments" ], "summary": "Update default environments", "description": "Update the default environment(s) referenced by the environment ID.", "operationId": "updateDefaultEnvironments", "requestBody": { "content": { "application/vnd.adobe.target.v1+json": { "schema": { "$ref": "#/components/schemas/DefaultEnvironmentsDTO" } } }, "required": true }, "responses": { "400": { "description": "Bad Request", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "407": { "description": "Proxy Authentication Required", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "401": { "description": "Unauthorized", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "406": { "description": "Not Acceptable", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "404": { "description": "Not Found", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "200": { "description": "OK", "content": { "application/vnd.adobe.target.v1+json": { "schema": { "$ref": "#/components/schemas/DefaultEnvironmentsDTO" } } } } } } }, "/{tenant}/target/clients/uisettings": { "get": { "tags": [ "Clients" ], "summary": "Get client UI settings", "description": "Retrieve client UI settings.", "operationId": "getSettings", "responses": { "400": { "description": "Bad Request", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "407": { "description": "Proxy Authentication Required", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "401": { "description": "Unauthorized", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "406": { "description": "Not Acceptable", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "404": { "description": "Not Found", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "200": { "description": "OK", "content": { "application/vnd.adobe.target.v1+json": { "schema": { "$ref": "#/components/schemas/UiSettingsDto" } } } } } }, "put": { "tags": [ "Clients" ], "summary": "Update client UI settings", "description": "Update client UI settings.", "operationId": "updateSettings", "requestBody": { "content": { "application/vnd.adobe.target.v1+json": { "schema": { "$ref": "#/components/schemas/UiSettingsDto" } } }, "required": true }, "responses": { "400": { "description": "Bad Request", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "407": { "description": "Proxy Authentication Required", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "401": { "description": "Unauthorized", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "406": { "description": "Not Acceptable", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "404": { "description": "Not Found", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "200": { "description": "OK", "content": { "application/vnd.adobe.target.v1+json": { "schema": { "$ref": "#/components/schemas/UiSettingsDto" } } } } } } }, "/{tenant}/target/clients/settings": { "get": { "tags": [ "Clients" ], "summary": "Get client settings", "description": "Retrieve client settings.", "operationId": "getSettings_1", "responses": { "400": { "description": "Bad Request", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "407": { "description": "Proxy Authentication Required", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "401": { "description": "Unauthorized", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "406": { "description": "Not Acceptable", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "404": { "description": "Not Found", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "200": { "description": "OK", "content": { "application/vnd.adobe.target.v1+json": { "schema": { "$ref": "#/components/schemas/ClientSelfServiceSettings" } } } } } }, "put": { "tags": [ "Clients" ], "summary": "Update client settings", "description": "Update client settings.", "operationId": "updateSettings_1", "requestBody": { "content": { "application/vnd.adobe.target.v1+json": { "schema": { "$ref": "#/components/schemas/ClientSelfServiceSettings" } } }, "required": true }, "responses": { "400": { "description": "Bad Request", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "407": { "description": "Proxy Authentication Required", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "401": { "description": "Unauthorized", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "406": { "description": "Not Acceptable", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "404": { "description": "Not Found", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "200": { "description": "OK", "content": { "application/vnd.adobe.target.v1+json": { "schema": { "$ref": "#/components/schemas/ClientSelfServiceSettings" } } } } } }, "patch": { "tags": [ "Clients" ], "summary": "Partial update of client settings", "description": "Allows updating individual client settings without the need to pass in the entire configuration.", "operationId": "patchSettings", "requestBody": { "content": { "application/vnd.adobe.target.v1+json": { "schema": { "$ref": "#/components/schemas/ClientSelfServiceSettings" } } }, "required": true }, "responses": { "400": { "description": "Bad Request", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "407": { "description": "Proxy Authentication Required", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "401": { "description": "Unauthorized", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "406": { "description": "Not Acceptable", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "404": { "description": "Not Found", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "200": { "description": "OK", "content": { "application/vnd.adobe.target.v1+json": { "schema": { "$ref": "#/components/schemas/ClientSelfServiceSettings" } } } } } } }, "/{tenant}/target/clients/ipfilter/{type}": { "get": { "tags": [ "Clients" ], "summary": "Get client report IP filters", "description": "Retrieve client report IP filters.", "operationId": "getReportIpFilters", "parameters": [ { "name": "tenantClientCode", "in": "query", "required": true, "schema": { "type": "string" } }, { "name": "type", "in": "path", "required": true, "schema": { "type": "string", "enum": [ "ADMIN", "REPORT" ] } } ], "responses": { "400": { "description": "Bad Request", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "407": { "description": "Proxy Authentication Required", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "401": { "description": "Unauthorized", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "406": { "description": "Not Acceptable", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "404": { "description": "Not Found", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "200": { "description": "OK", "content": { "application/vnd.adobe.target.v1+json": { "schema": { "$ref": "#/components/schemas/IpFiltersDto" } } } } } }, "put": { "tags": [ "Clients" ], "summary": "Save client report IP filters", "description": "Save client report IP filters.", "operationId": "saveReportIpFilters", "parameters": [ { "name": "tenantClientCode", "in": "query", "required": true, "schema": { "type": "string" } }, { "name": "type", "in": "path", "required": true, "schema": { "type": "string", "enum": [ "ADMIN", "REPORT" ] } } ], "requestBody": { "content": { "application/vnd.adobe.target.v1+json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/IpFilterDTO" } } } }, "required": true }, "responses": { "400": { "description": "Bad Request", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "407": { "description": "Proxy Authentication Required", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "401": { "description": "Unauthorized", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "406": { "description": "Not Acceptable", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "404": { "description": "Not Found", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "200": { "description": "OK", "content": { "application/vnd.adobe.target.v1+json": { "schema": { "$ref": "#/components/schemas/IpFiltersDto" } } } } } } }, "/{tenant}/target/authorizedHosts": { "get": { "tags": [ "Hosts" ], "summary": "List authorized hosts", "description": "Retrieve list of hosts that are authorized.", "operationId": "getAuthorizedHosts", "responses": { "400": { "description": "Bad Request", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "407": { "description": "Proxy Authentication Required", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "401": { "description": "Unauthorized", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "406": { "description": "Not Acceptable", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "404": { "description": "Not Found", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "200": { "description": "OK", "content": { "application/vnd.adobe.target.v1+json": { "schema": { "$ref": "#/components/schemas/AuthorizedMboxHosts" } } } } } }, "put": { "tags": [ "Hosts" ], "summary": "Update authorized hosts", "description": "Update authorized hosts.", "operationId": "updateAuthorizedHost", "requestBody": { "content": { "application/vnd.adobe.target.v1+json": { "schema": { "$ref": "#/components/schemas/AuthorizedMboxHosts" } } }, "required": true }, "responses": { "400": { "description": "Bad Request", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "407": { "description": "Proxy Authentication Required", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "401": { "description": "Unauthorized", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "405": { "description": "Method Not Allowed", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "406": { "description": "Not Acceptable", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "415": { "description": "Unsupported Media Type", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "404": { "description": "Not Found", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "200": { "description": "OK", "content": { "application/vnd.adobe.target.v1+json": { "schema": { "$ref": "#/components/schemas/AuthorizedMboxHosts" } } } } } } }, "/{tenant}/target/audiences/{id}": { "get": { "tags": [ "Audiences" ], "summary": "Get audience", "description": "Get the audience definition specified by the provided ID.", "operationId": "getAudience", "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer", "format": "int64" } } ], "responses": { "400": { "description": "Bad Request", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "407": { "description": "Proxy Authentication Required", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "401": { "description": "Unauthorized", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "406": { "description": "Not Acceptable", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "404": { "description": "Not Found", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "200": { "description": "OK", "content": { "application/vnd.adobe.target.v3+json": { "schema": { "$ref": "#/components/schemas/Audience" } } } } } }, "put": { "tags": [ "Audiences" ], "summary": "Update audience", "description": "Update an audience with the new rules specified by the request data.", "operationId": "updateAudience", "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer", "format": "int64" } } ], "requestBody": { "content": { "application/vnd.adobe.target.v3+json": { "schema": { "$ref": "#/components/schemas/Audience" } } }, "required": true }, "responses": { "400": { "description": "Bad Request", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "407": { "description": "Proxy Authentication Required", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "401": { "description": "Unauthorized", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "406": { "description": "Not Acceptable", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "404": { "description": "Not Found", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "200": { "description": "OK", "content": { "application/vnd.adobe.target.v3+json": { "schema": { "$ref": "#/components/schemas/Audience" } } } } } }, "delete": { "tags": [ "Audiences" ], "summary": "Delete audience", "description": "Delete the audience referenced by the specified ID.", "operationId": "deleteAudience", "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer", "format": "int64" } } ], "responses": { "400": { "description": "Bad Request", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "407": { "description": "Proxy Authentication Required", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "401": { "description": "Unauthorized", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "406": { "description": "Not Acceptable", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "404": { "description": "Not Found", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "200": { "description": "OK", "content": { "application/vnd.adobe.target.v3+json": { "schema": { "$ref": "#/components/schemas/Audience" } } } } } }, "patch": { "tags": [ "Audiences" ], "summary": "Patch a specific audience by ID", "description": "Partial update to the audience referenced by the specified ID. You can update individual fields like name, description, targetRule, etc.", "operationId": "patchAudience", "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer", "format": "int64" } } ], "requestBody": { "content": { "application/vnd.adobe.target.v3+json": { "schema": { "$ref": "#/components/schemas/AudiencePatch" } } }, "required": true }, "responses": { "400": { "description": "Bad Request", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "407": { "description": "Proxy Authentication Required", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "401": { "description": "Unauthorized", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "406": { "description": "Not Acceptable", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "404": { "description": "Not Found", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "200": { "description": "OK", "content": { "application/vnd.adobe.target.v3+json": { "schema": { "$ref": "#/components/schemas/Audience" } } } } } } }, "/{tenant}/target/atjs/settings": { "get": { "tags": [ "Atjs" ], "summary": "Get at.js settings", "description": "Retrieve at.js settings.", "operationId": "getAtJsSettings", "responses": { "400": { "description": "Bad Request", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "407": { "description": "Proxy Authentication Required", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "401": { "description": "Unauthorized", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "406": { "description": "Not Acceptable", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "404": { "description": "Not Found", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "200": { "description": "OK", "content": { "application/vnd.adobe.target.v1+json": { "schema": { "$ref": "#/components/schemas/ATJSSettings" } } } } } }, "put": { "tags": [ "Atjs" ], "summary": "Update at.js settings", "description": "Update at.js settings.", "operationId": "putATJSSettings", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ATJSSettings" } } }, "required": true }, "responses": { "400": { "description": "Bad Request", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "407": { "description": "Proxy Authentication Required", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "401": { "description": "Unauthorized", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "406": { "description": "Not Acceptable", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "404": { "description": "Not Found", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "200": { "description": "OK", "content": { "application/vnd.adobe.target.v1+json": { "schema": { "$ref": "#/components/schemas/ATJSSettings" } } } } } } }, "/{tenant}/target/activities/{id}/state": { "put": { "tags": [ "Activities" ], "summary": "Update activity state", "description": "Update the state of the activity referenced by the provided ID. Valid values are approved, deactivated, deleted and saved.", "operationId": "updateState", "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer", "format": "int64" } } ], "requestBody": { "content": { "application/vnd.adobe.target.v1+json": { "schema": { "$ref": "#/components/schemas/State" } } }, "required": true }, "responses": { "400": { "description": "Bad Request", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "407": { "description": "Proxy Authentication Required", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "401": { "description": "Unauthorized", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "406": { "description": "Not Acceptable", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "404": { "description": "Not Found", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "200": { "description": "OK", "content": { "application/vnd.adobe.target.v1+json": { "schema": { "$ref": "#/components/schemas/ActivityDescription" } } } } } } }, "/{tenant}/target/activities/ab/{id}/state": { "put": { "tags": [ "Activities" ], "summary": "Update AB activity state", "description": "Update the state of the AB activity referenced by the provided ID. Valid values are approved, deactivated, deleted and saved.", "operationId": "updateState_1", "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer", "format": "int64" } } ], "requestBody": { "content": { "application/vnd.adobe.target.v1+json": { "schema": { "$ref": "#/components/schemas/State" } } }, "required": true }, "responses": { "400": { "description": "Bad Request", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "407": { "description": "Proxy Authentication Required", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "401": { "description": "Unauthorized", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "406": { "description": "Not Acceptable", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "404": { "description": "Not Found", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "200": { "description": "OK", "content": { "application/vnd.adobe.target.v1+json": { "schema": { "$ref": "#/components/schemas/ActivityDescription" } } } } } } }, "/{tenant}/target/activities/xt/{id}/state": { "put": { "tags": [ "Activities" ], "summary": "Update XT activity state", "description": "Update the state of the Experience Targeting activity referenced by the provided ID. Valid values are approved, deactivated, deleted and saved.", "operationId": "updateState_2", "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer", "format": "int64" } } ], "requestBody": { "content": { "application/vnd.adobe.target.v1+json": { "schema": { "$ref": "#/components/schemas/State" } } }, "required": true }, "responses": { "400": { "description": "Bad Request", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "407": { "description": "Proxy Authentication Required", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "401": { "description": "Unauthorized", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "406": { "description": "Not Acceptable", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "404": { "description": "Not Found", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "200": { "description": "OK", "content": { "application/vnd.adobe.target.v1+json": { "schema": { "$ref": "#/components/schemas/ActivityDescription" } } } } } } }, "/{tenant}/target/activities/{id}/schedule": { "put": { "tags": [ "Activities" ], "summary": "Update activity schedule", "description": "Update the startsAt and endsAt fields of an activity referenced by the provided ID. This controls when the activity goes live. The schedule defines the start and end date and time for the activity. If successful, it returns a status code 200. In constructing the startsAt and endsAt values, follow ISO 8601 style date-hour formats.", "operationId": "updateSchedule", "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer", "format": "int64" } } ], "requestBody": { "content": { "application/vnd.adobe.target.v1+json": { "schema": { "$ref": "#/components/schemas/Schedule" } } }, "required": true }, "responses": { "400": { "description": "Bad Request", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "407": { "description": "Proxy Authentication Required", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "401": { "description": "Unauthorized", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "406": { "description": "Not Acceptable", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "404": { "description": "Not Found", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "200": { "description": "OK", "content": { "application/vnd.adobe.target.v1+json": { "schema": { "$ref": "#/components/schemas/ActivityDescription" } } } } } } }, "/{tenant}/target/activities/ab/{id}/schedule": { "put": { "tags": [ "Activities" ], "summary": "Update AB activity schedule", "description": "Update the startsAt and endsAt fields of the AB activity referenced by the provided ID.", "operationId": "updateSchedule_1", "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer", "format": "int64" } } ], "requestBody": { "content": { "application/vnd.adobe.target.v1+json": { "schema": { "$ref": "#/components/schemas/Schedule" } } }, "required": true }, "responses": { "400": { "description": "Bad Request", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "407": { "description": "Proxy Authentication Required", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "401": { "description": "Unauthorized", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "406": { "description": "Not Acceptable", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "404": { "description": "Not Found", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "200": { "description": "OK", "content": { "application/vnd.adobe.target.v1+json": { "schema": { "$ref": "#/components/schemas/ActivityDescription" } } } } } } }, "/{tenant}/target/activities/xt/{id}/schedule": { "put": { "tags": [ "Activities" ], "summary": "Update XT activity schedule", "description": "Update the startsAt and endsAt fields of an Experience Targeting activity.", "operationId": "updateSchedule_2", "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer", "format": "int64" } } ], "requestBody": { "content": { "application/vnd.adobe.target.v1+json": { "schema": { "$ref": "#/components/schemas/Schedule" } } }, "required": true }, "responses": { "400": { "description": "Bad Request", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "407": { "description": "Proxy Authentication Required", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "401": { "description": "Unauthorized", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "406": { "description": "Not Acceptable", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "404": { "description": "Not Found", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "200": { "description": "OK", "content": { "application/vnd.adobe.target.v1+json": { "schema": { "$ref": "#/components/schemas/ActivityDescription" } } } } } } }, "/{tenant}/target/activities/{id}/priority": { "put": { "tags": [ "Activities" ], "summary": "Change activity priority", "description": "Change the priority of the activity referenced by the provided ID. This will affect the way Target evaluates the activity selection at runtime. Allowed values for priority are 0-999. If you are using low, medium, and high in the Target UI, those correspond to 0, 5, and 10, respectively. You must turn on granular priority in the settings page in order to use the 0-999 scale.", "operationId": "updatePriority", "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer", "format": "int64" } } ], "requestBody": { "content": { "application/vnd.adobe.target.v1+json": { "schema": { "$ref": "#/components/schemas/Priority" } } }, "required": true }, "responses": { "400": { "description": "Bad Request", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "407": { "description": "Proxy Authentication Required", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "401": { "description": "Unauthorized", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "406": { "description": "Not Acceptable", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "404": { "description": "Not Found", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "200": { "description": "OK", "content": { "application/vnd.adobe.target.v1+json": { "schema": { "$ref": "#/components/schemas/ActivityDescription" } } } } } } }, "/{tenant}/target/activities/ab/{id}/priority": { "put": { "tags": [ "Activities" ], "summary": "Change AB activity priority", "description": "Change the priority of the AB activity referenced by the provided ID.", "operationId": "updatePriority_1", "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer", "format": "int64" } } ], "requestBody": { "content": { "application/vnd.adobe.target.v1+json": { "schema": { "$ref": "#/components/schemas/Priority" } } }, "required": true }, "responses": { "400": { "description": "Bad Request", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "407": { "description": "Proxy Authentication Required", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "401": { "description": "Unauthorized", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "406": { "description": "Not Acceptable", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "404": { "description": "Not Found", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "200": { "description": "OK", "content": { "application/vnd.adobe.target.v1+json": { "schema": { "$ref": "#/components/schemas/ActivityDescription" } } } } } } }, "/{tenant}/target/activities/xt/{id}/priority": { "put": { "tags": [ "Activities" ], "summary": "Change XT activity priority", "description": "Change the priority of the Experience Targeting activity referenced by the provided ID.", "operationId": "updatePriority_2", "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer", "format": "int64" } } ], "requestBody": { "content": { "application/vnd.adobe.target.v1+json": { "schema": { "$ref": "#/components/schemas/Priority" } } }, "required": true }, "responses": { "400": { "description": "Bad Request", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "407": { "description": "Proxy Authentication Required", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "401": { "description": "Unauthorized", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "406": { "description": "Not Acceptable", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "404": { "description": "Not Found", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "200": { "description": "OK", "content": { "application/vnd.adobe.target.v1+json": { "schema": { "$ref": "#/components/schemas/ActivityDescription" } } } } } } }, "/{tenant}/target/activities/{id}/name": { "put": { "tags": [ "Activities" ], "summary": "Rename activity", "description": "Rename the activity referenced by the provided ID. This change will be reflected in the Target user interface after the next refresh.", "operationId": "updateName", "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer", "format": "int64" } } ], "requestBody": { "content": { "application/vnd.adobe.target.v1+json": { "schema": { "$ref": "#/components/schemas/Name" } } }, "required": true }, "responses": { "400": { "description": "Bad Request", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "407": { "description": "Proxy Authentication Required", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "401": { "description": "Unauthorized", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "406": { "description": "Not Acceptable", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "404": { "description": "Not Found", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "200": { "description": "OK", "content": { "application/vnd.adobe.target.v1+json": { "schema": { "$ref": "#/components/schemas/ActivityDescription" } } } } } } }, "/{tenant}/target/activities/ab/{id}/name": { "put": { "tags": [ "Activities" ], "summary": "Rename AB activity", "description": "Update the name of the AB activity referenced by the provided ID.", "operationId": "updateName_1", "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer", "format": "int64" } } ], "requestBody": { "content": { "application/vnd.adobe.target.v1+json": { "schema": { "$ref": "#/components/schemas/Name" } } }, "required": true }, "responses": { "400": { "description": "Bad Request", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "407": { "description": "Proxy Authentication Required", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "401": { "description": "Unauthorized", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "406": { "description": "Not Acceptable", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "404": { "description": "Not Found", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "200": { "description": "OK", "content": { "application/vnd.adobe.target.v1+json": { "schema": { "$ref": "#/components/schemas/ActivityDescription" } } } } } } }, "/{tenant}/target/activities/xt/{id}/name": { "put": { "tags": [ "Activities" ], "summary": "Rename XT activity", "description": "Rename the Experience Targeting activity referenced by the provided ID.", "operationId": "updateName_2", "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer", "format": "int64" } } ], "requestBody": { "content": { "application/vnd.adobe.target.v1+json": { "schema": { "$ref": "#/components/schemas/Name" } } }, "required": true }, "responses": { "400": { "description": "Bad Request", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "407": { "description": "Proxy Authentication Required", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "401": { "description": "Unauthorized", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "406": { "description": "Not Acceptable", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "404": { "description": "Not Found", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "200": { "description": "OK", "content": { "application/vnd.adobe.target.v1+json": { "schema": { "$ref": "#/components/schemas/ActivityDescription" } } } } } } }, "/{tenant}/target/activities/autotarget/{id}": { "get": { "tags": [ "Activities" ], "summary": "Get Auto-Target activity by ID", "description": "Fetch the current definition of an Auto-Target activity as referenced by the provided ID.", "operationId": "getActivity", "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer", "format": "int64" } } ], "responses": { "400": { "description": "Bad Request", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "407": { "description": "Proxy Authentication Required", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "401": { "description": "Unauthorized", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "406": { "description": "Not Acceptable", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "404": { "description": "Not Found", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "200": { "description": "OK", "content": { "application/vnd.adobe.target.v1+json": { "schema": { "$ref": "#/components/schemas/AutoTargetActivity" } } } } } }, "put": { "tags": [ "Activities" ], "summary": "Update Auto-Target activity", "description": "Update the Auto-Target activity definition with the contents as provided in the request. This can change the state and behaviour of an existing activity.", "operationId": "updateActivity", "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer", "format": "int64" } } ], "requestBody": { "content": { "application/vnd.adobe.target.v1+json": { "schema": { "$ref": "#/components/schemas/AutoTargetActivity" } } }, "required": true }, "responses": { "400": { "description": "Bad Request", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "407": { "description": "Proxy Authentication Required", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "401": { "description": "Unauthorized", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "406": { "description": "Not Acceptable", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "404": { "description": "Not Found", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "200": { "description": "OK", "content": { "application/vnd.adobe.target.v1+json": { "schema": { "$ref": "#/components/schemas/AutoTargetActivity" } } } } } }, "delete": { "tags": [ "Activities" ], "summary": "Delete Auto-Target activity", "description": "Delete the Auto-Target activity referenced by the provided ID.", "operationId": "deleteActivity", "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer", "format": "int64" } } ], "responses": { "400": { "description": "Bad Request", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "407": { "description": "Proxy Authentication Required", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "401": { "description": "Unauthorized", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "406": { "description": "Not Acceptable", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "404": { "description": "Not Found", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "200": { "description": "OK", "content": { "application/vnd.adobe.target.v1+json": { "schema": { "$ref": "#/components/schemas/AutoTargetActivity" } } } } } } }, "/{tenant}/target/activities/autoallocate/{id}": { "get": { "tags": [ "Activities" ], "summary": "Get Auto-Allocate activity by ID", "description": "Fetch the current definition of an Auto-Allocate activity as referenced by the provided ID.", "operationId": "getActivity_1_1", "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer", "format": "int64" } } ], "responses": { "400": { "description": "Bad Request", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "407": { "description": "Proxy Authentication Required", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "401": { "description": "Unauthorized", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "406": { "description": "Not Acceptable", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "404": { "description": "Not Found", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "200": { "description": "OK", "content": { "application/vnd.adobe.target.v2+json": { "schema": { "$ref": "#/components/schemas/AutoAllocateActivity" } }, "application/vnd.adobe.target.v1+json": { "schema": { "$ref": "#/components/schemas/AutoAllocateActivity" } } } } } }, "put": { "tags": [ "Activities" ], "summary": "Update Auto-Allocate activity", "description": "Update the Auto-Allocate activity definition with the contents as provided in the request. This can change the state and behaviour of an existing activity.", "operationId": "updateActivity_1_1", "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer", "format": "int64" } } ], "requestBody": { "content": { "application/vnd.adobe.target.v2+json": { "schema": { "$ref": "#/components/schemas/AutoAllocateActivity" } }, "application/vnd.adobe.target.v1+json": { "schema": { "$ref": "#/components/schemas/AutoAllocateActivity" } } }, "required": true }, "responses": { "400": { "description": "Bad Request", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "407": { "description": "Proxy Authentication Required", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "401": { "description": "Unauthorized", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "406": { "description": "Not Acceptable", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "404": { "description": "Not Found", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "200": { "description": "OK", "content": { "application/vnd.adobe.target.v2+json": { "schema": { "$ref": "#/components/schemas/AutoAllocateActivity" } }, "application/vnd.adobe.target.v1+json": { "schema": { "$ref": "#/components/schemas/AutoAllocateActivity" } } } } } }, "delete": { "tags": [ "Activities" ], "summary": "Delete Auto-Allocate activity", "description": "Delete the Auto-Allocate activity referenced by the provided ID.", "operationId": "deleteActivity_1_1", "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer", "format": "int64" } } ], "responses": { "400": { "description": "Bad Request", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "407": { "description": "Proxy Authentication Required", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "401": { "description": "Unauthorized", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "406": { "description": "Not Acceptable", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "404": { "description": "Not Found", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "200": { "description": "OK", "content": { "application/vnd.adobe.target.v2+json": { "schema": { "$ref": "#/components/schemas/AutoAllocateActivity" } }, "application/vnd.adobe.target.v1+json": { "schema": { "$ref": "#/components/schemas/AutoAllocateActivity" } } } } } } }, "/{tenant}/target/activities/abt/{id}": { "get": { "tags": [ "Activities" ], "summary": "Get AP activity by ID", "description": "Fetch the current definition of an Automated Personalization activity as referenced by the provided ID.", "operationId": "getActivity_1", "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer", "format": "int64" } } ], "responses": { "400": { "description": "Bad Request", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "407": { "description": "Proxy Authentication Required", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "401": { "description": "Unauthorized", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "406": { "description": "Not Acceptable", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "404": { "description": "Not Found", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "200": { "description": "OK", "content": { "application/vnd.adobe.target.v2+json": { "schema": { "$ref": "#/components/schemas/ABTActivity" } } } } } }, "put": { "tags": [ "Activities" ], "summary": "Update AP activity", "description": "Update the Automated Personalization activity definition with the contents as provided in the request. This can change the state and behaviour of an existing activity.\u003cbr/\u003e\u003cb\u003eNote:\u003c/b\u003eCreating auto-target activities is currently not supported through the API.", "operationId": "updateActivity_1", "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer", "format": "int64" } } ], "requestBody": { "content": { "application/vnd.adobe.target.v2+json": { "schema": { "$ref": "#/components/schemas/ABTActivity" } } }, "required": true }, "responses": { "400": { "description": "Bad Request", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "407": { "description": "Proxy Authentication Required", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "401": { "description": "Unauthorized", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "406": { "description": "Not Acceptable", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "404": { "description": "Not Found", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "200": { "description": "OK", "content": { "application/vnd.adobe.target.v2+json": { "schema": { "$ref": "#/components/schemas/ABTActivity" } } } } } }, "delete": { "tags": [ "Activities" ], "summary": "Delete AP activity", "description": "Delete the Automated Personalization activity referenced by the provided ID.", "operationId": "deleteActivity_1", "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer", "format": "int64" } } ], "responses": { "400": { "description": "Bad Request", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "407": { "description": "Proxy Authentication Required", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "401": { "description": "Unauthorized", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "406": { "description": "Not Acceptable", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "404": { "description": "Not Found", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "200": { "description": "OK", "content": { "application/vnd.adobe.target.v2+json": { "schema": { "$ref": "#/components/schemas/ABTActivity" } } } } } } }, "/{tenant}/target/activities/ab/{id}": { "get": { "tags": [ "Activities" ], "summary": "Get XT activity by ID", "description": "Fetch the current definition of an Experience Targeting activity as referenced by the provided ID.", "operationId": "getActivity_2_1", "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer", "format": "int64" } } ], "responses": { "400": { "description": "Bad Request", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "407": { "description": "Proxy Authentication Required", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "401": { "description": "Unauthorized", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "406": { "description": "Not Acceptable", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "404": { "description": "Not Found", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "200": { "description": "OK", "content": { "application/vnd.adobe.target.v4+json": { "schema": { "$ref": "#/components/schemas/ABActivity" } }, "application/vnd.adobe.target.v3+json": { "schema": { "$ref": "#/components/schemas/ABActivity" } } } } } }, "put": { "tags": [ "Activities" ], "summary": "Update XT activity", "description": "Update an Experience Targeting activity definition with the contents as provided in the request. This can change the state and behaviour of an existing activity.", "operationId": "updateActivity_2_1", "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer", "format": "int64" } } ], "requestBody": { "content": { "application/vnd.adobe.target.v4+json": { "schema": { "$ref": "#/components/schemas/ABActivity" } }, "application/vnd.adobe.target.v3+json": { "schema": { "$ref": "#/components/schemas/ABActivity" } } }, "required": true }, "responses": { "400": { "description": "Bad Request", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "407": { "description": "Proxy Authentication Required", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "401": { "description": "Unauthorized", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "406": { "description": "Not Acceptable", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "404": { "description": "Not Found", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "200": { "description": "OK", "content": { "application/vnd.adobe.target.v4+json": { "schema": { "$ref": "#/components/schemas/ABActivity" } }, "application/vnd.adobe.target.v3+json": { "schema": { "$ref": "#/components/schemas/ABActivity" } } } } } }, "delete": { "tags": [ "Activities" ], "summary": "Delete XT activity", "description": "Delete the Experience Targeting activity referenced by the provided ID.", "operationId": "deleteActivity_2_1", "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer", "format": "int64" } } ], "responses": { "400": { "description": "Bad Request", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "407": { "description": "Proxy Authentication Required", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "401": { "description": "Unauthorized", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "406": { "description": "Not Acceptable", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "404": { "description": "Not Found", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "200": { "description": "OK", "content": { "application/vnd.adobe.target.v4+json": { "schema": { "$ref": "#/components/schemas/ABActivity" } }, "application/vnd.adobe.target.v3+json": { "schema": { "$ref": "#/components/schemas/ABActivity" } } } } } } }, "/{tenant}/target/activities/xt/{id}": { "get": { "tags": [ "Activities" ], "summary": "Get XT activity by ID", "description": "Fetch the current definition of an Experience Targeting activity as referenced by the provided ID.", "operationId": "getActivity_2", "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer", "format": "int64" } } ], "responses": { "400": { "description": "Bad Request", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "407": { "description": "Proxy Authentication Required", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "401": { "description": "Unauthorized", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "406": { "description": "Not Acceptable", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "404": { "description": "Not Found", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "200": { "description": "OK", "content": { "application/vnd.adobe.target.v3+json": { "schema": { "$ref": "#/components/schemas/ABActivity" } } } } } }, "put": { "tags": [ "Activities" ], "summary": "Update XT activity", "description": "Update an Experience Targeting activity definition with the contents as provided in the request. This can change the state and behaviour of an existing activity.", "operationId": "updateActivity_2", "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer", "format": "int64" } } ], "requestBody": { "content": { "application/vnd.adobe.target.v3+json": { "schema": { "$ref": "#/components/schemas/ABActivity" } } }, "required": true }, "responses": { "400": { "description": "Bad Request", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "407": { "description": "Proxy Authentication Required", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "401": { "description": "Unauthorized", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "406": { "description": "Not Acceptable", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "404": { "description": "Not Found", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "200": { "description": "OK", "content": { "application/vnd.adobe.target.v3+json": { "schema": { "$ref": "#/components/schemas/ABActivity" } } } } } }, "delete": { "tags": [ "Activities" ], "summary": "Delete XT activity", "description": "Delete the Experience Targeting activity referenced by the provided ID.", "operationId": "deleteActivity_2", "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer", "format": "int64" } } ], "responses": { "400": { "description": "Bad Request", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "407": { "description": "Proxy Authentication Required", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "401": { "description": "Unauthorized", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "406": { "description": "Not Acceptable", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "404": { "description": "Not Found", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "200": { "description": "OK", "content": { "application/vnd.adobe.target.v3+json": { "schema": { "$ref": "#/components/schemas/ABActivity" } } } } } } }, "/{tenant}/target/responsetokens": { "get": { "tags": [ "Response tokens" ], "summary": "Get response tokens", "description": "Retrieve list of response tokens.", "operationId": "getResponseTokens", "parameters": [], "responses": { "400": { "description": "Bad Request", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "407": { "description": "Proxy Authentication Required", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "401": { "description": "Unauthorized", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "406": { "description": "Not Acceptable", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "404": { "description": "Not Found", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "200": { "description": "OK", "content": { "application/vnd.adobe.target.v1+json": { "schema": { "$ref": "#/components/schemas/ResponseTokenList" } } } } } }, "post": { "tags": [ "Response tokens" ], "summary": "Create response token", "description": "Create response token.", "operationId": "createResponseToken", "requestBody": { "content": { "application/vnd.adobe.target.v1+json": { "schema": { "$ref": "#/components/schemas/ResponseTokenDTO" } } }, "required": true }, "responses": { "400": { "description": "Bad Request", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "407": { "description": "Proxy Authentication Required", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "401": { "description": "Unauthorized", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "406": { "description": "Not Acceptable", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "404": { "description": "Not Found", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "201": { "description": "Created", "content": { "application/vnd.adobe.target.v1+json": { "schema": { "$ref": "#/components/schemas/ResponseTokenDTO" } } } } } } }, "/{tenant}/target/properties": { "get": { "tags": [ "Properties" ], "summary": "List properties", "description": "Retrieve list of all properties.", "operationId": "getProperties", "parameters": [], "responses": { "400": { "description": "Bad Request", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "407": { "description": "Proxy Authentication Required", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "401": { "description": "Unauthorized", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "406": { "description": "Not Acceptable", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "404": { "description": "Not Found", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "200": { "description": "OK", "content": { "application/vnd.adobe.target.v1+json": { "schema": { "$ref": "#/components/schemas/PropertyList" } } } } } }, "post": { "tags": [ "Properties" ], "summary": "Create a property", "description": "Create a property.", "operationId": "createProperty", "requestBody": { "content": { "application/vnd.adobe.target.v1+json": { "schema": { "$ref": "#/components/schemas/Property" } } }, "required": true }, "responses": { "400": { "description": "Bad Request", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "407": { "description": "Proxy Authentication Required", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "401": { "description": "Unauthorized", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "406": { "description": "Not Acceptable", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "404": { "description": "Not Found", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "201": { "description": "Created", "content": { "application/vnd.adobe.target.v1+json": { "schema": { "$ref": "#/components/schemas/Property" } } } } } } }, "/{tenant}/target/offers/recs": { "post": { "tags": [ "Offers" ], "summary": "Create a new recs offer", "description": "Creates a new Recommendations offer as defined by the request data.", "operationId": "createOffer", "parameters": [], "requestBody": { "content": { "application/vnd.adobe.target.v1+json": { "schema": { "$ref": "#/components/schemas/RecommendationOffer" } } }, "required": true }, "responses": { "400": { "description": "Bad Request", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "407": { "description": "Proxy Authentication Required", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "401": { "description": "Unauthorized", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "406": { "description": "Not Acceptable", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "404": { "description": "Not Found", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "201": { "description": "Created", "content": { "application/vnd.adobe.target.v1+json": { "schema": { "$ref": "#/components/schemas/RecommendationOffer" } } } } } } }, "/{tenant}/target/offers/json": { "post": { "tags": [ "Offers" ], "summary": "Create a new json offer", "description": "Creates a new JSON offer as defined by the request data.", "operationId": "createOffer_1", "parameters": [], "requestBody": { "content": { "application/vnd.adobe.target.v2+json": { "schema": { "$ref": "#/components/schemas/JsonOffer" } } }, "required": true }, "responses": { "400": { "description": "Bad Request", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "407": { "description": "Proxy Authentication Required", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "401": { "description": "Unauthorized", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "406": { "description": "Not Acceptable", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "404": { "description": "Not Found", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "201": { "description": "Created", "content": { "application/vnd.adobe.target.v2+json": { "schema": { "$ref": "#/components/schemas/JsonOffer" } } } } } } }, "/{tenant}/target/offers/content": { "post": { "tags": [ "Offers" ], "summary": "Create a new content offer", "description": "Creates a new content offer as defined by the request data.", "operationId": "createOffer_2", "parameters": [], "requestBody": { "content": { "application/vnd.adobe.target.v2+json": { "schema": { "$ref": "#/components/schemas/ContentOffer" } } }, "required": true }, "responses": { "400": { "description": "Bad Request", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "407": { "description": "Proxy Authentication Required", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "401": { "description": "Unauthorized", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "406": { "description": "Not Acceptable", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "404": { "description": "Not Found", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "201": { "description": "Created", "content": { "application/vnd.adobe.target.v2+json": { "schema": { "$ref": "#/components/schemas/ContentOffer" } } } } } } }, "/{tenant}/target/environments": { "get": { "tags": [ "Environments" ], "summary": "List environments", "description": "Retrieve all available environments with the options to filter and sort. Use the Environments API to retrieve the environment IDs corresponding to the various host groups set for the client.", "operationId": "getEnvironments", "parameters": [], "responses": { "400": { "description": "Bad Request", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "407": { "description": "Proxy Authentication Required", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "401": { "description": "Unauthorized", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "406": { "description": "Not Acceptable", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "404": { "description": "Not Found", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "200": { "description": "OK", "content": { "application/vnd.adobe.target.v1+json": { "schema": { "$ref": "#/components/schemas/EnvironmentList" } } } } } }, "post": { "tags": [ "Environments" ], "summary": "Create environment", "description": "Create a new environment.", "operationId": "createEnvironment", "requestBody": { "content": { "application/vnd.adobe.target.v1+json": { "schema": { "$ref": "#/components/schemas/Environment" } } }, "required": true }, "responses": { "400": { "description": "Bad Request", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "407": { "description": "Proxy Authentication Required", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "401": { "description": "Unauthorized", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "406": { "description": "Not Acceptable", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "404": { "description": "Not Found", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "201": { "description": "Created", "content": { "application/vnd.adobe.target.v1+json": { "schema": { "$ref": "#/components/schemas/Environment" } } } } } } }, "/{tenant}/target/batch": { "post": { "tags": [ "Batch" ], "summary": "Execute Calls in Batch", "description": "Stack multiple REST API calls together and execute them in a single batch.", "operationId": "processBatchOperations", "parameters": [ { "name": "authRequestData", "in": "query", "required": true, "schema": { "$ref": "#/components/schemas/BatchAuthData" } }, { "name": "requestHost", "in": "query", "required": true, "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/BatchRequest" } } }, "required": true }, "responses": { "400": { "description": "Bad Request", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "407": { "description": "Proxy Authentication Required", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "401": { "description": "Unauthorized", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "406": { "description": "Not Acceptable", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "404": { "description": "Not Found", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "200": { "description": "OK", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/BatchResponse" } } } } } } }, "/{tenant}/target/authentication/token": { "get": { "tags": [ "Authentication" ], "summary": "Get authorization token", "description": "Retrieve an existing authorization token to use for mbox trace or profile API access.", "operationId": "getAuthorizationToken", "parameters": [ { "name": "authorizationScope", "in": "query", "required": true, "schema": { "type": "string", "enum": [ "profile_api", "debug_tools" ] } } ], "responses": { "400": { "description": "Bad Request", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "407": { "description": "Proxy Authentication Required", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "401": { "description": "Unauthorized", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "406": { "description": "Not Acceptable", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "404": { "description": "Not Found", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "200": { "description": "OK", "content": { "application/vnd.adobe.target.v1+json": { "schema": { "$ref": "#/components/schemas/AuthorizationToken" } } } } } }, "post": { "tags": [ "Authentication" ], "summary": "Create authorization token", "description": "Create a new authorization token for capturing mbox traces or profile API access.", "operationId": "requestAuthorizationToken", "parameters": [ { "name": "authorizationScope", "in": "query", "required": true, "schema": { "type": "string", "enum": [ "profile_api", "debug_tools" ] } } ], "responses": { "400": { "description": "Bad Request", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "407": { "description": "Proxy Authentication Required", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "401": { "description": "Unauthorized", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "406": { "description": "Not Acceptable", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "404": { "description": "Not Found", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "201": { "description": "Created", "content": { "application/vnd.adobe.target.v1+json": { "schema": { "$ref": "#/components/schemas/AuthorizationToken" } } } } } } }, "/{tenant}/target/audiences": { "get": { "tags": [ "Audiences" ], "summary": "List audiences", "description": "List all available audiences with options to filter and sort by each available field. You can use the URL parameters to define pagination properties and sort order of the list of audiences returned by this method.", "operationId": "getAudiences", "parameters": [], "responses": { "400": { "description": "Bad Request", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "407": { "description": "Proxy Authentication Required", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "401": { "description": "Unauthorized", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "406": { "description": "Not Acceptable", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "404": { "description": "Not Found", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "200": { "description": "OK", "content": { "application/vnd.adobe.target.v3+json": { "schema": { "$ref": "#/components/schemas/AudienceList" } } } } } }, "post": { "tags": [ "Audiences" ], "summary": "Create audience", "description": "Create a new audience as specified by the contents of the request and return the newly-created audience definition. Each audience definition is composed of either target or audience rules. Target rules allow the API caller to define conjunctions (OR) or disjunctions (AND) between various targeting conditions. Audience rules allow the API caller to build conjunctions (OR) or disjunctions (AND) over pre-built audiences (referred by IDs) to create even more powerful definitions. The targetRule and audienceRule attributes cannot be mixed within the same audience definition. Note: Audiences created using the API can only be edited using the API. You cannot edit an API-created audience in the UI, although you can use it within activities.", "operationId": "createAudience", "parameters": [], "requestBody": { "content": { "application/vnd.adobe.target.v3+json": { "schema": { "$ref": "#/components/schemas/Audience" } } }, "required": true }, "responses": { "400": { "description": "Bad Request", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "407": { "description": "Proxy Authentication Required", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "401": { "description": "Unauthorized", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "406": { "description": "Not Acceptable", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "404": { "description": "Not Found", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "201": { "description": "Created", "content": { "application/vnd.adobe.target.v3+json": { "schema": { "$ref": "#/components/schemas/Audience" } } } } } } }, "/{tenant}/target/activities/autotarget": { "post": { "tags": [ "Activities" ], "summary": "Create Auto-Target activity", "description": "Create a new Auto-Target activity based on the specified contents, and return the created activity.", "operationId": "createActivity", "parameters": [], "requestBody": { "content": { "application/vnd.adobe.target.v1+json": { "schema": { "$ref": "#/components/schemas/AutoTargetActivity" } } }, "required": true }, "responses": { "400": { "description": "Bad Request", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "407": { "description": "Proxy Authentication Required", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "401": { "description": "Unauthorized", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "406": { "description": "Not Acceptable", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "404": { "description": "Not Found", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "201": { "description": "Created", "content": { "application/vnd.adobe.target.v1+json": { "schema": { "$ref": "#/components/schemas/AutoTargetActivity" } } } } } } }, "/{tenant}/target/activities/autotarget/{id}/qamode": { "post": { "tags": [ "Activities" ], "summary": "Create preview links for the Auto-Target activity", "description": "Get a set of preview links for the Auto-Target activity referenced by the provided ID. The \u003cb\u003eurl\u003c/b\u003e parameter indicates the URL on which the activity will be running. The \u003cb\u003ecurrentActivityOnly\u003c/b\u003e (defaults to true) indicates whether other activities running on the same URL should be ignored. The payload of the request also allows you to specify which segment ids should be evaluated to true by including these in the \u003cb\u003eaudienceIdsEvaluatedAsTrue\u003c/b\u003e list, so that the user doesn\u0027t necessarily have to qualify for these. At the same time you can specify which segments should always evaluate to false by including these in the \u003cb\u003eaudienceIdsEvaluatedAsFalse\u003c/b\u003e list.", "operationId": "createAutoTargetActivityQAModeResponse", "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer", "format": "int64" } } ], "requestBody": { "content": { "application/vnd.adobe.target.v1+json": { "schema": { "$ref": "#/components/schemas/QAModeRequest" } } }, "required": true }, "responses": { "400": { "description": "Bad Request", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "407": { "description": "Proxy Authentication Required", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "401": { "description": "Unauthorized", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "406": { "description": "Not Acceptable", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "404": { "description": "Not Found", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "200": { "description": "OK", "content": { "application/vnd.adobe.target.v1+json": { "schema": { "$ref": "#/components/schemas/ABTQAModeResponseDTO" } } } } } } }, "/{tenant}/target/activities/autoallocate": { "post": { "tags": [ "Activities" ], "summary": "Create Auto-Allocate activity", "description": "Create a new Auto-Allocate activity based on the specified contents, and return the created activity.", "operationId": "createActivity_1_1", "parameters": [], "requestBody": { "content": { "application/vnd.adobe.target.v2+json": { "schema": { "$ref": "#/components/schemas/AutoAllocateActivity" } }, "application/vnd.adobe.target.v1+json": { "schema": { "$ref": "#/components/schemas/AutoAllocateActivity" } } }, "required": true }, "responses": { "400": { "description": "Bad Request", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "407": { "description": "Proxy Authentication Required", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "401": { "description": "Unauthorized", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "406": { "description": "Not Acceptable", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "404": { "description": "Not Found", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "201": { "description": "Created", "content": { "application/vnd.adobe.target.v2+json": { "schema": { "$ref": "#/components/schemas/AutoAllocateActivity" } }, "application/vnd.adobe.target.v1+json": { "schema": { "$ref": "#/components/schemas/AutoAllocateActivity" } } } } } } }, "/{tenant}/target/activities/autoallocate/{id}/qamode": { "post": { "tags": [ "Activities" ], "summary": "Create preview links for the Auto-Allocate activity", "description": "Get a set of preview links for the Auto-Allocate activity referenced by the provided ID. The \u003cb\u003eurl\u003c/b\u003e parameter indicates the URL on which the activity will be running. The \u003cb\u003ecurrentActivityOnly\u003c/b\u003e (defaults to true) indicates whether other activities running on the same URL should be ignored. The payload of the request also allows you to specify which segment ids should be evaluated to true by including these in the \u003cb\u003eaudienceIdsEvaluatedAsTrue\u003c/b\u003e list, so that the user doesn\u0027t necessarily have to qualify for these. At the same time you can specify which segments should always evaluate to false by including these in the \u003cb\u003eaudienceIdsEvaluatedAsFalse\u003c/b\u003e list.", "operationId": "createABActivityQAModeResponse_1", "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer", "format": "int64" } } ], "requestBody": { "content": { "application/vnd.adobe.target.v2+json": { "schema": { "$ref": "#/components/schemas/QAModeRequest" } }, "application/vnd.adobe.target.v1+json": { "schema": { "$ref": "#/components/schemas/QAModeRequest" } } }, "required": true }, "responses": { "400": { "description": "Bad Request", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "407": { "description": "Proxy Authentication Required", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "401": { "description": "Unauthorized", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "406": { "description": "Not Acceptable", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "404": { "description": "Not Found", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "200": { "description": "OK", "content": { "application/vnd.adobe.target.v2+json": { "schema": { "$ref": "#/components/schemas/ABQAModeResponseDTO" } }, "application/vnd.adobe.target.v1+json": { "schema": { "$ref": "#/components/schemas/ABQAModeResponseDTO" } } } } } } }, "/{tenant}/target/activities/abt": { "post": { "tags": [ "Activities" ], "summary": "Create AP activity", "description": "Create a new Automated Personalization activity based on the specified contents, and return the created activity.\u003cbr/\u003e\u003cb\u003eNote:\u003c/b\u003eCreating auto-target activities is currently not supported through the API.", "operationId": "createActivity_1", "parameters": [], "requestBody": { "content": { "application/vnd.adobe.target.v2+json": { "schema": { "$ref": "#/components/schemas/ABTActivity" } } }, "required": true }, "responses": { "400": { "description": "Bad Request", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "407": { "description": "Proxy Authentication Required", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "401": { "description": "Unauthorized", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "406": { "description": "Not Acceptable", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "404": { "description": "Not Found", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "201": { "description": "Created", "content": { "application/vnd.adobe.target.v2+json": { "schema": { "$ref": "#/components/schemas/ABTActivity" } } } } } } }, "/{tenant}/target/activities/abt/{id}/qamode": { "post": { "tags": [ "Activities" ], "summary": "Create preview links for the AP activity", "description": "Get a set of preview links for the AP activity referenced by the provided ID. The \u003cb\u003eurl\u003c/b\u003e parameter indicates the URL on which the activity will be running. The \u003cb\u003ecurrentActivityOnly\u003c/b\u003e (defaults to true) indicates whether other activities running on the same URL should be ignored. The payload of the request also allows you to specify which segment ids should be evaluated to true by including these in the \u003cb\u003eaudienceIdsEvaluatedAsTrue\u003c/b\u003e list, so that the user doesn\u0027t necessarily have to qualify for these. At the same time you can specify which segments should always evaluate to false by including these in the \u003cb\u003eaudienceIdsEvaluatedAsFalse\u003c/b\u003e list.", "operationId": "createABTActivityQAModeResponse", "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer", "format": "int64" } } ], "requestBody": { "content": { "application/vnd.adobe.target.v2+json": { "schema": { "$ref": "#/components/schemas/QAModeRequest" } } }, "required": true }, "responses": { "400": { "description": "Bad Request", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "407": { "description": "Proxy Authentication Required", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "401": { "description": "Unauthorized", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "406": { "description": "Not Acceptable", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "404": { "description": "Not Found", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "200": { "description": "OK", "content": { "application/vnd.adobe.target.v2+json": { "schema": { "$ref": "#/components/schemas/ABTQAModeResponseDTO" } } } } } } }, "/{tenant}/target/activities/ab": { "post": { "tags": [ "Activities" ], "summary": "Create XT activity", "description": "Create a new Experience Targeting activity based on the specified contents, and return the created activity.", "operationId": "createActivity_2_1", "parameters": [], "requestBody": { "content": { "application/vnd.adobe.target.v4+json": { "schema": { "$ref": "#/components/schemas/ABActivity" } }, "application/vnd.adobe.target.v3+json": { "schema": { "$ref": "#/components/schemas/ABActivity" } } }, "required": true }, "responses": { "400": { "description": "Bad Request", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "407": { "description": "Proxy Authentication Required", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "401": { "description": "Unauthorized", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "406": { "description": "Not Acceptable", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "404": { "description": "Not Found", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "201": { "description": "Created", "content": { "application/vnd.adobe.target.v4+json": { "schema": { "$ref": "#/components/schemas/ABActivity" } }, "application/vnd.adobe.target.v3+json": { "schema": { "$ref": "#/components/schemas/ABActivity" } } } } } } }, "/{tenant}/target/activities/ab/{id}/qamode": { "post": { "tags": [ "Activities" ], "summary": "Create preview links for the XT activity", "description": "Get a set of preview links for the Experience Targeted activity referenced by the provided ID. The \u003cb\u003eurl\u003c/b\u003e parameter indicates the URL on which the activity will be running. The \u003cb\u003ecurrentActivityOnly\u003c/b\u003e (defaults to true) indicates whether other activities running on the same URL should be ignored. The payload of the request also allows you to specify which segment ids should be evaluated to true by including these in the \u003cb\u003eaudienceIdsEvaluatedAsTrue\u003c/b\u003e list, so that the user doesn\u0027t necessarily have to qualify for these. At the same time you can specify which segments should always evaluate to false by including these in the \u003cb\u003eaudienceIdsEvaluatedAsFalse\u003c/b\u003e list.", "operationId": "createABActivityQAModeResponse_2", "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer", "format": "int64" } } ], "requestBody": { "content": { "application/vnd.adobe.target.v4+json": { "schema": { "$ref": "#/components/schemas/QAModeRequest" } }, "application/vnd.adobe.target.v3+json": { "schema": { "$ref": "#/components/schemas/QAModeRequest" } } }, "required": true }, "responses": { "400": { "description": "Bad Request", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "407": { "description": "Proxy Authentication Required", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "401": { "description": "Unauthorized", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "406": { "description": "Not Acceptable", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "404": { "description": "Not Found", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "200": { "description": "OK", "content": { "application/vnd.adobe.target.v4+json": { "schema": { "$ref": "#/components/schemas/ABQAModeResponseDTO" } }, "application/vnd.adobe.target.v3+json": { "schema": { "$ref": "#/components/schemas/ABQAModeResponseDTO" } } } } } } }, "/{tenant}/target/activities/xt/{id}/qamode": { "post": { "tags": [ "Activities" ], "summary": "Create preview links for the XT activity", "description": "Get a set of preview links for the Experience Targeted activity referenced by the provided ID. The \u003cb\u003eurl\u003c/b\u003e parameter indicates the URL on which the activity will be running. The \u003cb\u003ecurrentActivityOnly\u003c/b\u003e (defaults to true) indicates whether other activities running on the same URL should be ignored. The payload of the request also allows you to specify which segment ids should be evaluated to true by including these in the \u003cb\u003eaudienceIdsEvaluatedAsTrue\u003c/b\u003e list, so that the user doesn\u0027t necessarily have to qualify for these. At the same time you can specify which segments should always evaluate to false by including these in the \u003cb\u003eaudienceIdsEvaluatedAsFalse\u003c/b\u003e list.", "operationId": "createABActivityQAModeResponse", "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer", "format": "int64" } } ], "requestBody": { "content": { "application/vnd.adobe.target.v3+json": { "schema": { "$ref": "#/components/schemas/QAModeRequest" } } }, "required": true }, "responses": { "400": { "description": "Bad Request", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "407": { "description": "Proxy Authentication Required", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "401": { "description": "Unauthorized", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "406": { "description": "Not Acceptable", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "404": { "description": "Not Found", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "200": { "description": "OK", "content": { "application/vnd.adobe.target.v3+json": { "schema": { "$ref": "#/components/schemas/ABQAModeResponseDTO" } } } } } } }, "/{tenant}/target/activities/xt": { "post": { "tags": [ "Activities" ], "summary": "Create XT activity", "description": "Create a new Experience Targeting activity based on the specified contents, and return the created activity.", "operationId": "createActivity_2", "parameters": [], "requestBody": { "content": { "application/vnd.adobe.target.v3+json": { "schema": { "$ref": "#/components/schemas/ABActivity" } } }, "required": true }, "responses": { "400": { "description": "Bad Request", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "407": { "description": "Proxy Authentication Required", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "401": { "description": "Unauthorized", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "406": { "description": "Not Acceptable", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "404": { "description": "Not Found", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "201": { "description": "Created", "content": { "application/vnd.adobe.target.v3+json": { "schema": { "$ref": "#/components/schemas/ABActivity" } } } } } } }, "/{tenant}/target/revisions": { "get": { "tags": [ "Revisions" ], "summary": "Get the cross-entity audit revisions feed", "description": "Get a unified, cross-entity, paginated feed of audit revisions, filterable by object type, object id, action, source, agent, user, date range (\u003ci\u003efrom\u003c/i\u003e/\u003ci\u003eto\u003c/i\u003e) and free-text query (\u003ci\u003eq\u003c/i\u003e), and sortable by time. Add \u003ci\u003eformat\u003dcsv\u003c/i\u003e to download the same filtered feed as a CSV attachment.", "operationId": "getRevisionFeed", "parameters": [], "responses": { "400": { "description": "Bad Request", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "407": { "description": "Proxy Authentication Required", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "401": { "description": "Unauthorized", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "406": { "description": "Not Acceptable", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "404": { "description": "Not Found", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "200": { "description": "OK", "content": { "application/vnd.adobe.target.v2+json": { "schema": { "$ref": "#/components/schemas/RevisionFeed" } } } } } } }, "/{tenant}/target/revisions/{revisionResourceType}": { "get": { "tags": [ "Revisions" ], "summary": "Get the audit log by last author\u0027s name and a modified-after timestamp", "description": "Get all the revisions, filtered by author\u0027s name and modified-after timestamp (optional, in ISO-8601 format, default: last 1 day). \u003cbr/\u003eIn the response, the \u003ci\u003emodifiedBy\u003c/i\u003e field will contain the author\u0027s email, while the \u003ci\u003emodifiedByName\u003c/i\u003e will contain its name.", "operationId": "getRevisionLogForModifiedByName", "parameters": [ { "name": "revisionResourceType", "in": "path", "required": true, "schema": { "$ref": "#/components/schemas/RevisionResourceType" } }, { "name": "modifiedBy", "in": "query", "required": true, "schema": { "type": "string" } }, { "name": "modifiedAt", "in": "query", "required": false, "schema": { "type": "string", "format": "date-time" } } ], "responses": { "400": { "description": "Bad Request", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "407": { "description": "Proxy Authentication Required", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "401": { "description": "Unauthorized", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "406": { "description": "Not Acceptable", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "404": { "description": "Not Found", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "200": { "description": "OK", "content": { "application/vnd.adobe.target.v1+json": { "schema": { "$ref": "#/components/schemas/RevisionLog" } } } } } } }, "/{tenant}/target/revisions/{revisionResourceType}/{id}": { "get": { "tags": [ "Revisions" ], "summary": "Get the audit log by entity id", "description": "Get all the revisions of an entity, in descending order by time. \u003cbr/\u003e\u003cb\u003ePlease Note:\u003c/b\u003e\u003cbr/\u003e - Only the \u003cu\u003elatest 100 revisions\u003c/u\u003e will be retained per campaign/segment/offer id (including \u003ci\u003eCREATE\u003c/i\u003e and \u003ci\u003eDELETE\u003c/i\u003e actions). \u003cbr/\u003e - For admin page entities, only concrete updates will be recorded. \u003cbr/\u003e - For authorizedHosts use client id as entity id.", "operationId": "getRevisionLog", "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer", "format": "int64" } }, { "name": "revisionResourceType", "in": "path", "required": true, "schema": { "$ref": "#/components/schemas/RevisionResourceType" } } ], "responses": { "400": { "description": "Bad Request", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "407": { "description": "Proxy Authentication Required", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "401": { "description": "Unauthorized", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "406": { "description": "Not Acceptable", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "404": { "description": "Not Found", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "200": { "description": "OK", "content": { "application/vnd.adobe.target.v1+json": { "schema": { "$ref": "#/components/schemas/RevisionLog" } } } } } } }, "/{tenant}/target/revisions/{revisionResourceType}/{id}/revision": { "get": { "tags": [ "Revisions" ], "summary": "Get a revision by timestamp", "description": "Get a specific revision created no later than a specified timestamp.", "operationId": "getRevisionBeforeTimestamp", "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer", "format": "int64" } }, { "name": "revisionResourceType", "in": "path", "required": true, "schema": { "$ref": "#/components/schemas/RevisionResourceType" } }, { "name": "timestamp", "in": "query", "required": true, "schema": { "type": "string", "format": "date-time" } } ], "responses": { "400": { "description": "Bad Request", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "407": { "description": "Proxy Authentication Required", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "401": { "description": "Unauthorized", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "406": { "description": "Not Acceptable", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "404": { "description": "Not Found", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "200": { "description": "OK", "content": { "application/vnd.adobe.target.v1+json": { "schema": { "$ref": "#/components/schemas/Revision" } } } } } } }, "/{tenant}/target/revisions/{revisionResourceType}/{id}/revision/{revisionId}": { "get": { "tags": [ "Revisions" ], "summary": "Get a revision by revision id", "description": "Get a specific revision by entity id and revision id.", "operationId": "getRevision", "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer", "format": "int64" } }, { "name": "revisionId", "in": "path", "required": true, "schema": { "type": "integer", "format": "int64" } }, { "name": "revisionResourceType", "in": "path", "required": true, "schema": { "$ref": "#/components/schemas/RevisionResourceType" } } ], "responses": { "400": { "description": "Bad Request", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "407": { "description": "Proxy Authentication Required", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "401": { "description": "Unauthorized", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "406": { "description": "Not Acceptable", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "404": { "description": "Not Found", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "200": { "description": "OK", "content": { "application/vnd.adobe.target.v1+json": { "schema": { "$ref": "#/components/schemas/Revision" } } } } } } }, "/{tenant}/target/revisions/{objectType}/{objectId}": { "get": { "tags": [ "Revisions" ], "summary": "Get an object\u0027s revision history", "description": "Get one object\u0027s version history, newest first, with source attribution. Paginated via \u003ci\u003eoffset\u003c/i\u003e/\u003ci\u003elimit\u003c/i\u003e.", "operationId": "getRevisionHistory", "parameters": [ { "name": "objectType", "in": "path", "required": true, "schema": { "$ref": "#/components/schemas/RevisionResourceType" } }, { "name": "objectId", "in": "path", "required": true, "schema": { "type": "integer", "format": "int64" } } ], "responses": { "400": { "description": "Bad Request", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "407": { "description": "Proxy Authentication Required", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "401": { "description": "Unauthorized", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "406": { "description": "Not Acceptable", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "404": { "description": "Not Found", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "200": { "description": "OK", "content": { "application/vnd.adobe.target.v2+json": { "schema": { "$ref": "#/components/schemas/RevisionHistory" } } } } } } }, "/{tenant}/target/revisions/{objectType}/{objectId}/{revisionId}": { "get": { "tags": [ "Revisions" ], "summary": "Get a single revision\u0027s detail", "description": "Get a single revision\u0027s detail — the full snapshot, an on-read field-level diff, and (for agent-sourced changes) the agent context.", "operationId": "getRevisionDetail", "parameters": [ { "name": "objectType", "in": "path", "required": true, "schema": { "$ref": "#/components/schemas/RevisionResourceType" } }, { "name": "objectId", "in": "path", "required": true, "schema": { "type": "integer", "format": "int64" } }, { "name": "revisionId", "in": "path", "required": true, "schema": { "type": "integer", "format": "int64" } } ], "responses": { "400": { "description": "Bad Request", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "407": { "description": "Proxy Authentication Required", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "401": { "description": "Unauthorized", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "406": { "description": "Not Acceptable", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "404": { "description": "Not Found", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "200": { "description": "OK", "content": { "application/vnd.adobe.target.v2+json": { "schema": { "$ref": "#/components/schemas/RevisionDetail" } } } } } } }, "/{tenant}/target/revisions/{objectType}/{objectId}/revision": { "get": { "tags": [ "Revisions" ], "summary": "Get the revision in effect at a timestamp", "description": "Get the revision in effect at a given instant, with its full snapshot.", "operationId": "getRevisionByTimestamp", "parameters": [ { "name": "objectType", "in": "path", "required": true, "schema": { "$ref": "#/components/schemas/RevisionResourceType" } }, { "name": "objectId", "in": "path", "required": true, "schema": { "type": "integer", "format": "int64" } }, { "name": "timestamp", "in": "query", "required": true, "schema": { "type": "string", "format": "date-time" } } ], "responses": { "400": { "description": "Bad Request", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "407": { "description": "Proxy Authentication Required", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "401": { "description": "Unauthorized", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "406": { "description": "Not Acceptable", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "404": { "description": "Not Found", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "200": { "description": "OK", "content": { "application/vnd.adobe.target.v2+json": { "schema": { "$ref": "#/components/schemas/RevisionSnapshot" } } } } } } }, "/{tenant}/target/revisions/summary": { "get": { "tags": [ "Revisions" ], "summary": "Get the audit summary stat cards", "description": "Get the aggregate audit stat cards for the tenant over an optional \u003ci\u003efrom\u003c/i\u003e/\u003ci\u003eto\u003c/i\u003e window: total changes, active users, activities modified, and the API/AGENT source breakdown.", "operationId": "getSummary", "parameters": [ { "name": "from", "in": "query", "required": false, "schema": { "type": "string", "format": "date-time" } }, { "name": "to", "in": "query", "required": false, "schema": { "type": "string", "format": "date-time" } } ], "responses": { "400": { "description": "Bad Request", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "407": { "description": "Proxy Authentication Required", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "401": { "description": "Unauthorized", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "406": { "description": "Not Acceptable", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "404": { "description": "Not Found", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "200": { "description": "OK", "content": { "application/vnd.adobe.target.v2+json": { "schema": { "$ref": "#/components/schemas/AuditSummary" } } } } } } }, "/{tenant}/target/profileattributes/mbox": { "get": { "tags": [ "Mboxes" ], "summary": "List profile attributes", "description": "Retrieve the list of available profile attributes and mbox parameters of type profile.", "operationId": "getMboxProfileAttributes", "parameters": [], "responses": { "400": { "description": "Bad Request", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "407": { "description": "Proxy Authentication Required", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "401": { "description": "Unauthorized", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "406": { "description": "Not Acceptable", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "404": { "description": "Not Found", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "200": { "description": "OK", "content": { "application/vnd.adobe.target.v1+json": { "schema": { "$ref": "#/components/schemas/MboxProfileAttributesDTO" } } } } } } }, "/{tenant}/target/ondevicedecisioning/bundle": { "get": { "tags": [ "On-device decisioning" ], "summary": "Get Target SDK On-Device Decisioning rules bundle", "description": "Retrieve the private rules bundle that is used by the Target SDKs for on-device decisioning. Available only to tenants that have opted in for private on-device decisioning rules bundles.", "operationId": "getTargetSdkRulesBundle", "parameters": [ { "name": "client", "in": "query", "description": "Client identifier. Same value as the `{tenant}` path parameter in the API URL.", "required": true, "schema": { "type": "string" } }, { "name": "environment", "in": "query", "description": "Adobe Target environment name. If not provided, the bundle will contain rules related to the eligible activities from the production environment.", "required": false, "schema": { "type": "string" } }, { "name": "property-token", "in": "query", "description": "Property token. If not provided, the bundle will contain rules related to the eligible activities in the environment specified by the `environment` query parameter.", "required": false, "schema": { "type": "string" } } ], "responses": { "400": { "description": "Bad Request", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "407": { "description": "Proxy Authentication Required", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "401": { "description": "Unauthorized", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "406": { "description": "Not Acceptable", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "404": { "description": "Not Found", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "200": { "description": "OK", "content": { "application/vnd.adobe.target.v1+json": { "schema": { "type": "string" } } } } } } }, "/{tenant}/target/ondevicedecisioning/bundle/aep": { "get": { "tags": [ "On-device decisioning" ], "summary": "Get AEP WebSDK On-Device Decisioning rules bundle", "description": "Retrieve the private rules bundle used by the AEP WebSDK for on-device decisioning. Available only to tenants that have opted in for private on-device decisioning rules bundles.", "operationId": "getAepWebSdkRulesBundle", "parameters": [ { "name": "client", "in": "query", "description": "Client identifier. Same value as the `{tenant}` path parameter in the API URL.", "required": true, "schema": { "type": "string" } }, { "name": "environment", "in": "query", "description": "Adobe Target environment name. If not provided, the bundle will contain rules related to the eligible activities from the production environment.", "required": false, "schema": { "type": "string" } }, { "name": "property-token", "in": "query", "description": "Property token. If not provided, the bundle will contain rules related to the eligible activities in the environment specified by the `environment` query parameter.", "required": false, "schema": { "type": "string" } } ], "responses": { "400": { "description": "Bad Request", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "407": { "description": "Proxy Authentication Required", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "401": { "description": "Unauthorized", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "406": { "description": "Not Acceptable", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "404": { "description": "Not Found", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "200": { "description": "OK", "content": { "application/vnd.adobe.target.v1+json": { "schema": { "type": "string" } } } } } } }, "/{tenant}/target/offers": { "get": { "tags": [ "Offers" ], "summary": "List offers", "description": "Retrieve the list of previously-created content/JSON/Recommendations offers. The parameters passed through the query string are optional and are used to indicate the sorting and filtering options.", "operationId": "getOffers", "parameters": [], "responses": { "400": { "description": "Bad Request", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "407": { "description": "Proxy Authentication Required", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "401": { "description": "Unauthorized", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "406": { "description": "Not Acceptable", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "404": { "description": "Not Found", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "200": { "description": "OK", "content": { "application/vnd.adobe.target.v2+json": { "schema": { "$ref": "#/components/schemas/OfferList" } } } } } } }, "/{tenant}/target/offers/templates": { "get": { "tags": [ "Offers" ], "summary": "List offer templates", "description": "Retrieve the list of previously-created offer templates.", "operationId": "getOfferTemplates", "parameters": [], "responses": { "400": { "description": "Bad Request", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "407": { "description": "Proxy Authentication Required", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "401": { "description": "Unauthorized", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "406": { "description": "Not Acceptable", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "404": { "description": "Not Found", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "200": { "description": "OK", "content": { "application/vnd.adobe.target.v1+json": { "schema": { "$ref": "#/components/schemas/OfferTemplateList" } } } } } } }, "/{tenant}/target/offers/templates/{id}": { "get": { "tags": [ "Offers" ], "summary": "Get offer template by ID", "description": "Retrieves the contents of an offer template as referenced by its ID.", "operationId": "getOfferTemplate", "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer", "format": "int64" } } ], "responses": { "400": { "description": "Bad Request", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "407": { "description": "Proxy Authentication Required", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "401": { "description": "Unauthorized", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "406": { "description": "Not Acceptable", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "404": { "description": "Not Found", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "200": { "description": "OK", "content": { "application/vnd.adobe.target.v1+json": { "schema": { "$ref": "#/components/schemas/OfferTemplate" } } } } } } }, "/{tenant}/target/mboxes": { "get": { "tags": [ "Mboxes" ], "summary": "List available mboxes", "description": "List all available mboxes for a specific client with the options to filter and sort.", "operationId": "getMboxes", "parameters": [], "responses": { "400": { "description": "Bad Request", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "407": { "description": "Proxy Authentication Required", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "401": { "description": "Unauthorized", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "406": { "description": "Not Acceptable", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "404": { "description": "Not Found", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "200": { "description": "OK", "content": { "application/vnd.adobe.target.v1+json": { "schema": { "$ref": "#/components/schemas/MboxList" } } } } } } }, "/{tenant}/target/mbox/{mboxName}": { "get": { "tags": [ "Mboxes" ], "summary": "Get mbox parameters", "description": "Get the list of mbox parameters.", "operationId": "getMbox", "parameters": [ { "name": "mboxName", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "400": { "description": "Bad Request", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "407": { "description": "Proxy Authentication Required", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "401": { "description": "Unauthorized", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "406": { "description": "Not Acceptable", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "404": { "description": "Not Found", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "200": { "description": "OK", "content": { "application/vnd.adobe.target.v1+json": { "schema": { "$ref": "#/components/schemas/Mbox" } } } } } } }, "/{tenant}/target/hosts": { "get": { "tags": [ "Hosts" ], "summary": "List hosts", "description": "Retrieve a list of all hosts.", "operationId": "getHosts", "parameters": [], "responses": { "400": { "description": "Bad Request", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "407": { "description": "Proxy Authentication Required", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "401": { "description": "Unauthorized", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "406": { "description": "Not Acceptable", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "404": { "description": "Not Found", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "200": { "description": "OK", "content": { "application/vnd.adobe.target.v1+json": { "schema": { "$ref": "#/components/schemas/HostList" } } } } } } }, "/{tenant}/target/atjs/versions": { "get": { "tags": [ "Atjs" ], "summary": "Get at.js versions", "description": "Retrieve at.js versions.", "operationId": "getAtJsVersions", "responses": { "400": { "description": "Bad Request", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "407": { "description": "Proxy Authentication Required", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "401": { "description": "Unauthorized", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "406": { "description": "Not Acceptable", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "404": { "description": "Not Found", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "200": { "description": "OK", "content": { "application/vnd.adobe.target.v1+json": { "schema": { "type": "array", "items": { "type": "string" } } } } } } } }, "/{tenant}/target/activities": { "get": { "tags": [ "Activities" ], "summary": "List activities", "description": "Get a list of activities created in your Target account, with the ability to filter and sort by attributes, including filtering by one or more authors using the createdBy attribute.", "operationId": "getActivities", "parameters": [ { "name": "mbox", "in": "query", "description": "Filter activities by mbox name. Returns only activities that use the specified mbox location.", "required": false, "schema": { "type": "string" } }, { "name": "offerId", "in": "query", "description": "Filter activities by offer ID. Returns only activities that reference the specified offer.", "required": false, "schema": { "type": "string" } }, { "name": "viewId", "in": "query", "description": "Filter activities by view ID. Returns only activities associated with the specified view.", "required": false, "schema": { "type": "string" } } ], "responses": { "400": { "description": "Bad Request", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "407": { "description": "Proxy Authentication Required", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "401": { "description": "Unauthorized", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "406": { "description": "Not Acceptable", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "404": { "description": "Not Found", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "200": { "description": "OK", "content": { "application/vnd.adobe.target.v3+json": { "schema": { "$ref": "#/components/schemas/ActivityList" } } } } } } }, "/{tenant}/target/activities/{id}/changelog": { "get": { "tags": [ "Activities" ], "summary": "List activity changelog", "description": "Retrieve the changelog events related to the activity specified by ID", "operationId": "getChangelog", "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer", "format": "int64" } } ], "responses": { "400": { "description": "Bad Request", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "407": { "description": "Proxy Authentication Required", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "401": { "description": "Unauthorized", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "406": { "description": "Not Acceptable", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "404": { "description": "Not Found", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "200": { "description": "OK", "content": { "application/vnd.adobe.target.v1+json": { "schema": { "$ref": "#/components/schemas/ActivityChangelogList" } } } } } } }, "/{tenant}/target/activities/abt/{id}/report/performance": { "get": { "tags": [ "Reports" ], "summary": "Get AP performance report", "description": "Retrieve performance report data for the Automated Personalization activity referenced by the provided ID.", "operationId": "getReportById", "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer", "format": "int64" } } ], "responses": { "400": { "description": "Bad Request", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "407": { "description": "Proxy Authentication Required", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "401": { "description": "Unauthorized", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "406": { "description": "Not Acceptable", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "404": { "description": "Not Found", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "200": { "description": "OK", "content": { "application/vnd.adobe.target.v1+json": { "schema": { "$ref": "#/components/schemas/AbstractActivityPerformanceReport" } } } } } } }, "/{tenant}/target/activities/abt/{id}/report/orders": { "get": { "tags": [ "Reports" ], "summary": "Get AP orders report", "description": "Retrieve orders report data for the Automated Personalization activity referenced by the provided ID.", "operationId": "getReportById_1", "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer", "format": "int64" } } ], "responses": { "400": { "description": "Bad Request", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "407": { "description": "Proxy Authentication Required", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "401": { "description": "Unauthorized", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "406": { "description": "Not Acceptable", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "404": { "description": "Not Found", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "200": { "description": "OK", "content": { "application/vnd.adobe.target.v1+json": { "schema": { "$ref": "#/components/schemas/ActivityOrdersReport" } } } } } } }, "/{tenant}/target/activities/ab/{id}/report/performance": { "get": { "tags": [ "Reports" ], "summary": "Get AB performance report", "description": "Retrieve performance report data for the AB activity referenced by the provided ID.", "operationId": "getReportById_2", "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer", "format": "int64" } } ], "responses": { "400": { "description": "Bad Request", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "407": { "description": "Proxy Authentication Required", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "401": { "description": "Unauthorized", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "406": { "description": "Not Acceptable", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "404": { "description": "Not Found", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "200": { "description": "OK", "content": { "application/vnd.adobe.target.v1+json": { "schema": { "$ref": "#/components/schemas/AbstractActivityPerformanceReport" } } } } } } }, "/{tenant}/target/activities/xt/{id}/report/performance": { "get": { "tags": [ "Reports" ], "summary": "Get XT performance report", "description": "Retrieve performance report data for the Experience Targeting activity referenced by the provided ID.", "operationId": "getReportById_3", "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer", "format": "int64" } } ], "responses": { "400": { "description": "Bad Request", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "407": { "description": "Proxy Authentication Required", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "401": { "description": "Unauthorized", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "406": { "description": "Not Acceptable", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "404": { "description": "Not Found", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "200": { "description": "OK", "content": { "application/vnd.adobe.target.v1+json": { "schema": { "$ref": "#/components/schemas/AbstractActivityPerformanceReport" } } } } } } }, "/{tenant}/target/activities/ab/{id}/report/orders": { "get": { "tags": [ "Reports" ], "summary": "Get XT orders report", "description": "Retrieve orders report data for the Experience Targeting activity referenced by the provided ID.", "operationId": "getReportById_4", "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer", "format": "int64" } } ], "responses": { "400": { "description": "Bad Request", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "407": { "description": "Proxy Authentication Required", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "401": { "description": "Unauthorized", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "406": { "description": "Not Acceptable", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "404": { "description": "Not Found", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "200": { "description": "OK", "content": { "application/vnd.adobe.target.v1+json": { "schema": { "$ref": "#/components/schemas/ActivityOrdersReport" } } } } } } }, "/{tenant}/target/activities/xt/{id}/report/orders": { "get": { "tags": [ "Reports" ], "summary": "Get XT orders report", "description": "Retrieve orders report data for the Experience Targeting activity referenced by the provided ID.", "operationId": "getReportById_5", "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer", "format": "int64" } } ], "responses": { "400": { "description": "Bad Request", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "407": { "description": "Proxy Authentication Required", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "401": { "description": "Unauthorized", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "406": { "description": "Not Acceptable", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "404": { "description": "Not Found", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "200": { "description": "OK", "content": { "application/vnd.adobe.target.v1+json": { "schema": { "$ref": "#/components/schemas/ActivityOrdersReport" } } } } } } }, "/{tenant}/target/responsetokens/{id}": { "delete": { "tags": [ "Response tokens" ], "summary": "Delete response token", "description": "Delete response token referenced by the response token ID.", "operationId": "deleteResponseToken", "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer", "format": "int64" } } ], "responses": { "400": { "description": "Bad Request", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "407": { "description": "Proxy Authentication Required", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "401": { "description": "Unauthorized", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "406": { "description": "Not Acceptable", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "404": { "description": "Not Found", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "200": { "description": "OK", "content": { "application/vnd.adobe.target.v1+json": { "schema": { "$ref": "#/components/schemas/ResponseTokenDTO" } } } } } } } }, "components": { "schemas": { "workspace": { "maxLength": 250, "type": "string", "description": "In case of premium customers (customers with multiple workspaces), it\u0027s essential to add the workspace id in every request\u0027s payload. If one is not stated, the default workspace will be used. The API consumer must have \"approver\" privilege on the workspace used in the request, if not the API will respond with an error indicating the lack of sufficient privileges to perform the operation." }, "ActivityState": { "type": "string", "description": "\u003cp\u003eThere are four valid activity states: approved, saved, deactivated, and deleted.\u003c/p\u003e\u003cp\u003eThe \"Approved\" state has two attributes called startAt and endAt that play a vital role in what happens when you update the activity state to \"Approved\". startAt is the date and time that the activity is/was scheduled to begin. endAt is the date and time that the activity is/was scheduled to end.\u003c/p\u003e\u003cp\u003e\u003cb\u003eCaution\u003c/b\u003e: There is approximately a 15-minute latency between the API and the UI, so when setting dates give it time.\u0026nbsp;\u003c/p\u003e\u003cp\u003e\u0026nbsp;\u003c/p\u003e\u003cdiv\u003e\u003ctable\u003e\u003ctbody\u003e\u003ctr\u003e\u003cth\u003eAPI State\u003c/th\u003e\u003cth\u003eStart At\u003c/th\u003e\u003cth\u003eEnd At\u003c/th\u003e\u003cth\u003eUI Status\u003c/th\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003eApproved\u003c/td\u003e\u003ctd\u003ein the past\u003c/td\u003e\u003ctd\u003ein the future\u003c/td\u003e\u003ctd\u003eLive\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003eApproved\u003c/td\u003e\u003ctd\u003ein the past\u003c/td\u003e\u003ctd\u003ein the past\u003c/td\u003e\u003ctd\u003eEnded\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003eApproved\u003c/td\u003e\u003ctd\u003ein the future\u003c/td\u003e\u003ctd\u003ein the future\u003c/td\u003e\u003ctd\u003eScheduled\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003eSaved\u003c/td\u003e\u003ctd\u003e-\u003c/td\u003e\u003ctd\u003e-\u003c/td\u003e\u003ctd\u003eInactive\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003eDeactivated\u003c/td\u003e\u003ctd\u003e-\u003c/td\u003e\u003ctd\u003e-\u003c/td\u003e\u003ctd\u003eArchived\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003eDeleted\u0026nbsp;\u003c/td\u003e\u003ctd\u003e-\u003c/td\u003e\u003ctd\u003e-\u003c/td\u003e\u003ctd\u003eDoes Not Appear in the UI\u003c/td\u003e\u003c/tr\u003e\u003c/tbody\u003e\u003c/table\u003e\u003c/div\u003e\u003cp\u003e\u0026nbsp;\u003c/p\u003e\u003cp\u003e\u003cb\u003eNote\u003c/b\u003e: When setting an activity to any state using the API, the activity will stay the state that you set it to be even while the status in the UI changes. So if you set an activity to Approved and it passes the end date, the UI will show that it has ended, but the state will still be Approved.\u0026nbsp;\u003c/p\u003e\u003cp\u003e\u0026nbsp;\u003c/p\u003e\u003c/div\u003e ", "enum": [ "approved", "saved", "deactivated", "deleted" ] }, "RevisionResourceType": { "type": "string", "description": "\u003cp\u003especifies entity type to fetch a single revision or list of revisions\u003c/p\u003e\u003cp\u003eSupported entities:\u003c/p\u003e\u003cul\u003e\u003cli\u003eactivity\u003c/li\u003e\u003cli\u003eaudience\u003c/li\u003e\u003cli\u003eoffer\u003c/li\u003e\u003cli\u003eprofileScript\u003c/li\u003e\u003cli\u003eproperty\u003c/li\u003e\u003cli\u003eenvironment\u003c/li\u003e\u003cli\u003eresponseToken\u003c/li\u003e\u003cli\u003ehost\u003c/li\u003e\u003cli\u003eauthorizedHosts\u003c/li\u003e\u003c/ul\u003e", "enum": [ "activity", "audience", "offer", "profileScript", "property", "environment", "responseToken", "host", "authorizedHosts" ] }, "Error": { "type": "object", "properties": { "errorCode": { "type": "string" }, "message": { "type": "string" }, "meta": { "type": "object", "additionalProperties": { "type": "object" } } } }, "ErrorResponse": { "type": "object", "properties": { "httpStatus": { "type": "integer", "format": "int32" }, "requestId": { "type": "string" }, "requestTime": { "type": "string", "format": "date-time" }, "errors": { "type": "array", "items": { "$ref": "#/components/schemas/Error" } } } }, "Property": { "required": [ "channel", "name" ], "type": "object", "properties": { "id": { "type": "integer", "format": "int64" }, "name": { "type": "string" }, "description": { "type": "string" }, "channel": { "type": "string", "enum": [ "web", "mobile", "email", "other" ] }, "createdAt": { "type": "string", "format": "date-time" }, "modifiedAt": { "type": "string", "format": "date-time" }, "workspaces": { "maxItems": 200, "minItems": 0, "type": "array", "items": { "type": "string" } }, "token": { "type": "string" } } }, "PromotionSlotConfiguration": { "type": "object", "properties": { "maxSlots": { "type": "integer", "format": "int32" } } }, "Promotions": { "type": "object", "properties": { "front": { "type": "array", "items": { "$ref": "#/components/schemas/RecommendationUnitPromotionConfiguration" } }, "back": { "type": "array", "items": { "$ref": "#/components/schemas/RecommendationUnitPromotionConfiguration" } }, "internal": { "type": "array", "items": { "$ref": "#/components/schemas/RecommendationUnitPromotionConfiguration" } } } }, "RecommendationOffer": { "required": [ "criteriaId", "designId", "name" ], "type": "object", "properties": { "id": { "type": "integer", "format": "int64" }, "name": { "type": "string" }, "designId": { "type": "integer", "format": "int64" }, "collectionId": { "type": "integer", "format": "int64" }, "criteriaId": { "type": "integer", "format": "int64" }, "promotions": { "$ref": "#/components/schemas/Promotions" }, "modifiedAt": { "type": "string", "format": "date-time" } } }, "RecommendationUnitPromotionConfiguration": { "type": "object", "properties": { "id": { "type": "integer", "format": "int64" }, "configuration": { "$ref": "#/components/schemas/PromotionSlotConfiguration" } } }, "JsonNode": { "type": "object" }, "JsonOffer": { "type": "object", "properties": { "id": { "type": "integer", "format": "int64" }, "name": { "type": "string" }, "content": { "$ref": "#/components/schemas/JsonNode" }, "workspace": { "$ref": "#/components/schemas/workspace" }, "modifiedAt": { "type": "string", "format": "date-time" } } }, "ContentOffer": { "type": "object", "properties": { "id": { "type": "integer", "format": "int64" }, "name": { "type": "string" }, "content": { "type": "string" }, "workspace": { "$ref": "#/components/schemas/workspace" }, "modifiedAt": { "type": "string", "format": "date-time" } } }, "HostEnvironment": { "required": [ "environmentId" ], "type": "object", "properties": { "environmentId": { "type": "integer", "format": "int64" } } }, "Environment": { "type": "object", "properties": { "id": { "type": "integer", "format": "int64" }, "name": { "type": "string" }, "serveInactiveActivities": { "type": "boolean" }, "lastModified": { "type": "string", "format": "date-time" }, "default": { "type": "boolean" } } }, "DefaultEnvironmentsDTO": { "type": "object", "properties": { "reportingEnvironmentId": { "type": "integer", "format": "int64" }, "newHostEnvironmentId": { "type": "integer", "format": "int64" } } }, "UiSettingsDto": { "type": "object", "properties": { "defaultSimulatorUrl": { "type": "string" }, "enableExperienceThumbs": { "type": "boolean" }, "enableProxyInEe": { "type": "boolean" }, "loadMixedContent": { "type": "boolean" }, "useElementIds": { "type": "boolean" }, "useClassIds": { "type": "boolean" }, "enableFineGrainedPriorities": { "type": "boolean" }, "enableProjectedEarnings": { "type": "boolean" }, "reportingCloudSolution": { "type": "string", "enum": [ "target", "analytics", "cja", "transitional" ] } } }, "ClientSelfServiceSettings": { "type": "object", "properties": { "enableProfileApiAuthentication": { "type": "boolean" }, "locale": { "type": "string" }, "timeZone": { "type": "string" }, "ipObfuscation": { "type": "string", "enum": [ "NONE", "LAST_OCTET", "STRIP" ] }, "onDeviceDecisioning": { "type": "boolean" }, "onDeviceDecisioningActivityQualification": { "type": "boolean" }, "a4TEnabled": { "type": "boolean" }, "permissionEnabled": { "type": "boolean" }, "mobileDeviceTargetingEnabled": { "type": "boolean" }, "geoLocationEnabled": { "type": "boolean" }, "defaultCompanyName": { "type": "string" }, "defaultReportSuite": { "type": "string" }, "defaultDataCollectionHost": { "type": "string" }, "flickerManagerSettings": { "$ref": "#/components/schemas/FlickerManagerSettingsDTO" }, "allowedRemoteOfferUrlPatterns": { "uniqueItems": true, "type": "array", "items": { "type": "string" } } } }, "FlickerManagerSettingsDTO": { "required": [ "enabled" ], "type": "object", "properties": { "enabled": { "type": "boolean" }, "timeout": { "maximum": 10000, "minimum": 0, "type": "integer", "format": "int32" } } }, "IpFilterDTO": { "type": "object", "properties": { "ip": { "type": "string" }, "netmask": { "type": "string" } } }, "IpFiltersDto": { "type": "object", "properties": { "ipFilters": { "type": "array", "items": { "$ref": "#/components/schemas/IpFilterDTO" } } } }, "AuthorizedMboxHosts": { "type": "object", "properties": { "enabledConstraints": { "type": "boolean" }, "authorizedMboxHostsConstraint": { "$ref": "#/components/schemas/MboxHostConstraints" }, "blockedMboxHostsConstraint": { "$ref": "#/components/schemas/MboxHostConstraints" } } }, "MboxHostConstraints": { "type": "object", "properties": { "contains": { "type": "array", "items": { "type": "string" } } } }, "Audience": { "type": "object", "properties": { "id": { "type": "integer", "format": "int64" }, "name": { "type": "string" }, "description": { "type": "string" }, "origin": { "type": "string", "enum": [ "target", "cloud" ] }, "targetRule": { "$ref": "#/components/schemas/TargetRule" }, "audienceRule": { "$ref": "#/components/schemas/CompositeSegmentRule" }, "status": { "type": "string", "enum": [ "saved", "deleted" ] }, "type": { "type": "string", "enum": [ "reusable", "anonymous", "property" ] }, "modifiedAt": { "type": "string", "format": "date-time" }, "platform": { "$ref": "#/components/schemas/AudiencePlatformMetadata" }, "workspace": { "$ref": "#/components/schemas/workspace" }, "createdAt": { "type": "string", "format": "date-time" } } }, "AudiencePlatformMetadata": { "type": "object", "properties": { "sandbox": { "$ref": "#/components/schemas/Sandbox" }, "destinationId": { "type": "string" } } }, "CompositeSegmentRule": { "type": "object", "properties": { "restRuleOperator": { "type": "string", "enum": [ "AND", "OR", "NOT" ] }, "rules": { "type": "array", "items": { "$ref": "#/components/schemas/SegmentRule" } } } }, "Sandbox": { "type": "object", "properties": { "name": { "type": "string" } } }, "SegmentRule": { "type": "object" }, "TargetRule": { "type": "object" }, "ATJSSettings": { "type": "object", "properties": { "clientCode": { "type": "string" }, "imsOrgId": { "type": "string" }, "decisioningMethod": { "type": "string" }, "artifactCacheTtl": { "type": "integer", "format": "int64" }, "profileLifetime": { "type": "integer", "format": "int64" }, "serverDomain": { "type": "string" }, "libraryHeader": { "type": "string" }, "libraryFooter": { "type": "string" }, "crossDomain": { "type": "string" }, "globalMboxName": { "type": "string" }, "globalMboxAutoCreate": { "type": "boolean" }, "legacyBrowserSupport": { "type": "boolean" }, "timeout": { "type": "integer", "format": "int64" } } }, "State": { "type": "object", "properties": { "state": { "$ref": "#/components/schemas/ActivityState" } } }, "ActivityDescription": { "type": "object", "properties": { "id": { "type": "integer", "format": "int64" }, "thirdPartyId": { "type": "string" }, "name": { "type": "string" }, "state": { "$ref": "#/components/schemas/ActivityState" }, "startsAt": { "type": "string", "format": "date-time" }, "endsAt": { "type": "string", "format": "date-time" }, "priority": { "type": "integer", "format": "int32" }, "createdAt": { "type": "string", "format": "date-time" }, "modifiedAt": { "type": "string", "format": "date-time" } } }, "Schedule": { "type": "object", "properties": { "startsAt": { "type": "string", "format": "date-time" }, "endsAt": { "type": "string", "format": "date-time" } } }, "Priority": { "type": "object", "properties": { "priority": { "type": "integer", "format": "int32" } } }, "Name": { "type": "object", "properties": { "name": { "type": "string" } } }, "AbtMetric": { "type": "object", "properties": { "metricLocalId": { "type": "integer", "format": "int32" }, "name": { "type": "string" }, "conversion": { "type": "boolean" }, "engagement": { "type": "string", "enum": [ "page_count", "score", "time_on_site", "none" ] }, "optimizationCriteria": { "type": "string", "enum": [ "conversion_rate", "rpv", "aov", "none" ] }, "mboxes": { "type": "array", "items": { "$ref": "#/components/schemas/MetricMbox" } }, "clickTrackSelectors": { "type": "array", "items": { "$ref": "#/components/schemas/ClickTrackSelector" } }, "analytics": { "$ref": "#/components/schemas/Analytics" } } }, "Analytics": { "type": "object", "properties": { "dataCollectionHost": { "type": "string" }, "reportSuites": { "type": "array", "items": { "$ref": "#/components/schemas/ReportSuites" } } } }, "AutoTargetActivity": { "type": "object", "properties": { "id": { "type": "integer", "format": "int64" }, "thirdPartyId": { "type": "string" }, "name": { "type": "string" }, "startsAt": { "type": "string", "format": "date-time" }, "endsAt": { "type": "string", "format": "date-time" }, "state": { "$ref": "#/components/schemas/ActivityState" }, "priority": { "type": "integer", "format": "int32" }, "entryConstraint": { "$ref": "#/components/schemas/EntryConstraint" }, "locations": { "$ref": "#/components/schemas/Locations" }, "options": { "type": "array", "items": { "$ref": "#/components/schemas/Option" } }, "controlExperience": { "$ref": "#/components/schemas/ControlExperienceDTO" }, "targetedExperience": { "$ref": "#/components/schemas/TargetedExperiencesDTO" }, "optionGroups": { "type": "array", "items": { "$ref": "#/components/schemas/OptionGroup" } }, "metrics": { "type": "array", "items": { "$ref": "#/components/schemas/AbtMetric" } }, "reportingAudiences": { "type": "array", "items": { "$ref": "#/components/schemas/ReportingAudience" } }, "reportingSource": { "type": "string", "enum": [ "target", "analytics", "customer_journey_analytics" ] }, "analytics": { "$ref": "#/components/schemas/Analytics" }, "workspace": { "$ref": "#/components/schemas/workspace" }, "propertyIds": { "uniqueItems": true, "type": "array", "items": { "type": "integer", "format": "int64" } }, "createdAt": { "type": "string", "format": "date-time" }, "modifiedAt": { "type": "string", "format": "date-time" }, "modifiedByName": { "type": "string" }, "platform": { "$ref": "#/components/schemas/PlatformMetadata" } } }, "AutomatedExperiencesDTO": { "type": "object", "properties": { "locationOptions": { "type": "array", "items": { "$ref": "#/components/schemas/LocationSegmentOptionsDTO" } }, "excludeRepeatingOptions": { "type": "boolean" }, "manualExclusions": { "type": "array", "items": { "$ref": "#/components/schemas/LocationOptionExperienceDTO" } } } }, "ClickTrackSelector": { "type": "object", "properties": { "selector": { "type": "string" }, "audienceIds": { "type": "array", "items": { "type": "integer", "format": "int64" } }, "selectorVersion": { "type": "integer", "format": "int32" }, "viewLocalId": { "type": "integer", "format": "int32" } } }, "ControlExperienceDTO": { "type": "object", "properties": { "visitorPercentage": { "type": "integer", "format": "int32" }, "type": { "type": "string", "enum": [ "random", "default_content", "custom" ] }, "custom": { "$ref": "#/components/schemas/ExperienceDTO" } } }, "EntryConstraint": { "type": "object", "properties": { "mboxes": { "type": "array", "items": { "$ref": "#/components/schemas/EntryConstraintMbox" } }, "visitorPercentage": { "type": "integer", "format": "int32" } } }, "EntryConstraintMbox": { "type": "object", "properties": { "name": { "type": "string" }, "audienceIds": { "type": "array", "items": { "type": "integer", "format": "int64" } } } }, "ExperienceDTO": { "type": "object", "properties": { "experienceLocalId": { "type": "integer", "format": "int32" }, "locationOptions": { "type": "array", "items": { "$ref": "#/components/schemas/LocationOptionDTO" } } } }, "ExplicitExperiencesDTO": { "type": "object", "properties": { "optimizeByExperience": { "type": "boolean" }, "explicitExperiences": { "type": "array", "items": { "$ref": "#/components/schemas/SegmentExperienceDTO" } } } }, "LocationOptionDTO": { "type": "object", "properties": { "locationLocalId": { "type": "integer", "format": "int32" }, "optionLocalId": { "type": "integer", "format": "int32" } } }, "LocationOptionExperienceDTO": { "type": "object", "properties": { "locationOptions": { "type": "array", "items": { "$ref": "#/components/schemas/LocationOptionDTO" } } } }, "LocationSegmentOptionsDTO": { "type": "object", "properties": { "locationLocalId": { "type": "integer", "format": "int32" }, "options": { "type": "array", "items": { "$ref": "#/components/schemas/SegmentOptionDTO" } } } }, "Locations": { "type": "object", "properties": { "mboxes": { "type": "array", "items": { "$ref": "#/components/schemas/Mbox" } }, "selectors": { "type": "array", "items": { "$ref": "#/components/schemas/Selector" } } } }, "Mbox": { "type": "object", "properties": { "locationLocalId": { "type": "integer", "format": "int32" }, "name": { "type": "string" }, "audienceIds": { "type": "array", "items": { "type": "integer", "format": "int64" } } } }, "MetricMbox": { "type": "object", "properties": { "name": { "type": "string" }, "successEvent": { "type": "string", "enum": [ "mbox_clicked", "mbox_shown" ] }, "audienceIds": { "type": "array", "items": { "type": "integer", "format": "int64" } } } }, "OfferTemplate": { "type": "object", "properties": { "offerTemplateId": { "type": "integer", "format": "int64" }, "templateParameters": { "type": "array", "items": { "$ref": "#/components/schemas/TemplateParameter" } } } }, "Option": { "type": "object", "properties": { "optionLocalId": { "type": "integer", "format": "int32" }, "name": { "type": "string" }, "offerId": { "type": "integer", "format": "int64" }, "offerTemplates": { "type": "array", "items": { "$ref": "#/components/schemas/OfferTemplate" } } } }, "OptionGroup": { "type": "object", "properties": { "name": { "type": "string" }, "optionGroupLocalId": { "type": "integer", "format": "int32" }, "optionLocalIds": { "type": "array", "items": { "type": "integer", "format": "int32" } } } }, "PlatformMetadata": { "type": "object", "properties": { "sandbox": { "$ref": "#/components/schemas/Sandbox" } } }, "ReportSuites": { "type": "object", "properties": { "companyName": { "type": "string" }, "reportSuites": { "type": "array", "items": { "type": "string" } } } }, "ReportingAudience": { "type": "object", "properties": { "reportingAudienceLocalId": { "type": "integer", "format": "int32" }, "audienceId": { "type": "integer", "format": "int64" }, "metricLocalId": { "type": "integer", "format": "int32" } } }, "SegmentExperienceDTO": { "type": "object", "properties": { "experienceLocalId": { "type": "integer", "format": "int32" }, "name": { "type": "string" }, "locationOptions": { "type": "array", "items": { "$ref": "#/components/schemas/LocationOptionDTO" } }, "segmentIds": { "type": "array", "items": { "type": "integer", "format": "int64" } } } }, "SegmentOptionDTO": { "type": "object", "properties": { "optionLocalId": { "type": "integer", "format": "int32" }, "segmentIds": { "uniqueItems": true, "type": "array", "items": { "type": "string" } } } }, "Selector": { "type": "object", "properties": { "locationLocalId": { "type": "integer", "format": "int32" }, "name": { "type": "string" }, "selector": { "type": "string" }, "audienceIds": { "type": "array", "items": { "type": "integer", "format": "int64" } } } }, "TargetedExperiencesDTO": { "type": "object", "properties": { "automatic": { "$ref": "#/components/schemas/AutomatedExperiencesDTO" }, "explicit": { "$ref": "#/components/schemas/ExplicitExperiencesDTO" }, "modelProvider": { "type": "string", "enum": [ "target", "custom_dsw" ] } } }, "TemplateParameter": { "type": "object", "properties": { "name": { "type": "string" }, "value": { "type": "string" } } }, "ApplicationContext": { "type": "object", "properties": { "channel": { "type": "string", "enum": [ "web", "mobile" ] }, "applicationVersions": { "uniqueItems": true, "type": "array", "items": { "type": "string" } }, "mobilePlatformVersions": { "uniqueItems": true, "type": "array", "items": { "type": "string" } }, "deviceType": { "type": "string", "enum": [ "phone", "tablet" ] }, "screenOrientation": { "type": "string", "enum": [ "landscape", "portrait" ] } } }, "AutoAllocateActivity": { "type": "object", "properties": { "id": { "type": "integer", "format": "int64" }, "thirdPartyId": { "type": "string" }, "name": { "type": "string" }, "startsAt": { "type": "string", "format": "date-time" }, "endsAt": { "type": "string", "format": "date-time" }, "state": { "$ref": "#/components/schemas/ActivityState" }, "priority": { "type": "integer", "format": "int32" }, "autoAllocateTraffic": { "$ref": "#/components/schemas/AutoAllocateTraffic" }, "entryConstraint": { "$ref": "#/components/schemas/EntryConstraint" }, "applicationContext": { "$ref": "#/components/schemas/ApplicationContext" }, "options": { "type": "array", "items": { "$ref": "#/components/schemas/Option" } }, "locations": { "$ref": "#/components/schemas/Locations" }, "views": { "type": "array", "items": { "$ref": "#/components/schemas/ViewReference" } }, "experiences": { "type": "array", "items": { "$ref": "#/components/schemas/Experience" } }, "metrics": { "type": "array", "items": { "$ref": "#/components/schemas/Metric" } }, "reportingAudiences": { "type": "array", "items": { "$ref": "#/components/schemas/ReportingAudience" } }, "reportingSource": { "type": "string", "enum": [ "target", "analytics", "customer_journey_analytics" ] }, "analytics": { "$ref": "#/components/schemas/Analytics" }, "cjaReporting": { "$ref": "#/components/schemas/CjaReporting" }, "workspace": { "$ref": "#/components/schemas/workspace" }, "propertyIds": { "uniqueItems": true, "type": "array", "items": { "type": "integer", "format": "int64" } }, "createdAt": { "type": "string", "format": "date-time" }, "modifiedAt": { "type": "string", "format": "date-time" }, "modifiedByName": { "type": "string" }, "platform": { "$ref": "#/components/schemas/PlatformMetadata" } } }, "AutoAllocateTraffic": { "type": "object", "properties": { "enabled": { "type": "boolean" }, "successEvaluationCriteria": { "type": "string", "enum": [ "conversion_rate", "rpv", "engagement" ] } } }, "CjaMetric": { "type": "object", "properties": { "cjaMetricId": { "type": "string" } } }, "CjaReporting": { "type": "object", "properties": { "dataViewId": { "type": "string" } } }, "Conditions": { "type": "object", "properties": { "maxVisitCount": { "type": "integer", "format": "int32" }, "maxImpressionCount": { "type": "integer", "format": "int32" }, "experiences": { "type": "array", "items": { "$ref": "#/components/schemas/ExperienceCondition" } } } }, "Experience": { "type": "object", "properties": { "experienceLocalId": { "type": "integer", "format": "int32" }, "name": { "type": "string" }, "audienceIds": { "type": "array", "items": { "type": "integer", "format": "int64" } }, "visitorPercentage": { "type": "integer", "format": "int32" }, "optionLocations": { "type": "array", "items": { "$ref": "#/components/schemas/OptionLocation" } } } }, "ExperienceCondition": { "type": "object", "properties": { "experienceLocalId": { "type": "integer", "format": "int32" }, "maxVisitCount": { "type": "integer", "format": "int32" }, "maxImpressionCount": { "type": "integer", "format": "int32" } } }, "Metric": { "type": "object", "properties": { "metricLocalId": { "type": "integer", "format": "int32" }, "name": { "type": "string" }, "conversion": { "type": "boolean" }, "engagement": { "type": "string", "enum": [ "page_count", "score", "time_on_site", "none" ] }, "action": { "$ref": "#/components/schemas/MetricAction" }, "mboxes": { "type": "array", "items": { "$ref": "#/components/schemas/MetricMbox" } }, "clickTrackSelectors": { "type": "array", "items": { "$ref": "#/components/schemas/ClickTrackSelector" } }, "views": { "type": "array", "items": { "$ref": "#/components/schemas/MetricView" } }, "analytics": { "$ref": "#/components/schemas/Analytics" }, "cjaMetrics": { "$ref": "#/components/schemas/CjaMetric" } } }, "MetricAction": { "type": "object", "properties": { "type": { "type": "string", "enum": [ "count_once", "count_landings", "always_convert", "restart_same_experience", "restart_random_experience", "restart_new_experience", "exclude_to_same_experience", "ban_from_campaign" ] }, "conditions": { "$ref": "#/components/schemas/Conditions" }, "onConditionsMetAction": { "type": "string", "enum": [ "count_once", "count_landings", "always_convert", "restart_same_experience", "restart_random_experience", "restart_new_experience", "exclude_to_same_experience", "ban_from_campaign" ] } } }, "MetricView": { "type": "object", "properties": { "viewLocalId": { "type": "integer", "format": "int32" }, "audienceIds": { "type": "array", "items": { "type": "integer", "format": "int64" } } } }, "OptionLocation": { "type": "object", "properties": { "locationLocalId": { "type": "integer", "format": "int32" }, "optionLocalId": { "type": "integer", "format": "int32" } } }, "ViewReference": { "type": "object", "properties": { "viewLocalId": { "type": "integer", "format": "int32" }, "viewId": { "type": "integer", "format": "int64" }, "audienceIds": { "type": "array", "items": { "type": "integer", "format": "int64" } } } }, "ABTActivity": { "type": "object", "properties": { "id": { "type": "integer", "format": "int64" }, "thirdPartyId": { "type": "string" }, "name": { "type": "string" }, "startsAt": { "type": "string", "format": "date-time" }, "endsAt": { "type": "string", "format": "date-time" }, "state": { "$ref": "#/components/schemas/ActivityState" }, "priority": { "type": "integer", "format": "int32" }, "entryConstraint": { "$ref": "#/components/schemas/EntryConstraint" }, "locations": { "$ref": "#/components/schemas/Locations" }, "options": { "type": "array", "items": { "$ref": "#/components/schemas/Option" } }, "controlExperience": { "$ref": "#/components/schemas/ControlExperienceDTO" }, "targetedExperience": { "$ref": "#/components/schemas/TargetedExperiencesDTO" }, "optionGroups": { "type": "array", "items": { "$ref": "#/components/schemas/OptionGroup" } }, "metrics": { "type": "array", "items": { "$ref": "#/components/schemas/AbtMetric" } }, "reportingAudiences": { "type": "array", "items": { "$ref": "#/components/schemas/ReportingAudience" } }, "reportingSource": { "type": "string", "enum": [ "target", "analytics", "customer_journey_analytics" ] }, "analytics": { "$ref": "#/components/schemas/Analytics" }, "workspace": { "$ref": "#/components/schemas/workspace" }, "propertyIds": { "uniqueItems": true, "type": "array", "items": { "type": "integer", "format": "int64" } }, "createdAt": { "type": "string", "format": "date-time" }, "modifiedAt": { "type": "string", "format": "date-time" }, "modifiedByName": { "type": "string" }, "platform": { "$ref": "#/components/schemas/PlatformMetadata" } } }, "ABActivity": { "type": "object", "properties": { "id": { "type": "integer", "format": "int64" }, "thirdPartyId": { "type": "string" }, "name": { "type": "string" }, "startsAt": { "type": "string", "format": "date-time" }, "endsAt": { "type": "string", "format": "date-time" }, "state": { "$ref": "#/components/schemas/ActivityState" }, "priority": { "type": "integer", "format": "int32" }, "entryConstraint": { "$ref": "#/components/schemas/EntryConstraint" }, "applicationContext": { "$ref": "#/components/schemas/ApplicationContext" }, "options": { "type": "array", "items": { "$ref": "#/components/schemas/Option" } }, "locations": { "$ref": "#/components/schemas/Locations" }, "views": { "type": "array", "items": { "$ref": "#/components/schemas/ViewReference" } }, "experiences": { "type": "array", "items": { "$ref": "#/components/schemas/Experience" } }, "metrics": { "type": "array", "items": { "$ref": "#/components/schemas/Metric" } }, "reportingAudiences": { "type": "array", "items": { "$ref": "#/components/schemas/ReportingAudience" } }, "reportingSource": { "type": "string", "enum": [ "target", "analytics", "customer_journey_analytics" ] }, "analytics": { "$ref": "#/components/schemas/Analytics" }, "cjaReporting": { "$ref": "#/components/schemas/CjaReporting" }, "workspace": { "$ref": "#/components/schemas/workspace" }, "propertyIds": { "uniqueItems": true, "type": "array", "items": { "type": "integer", "format": "int64" } }, "createdAt": { "type": "string", "format": "date-time" }, "modifiedAt": { "type": "string", "format": "date-time" }, "modifiedByName": { "type": "string" }, "platform": { "$ref": "#/components/schemas/PlatformMetadata" } } }, "ResponseTokenDTO": { "type": "object", "properties": { "id": { "type": "integer", "format": "int64" }, "token": { "type": "string" }, "type": { "type": "string", "enum": [ "BUILT_IN", "ACTIVITY", "GEO", "CRS", "MBOX", "SCRIPT" ] } } }, "BatchOperation": { "required": [ "dependsOnOperationIds", "headers", "method", "relativeUrl" ], "type": "object", "properties": { "operationId": { "type": "integer", "format": "int32" }, "dependsOnOperationIds": { "maxItems": 255, "minItems": 0, "type": "array", "items": { "type": "integer", "format": "int32" } }, "method": { "type": "string", "enum": [ "GET", "POST", "PUT", "PATCH", "DELETE" ] }, "relativeUrl": { "type": "string" }, "headers": { "maxItems": 50, "minItems": 0, "type": "array", "items": { "$ref": "#/components/schemas/Header" } }, "body": { "$ref": "#/components/schemas/JsonNode" } } }, "BatchRequest": { "required": [ "operations" ], "type": "object", "properties": { "operations": { "maxItems": 256, "minItems": 1, "type": "array", "items": { "$ref": "#/components/schemas/BatchOperation" } } } }, "Header": { "type": "object", "properties": { "name": { "type": "string" }, "value": { "type": "string" } } }, "BatchAuthData": { "type": "object" }, "BatchOperationResponse": { "type": "object", "properties": { "operationId": { "type": "integer", "format": "int32" }, "skipped": { "type": "boolean" }, "statusCode": { "type": "integer", "format": "int32" }, "headers": { "type": "array", "items": { "$ref": "#/components/schemas/Header" } }, "body": { "type": "string" } } }, "BatchResponse": { "type": "object", "properties": { "results": { "type": "array", "items": { "$ref": "#/components/schemas/BatchOperationResponse" } } } }, "AuthorizationToken": { "type": "object", "properties": { "accessToken": { "type": "string" }, "tokenType": { "type": "string" }, "scope": { "type": "string", "enum": [ "profile_api", "debug_tools" ] }, "expiresIn": { "type": "integer", "format": "int64" } } }, "QAModeRequest": { "type": "object", "properties": { "url": { "type": "string" }, "currentActivityOnly": { "type": "boolean" }, "audienceIdsEvaluatedAsTrue": { "type": "array", "items": { "type": "integer", "format": "int32" } }, "audienceIdsEvaluatedAsFalse": { "type": "array", "items": { "type": "integer", "format": "int32" } } } }, "ABTQAModeExperienceDTO": { "type": "object", "properties": { "url": { "type": "string" }, "experienceLocalId": { "type": "integer", "format": "int32" }, "locationOptions": { "type": "array", "items": { "$ref": "#/components/schemas/LocationOptionDTO" } } } }, "ABTQAModeResponseDTO": { "type": "object", "properties": { "qaModeExperiences": { "type": "array", "items": { "$ref": "#/components/schemas/ABTQAModeExperienceDTO" } } } }, "ABQAModeExperienceDTO": { "type": "object", "properties": { "url": { "type": "string" }, "experienceLocalId": { "type": "integer", "format": "int32" } } }, "ABQAModeResponseDTO": { "type": "object", "properties": { "qaModeExperiences": { "type": "array", "items": { "$ref": "#/components/schemas/ABQAModeExperienceDTO" } } } }, "AudiencePatch": { "type": "object", "properties": { "id": { "type": "integer", "format": "int64" }, "workspace": { "$ref": "#/components/schemas/workspace" } } }, "PageInfo": { "type": "object", "properties": { "offset": { "type": "integer", "format": "int32" }, "limit": { "type": "integer", "format": "int32" }, "total": { "type": "integer", "format": "int64" } } }, "RevisionFeed": { "type": "object", "properties": { "revisions": { "type": "array", "items": { "$ref": "#/components/schemas/RevisionFeedEntry" } }, "pagination": { "$ref": "#/components/schemas/PageInfo" } } }, "RevisionFeedEntry": { "type": "object", "properties": { "id": { "type": "integer", "format": "int64" }, "entityType": { "type": "string" }, "entitySubType": { "type": "string" }, "resourceId": { "type": "integer", "format": "int64" }, "entityName": { "type": "string" }, "operation": { "type": "string" }, "versionNumber": { "type": "integer", "format": "int32" }, "source": { "type": "string" }, "modifiedBy": { "type": "string" }, "modifiedByName": { "type": "string" }, "agentName": { "type": "string" }, "modifiedAt": { "type": "string", "format": "date-time" } } }, "Pagination": { "type": "object", "properties": { "offset": { "type": "integer", "format": "int32" }, "limit": { "type": "integer", "format": "int32" } } }, "RevisionLog": { "type": "object", "properties": { "total": { "type": "integer", "format": "int32" }, "pagination": { "$ref": "#/components/schemas/Pagination" }, "revisions": { "type": "array", "items": { "$ref": "#/components/schemas/RevisionSummary" } } } }, "RevisionSummary": { "type": "object", "properties": { "id": { "type": "integer", "format": "int64" }, "operation": { "type": "string", "enum": [ "create", "update", "patch", "delete", "auditError" ] }, "modifiedBy": { "type": "string" }, "modifiedByName": { "type": "string" }, "modifiedAt": { "type": "string", "format": "date-time" } } }, "Revision": { "type": "object", "properties": { "summary": { "$ref": "#/components/schemas/RevisionSummary" }, "jsonData": { "type": "string" } } }, "RevisionHistory": { "type": "object", "properties": { "revisions": { "type": "array", "items": { "$ref": "#/components/schemas/RevisionHistoryEntry" } }, "pagination": { "$ref": "#/components/schemas/PageInfo" } } }, "RevisionHistoryEntry": { "type": "object", "properties": { "id": { "type": "integer", "format": "int64" }, "editUrl": { "type": "string" }, "modifiedBy": { "type": "string" }, "modifiedByName": { "type": "string" }, "modifiedAt": { "type": "string", "format": "date-time" }, "operation": { "type": "string" }, "source": { "type": "string" }, "agentName": { "type": "string" } } }, "AgentContext": { "type": "object", "properties": { "agentVersion": { "type": "string" }, "promptedBy": { "type": "string" }, "sessionId": { "type": "string" }, "approvedBy": { "type": "string" } } }, "FieldChange": { "type": "object", "properties": { "field": { "type": "string" }, "before": { "$ref": "#/components/schemas/JsonNode" }, "after": { "$ref": "#/components/schemas/JsonNode" } } }, "RevisionDetail": { "type": "object", "properties": { "revision": { "$ref": "#/components/schemas/RevisionFeedEntry" }, "jsonData": { "type": "string" }, "diffData": { "type": "array", "items": { "$ref": "#/components/schemas/FieldChange" } }, "inlineDiff": { "$ref": "#/components/schemas/JsonNode" }, "agentContext": { "$ref": "#/components/schemas/AgentContext" } } }, "RevisionSnapshot": { "type": "object", "properties": { "revision": { "$ref": "#/components/schemas/RevisionHistoryEntry" }, "jsonData": { "type": "string" } } }, "AuditSummary": { "type": "object", "properties": { "window": { "$ref": "#/components/schemas/AuditWindow" }, "totalChanges": { "type": "integer", "format": "int64" }, "activeUsers": { "type": "integer", "format": "int64" }, "activitiesModified": { "type": "integer", "format": "int64" }, "apiChanges": { "type": "integer", "format": "int64" }, "agentActions": { "type": "integer", "format": "int64" } } }, "AuditWindow": { "type": "object", "properties": { "from": { "type": "string", "format": "date-time" }, "to": { "type": "string", "format": "date-time" } } }, "ResponseToken": { "type": "object", "properties": { "id": { "type": "integer", "format": "int64" }, "token": { "type": "string" }, "name": { "type": "string" }, "type": { "type": "string", "enum": [ "BUILT_IN", "ACTIVITY", "GEO", "CRS", "MBOX", "SCRIPT" ] }, "modifiedAt": { "type": "string", "format": "date-time" }, "active": { "type": "boolean" }, "deletable": { "type": "boolean" } } }, "ResponseTokenList": { "type": "object", "properties": { "total": { "type": "integer", "format": "int32" }, "responseTokens": { "type": "array", "items": { "$ref": "#/components/schemas/ResponseToken" } } } }, "PropertyList": { "type": "object", "properties": { "total": { "type": "integer", "format": "int32" }, "properties": { "type": "array", "items": { "$ref": "#/components/schemas/Property" } } } }, "MboxProfileAttributesDTO": { "type": "object", "properties": { "mboxProfileAttributes": { "type": "array", "items": { "type": "string" } } } }, "OfferList": { "type": "object", "properties": { "total": { "type": "integer", "format": "int32" }, "offers": { "type": "array", "items": { "$ref": "#/components/schemas/OfferListDescription" } } } }, "OfferListDescription": { "type": "object", "properties": { "id": { "type": "integer", "format": "int64" }, "name": { "type": "string" }, "type": { "type": "string", "enum": [ "content", "json", "recs" ] }, "modifiedAt": { "type": "string", "format": "date-time" }, "workspace": { "type": "string" } } }, "OfferTemplateList": { "type": "object", "properties": { "total": { "type": "integer", "format": "int32" }, "templates": { "type": "array", "items": { "$ref": "#/components/schemas/OfferTemplate" } } } }, "MboxList": { "type": "object", "properties": { "total": { "type": "integer", "format": "int32" }, "mboxes": { "type": "array", "items": { "$ref": "#/components/schemas/MboxListDescription" } } } }, "MboxListDescription": { "type": "object", "properties": { "name": { "type": "string" }, "status": { "type": "string" }, "lastRequestedAt": { "type": "string", "format": "date-time" } } }, "Host": { "type": "object", "properties": { "name": { "type": "string" }, "lastRequested": { "type": "string", "format": "date-time" }, "environmentId": { "type": "integer", "format": "int64" } } }, "HostList": { "type": "object", "properties": { "total": { "type": "integer", "format": "int32" }, "hosts": { "type": "array", "items": { "$ref": "#/components/schemas/Host" } } } }, "EnvironmentList": { "type": "object", "properties": { "total": { "type": "integer", "format": "int32" }, "environments": { "type": "array", "items": { "$ref": "#/components/schemas/Environment" } } } }, "AudienceList": { "type": "object", "properties": { "total": { "type": "integer", "format": "int32" }, "audiences": { "type": "array", "items": { "$ref": "#/components/schemas/Audience" } } } }, "ActivityList": { "type": "object", "properties": { "total": { "type": "integer", "format": "int32" }, "activities": { "type": "array", "items": { "$ref": "#/components/schemas/ActivityListDescription" } } } }, "ActivityListDescription": { "type": "object", "properties": { "id": { "type": "integer", "format": "int64" }, "name": { "type": "string" }, "thirdPartyId": { "type": "string" }, "type": { "type": "string", "enum": [ "ab", "xt", "abt", "auto_allocate", "mvt", "recs" ] }, "state": { "$ref": "#/components/schemas/ActivityState" }, "startsAt": { "type": "string", "format": "date-time" }, "endsAt": { "type": "string", "format": "date-time" }, "lifetime": { "$ref": "#/components/schemas/CampaignLifetimeDTO" }, "priority": { "type": "integer", "format": "int32" }, "reportingSource": { "type": "string", "enum": [ "target", "analytics", "customer_journey_analytics" ] }, "workspace": { "type": "string" }, "propertyIds": { "type": "array", "items": { "type": "integer", "format": "int64" } }, "createdAt": { "type": "string", "format": "date-time" }, "modifiedAt": { "type": "string", "format": "date-time" }, "modifiedByName": { "type": "string" } } }, "CampaignLifetimeDTO": { "type": "object", "properties": { "start": { "type": "string", "format": "date-time" }, "end": { "type": "string", "format": "date-time" } } }, "ActivityChangelog": { "type": "object", "properties": { "modifiedAt": { "type": "string", "format": "date-time" }, "reportDataReset": { "type": "boolean" }, "activityParameters": { "type": "object", "additionalProperties": { "$ref": "#/components/schemas/ActivityParameterChange" } }, "activityLocationOfferChange": { "$ref": "#/components/schemas/ActivityLocationOfferChange" }, "modifiedOffer": { "$ref": "#/components/schemas/IdAndName" }, "modifiedProfileAttribute": { "$ref": "#/components/schemas/IdAndName" }, "startedProfileAttribute": { "$ref": "#/components/schemas/IdAndName" }, "stoppedProfileAttribute": { "$ref": "#/components/schemas/IdAndName" } } }, "ActivityChangelogList": { "type": "object", "properties": { "total": { "type": "integer", "format": "int32" }, "activityChangelogs": { "type": "array", "items": { "$ref": "#/components/schemas/ActivityChangelog" } } } }, "ActivityLocationOfferChange": { "type": "object", "properties": { "changedValue": { "$ref": "#/components/schemas/IdAndName" }, "previousValue": { "$ref": "#/components/schemas/IdAndName" }, "mbox": { "$ref": "#/components/schemas/Mbox" }, "experience": { "$ref": "#/components/schemas/Experience" } } }, "ActivityParameterChange": { "type": "object", "properties": { "parameter": { "type": "string" }, "previousValue": { "type": "string" }, "changedValue": { "type": "string" } } }, "IdAndName": { "type": "object", "properties": { "id": { "type": "integer", "format": "int64" }, "name": { "type": "string" } } }, "AbstractActivity": { "type": "object", "properties": { "metrics": { "type": "array", "items": { "$ref": "#/components/schemas/MetricDTO" } }, "reportingAudiences": { "type": "array", "items": { "$ref": "#/components/schemas/ReportingAudience" } } } }, "AbstractActivityPerformanceReport": { "type": "object", "properties": { "reportParameters": { "$ref": "#/components/schemas/ActivityPerformanceReportParameters" }, "activity": { "$ref": "#/components/schemas/AbstractActivity" } } }, "ActivityPerformanceReportParameters": { "type": "object", "properties": { "activityId": { "type": "integer", "format": "int64" }, "environmentId": { "type": "integer", "format": "int64" }, "conversionMetricLocalIds": { "type": "array", "items": { "type": "integer", "format": "int32" } }, "metricLocalIds": { "type": "array", "items": { "type": "integer", "format": "int32" } }, "reportingAudienceLocalIds": { "type": "array", "items": { "type": "integer", "format": "int32" } }, "reportInterval": { "$ref": "#/components/schemas/Interval" }, "daysOfWeek": { "type": "array", "items": { "type": "integer", "format": "int32" } }, "resolution": { "type": "string", "enum": [ "hour", "day", "week", "month" ] } } }, "Chronology": { "type": "object", "properties": { "zone": { "$ref": "#/components/schemas/DateTimeZone" } } }, "DateTimeZone": { "type": "object", "properties": { "id": { "type": "string" }, "fixed": { "type": "boolean" } } }, "Interval": { "type": "object", "properties": { "chronology": { "$ref": "#/components/schemas/Chronology" }, "start": { "type": "string", "format": "date-time" }, "end": { "type": "string", "format": "date-time" }, "startMillis": { "type": "integer", "format": "int64" }, "endMillis": { "type": "integer", "format": "int64" }, "afterNow": { "type": "boolean" }, "beforeNow": { "type": "boolean" } } }, "MetricDTO": { "type": "object", "properties": { "name": { "type": "string" }, "metricLocalId": { "type": "integer", "format": "int32" }, "deletedAt": { "type": "string", "format": "date-time" } } }, "ActivityOrdersReport": { "type": "object", "properties": { "reportParameters": { "$ref": "#/components/schemas/ActivityOrdersReportParameters" }, "activity": { "$ref": "#/components/schemas/AbstractActivity" }, "orders": { "type": "array", "items": { "$ref": "#/components/schemas/OrderDTO" } } } }, "ActivityOrdersReportParameters": { "type": "object", "properties": { "activityId": { "type": "integer", "format": "int64" }, "environmentId": { "type": "integer", "format": "int64" }, "reportInterval": { "$ref": "#/components/schemas/Interval" }, "conversionMetricLocalIds": { "type": "array", "items": { "type": "integer", "format": "int32" } } } }, "OrderDTO": { "type": "object", "properties": { "experienceLocalId": { "type": "integer", "format": "int32" }, "decisionStackId": { "type": "integer", "format": "int32" }, "time": { "type": "string", "format": "date-time" }, "id": { "type": "string" }, "total": { "type": "number" }, "productIds": { "type": "array", "items": { "type": "string" } }, "outlier": { "type": "boolean" }, "duplicate": { "type": "boolean" } } } } } }