Skip to main content
POST
/
api
/
end_users
/
{end_user_id_or_heron_id}
/
decision_logic
Upload DecisionLogic XML
curl --request POST \
  --url https://app.herondata.io/api/end_users/{end_user_id_or_heron_id}/decision_logic \
  --header 'Content-Type: application/xml' \
  --header 'x-api-key: <api-key>' \
  --data '<string>'
{
  "_summary": {
    "request_id": "<string>"
  }
}

Authorizations

x-api-key
string
header
required

Path Parameters

end_user_id_or_heron_id
string
required

The end_user_id or heron_id of EndUser to upload

Query Parameters

currency
string

ISO 4217 currency code

Example:

"USD"

Body

application/xml

The body is of type string.

Response

201 - application/json

OK

_summary
object