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 :
@@ -5790,10 +5790,9 @@ tags:
5790
5790
5791
5791
**Atomicity in Partij and PartijIdentificator**
5792
5792
5793
- Starting from version **2.7.0**, the `Partij` endpoint has been modified to handle
5794
- `PartijIdentificator` objects more effectively,
5793
+ The `Partij` endpoint handles `PartijIdentificator` objects more effectively,
5795
5794
allowing them to be processed within the same request.
5796
- This ensures that both entities are handled atomically, preventing incomplete ,
5795
+ This ensures that both entities are handled atomically, preventing incompleteness ,
5797
5796
and offering better control over the uniqueness of `PartijIdentificator` objects.
5798
5797
5799
5798
For `POST`, `PATCH`, and `PUT` requests for `Partij`,
@@ -5807,11 +5806,11 @@ tags:
5807
5806
- If the **UUID** is provided in the `PartijIdentificator` object,
5808
5807
the endpoint will treat it as an update operation for the existing `PartijIdentificator`,
5809
5808
applying the provided data and linking the parent `Partij` to the new one created.
5810
- - If the **UUID** is **not** specified, the system will create a new resource
5811
- for the `PartijIdentificator` respecting all uniqueness constraints.
5809
+ - If the **UUID** is **not** specified, the system will create a new
5810
+ `PartijIdentificator` instance respecting all uniqueness constraints.
5812
5811
- `PATCH` or `PUT` requests:
5813
5812
- If the **UUID** is provided in the `PartijIdentificator` object,
5814
- the system will update the specified resource with the new data.
5813
+ the system will update the specified instance with the new data.
5815
5814
- If the **UUID** is **not** specified, the system will `DELETE` all `PartijIdentificator`
5816
5815
objects related to the parent and `CREATE` new ones with the passed data.
5817
5816
- name : rekeningnummers
0 commit comments