|
|
|
|
class URLs{
|
|
|
|
|
URLs._();
|
|
|
|
|
static const host2 = "http://194.163.164.213/atoms/api";
|
|
|
|
|
static const host1 = "http://194.163.164.213/atoms/api";
|
|
|
|
|
|
|
|
|
|
// API Routes
|
|
|
|
|
static const login = "/handle/user/login"; // post
|
|
|
|
|
static const register = "/handle/create/user"; // post
|
|
|
|
|
static const updateProfile = "/update/user/profile"; // post
|
|
|
|
|
static const getHospitals = "/handle/return/all/clients"; // get
|
|
|
|
|
static const getDepartments = "/handle/return/all/departments"; // get
|
|
|
|
|
static const getEquipment = "/handle/return/all/client/equipments"; // get ?client=208051
|
|
|
|
|
static const getServiceRequests = "/return/user/calls"; // get
|
|
|
|
|
|
|
|
|
|
static const getPreventiveMaintenanceVisits = "/return/user/calibrations"; // get
|
|
|
|
|
static const updatePreventiveMaintenanceVisits = "/update/user/calibrations"; // get
|
|
|
|
|
|
|
|
|
|
static const getRegularVisits = "/return/user/ppm"; // get
|
|
|
|
|
static const updateRegularVisits = "/update/user/ppm"; // get
|
|
|
|
|
|
|
|
|
|
static const getSingleServiceRequest = "/return/call/information"; // get
|
|
|
|
|
static const getNotifications = "/return/user/notification"; // get
|
|
|
|
|
static const getRecentNotifications = "/return/user/recent/notification"; // get
|
|
|
|
|
static const createRequest = "/handle/create/request"; // get
|
|
|
|
|
static const createReport = "/handle/create/report/issue"; // get
|
|
|
|
|
static const updateRequestDate = "/handle/update/request"; // get
|
|
|
|
|
|
|
|
|
|
// service report
|
|
|
|
|
static const createServiceReport = "/handle/create/service/report"; // get
|
|
|
|
|
static const updateServiceReport = "/handle/update/service/report"; // get
|
|
|
|
|
static const getServiceReport = "/handle/view/service/report"; // get
|
|
|
|
|
static const createDuplicatedReport = "/handle/duplicate/request"; // get
|
|
|
|
|
|
|
|
|
|
static const getServiceReportReasons = "/return/service/report/reasons"; // get
|
|
|
|
|
static const getServiceReportTypes = "/return/service/report/type"; // get
|
|
|
|
|
static const getServiceReportStatus = "/return/service/report/status"; // get
|
|
|
|
|
static const getServiceReportLastCalls = "/return/call/last/situation"; // get
|
|
|
|
|
static const getServiceTypes = "/return/service/type"; // get
|
|
|
|
|
static const getPartNumber = "/handle/return/all/parts"; // get
|
|
|
|
|
static const getServiceReportPriority = "/return/call/priority/list"; // get
|
|
|
|
|
static const getServiceReportDefectTypes = "/return/call/defect/type/list"; // get
|
|
|
|
|
|
|
|
|
|
//gas refill
|
|
|
|
|
static const getGasTypes = "/return/gas/refill/types"; // get
|
|
|
|
|
static const getGasCylinderSize = "/return/gas/refill/size/cylinder"; // get
|
|
|
|
|
static const getGasStatus = "/return/gas/refill/status"; // get
|
|
|
|
|
static const requestGasRefill = "/create/gas/refill"; // get
|
|
|
|
|
static const updateGasRefill = "/update/gas/refill/"; // get
|
|
|
|
|
static const getGasRefill = "/search/gas/refill"; // get
|
|
|
|
|
|
|
|
|
|
//device transfer
|
|
|
|
|
static const requestDeviceTransfer = "/create/transfer/asset"; // get
|
|
|
|
|
static const updateDeviceTransfer = "/update/transfer/asset"; // get
|
|
|
|
|
static const getDeviceTransfer = "/search/transfer/asset"; // get
|
|
|
|
|
|
|
|
|
|
// employee
|
|
|
|
|
static const getEmployees = "/return/assigned/employee"; // get
|
|
|
|
|
|
|
|
|
|
// pentry
|
|
|
|
|
static const getPentry = "/return/pentry/details"; // get
|
|
|
|
|
static const updatePentry = "/update/pentry/details"; // get
|
|
|
|
|
static const getPentryTaskStatus = "/return/pentry/task/status"; // get
|
|
|
|
|
static const getPentryVisitStatus = "/return/pentry/visit/status/list"; // get
|
|
|
|
|
static const getPentryStatus = "/return/pentry/status/list"; // get
|
|
|
|
|
// contacts
|
|
|
|
|
static const getPentryContacts = "/handle/return/all/contacts"; // get
|
|
|
|
|
|
|
|
|
|
}
|