-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Labels
Description
Consider a batch request with a change set/atomicity group that contains DELETE requests for two entities:
DELETE OrgUnits(1)
DELETE OrgUnits(2)
If DELETE OrgUnits(1)
implicitly deletes OrgUnits(2)
(because it is a subordinate org unit), what is the response code of DELETE OrgUnits(2)
?
- Is it 404 Not Found because the entity does not exist?
- Or is it 204 No Content because the change set was successfully executed overall?
Analogous question for
PATCH /OrgUnits
{"@context": "#$delta",
"value": [{
"@removed": {"reason": "deleted"},
"ID": 1
}, {
"@removed": {"reason": "deleted"},
"ID": 2
}]}
Is there a Core.DataModificationException
for the second deletion?
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Open