You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
68 lines
3.6 KiB
Dart
68 lines
3.6 KiB
Dart
class URLs {
|
|
URLs._();
|
|
static const host2 = "http://194.163.164.213/atoms/api";
|
|
static const host1 = "https://atomsuat.hmg.com";
|
|
|
|
// API Routes
|
|
static const login = "/mobile/MobileAuth/Login"; // post
|
|
static const register = "/handle/create/user"; // post
|
|
static const updateProfile = "/update/user/profile"; // post
|
|
static const getHospitals = "/mobile/Customer/GetCustomers"; // get
|
|
static const getDepartments = "/mobile/Department/search"; // get
|
|
static const getEquipment = "/mobile/Asset/GetAssets"; // get ?client=208051
|
|
static const getCallRequests = "/mobile/CallRequest/GetCallRequests"; // get
|
|
|
|
static const getPreventiveMaintenanceVisits = "/return/user/calibrations"; // get
|
|
static const updatePreventiveMaintenanceVisits = "/update/user/calibrations"; // get
|
|
|
|
static const getRegularVisits = "/mobile/Visit/GetVisits"; // get
|
|
static const updateRegularVisits = "/mobile/Visit/UpdateVisits"; // 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 = "/mobile/Lookups/GetLookup?lookupEnum=606"; // get
|
|
static const getGasCylinderSize = "/mobile/Lookups/GetLookup?lookupEnum=608"; // get
|
|
static const getGasStatus = "/mobile/Lookups/GetLookup?lookupEnum=609"; // get
|
|
static const requestGasRefill = "/mobile/GazRefill/AddGazRefill"; // get
|
|
static const updateGasRefill = "/mobile/GazRefill/UpdateGazRefill"; // get
|
|
static const getGasRefill = "/mobile/GazRefill/GetGazRefills"; // get
|
|
static const generateGazRefillNo = "/mobile/GazRefill/GenerateGazRefillNumber";
|
|
|
|
//device transfer
|
|
static const requestDeviceTransfer = "/mobile/AssetTransfer/AddAssetTransfer"; // get
|
|
static const updateDeviceTransfer = "/mobile/AssetTransfer/UpdateAssetTransfer"; // get
|
|
static const getDeviceTransfer = "/mobile/AssetTransfer/GetAssetTransfers"; // 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
|
|
}
|