createComponentObjectCustomObjectInstance function
POST /api/{api_version}/components/{component_uuid}/objects/{component_object_id}/custom_objects/{custom_object_id}
Create a custom object instance
/{component_object_id}/custom_objects/{custom_object_id}, under
custom_object_instances with an attributes list; the path has no
instances segment.
No typed view: no 2xx response was recorded for it. Read response.map.
Implementation
Future<ApiResponse<Object?>> createComponentObjectCustomObjectInstance(
ExsitedClient client,
Object componentUuid,
Object componentObjectId,
Object customObjectId,
Object payload, {
bool? raiseOnError,
String? responseFormat,
}) =>
client.sendPostRequest(CustomComponentsUrls.componentObjectCustomObject,
pathParams: {
'component_uuid': componentUuid,
'component_object_id': componentObjectId,
'custom_object_id': customObjectId
},
jsonBody: payload,
raiseOnError: raiseOnError,
responseFormat: responseFormat);