updateLabourProfile function

Future<ApiResponse<Object?>> updateLabourProfile(
  1. ExsitedClient client,
  2. Object labourProfileId,
  3. Object payload, {
  4. bool? raiseOnError,
  5. String? responseFormat,
})

PATCH /api/{api_version}/labour_profiles/{labour_profile_id}

No typed view: no 2xx response was recorded for it. 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);