CallfireApiClient.Api.Campaigns.CampaignSoundsApi.RecordViaPhoneAndGetSoundDetails C# (CSharp) Method

RecordViaPhoneAndGetSoundDetails() public method

Use this API to create a sound via phone call. Supply the required phone number in the CallCreateSound object inside of the request, and the user will receive a call shortly after with instructions on how to record a sound over the phone.
in case HTTP response code is 400 - Bad request, the request was formatted improperly. in case HTTP response code is 401 - Unauthorized, API Key missing or invalid. in case HTTP response code is 403 - Forbidden, insufficient permissions. in case HTTP response code is 404 - NOT FOUND, the resource requested does not exist. in case HTTP response code is 500 - Internal Server Error. in case HTTP response code is something different from codes listed above. in case error has occurred in client.
public RecordViaPhoneAndGetSoundDetails ( CallCreateSound callCreateSound, string fields ) : CampaignSound
callCreateSound CallCreateSound request object to create campaign sound
fields string Limit text fields returned. Example fields=limit,offset,items(id,message)
return CallfireApiClient.Api.Campaigns.Model.CampaignSound
        public CampaignSound RecordViaPhoneAndGetSoundDetails(CallCreateSound callCreateSound, string fields)
        {
            var queryParams = ClientUtils.BuildQueryParams("fields", fields);
            return Client.Post<CampaignSound>(SOUNDS_CALLS_PATH, callCreateSound, queryParams);
        }