C# Класс CallfireApiClient.Api.Campaigns.BatchesApi

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

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

Метод Описание
Get ( long id, string fields = null ) : Batch

Returns a single Batch instance for a given batch id. This API is useful for determining the state of a validating batch.

Update ( Batch batch ) : void

Update batch

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

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

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

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

Returns a single Batch instance for a given batch id. This API is useful for determining the state of a validating batch.
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 ) : Batch
id long id of batch
fields string limit fields returned. Example fields=id,name
Результат Batch

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

Update batch
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 Update ( Batch batch ) : void
batch Batch batch to update
Результат void