updateComponentObjectCustomObjectInstance function

Future<ApiResponse<Object?>> updateComponentObjectCustomObjectInstance(
  1. ExsitedClient client,
  2. Object componentUuid,
  3. Object componentObjectId,
  4. Object customObjectId,
  5. Object instanceId,
  6. Object payload, {
  7. bool? raiseOnError,
  8. String? responseFormat,
})

PATCH /api/{api_version}/components/{component_uuid}/objects/{component_object_id}/custom_objects/{custom_object_id}/instances/{instance_id}

Update a custom object instance /{component_object_id}/custom_objects/{custom_object_id}/instances/{instance_id}, under custom_object_instance with an attributes list.

No typed view. Read response.map.

Implementation

Future<ApiResponse<Object?>> updateComponentObjectCustomObjectInstance(
  ExsitedClient client,
  Object componentUuid,
  Object componentObjectId,
  Object customObjectId,
  Object instanceId,
  Object payload, {
  bool? raiseOnError,
  String? responseFormat,
}) =>
    client.sendPatchRequest(
        CustomComponentsUrls.componentObjectCustomObjectInstance,
        pathParams: {
          'component_uuid': componentUuid,
          'component_object_id': componentObjectId,
          'custom_object_id': customObjectId,
          'instance_id': instanceId
        },
        jsonBody: payload,
        raiseOnError: raiseOnError,
        responseFormat: responseFormat);