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
@@ -76,12 +76,16 @@ class WrenchApi extends BaseController
'sendreferral' => ['POST'],
'refferhx' => ['POST'],
'accounttypes' => ['POST'],
'jobmanagerlist' => ['POST'],
];
return $endpoints;
}
private function prepareEndPointData($endpoint, $in, &$call_backend=true,&$local_out=[]){
switch ($endpoint) {
case 'jobmanagerlist':
$in["action"] = WRENCHBOARD_JOB_LISTJOBS;
break;
case 'homebanners':
$in["action"] = WRENCHBOARD_ACCOUNT_HOMEBANNERS ;
break;