Forum Discussion
Its not the getting the companyFile record thats stopped working it is getting the authentication in the first place, only for the file that has my baseline test data in, and I had that working months ago. I wonder if the fact that I restore from backup regularly to start a new test has an influence on it, though I have now made sure it is a recent backup.
it is hard to provide code because in my app it has lots of wrapper code that does error checking and logging but essentially you need to do much what you do to get detailed data but it is just
GET /accountright/? without further details where ? represents the businessId i.e. the guid returned by authentication and otherwise using the same credentials as for any other request such as the token and your api key.
If you have the original SDK, in Services/Version2/CompanyFileService you should find CompanyFileWithResources Get(Uri uri, ICompanyFileCredentials credentials) which may come in handy.
Looking for something else?
Search the Community Forum for answers or find your topic and get the conversation started!
Learn, solve, grow
Level up your skills and find answers across all MYOB products