End point job list

This commit is contained in:
DESKTOP-GBA0BK8\Admin
2023-04-26 13:41:37 -04:00
parent 9997a6750b
commit 362610e0bb
5 changed files with 13 additions and 0 deletions
+4
View File
@@ -55,6 +55,7 @@ $endpoints = array(
'sendreferral' => array('POST'),
'refferhx' => array('POST'),
'accounttypes' => array('POST'),
'jobmanagerlist' => array('POST'),
);
$call_backend = true; // sometimes we need to overwite the call to the extenstion API
@@ -117,6 +118,9 @@ if ($_SERVER["REQUEST_METHOD"] == "GET") {
}
$in["loc"] = $_SERVER["REMOTE_ADDR"];
switch ($endpoint) {
case 'jobmanagerlist':
$in["action"] = WRENCHBOARD_JOB_LISTJOBS;
break;
case 'homebanners':
$in["action"] = WRENCHBOARD_ACCOUNT_HOMEBANNERS ;
break;