Exporting Customers with Web Services
Web service exports enable a tight integration with other applications by enabling data to be sent directly from one system to another. Customers can be exported individually, if desired, providing real-time integration.
Should you need to integrate large numbers of customers at scheduled times, take a look at the data file example of exporting.
Data is exported via templates which specify the fields exposed for exporting, as well as the data file type, the field and record separators, and the record types used in the destination file. Templates are also used to define fields that can be used as criteria to filter exported data.
Web Service Export Example
The template used to manage the export of basic customer data, addresses, contacts, and bank information is “BPC” (Business Partner - Customer).
-
You need a SOAP connection pool, named IMPORT-EXPORT, in Enterprise Management to use the provided Postman collection. If you need to create one, refer to SOAP Connection Pools.
-
You also need OAuth2 authentication configured for Enterprise Management. If it is not, follow the instructions in the SOAP Web Services Guide.
Download the Postman collection for customer web services
- After importing the collection into your Postman, follow these steps to export customers:
- Select the Export Customers request.
- Update the URL to point to your Enterprise Management solution.
- Under the Authorization tab, click Get New Access Token.
- Complete the GET NEW ACCESS TOKEN dialog box using the values from your OAuth2 service, then click Request Token.
- Refer to Using Google OAuth2 to Make a Web Service Call, for help.
- Click Use Token in the MANAGE ACCESS TOKENS dialog box.
- Click Send.
Note: If you wish to export the same records more than once, you will need to set the I_CHRONO property to “NO”. For many tables, Enterprise Management tracks which records have been exported, and this option can prevent re-exporting records that have not changed.