Open jason-fox opened 4 years ago
This is a bug in the spec, I'm afraid. A clarification is needed in chapter 5. If you look further down, chapter 6.16 says the following:
204 No Content
If all entities have been successfully
updated, there is no payload body in the
response.
Keeping the issue open until the ETSI spec has been updated
I make a batch create operation
The broker returns a payload detailing success/failure - this is CORRECT
EITHER:
OR:
I now batch upsert the same entities:
The response is 204 no content - this is INCORRECT
According to the 1.3.1 specification: 5.6.8 Batch Entity Creation or Update (Upsert)
The response payload body is missing, and the HTTP code should be altered since content should be returned.