updateSettingsApprovalProfile function
Future<ApiResponse<Object?> >
updateSettingsApprovalProfile(
- ExsitedClient client,
- Object approvalProfileId,
- Object payload, {
- bool? raiseOnError,
- String? responseFormat,
PATCH /api/{api_version}/settings/approval_profiles/{approval_profile_id}
Update an approval profile's fields or its status.
No typed view: no 2xx response was recorded for it. Read response.map.
Implementation
Future<ApiResponse<Object?>> updateSettingsApprovalProfile(
ExsitedClient client,
Object approvalProfileId,
Object payload, {
bool? raiseOnError,
String? responseFormat,
}) =>
client.sendPatchRequest(ApprovalProfilesUrls.settingsApprovalProfile,
pathParams: {'approval_profile_id': approvalProfileId},
jsonBody: payload,
raiseOnError: raiseOnError,
responseFormat: responseFormat);