Skip to content
This repository was archived by the owner on Apr 14, 2023. It is now read-only.

REST API v1

Brian Rudy edited this page Feb 3, 2023 · 1 revision

API Endpoints

Limited information on these endpoint URLs was derived from https://uscv2.naviensmartcontrol.com/Help

All API endpoints are prefixed with https://uscv2.naviensmartcontrol.com (e.g. https://uscv2.naviensmartcontrol.com/api/requestDeviceList)

userFindId

POST api/userFindId

requestSubUserList

POST api/requestSubUserList

userWithdrawalPush

POST api/userWithdrawalPush

userChangeInfo

POST api/userChangeInfo

installerOTP

POST api/installerOTP

addNewDevice

POST api/addNewDevice

installerReOTP

POST api/installerReOTP

subUserWithdraw

POST api/subUserWithdraw

userLogout

POST api/userLogout

requestDeviceList

POST api/requestDeviceList
POST body must contain a userID and password parameter with the user's credentials in clear text (x-www-form-urlencoded)

Sample Response

{
    "msg": "MAINUSER_DEVICELIST_SUCCESS",
    "data": "[{\"PID\":\"12345\",\"GID\":\"1234567891234567\",\"AID\":\"0\",\"UID\":\"12345\",\"PCD\":\"1\",\"State\":\"1\",\"HwRev\":\"\",\"SwRev\":\"\",\"ConnectionTime\":\"2/17/2022 1:36:13 AM\",\"ServerIP\":\"1.2.3.4\",\"ServerPort\":\"6001\",\"AName\":\"REMOTE\",\"CountryCD\":\"1\",\"NickName\":\"My_Navilink\",\"NickName2\":\"\",\"ZipCode\":\"12345\",\"TimeZone\":\"GMTM08:00\",\"DeviceInfo\":\"2\",\"InstallerInfo\":\"\",\"MainUserID\":\"myusername\",\"InstallerID\":\"\",\"isErrorAlarm\":\"1\",\"isETCAlarm\":\"1\"}]"
}

deviceInfoChange

POST api/deviceInfoChange

subUserOTP

POST api/subUserOTP

userDelDevice

POST api/userDelDevice

userChangePw

POST api/userChangePw

userIdentify

POST api/userIdentify

Values

GET api/Values

GET api/Values/{id}

POST api/Values

PUT api/Values/{id}

DELETE api/Values/{id}

deviceInfoRegister

POST api/deviceInfoRegister

userWithdrawal

POST api/userWithdrawal

appVersion

POST api/appVersion

deviceNicknameChange

POST api/deviceNicknameChange

requestKweather

POST api/requestKweather

userLogin

POST api/userLogin

userChangeDeviceNickname

POST api/userChangeDeviceNickname

delegateAdministrator

POST api/delegateAdministrator

installerRegister

POST api/installerRegister

subUserJoin

POST api/subUserJoin

installerWithdraw

POST api/installerWithdraw

userPushUpdate

POST api/userPushUpdate

installerJoin

POST api/installerJoin

userIssueAuthkeyVerify

POST api/userIssueAuthkeyVerify

userJoinAuthkeyVerify

POST api/userJoinAuthkeyVerify

checkDeviceState

POST api/checkDeviceState

userIssueAuthKey

POST api/userIssueAuthKey

requestErrorList

POST api/requestErrorList

getPushAlarm

POST api/getPushAlarm

userAddSubID

POST api/userAddSubID

setPushAlarm

POST api/setPushAlarm

userJoin

POST api/userJoin

delDevice

POST api/delDevice