Using the ODATA Rest API we are trying to make a batch call with 2 operations in the same call.Insert a new record in the calendar exception Change task statusWe have used an incorrect task status value to ensure the call fails but even though this call fails the 1st call is successful and not rolled back. The operation in the change sets should be atomic. Request :--batch_d3bcb804-ee77-4921-9a45-761f98d32029--changeset_77162fcd-b8da-41ac-a9f8-9357efbbd621Content-Type: application/httpContent-Transfer-Encoding: binary POST https://tsrvwapp1497.tdk.dk/IFS_T2FSM_Application/odata/person_cal_except HTTP/1.1Content-Type: application/jsonContent-ID: 3 { "person_id" : "A72033", "exception_type" : "DRIFT AF BIL", "start_dttm" : "2021-10-24T13:12:42.7997002", "end_dttm" : "2021-10-25T14:12:42.7997002", "modified_by" : "A72033", "created_by" : "A72033" } --changeset_77162fcd-b8da-41ac-a9f8-9357efbbd621Content-Type: application/httpContent-Transfer-Encoding: binary PATCH http
Already have an account? Login
No account yet? Create an account
Enter your username or e-mail address. We'll send you an e-mail with instructions to reset your password.
Sorry, we're still checking this file's contents to make sure it's safe to download. Please try again in a few minutes.
Sorry, our virus scanner detected that this file isn't safe to download.