Admin API v1.1.5
- Changed the structure of the payload that is send, to all services, when someone alters the "default" Service using
PUT /services/account/default
New payload structure
The previous payload looked like this:
{
"action": "changeDefaultService",
"metadata": "",
"oldDefaultService": "xxxxxxxxx",
"newDefaultService": "yyyyyyyyy",
"initiatedBy": "john.doe@parley.nu"
}
The new payload looks like this:
{
"body": {
"action": "changeDefaultService",
"metadata": "",
"initiatedBy": "john.doe@parley.nu",
"oldDefaultService": {
"name": "Service A",
"identification": "xxxxxxxx"
},
"newDefaultService": {
"name": "Service B",
"identification": "yyyyyyyy"
}
},
"accountIdentification": "xxxxxxxx",
"type": "service"
}
This way it is more consistent with other actions (like changeOwner) and you can see
which account received this change.