-
Notifications
You must be signed in to change notification settings - Fork 3
Home
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
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);
}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.
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()