In our previous few blogs, you must have read about the Importance of web services in Sage 300 integration & deployment flow. (Refer below link)
In this blog, we will discuss how you can use POSTMAN to test our web API’s & detail process to test it.
Before going forward, we assume that you have already configured web API on IIS. Once API configured successfully, browse that API & you will get XML structure of that respective API. (Refer to screenshot)
Now you able to see a list of .asmx files, as per requirement user need to click on the same files and copy the same XML structure from the Open window.
Once you get above XML structure, you need to pass data into that same & can be used POSTMAN to test your data. Follow the process to for the same.
To download postman application click on below link:-
Send XML requests with the raw data type, then set the Content-Type to text/XML.
- After creating a request, use the drop-down to change the request type to POST.
- Copy the URL from the browser and Paste into URL Option (we have highlighted URL generation process in IMG 1.2 in Red Color)
- Open the Body tab and check the data type for raw.
- Open the Content-Type selection box that appears to the right and select either XML (application/xml) or XML (text/xml)
- Enter your raw XML data into the input field below (which is highlighted in red color)
- Click Send to submit your XML Request to the specified server.
Once you have done with this, click on the send button and entries will get created automatically in Sage 300 through Postman. If you get an error in data, then into the response section you will see error occurred.
The purpose of using POSTMAN is, even though you don’t have 3rd party application ready at your end, you can test APIs with the help of this.
Greytrix a globally recognized Premier Sage Gold Development Partner is a one stop solution provider for Sage ERP and Sage CRM needs. Being recognized and rewarded for multi-man years of experience, we bring complete end-to-end assistance for your technical consultations, product customizations, data migration, system integrations, third party add-on development and implementation expertise.
Greytrix offers unique GUMU™ integrated solutions of Sage 300 with Sage CRM, Salesforce.com and Magento eCommerce along with Sage 300 Migration from Sage 50 US, Sage 50 CA, Sage PRO, QuickBooks, Sage Business Vision and Sage Business Works. We also offer best-in-class Sage 300 customization and development services and integration service for applications such as POS | WMS | Payroll | Shipping System | Business Intelligence | eCommerce for Sage 300 ERP and in Sage 300c development services we offer services such as upgrades of older codes and screens to new web screens, newer integrations using sdata and web services to Sage business partners, end users and Sage PSG worldwide. Greytrix offers over 20+ Sage 300 productivity enhancing utilities that we can help you with such as GreyMatrix, Document Attachment, Document Numbering, Auto-Bank Reconciliation, Purchase Approval System, Three way PO matching, Bill of Lading and VAT for Middle East.
For more details on Sage 300 and 300c Services, please contact us at email@example.com. We will be glad to assist you.