From 06c585041d27ed99ad5b138aa674cf347072fa01 Mon Sep 17 00:00:00 2001 From: apidesigner Date: Wed, 15 Mar 2017 09:06:20 +0000 Subject: [PATCH] Updates execution/batch-operations.md Auto commit by GitBook Editor --- execution/batch-operations.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/execution/batch-operations.md b/execution/batch-operations.md index 0d453bf..a242067 100644 --- a/execution/batch-operations.md +++ b/execution/batch-operations.md @@ -76,6 +76,7 @@ However, in such an operation has to be provided such an non-atomic bulk operati #### Example +Non-atomic request for creating four orders: ``` POST /orders @@ -99,8 +100,10 @@ Content-Type: application/json } ``` +And the error response: + ``` -400 +HTTP/1.1 400 Bad Request Content-Type: application/problem+json { @@ -130,6 +133,7 @@ Content-Type: application/problem+json ``` +The `processed` field should contain the result of processed sub-operations as if they were returned in a 200 OK.