createComponentByUuid function
Future<ApiResponse<ComponentByUuid> >
createComponentByUuid(
- ExsitedClient client,
- Object componentUuid,
- Object payload, {
- bool? raiseOnError,
- String? responseFormat,
POST /api/{api_version}/component/{component_uuid}
Answered 201 under the component's name.
Implementation
Future<ApiResponse<ComponentByUuid>> createComponentByUuid(
ExsitedClient client,
Object componentUuid,
Object payload, {
bool? raiseOnError,
String? responseFormat,
}) =>
client.sendPostRequest(CustomComponentsUrls.componentByUuid,
pathParams: {'component_uuid': componentUuid},
jsonBody: payload,
raiseOnError: raiseOnError,
responseFormat: responseFormat,
dtoDecoder: ComponentByUuid.fromMap);