Forum Discussion

LimbertT's avatar
8 months ago

Exposing additional Entities to Rest API

Hello,

Currently in a project to import new/ update existing employee data into MYOB advanced from an external system. Part of that includes specifiying Department and Branch IDs, however by default these entities do not appear to be exposed to the REST api, and i'd like to be able to allow our users to select these properties live via the API.

 

Being new to the MYO Advanced ecosystem I could be missing a trick,  but is there a way of exposing additional entities to the REST API.

 

Regards

  • Will_H's avatar
    Will_H
    MYOB Moderator

    Hi LimbertT 

     

    My usual method would be to set up a Generic Inquiry displaying the information required, and then use the API to access that Generic Inquiry.

     

    Acumatica have some pretty detailed instructions about this area here:
    https://www.acumatica.com/blog/contract-based-apis-in-generic-inquiries/

    Note, it is pretty technical, so if you get stuck I'd recommend talking to your implementation consultant, they'll know the exact configuration of your site/company, and if there are any extra considerations that need to be gone through.