C# Класс CallfireApiClient.Api.CallsTexts.CallsApi

Показать файл Открыть проект

Открытые методы

Метод Описание
Find ( FindCallsRequest request ) : Page

Finds all calls sent or received by the user, filtered by different properties, broadcast id, toNumber, fromNumber, label, state, etc.Use "campaignId=0" parameter to query for all calls sent through the POST /calls API {@link CallsApi#send(List)}.

Get ( long id, string fields = null ) : Call

Get call by id

GetCallRecording ( long id, string fields = null ) : CallRecording

Returns call recording by id

GetCallRecordingByName ( long callId, string recordingName, string fields = null ) : CallRecording

Returns call recording by name

GetCallRecordingMp3 ( long id ) : Stream

Download call mp3 recording by id

GetCallRecordingMp3ByName ( long callId, string recordingName ) : Stream

Download call mp3 recording by name

GetCallRecordings ( long id, string fields = null ) : IList

Returns call recordings for a call

Send ( IList recipients, long campaignId = null, string fields = null ) : IList

Send calls to recipients through default campaign. Use the API to quickly send individual calls. A verified Caller ID and sufficient credits are required to make a call.

Send ( SendCallsRequest request ) : IList

Send calls to recipients through default campaign. Use the API to quickly send individual calls. A verified Caller ID and sufficient credits are required to make a call.

Приватные методы

Метод Описание
CallsApi ( RestApiClient client ) : System.Collections.Generic

Описание методов

Find() публичный Метод

Finds all calls sent or received by the user, filtered by different properties, broadcast id, toNumber, fromNumber, label, state, etc.Use "campaignId=0" parameter to query for all calls sent through the POST /calls API {@link CallsApi#send(List)}.
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 Find ( FindCallsRequest request ) : Page
request CallfireApiClient.Api.CallsTexts.Model.Request.FindCallsRequest request object with different fields to filter
Результат Page

Get() публичный Метод

Get call 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 ) : Call
id long id of call
fields string limit fields returned. Example fields=id,name
Результат Call

GetCallRecording() публичный Метод

Returns call recording 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 GetCallRecording ( long id, string fields = null ) : CallRecording
id long id of call recording
fields string limit fields returned. Example fields=id,name
Результат CallfireApiClient.Api.Campaigns.Model.CallRecording

GetCallRecordingByName() публичный Метод

Returns call recording by name
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 GetCallRecordingByName ( long callId, string recordingName, string fields = null ) : CallRecording
callId long id of call
recordingName string name of call recording
fields string limit fields returned. Example fields=id,name
Результат CallfireApiClient.Api.Campaigns.Model.CallRecording

GetCallRecordingMp3() публичный Метод

Download call mp3 recording 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 GetCallRecordingMp3 ( long id ) : Stream
id long id of call
Результат System.IO.Stream

GetCallRecordingMp3ByName() публичный Метод

Download call mp3 recording by name
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 GetCallRecordingMp3ByName ( long callId, string recordingName ) : Stream
callId long id of call
recordingName string name of call recording
Результат System.IO.Stream

GetCallRecordings() публичный Метод

Returns call recordings for a call
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 GetCallRecordings ( long id, string fields = null ) : IList
id long id of call
fields string Limit text fields returned. Example fields=limit,offset,items(id,message)
Результат IList

Send() публичный Метод

Send calls to recipients through default campaign. Use the API to quickly send individual calls. A verified Caller ID and sufficient credits are required to make a call.
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 Send ( IList recipients, long campaignId = null, string fields = null ) : IList
recipients IList call recipients
campaignId long specify a campaignId to send calls quickly on a previously created campaign
fields string limit fields returned. Example fields=id,name
Результат IList

Send() публичный Метод

Send calls to recipients through default campaign. Use the API to quickly send individual calls. A verified Caller ID and sufficient credits are required to make a call.
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 Send ( SendCallsRequest request ) : IList
request CallfireApiClient.Api.Common.Model.Request.SendCallsRequest request object with different fields to filter
Результат IList