You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Update a resource object of any type. Updating an object requires to send `all required fields` or the `full body`
278
+
* Update a resource object of any type. Updating an object requires all fields of the object you are updating, even if they have not been modified
279
279
* @public
280
280
* @function
281
281
* @param {string} resourceType - The type of resource to be updated. E.g. `dataElements`, `organisationUnits`, etc.
282
282
* @param {string} path - The `id` or `path` to the `object` to be updated. E.g. `FTRrcoaog83` or `FTRrcoaog83/{collection-name}/{object-id}`
283
-
* @param {Object} data - Data to update. It requires to send `all required fields` or the `full body`. If you want `partial updates`, use `patch` operation.
283
+
* @param {Object} data - Data to update. It requires to send the full body. If you want partial updates, use patch operation.
284
284
* @param {RequestOptions} [options] - An optional object containing query, parseAs,and headers for the request.
0 commit comments