6
6
7
7
**Warning: Difference between `PUT` and `PATCH`**
8
8
9
- Both `PUT` and `PATCH` methods are used to update the fields in a resource,
9
+ Both `PUT` and `PATCH` methods can be used to update the fields in a resource,
10
10
but there is a key difference in how they handle required fields:
11
11
12
- > The `PUT` method requires you to specify **all mandatory fields** when updating a resource.
13
- If any mandatory field is missing, the update will fail.
12
+ * The `PUT` method requires you to specify **all mandatory fields** when updating a resource.
13
+ If any mandatory field is missing, the update will fail. Optional fields are left unchanged if they are not specified.
14
14
15
- > The `PATCH` method, on the other hand, allows you to update only the fields you specify.
15
+ * The `PATCH` method, on the other hand, allows you to update only the fields you specify.
16
16
Some mandatory fields can be left out, and the resource will only be updated with the provided data,
17
17
leaving other fields unchanged.
18
18
contact :
@@ -5725,10 +5725,9 @@ tags:
5725
5725
5726
5726
**Atomicity in Partij and PartijIdentificator**
5727
5727
5728
- Starting from version **2.7.0**, the `Partij` endpoint has been modified to handle
5729
- `PartijIdentificator` objects more effectively,
5728
+ The `Partij` endpoint handles `PartijIdentificator` objects more effectively,
5730
5729
allowing them to be processed within the same request.
5731
- This ensures that both entities are handled atomically, preventing incomplete ,
5730
+ This ensures that both entities are handled atomically, preventing incompleteness ,
5732
5731
and offering better control over the uniqueness of `PartijIdentificator` objects.
5733
5732
5734
5733
For `POST`, `PATCH`, and `PUT` requests for `Partij`,
@@ -5742,11 +5741,11 @@ tags:
5742
5741
- If the **UUID** is provided in the `PartijIdentificator` object,
5743
5742
the endpoint will treat it as an update operation for the existing `PartijIdentificator`,
5744
5743
applying the provided data and linking the parent `Partij` to the new one created.
5745
- - If the **UUID** is **not** specified, the system will create a new resource
5746
- for the `PartijIdentificator` respecting all uniqueness constraints.
5744
+ - If the **UUID** is **not** specified, the system will create a new
5745
+ `PartijIdentificator` instance respecting all uniqueness constraints.
5747
5746
- `PATCH` or `PUT` requests:
5748
5747
- If the **UUID** is provided in the `PartijIdentificator` object,
5749
- the system will update the specified resource with the new data.
5748
+ the system will update the specified instance with the new data.
5750
5749
- If the **UUID** is **not** specified, the system will `DELETE` all `PartijIdentificator`
5751
5750
objects related to the parent and `CREATE` new ones with the passed data.
5752
5751
- name : rekeningnummers
0 commit comments