The Chrome plugin auto populates the customer form on dhlmultishipping (http://www.dhlmultishipping.se/) based upon a JSON feed provided by your REST-endpoint.
- Download and unzip the complete source code
- Visit chrome://extensions in Chrome
- Ensure that the Developer mode checkbox in the top right-hand corner is checked
- Click Load unpacked extension… to pop up a file-selection dialog
- Navigate to the directory in which your extension files live, and select it
The extension is now installed. Click Options to enter the URL to your enpoint
After a successful installation - a yellow icon with a red plus will show up next to the URL field.
- While on the DHL Multishippings create customer view - click the extension icon.
- The extension will now load all customers available and populate a select
- Selecting one of the customers will populate the extensions input fields allowing you to alter the information
- Click Fill out the DHL form to populate the DHL form. The plugin recognize and support both the /transnet/register.do?method=view and /transnet/organisation.jsp?organisation=new pages.
On the specified endpoint a JSON array of customers must be available through GET in the following structure:
[
{
"id": "1",
"name": "Jesper Svensson",
"address": "Street address",
"zipcode": "12345",
"city": "Växjö",
"email": "[email protected]",
"phone": "1029384746",
"shipping": "DHL Paket"
},
{
"id": "2",
"name": "Bengt Bengtsson",
"address": "Bengtsvägen 790",
"zipcode": "12345",
"city": "Knäckebrödhult",
"email": "",
"phone": "012345678",
"shipping": "DHL Servicepoint"
}
]
- No support for specific API formats or protocols