12. TrakIT API‎ > ‎General‎ > ‎

Change Password

The below API is used to get change user's password.


Request:  GET

Signature: /api/mobile/ChangePassword?Token={Login_Token}&OldPass={Old_Password}&NewPass={New_Password}



Sample: /api/mobile/ChangePassword?Token=VomYEMiECFFyAQ3==&OldPass=TOMP@SSSW0RD&NewPass=T0MP@SSSW0RD


Response:

{
    "Code": 1,
    "Info": "Password change successful",
    "RowsAffected": 0,
    "Scalar": null,
    "Identity": 0,
    "RetInfo": null
}


Things to know about this API:
  1. Token - You can use Login API to get token displayed under Info

  2. These fields are mandatory while sending request:

    • OldPass
    • NewPass
Comments