Web Services: Migration to .Net Core
In MYOB Acumatica 2024.1, the changes described in this topic have been made to support .Net Core in the web services.
Removal of SOAP Support
Contract Versions 2 and 3, which supported the SOAP API, have been removed. The removal of these contract versions affects endpoints as follows:
- System endpoints with Contract Versions 2 and 3, which are Default/17.200.001 and Default/18.200.001, respectively, do not work.
- Custom endpoints with Contract Version 2 and 3 are no longer supported.
Removal of Obsolete Toolbar Commands
The following commands have been removed from the More menu of the Web Service Endpoints (SM207060) form:
- WSDL: Because the system does not provide SOAP endpoints anymore, WSDL descriptions of the endpoints are not used.
- View Maintenance Service: The SOAP maintenance service is no longer provided.
Detailed Error Information
If an error occurs, the REST API always returns a detailed error description in the response body, regardless of the web.config settings. The detailed error description includes the exception message, exception type, and stack trace.
Unsupported XML Payloads
For the authentication endpoint and the root endpoint, which can be used to obtain the MYOB Acumatica version and the list of contract-based endpoints available in this version, XML payloads are no longer supported. That is, a developer cannot use the following values as the Accept and Content-Type headers in the requests to the REST API: application/xml and text/xml.