RE: API Integration – GetSalesOrders and Details
Have you see this sample from SuiteAnswers?
you could also consider REST Web Services:
Please be aware that the latter is still in Beta though.
Once you’ve made your decision, I’d be happy to assist with any specific questions.