CallfireApiClient.Api.Campaigns.CallBroadcastsApi.Get C# (CSharp) Method

Get() public method

Get call broadcast by id
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 Get ( long id, string fields = null ) : CallBroadcast
id long id of broadcast
fields string limit fields returned. Example fields=id,message
return CallfireApiClient.Api.Campaigns.Model.CallBroadcast
        public CallBroadcast Get(long id, string fields = null)
        {
            var queryParams = ClientUtils.BuildQueryParams("fields", fields);
            string path = CB_ITEM_PATH.ReplaceFirst(ClientConstants.PLACEHOLDER, id.ToString());
            return Client.Get<CallBroadcast>(path, queryParams);
        }