POST api/AgentAdminMng/AddAdmin
Adds a new admin. Password is hashed using ai#admin#{secret}#{password} before storage.
Request Information
URI Parameters
None.
Body Parameters
AddAdminRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| investorId | integer |
None. |
|
| password | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"investorId": 1,
"password": "sample string 2"
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ActionResultNone.
Response Formats
application/json, text/json
Sample:
Sample not available.