The relevant endpoint and http method information for adding users to the account are given below.
| HTTP Method | URL |
|---|---|
| POST | /v1/Account/AddUserToAccount |
| Params | Type | Mandatory | Description |
|---|---|---|---|
| tenant_id | int | No | |
| account_number | string | Yes | |
| account_type | int | Yes | |
| user_number | string | No | |
| string | Yes | ||
| password | string | Yes | |
| first_name | string | Yes | |
| last_name | string | Yes | |
| phone_country_code | string | Yes | |
| phone_number | string | Yes |
| Params | Type | Description |
|---|---|---|
| status | int | |
| code | string | |
| message | string | |
| payload | string |
REQUEST (POST) :
{
"tenant_id": 5,
"account_number": "1111511148",
"account_type": "1",
"user_number": "6161111109616751319",
"email": "test@mail.com",
"password": "123456",
"first_name": "testusername",
"last_name": "testuserLname",
"phone_country_code": "90",
"phone_number": "5117175141"
}
RESPONSE:
{
"status": 0,
"code": "100",
"message": "Kullanıcı hesaba eklendi",
"payload": "6161318109136150149"
}