Skip to main content

A .NET wrapper library for interactions with the WFD Accounts Payable API. The DLL contains methods for easily interacting with all endpoints of the API.

Usage

All API interactions must first be initialized with a new API context, this is created as follows:

\${NL}var apiContext = new ApiContext(Settings.Default.EndpointUrl, (ApiVersion)Settings.Default.ApiVersion); \${NL} The constructor validates that the passed in settings are correct and will return the API version being used. 

Once an API Context has been initialized there is a separate object for each endpoint of the API.

  • Batches
  • BusinessUnits
  • CostCentres
  • Departments
  • Invoices
  • NominalCodes
  • ProductGroups
  • Products
  • Suppliers
  • TaxCodes Each of these objects can be initialized using an ApiContext and the methods used to interact with the API.