POST v1/user/register

MOBILE - Register new user to system if given cell number is not in DB, cell number must have 10 digits long.

Request Information

URI Parameters

None.

Body Parameters

RegisterUserRequestModel
NameDescriptionTypeAdditional information
user_signature

string

Required

Data type: Text

user_first_name

string

Required

Data type: Text

user_cell_number

string

Required

Data type: Text

String length: inclusive between 10 and 10

user_password

string

Required

Data type: Password

String length: inclusive between 6 and 100

user_confirmation_code

string

Required

Data type: Text

String length: inclusive between 6 and 100

Request Format

application/json, text/json

Sample:
{
  "user_signature": "sample string 1",
  "user_first_name": "sample string 2",
  "user_cell_number": "sample string 3",
  "user_password": "sample string 4",
  "user_confirmation_code": "sample string 5"
}

Response Information

Resource Description

MOBILE - Register new user to system if given cell number is not in DB, cell number must have 10 digits long.

RegisterUserResultModel
NameDescriptionTypeAdditional information
response

RegisterUserResponseModel

None.

meta

Basic meta information for the operation result

MetaModel

None.

Response Format

application/json, text/json

Sample:
{
  "response": {
    "user_id": "sample string 1",
    "user_first_name": "sample string 2",
    "user_cell_number": "sample string 3",
    "user_image": "sample string 4",
    "user_key": "sample string 5",
    "user_secret": "sample string 6"
  },
  "meta": {
    "status_code": 1,
    "status_message": "sample string 2"
  }
}