Documentation Index

Fetch the complete documentation index at: https://docs.mapp.com/llms.txt

Use this file to discover all available pages before exploring further.

Update a selection plan

Prev Next
Put
/segmentation/update

Overwrites an existing selection plan. The query parameter id identifies the plan; the request body is a wrapper whose json field carries the full plan JSON document as a string (escaped). Update replaces the whole plan, so fetch the current plan with get first, modify it, then send it back here. If the plan JSON also contains an id it must match the query id. Returns the updated plan.

Example body

{
"json": "{"id":"FF784C2A-...","name":"My plan","nodes":[ ... ]}"
}
Query parameters
id
stringRequired

ID of the plan to update (GUID).

Body parameters

Wrapper carrying the full plan JSON document as a string in its 'json' field.

object
json
string
Responses
200

The updated plan as a JSON document.

string
400

bad request