Devices

APIDescription
GET api/Devices/list?Distributor={Distributor}&Producttype={Producttype}&Status={Status}&SerialNo={SerialNo}&IMEI={IMEI}&DevUi={DevUi}

Get All Devices

GET api/Devices/{ID}

Get Device by Id

POST api/Devices/Add

To add device

POST api/Devices/Edit

To update device details

POST api/Devices/Delete/{ID}

Delete Device by Id

GET api/Devices/DeviceBySerialNo/{DeviceBySerialNo}

Get device details By Product Id

ProductFirmware

APIDescription
GET api/ProductFirmware/list?Productname={Productname}&Status={Status}

Get all Product Firmwares

GET api/ProductFirmware/{ID}

Get Product Firmware data by Id

POST api/ProductFirmware/Add

Add and Edit Product Firmare

POST api/ProductFirmware/Edit

Add and Edit Product Firmare

POST api/ProductFirmware/Delete/{ID}

Delete Product Firmware by Id

Account

APIDescription
POST api/Account/Logout

This is for logout

POST api/Account/ChangePassword

Use this to change the password

POST api/Account/ForgotPassword?UserName={UserName}

Use this to reset the password

POST api/Account/Signin

Use this to signin

ConsumerDevice

APIDescription
GET api/ConsumerDevice/list?Distributor={Distributor}&ConsumerName={ConsumerName}&Device={Device}&TankTemplate={TankTemplate}&SerialNo={SerialNo}

Get all consumer Device

GET api/ConsumerDevice/{ID}

Get Consumer Device by Id

POST api/ConsumerDevice/Add?TankContent={TankContent}&CompanyID={CompanyID}

Add TankContent

POST api/ConsumerDevice/Add

To add and update consumer device

POST api/ConsumerDevice/Edit

To edit consumer device

POST api/ConsumerDevice/Delete/{ID}

Delete consumer Device by Id

GET api/ConsumerDevice/GetTankName

To get tank name of logged userid

GET api/ConsumerDevice/BindTankContentGrid?CompanyID={CompanyID}

Get TankContent

DELETE api/ConsumerDevice/DeleteTankContent?Id={Id}

Remove Tank Content

Customer

APIDescription
GET api/Customer/GetUserTanks?Userid={Userid}

Get Logged in user' Tank Details

GET api/Customer/GetTankLastPayloadData?ConsumerDeviceID={ConsumerDeviceID}

Get Tank Last Payload Data of given Customer DeviceID (Tank)

GET api/Customer/GetNotificationLogs?Fromdate={Fromdate}&Todate={Todate}&AlertType={AlertType}&CustomerDeviceID={CustomerDeviceID}

To get Notification Logs of Device

GET api/Customer/GetTankPayloadData?ConsumerDeviceID={ConsumerDeviceID}&StartDate={StartDate}&EndDate={EndDate}

Get Tank Payload Data of given Customer DeviceID (Tank)

GET api/Customer/GetServerAlerts?ConsumerDeviceID={ConsumerDeviceID}

Get Server Alerts of selected customer DeviceID (Tank) if Exists There are Two types of Server Alerts 1) Days to Empty Alarm 2)Level Measurement Alarm

POST api/Customer/UpdateServerAlerts

Insert/Update Server Alert details. User need to call API multiple times for insert/update each server Alerts.

POST api/Customer/UpdateProfile?Phoneno={Phoneno}

Update PhoneNo of user

GET api/Customer/GetConsumers

Get list of Customers

POST api/Customer/UpdateConsumerDevice

Update Customer device (Tank) Details

GET api/Customer/GetUserDetails

Get User Details

POST api/Customer/UpdateUsersDeviceDetail?Devicetype={Devicetype}&Deviceid={Deviceid}

Update device details

POST api/Customer/UpdateFirmwareVersion?FirmwareVersion={FirmwareVersion}

No documentation available.

NotificationLog

APIDescription
GET api/NotificationLog/list?Fromdate={Fromdate}&Todate={Todate}&Type={Type}&AlertType={AlertType}&CustomerDeviceID={CustomerDeviceID}

To get Notification Logs of Device

DeviceCommand

APIDescription
POST api/DeviceCommand/Add

Add Edit DeviceCommands and Insert Command in Queue

POST api/DeviceCommand/Edit

Add Edit DeviceCommands and Insert Command in Queue

GET api/DeviceCommand/GetDeviceCommandDataByConsumerDeviceId?ConsumerDeviceId={ConsumerDeviceId}

Get Device Command Data By Consumer DeviceId

DeviceMeasureData

APIDescription
GET api/DeviceMeasureData/List?Distributor={Distributor}&DeviceId={DeviceId}&MinimumLevel={MinimumLevel}&MaximumLevel={MaximumLevel}&StartDate={StartDate}&EndDate={EndDate}&ConsumerName={ConsumerName}&TankLocation={TankLocation}&SerialNo={SerialNo}

To get list of device measuredata

POST api/DeviceMeasureData/List?Distributor={Distributor}&DeviceId={DeviceId}&MinimumLevel={MinimumLevel}&MaximumLevel={MaximumLevel}&StartDate={StartDate}&EndDate={EndDate}&ConsumerName={ConsumerName}&TankLocation={TankLocation}&SerialNo={SerialNo}

To get list of device measuredata

GET api/DeviceMeasureData/ExcelQueryList?Distributor={Distributor}&DeviceId={DeviceId}&MinimumLevel={MinimumLevel}&MaximumLevel={MaximumLevel}&StartDate={StartDate}&EndDate={EndDate}&ConsumerName={ConsumerName}&TankLocation={TankLocation}&SerialNo={SerialNo}&UserId={UserId}&ClientSecret={ClientSecret}

Get excel Data Qeury

POST api/DeviceMeasureData/ExcelQueryList?Distributor={Distributor}&DeviceId={DeviceId}&MinimumLevel={MinimumLevel}&MaximumLevel={MaximumLevel}&StartDate={StartDate}&EndDate={EndDate}&ConsumerName={ConsumerName}&TankLocation={TankLocation}&SerialNo={SerialNo}&UserId={UserId}&ClientSecret={ClientSecret}

Get excel Data Qeury

GET api/DeviceMeasureData/HistoricalExcelQueryList?ConsumerDeviceId={ConsumerDeviceId}&StartDate={StartDate}&EndDate={EndDate}&SRCLevel={SRCLevel}&SRSSILevel={SRSSILevel}&UserId={UserId}&ClientSecret={ClientSecret}&SerialNumber={SerialNumber}

Get Historical Excel Query List.

POST api/DeviceMeasureData/HistoricalExcelQueryList?ConsumerDeviceId={ConsumerDeviceId}&StartDate={StartDate}&EndDate={EndDate}&SRCLevel={SRCLevel}&SRSSILevel={SRSSILevel}&UserId={UserId}&ClientSecret={ClientSecret}&SerialNumber={SerialNumber}

Get Historical Excel Query List.

GET api/DeviceMeasureData/HistoricalData?ConsumerDeviceId={ConsumerDeviceId}&StartDate={StartDate}&EndDate={EndDate}&SRCLevel={SRCLevel}&SRSSILevel={SRSSILevel}

To get historical readings data

POST api/DeviceMeasureData/HistoricalData?ConsumerDeviceId={ConsumerDeviceId}&StartDate={StartDate}&EndDate={EndDate}&SRCLevel={SRCLevel}&SRSSILevel={SRSSILevel}

To get historical readings data

GET api/DeviceMeasureData/ReceivedMessage?ConsumerDeviceId={ConsumerDeviceId}&StartDate={StartDate}&EndDate={EndDate}

To get received messages

GET api/DeviceMeasureData/ViewTransmittedMessage?ConsumerDeviceId={ConsumerDeviceId}&StartDate={StartDate}&EndDate={EndDate}&Status={Status}

To view transmitted messages

GET api/DeviceMeasureData/ViewLogs?StartDate={StartDate}&EndDate={EndDate}&Company={Company}&Consumer={Consumer}

To view log data

POST api/DeviceMeasureData/DecodePayloaddata?responseformat={responseformat}&data={data}

No documentation available.

ManageDistributor

APIDescription
GET api/companyadmins/List?Status={Status}

Get All Distributors by Status

GET api/companyadmins/{ID}?UserId={UserId}

Get User Details by UserId

POST api/companyadmins/Add?Status={Status}

Add Company Admin Details (Status Value is True or False)

POST api/companyadmins/Edit?Status={Status}

Edit User Details (Status Value is True or False)

TankTemplates

APIDescription
GET api/TankTemplates/list?TankType={TankType}&Status={Status}&Distributor={Distributor}

Get all Tank Template

GET api/TankTemplates/{ID}

Get Tank Template Data by Id

POST api/TankTemplates/Add

Add and Edit Tank Template

POST api/TankTemplates/Edit

Add and Edit Tank Template

POST api/TankTemplates/Delete/{ID}

Delete Tank Template by Id

ManageConsumer

APIDescription
GET api/consumers/List?Distributor={Distributor}&Status={Status}

To get list of consumer by company id

GET api/consumers/{ID}?ConsumerId={ConsumerId}

To get consumer details by id

POST api/consumers/Add?Status={Status}

To add update consumer details

POST api/consumers/Edit?Status={Status}

To add update consumer details

POST api/ManageConsumer?Distributor={Distributor}&Status={Status}

No documentation available.

CSetting

APIDescription
POST api/UserSetting/Add

Add and update user settings

POST api/UserSetting/Edit

Add and update user settings

GET api/UserSetting/{ID}?UserId={UserId}

To get user settings by userid

ManageDistributorUsers

APIDescription
GET api/CompanyUsers/list?Distributor={Distributor}&Status={Status}

To get list of company users

GET api/CompanyUsers/{ID}

To get company user details by id

POST api/CompanyUsers/Add?Status={Status}

To add update company user

POST api/CompanyUsers/Edit?Status={Status}

To add update company user

ManageTekelekUsers

APIDescription
GET api/systemsupports/list?Status={Status}

Get All UserDetails by Distributor and Status

GET api/systemsupports/{ID}?UserId={UserId}

Get UserDetails by UserId

POST api/systemsupports/Add?Status={Status}

Add Edit User Details

POST api/systemsupports/Edit?Status={Status}

Add Edit User Details

Product

APIDescription
GET api/Product/list?Producttype={Producttype}&Status={Status}

Get all Products

GET api/Product/{ID}

Get Product by Id

POST api/Product/Add

Add and Edit Product

POST api/Product/Edit

Add and Edit Product

POST api/Product/Delete/{ID}

Delete Product by Id

GET api/Product/GetProductFirmwareByProductId?ProductId={ProductId}

Get ProductFirmware By ProductId

UpdateFirmware

APIDescription
POST api/UpdateFirmware/Update?ConsumerDeviceID={ConsumerDeviceID}&FirmwareID={FirmwareID}

To update consumer device firmware history

GET api/UpdateFirmware/List?ConsumerDeviceId={ConsumerDeviceId}

To get available firmware Versions

DeviceAlertSetting

APIDescription
GET api/AlertSetting/GetScheduleDetailsPeriod?CustomerDeviceID={CustomerDeviceID}

Get List of Schedule Details Periods

GET api/AlertSetting/GetDeviceSettingsGrid?CustomerDeviceID={CustomerDeviceID}

Get Device Settings By CustomerId With Command String

GET api/AlertSetting/GetDeviceSettings?CusDevId={CusDevId}&AlarmType={AlarmType}&AlarmId={AlarmId}

Get DeviceAlarmSettings by Consumer DeviceId and AlarmType and AlarmId

POST api/AlertSetting/StaticAlarm/Add

Add and Edit StaticAlarm

POST api/AlertSetting/StaticAlarm/Edit

Add and Edit StaticAlarm

POST api/AlertSetting/DynamicAlarm/Add

Add and Edit DynamicAlarm

POST api/AlertSetting/DynamicAlarm/Edit

Add and Edit DynamicAlarm

POST api/AlertSetting/WaveGuideBund/Update?alrmtype={alrmtype}

Update WaveGuide/Bund

POST api/AlertSetting/DaysToEmpty/Add

To add and update device alarm settings

POST api/AlertSetting/DaysToEmpty/Edit

To add and update device alarm settings

POST api/AlertSetting/LevelMeasurement/Add

To add and update level mesuremenr alarm settings

POST api/AlertSetting/LevelMeasurement/Edit

To add and update level mesuremenr alarm settings

POST api/DeviceAlertSetting?CustomerDeviceID={CustomerDeviceID}&result={result}

Master

APIDescription
GET api/Master/GetAllMasters

To get all master values

GET api/Master/GetMasterNameByid?MasterID={MasterID}

To get master name by id

GET api/Master/GetMasteridByName?MasterName={MasterName}

To get master id by name

GET api/Master/GetAllMasterValues

To get all master values

GET api/Master/GetMasterValueByID?MasterName={MasterName}&ID={ID}

To get master value by id

GET api/Master/GetMasterValueidByName?MasterName={MasterName}&Value={Value}

To get master value id by name