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

GetBatches() public method

Get call broadcast batches. Retrieve batches associated with call campaign
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 GetBatches ( GetByIdRequest request ) : Page
request GetByIdRequest get request
return Page
        public Page<Batch> GetBatches(GetByIdRequest request)
        {
            String path = CB_ITEM_BATCHES_PATH.ReplaceFirst(ClientConstants.PLACEHOLDER, request.Id.ToString());
            return Client.Get<Page<Batch>>(path, request);
        }