getSettingsCommunicationProfile function

Future<ApiResponse<SettingsCommunicationProfile>> getSettingsCommunicationProfile(
  1. ExsitedClient client,
  2. Object communicationProfileId, {
  3. bool? raiseOnError,
  4. String? responseFormat,
})

GET /api/{api_version}/settings/communication_profiles/{communication_profile_id}

Read one communication profile by its cmp_ id.

Implementation

Future<ApiResponse<SettingsCommunicationProfile>>
    getSettingsCommunicationProfile(
  ExsitedClient client,
  Object communicationProfileId, {
  bool? raiseOnError,
  String? responseFormat,
}) =>
        client.sendGetRequest(
            CommunicationProfilesUrls.settingsCommunicationProfile,
            pathParams: {'communication_profile_id': communicationProfileId},
            raiseOnError: raiseOnError,
            responseFormat: responseFormat,
            dtoDecoder: SettingsCommunicationProfile.fromMap);