Section C - Edit user API

C1 - Cloud based account

To edit an user send a post request to /api/v1/add_user with the following data :

Key Mandatory Value
User ID Yes Numeric (Id of the user returned when user is added)
User Group ID No Numeric
User Name No String
Password No String
User State No {active, blacklisted, suspended}
Activation Date No {custom, now}
Expiration Date No {custom, never}
Custom Activation Date No dd-mm-yyyy H:m ,(will be used only when 'activationDate' is set as 'custom')
Custom Expiration Date No dd-mm-yyyy H:m, (will be used only when 'expirationDate' is set as 'custom')
Phone Numner No Numeric
Email ID No String

C2 - ISP based account

To edit an user send a post request to /api/v1/add_user with the following data :

Key Mandatory Value
User ID Yes Numeric (Id of the user returned when user is added)
User Group ID No Numeric
User Name No String
Password No String
User State No {active, blacklisted, suspended}
Activation Date No {custom, now}
Expiration Date No {custom, never}
Custom Activation Date No dd-mm-yyyy H:m ,(will be used only when 'activationDate' is set as 'custom')
Custom Expiration Date No dd-mm-yyyy H:m, (will be used only when 'expirationDate' is set as 'custom')
Phone Numner No Numeric
Email ID No String
First Name No string
Last Name No String
AltPhoneNumber No Numeric
altEmailId No String
address_line1 No String
address_line2 No String
address_city No String
address_pin No Numeric
address_state No String
address_country No This should be two letter country ISO CODE
address No String
id_proof No {pan, license, aadhar, ration, passport, voter}
id_pin No String
Comments No String
afterAction No {suspend, nothing}
location_details_not_import No Value should be ''yes'' if area need to be added
collection_area_import No (Id of the area)
collection_street_import No (Id of the street)
collection_block_import No (Id of the bulding)