This release relates to PR #15
Opt Out resource functionality
This release allows the use of the new Opt Outs resource.
Usage:
- Create an instance of the Opt Out service
var credentials new EsendexCredentials("Username", "Password")
var optOutsService = new OptOutsService(credentials);
- Get a single Opt Out
var optOutCollection = optOutsService.GetById("b6a39581-9cfc-40ea-9b40-9320444cf49d");
- Get paged Opt Outs
var optOutCollection = optOutsService.GetAll(1, 15);
- Create a new Opt Out
optOutsService.Add("EX001234", "447000123456");
The Client also supports various filtering functions which allow more specific resolution of Opt Outs.