Article Details
Id:19055
Product:finPOWER Connect
Type:NEW
Version:3.04.04
Opened:01/02/2022
Closed:07/03/2022
Released:09/06/2022
Job: J028227

MYOB API; add Get Customer(s) and Supplier(s) API interfaces

The MYOB API now supports Get Customer(s) and Supplier(s) API interfaces.

The following Requests are supported:

  • Get Customer
  • Get Customers
  • Get Supplier
  • Get Suppliers

Sample code is shown below to get a list of Customers.

  Dim Request_GetCustomers As ISAccountingInterfaceRequest_Myob_GetCustomers
  Dim Response_GetCustomers As ISAccountingInterfaceResponse_Myob_GetCustomers

  Request_GetCustomers = finBL.AccountingInterface.Service_Myob.CreateRequest_GetCustomers

  If finBL.AccountingInterface.Service_Myob.ExecuteGetCustomers(Request_GetCustomers, Response_GetCustomers) Then

  Else
    Main = False
  End If

Note, These APIs may be used in the future, however are available now for use by scripts.