ChangeState endpoint
The changeState endpoint is important because business logic is triggered when changing the status of a business object. Consequently, an endpoint must be available.
* 
It is not possible to change a status on multiple business objects in one go. If the filter selects more than one business object, only the first one is processed.
Example
http://{environment}/sdk/system/{version}/changeState/{definition name}/{target state}
Request
In the request body you can use the filter tag to select the appropriate business object.
{
"filter": {
"Syscode": {"eq": 260 }
}
}
Response
The response will contain the updated business object and the fields that are defined in the endpoint definition.
{
"records": [
{
"City": "Boxmeer",
"SysMutationDateTime": "2021-09-15T15:14:01+02:00",
"Country": "Netherlands",
"Syscode": 260
}
]
}