# Password

📌 POST:/client/pwdcreate

# Request (Body)

  • rf : Contains only 0,1,2.
  • pwdids.** : Only Numbers.
  • clientnos* : Alpha Numeric, Max 10 Characters.
  • groupnos* : Alpha Numeric, Max 10 Characters.

Note :

  1. For searching a password the user must have hasotherreport Permission.

# Response

// Success
{
  "success":true,
  "data" : [...], 
  "msg": "Password Loaded"
}
// Error
{
  "error": [],
  "success":false,
  "msg":"Check Parameters"
}

# Password Create

📌 POST:/client/pwdcreate

# Request (Body)

  • typeid* : Only Numbers.
  • clientno* : String Alpha Numeric Max 10 Characters.
  • clientusername* : min 2 and max 100 characters.
  • clientpwd* : min 2 and max 100 characters.
  • descp : min 2 and max 500 characters.

Note:

  1. The user must have haspass Permission.

# Response

// Success
{
  "success":true,
  "params" : {...} , 
  "msg": "Password Created"
}
// Error
{
  "error": [],
  "success":false,
  "msg":"Check Parameters"
}

# Password Update

📌 POST:/client/pwdupdate

# Request (body)

  • pwdid : Only Numbers.
  • typeid* : Only Numbers.
  • clientno* : String Alpha Numeric Max 10 Characters.
  • clientusername* : min 2 and max 100 characters.
  • clientpwd* : min 2 and max 100 characters.
  • descp : min 2 and max 500 characters.

Note:

  1. The user must have haspass Permission.

# Response

// Success
{
  "success":true,
  "params" : {...} , 
  "msg": "Password Updated"
}
// Error
{
  "error": [],
  "success":false,
  "msg":"Check Parameters"
}

# Password Info

📌 POST:/client/pwdinfo

# Request (body)

  • pwdid* : Only Numbers.

Note:

  1. The user must have haspassview Permission.

# Response

// Success
{
  "success":true,
  "data" : {...},  
  "msg": "Password Info Loaded"
}
// Error
{
  "error": [],
  "success":false,
  "msg":"Check Parameters"
}

# Password Delete

📌 POST:/client/pwddelete

# Request (body)

  • pwdid* : Only Numbers.
  • clientno* :Max 10 Characters, only Alpha Numeric.

Note:

  1. The user has haspass Permission.

# Response

// Success
{
  "success":true,
  "params" : {....} ,
  "msg": "Password Deleted"
}
// Error
{
  "error": [],
  "success":false,
  "msg":"Check Parameters"
}
Last Updated: 30 Jul 2020