Joomla Custom Module for tracking shipment

Job ID: 30800193

Budget: €30 – €250 EUR

I am interested in create a joomla custom module that will have a textbox where the users will input a serial number and while posting the form through a webservice will return in the screen of the user a table with 5 columns and a few rows. This module will be used in a website of a transport company in order their customers to track delivery information of their packages
Shipment tracking Joomla Module
The module we need is input box that the customer will type the shipment number and as a result will get a table with the shipment route.


Here is an example of the shipment route. Basically it’s a table with 5 columns (status, location, date, time, comment)
Don’t worry about the appearance the CSS will be handled by our team.


The results of the routing will be received though a web service. This web service is ready to use by the ERP system of the transport company. Here follows an example of the calls:

First Call – Authentication
In case we know all the parameters, we do not need to call the authenticate web service
Request (in case we know all the parameters)
{
"service": "login",
"username": "param1",
"password":"param2",
"appId": "param3",
"COMPANY": "param4",
"BRANCH": "param5",
"MODULE": "0",
"REFID": "param6",
---- optional ---
"LOGINDATE": "2017-12-31 13:59:59",
"TIMEZONEOFFSET": -120
}
Response
{
"success": true,
"clientID": "Wj8Te8EqWghDM......... .....wYGtzlyc1At%2bPrG8t"
}
From this first call you will get a ClientID which will be used in the second call
Second Call – Results
SqlData
Execute the SQL with code 'SqlName' from 'SQL Scripts' and get the result data.
Params in the SQL Script are declared as follows: ... AND CODE like '{param1}' AND ...
{
"service": "SqlData",
"clientID": "Wj8T3tvs... ...tlrT8",
"appId": "param7",
"SqlName": "param8",
"param1" : "This value will be the input box value of the shipment number"
}
Response
{
"success": true,
"totalcount": 9,
"rows": [
{
"status": "Send",
"location": "Athens",
"date": "20210909",
"time": "1800",
"comment": "any text"
},
{
"status": "Send",
"location": "Athens",
"date": "20210909",
"time": "1800",
"comment": "any text"
}
{

Param1, Param2, Param3, Param4, Param5, Param6, Param7, Param8 will be given in the joomla module from the admin area and will be static and unique for every website.
Related categories: PHP JavaScript Joomla MySQL JSON