View Source PlacetelAPI.Api.CallDetailRecords (placetel_api v2.0.1)
API calls for all endpoints tagged CallDetailRecords
.
Link to this section Summary
Functions
Get call detail records Provides a list of call detail records
Link to this section Functions
@spec get_call_detail_records(Tesla.Env.client(), Date.t(), keyword()) :: {:ok, [PlacetelAPI.Model.CallDetailRecord.t()]} | {:error, Tesla.Env.t()}
Get call detail records Provides a list of call detail records
parameters
Parameters
connection
(PlacetelAPI.Connection): Connection to serverdate
(Date.t): YYYY-MM-DDopts
(keyword): Optional parameters:page
(integer()): Page of results to fetch.:per_page
(integer()): Number of results to return per page.
returns
Returns
{:ok, [%CallDetailRecord{}, ...]}
on success{:error, Tesla.Env.t}
on failure