Skip to content
Michael Randrup edited this page Feb 8, 2016 · 7 revisions

C# based SDK for the Bronto SOAP API, created and maintained independently from the Bronto Professional Services team. Questions for the API may be asked in the official Dev Q&A Forum (http://dev.bronto.com/questions) or see the official documentation at http://dev.bronto.com/api/v4

API Services

Login API

Contacts API

Asynchronous usage

Every method also has an async twin that will return a Task. If you want to write an asynchronous method that creates the LoginSession object, you can use the pattern of Task and await. Example:

public async Task<LoginSession> DoLogin(string apiToken)
{
    return await Bronto.API.LoginSession.CreateAsync(apiToken);
}

Results of CRUD operations in the API

BrontoSharp wraps the writeResult object of the Bronto SOAP Service into a Bronto.API.BrontoResult object. This object contains information about the call you just made. It also contains information about errors.

Paging and retrieval limits

The Bronto SOAP Service can only return 5000 records per call. BrontoSharp will handle all paging logic, so all Read() calls in the API will automatically do paging and return the complete result. If you have 9.000 contacts, making a Read call in the Bronto Contacts API for example, will return all 9000 contacts: List<BrontoService.contactObject> contacts = contactApi.Read()

Clone this wiki locally