updateLabourProfile function
Future<ApiResponse<Object?> >
updateLabourProfile(
- ExsitedClient client,
- Object labourProfileId,
- Object payload, {
- bool? raiseOnError,
- String? responseFormat,
PATCH /api/{api_version}/labour_profiles/{labour_profile_id}
No typed view. Read response.map.
Implementation
Future<ApiResponse<Object?>> updateLabourProfile(
ExsitedClient client,
Object labourProfileId,
Object payload, {
bool? raiseOnError,
String? responseFormat,
}) =>
client.sendPatchRequest(LaboursUrls.labourProfile,
pathParams: {'labour_profile_id': labourProfileId},
jsonBody: payload,
raiseOnError: raiseOnError,
responseFormat: responseFormat);