getSettingsApprovalProfile function
Future<ApiResponse<SettingsApprovalProfile> >
getSettingsApprovalProfile(
- ExsitedClient client,
- Object approvalProfileId, {
- bool? raiseOnError,
- String? responseFormat,
GET /api/{api_version}/settings/approval_profiles/{approval_profile_id}
Read one approval profile by its ap_ id.
Implementation
Future<ApiResponse<SettingsApprovalProfile>> getSettingsApprovalProfile(
ExsitedClient client,
Object approvalProfileId, {
bool? raiseOnError,
String? responseFormat,
}) =>
client.sendGetRequest(ApprovalProfilesUrls.settingsApprovalProfile,
pathParams: {'approval_profile_id': approvalProfileId},
raiseOnError: raiseOnError,
responseFormat: responseFormat,
dtoDecoder: SettingsApprovalProfile.fromMap);