If you are completing a GET request to the base endpoint https://api.myob.com/accountright/ and are not receiving the full endpoint list or you are pulling a supported endpoint and get the error 404 not found we need to sure the headers you are passing.
In order to see v1 endpoints and v2 endpoints we need to ensure we are passing the header x-myobapi-version: v2. By default v1 endpoints will pull through on a GET automatically however v2 will not pull through without the header.
v1 endpoints
Account/",
AccountingProperties/",
AccountRegister/",
Category/",
Contact/",
Customer/",
Supplier/",
Employee/",
GeneralJournal/",
JournalTransaction/",
LinkedAccount/",
PersonalCard/",
TaxCode/"
v2 endpoints
Banking/BankAccount/",
ReceiveMoneyTxn/",
Banking/SpendMoneyTxn/",
Banking/Statement/",
Banking/TransferMoneyTxn/",
Company/",
Company/Preferences/",
Company/FormTemplate/",
Company/CustomList/",
Company/PartnerRegister/",
CurrentUser/",
Contact/Customer/",
Contact/Employee/",
Contact/EmployeePayrollDetails",
Contact/EmployeePaymentDetails/",
Contact/EmployeePaymentSummaryReport/",
Contact/EmployeeStandardPay/",
Contact/Personal/",
Contact/Supplier/",
GeneralLedger/Account/",
GeneralLedger/AccountBudget/",
GeneralLedger/AccountingProperties/",
GeneralLedger/AccountRegister/",
GeneralLedger/Category/",
GeneralLedger/CategoryRegister/",
GeneralLedger/Currency/",
GeneralLedger/GeneralJournal/",
GeneralLedger/Job/",
GeneralLedger/JobBudget/",
GeneralLedger/JobRegister/",
GeneralLedger/JournalTransaction/",
GeneralLedger/LinkedAccount/",
GeneralLedger/ProfitLossDistribution/",
GeneralLedger/TaxCode/",
Inventory/Adjustment/",
Inventory/Item/",
Inventory/ItemPriceMatrix/",
Payroll/EmploymentClassification/",
Payroll/PayrollCategory/",
Payroll/PayrollCategory/Wage/",
Payroll/PayrollCategory/Entitlement/",
Payroll/PayrollCategory/Deduction/",
Payroll/PayrollCategory/Expense/",
Payroll/PayrollCategory/Superannuation/",
Payroll/PayrollCategory/Tax/",
Payroll/PayrollCategory/TaxTable/",
Payroll/SuperannuationFund/",
Payroll/Timesheet/",
Purchase/Bill/",
Purchase/Bill/Item/",
Purchase/Bill/Miscellaneous/",
Purchase/Bill/Professional/",
Purchase/Bill/Service/",
Purchase/DebitRefund/",
Purchase/DebitSettlement/",
Purchase/Order/",
Purchase/Order/Item",
Purchase/Order/Miscellaneous",
Purchase/Order/Professional",
Purchase/Order/Service",
Purchase/SupplierPayment/",
Purchase/SupplierPayment/RecordWithDiscountsAndFees",
Purchase/SupplierPayment/CalculateDiscounts",
Report/Payroll/EmployeePayrollAdvice/",
Report/GST/NZGSTReport/",
Report/TaxCodeSummary",
Report/BalanceSheetSummary",
Report/ProfitAndLossSummary",
Report/PayrollCategorySummary",
Report/TransactionCodingSummary",
Sale/CreditRefund/",
Sale/CreditSettlement/",
Sale/CustomerPayment/",
Sale/CustomerPayment/CalculateDiscountsFees",
Sale/CustomerPayment/RecordWithDiscountsAndFees",
Sale/Invoice/",
Sale/Invoice/Item/",
Sale/Invoice/Miscellaneous/",
Sale/Invoice/Professional/",
Sale/Invoice/Service/",
Sale/Invoice/TimeBilling/",
Sale/Quote/",
Sale/Quote/Item/",
Sale/Quote/Miscellaneous/",
Sale/Quote/Professional/",
Sale/Quote/Service/",
Sale/Quote/TimeBilling/",
Sale/Order/",
Sale/Order/Item/",
Sale/Order/Miscellaneous/",
Sale/Order/Professional/",
Sale/Order/Service/",
Sale/Order/TimeBilling/",
Security/Role/",
Security/User/",
TimeBilling/Activity/",
TimeBilling/ActivitySlip/",
BankReconciliationReport"
If you have any questions, feel free to log a ticket with the Customisation & Integration Team.
Comments
0 comments
Article is closed for comments.