POST v1/admin/mobileUsers/add

ADMIN - Add mobile user with company.

Request Information

URI Parameters

None.

Body Parameters

AdminAddUserRequestModel
NameDescriptionTypeAdditional information
user

AdminAddUserModel

Required

user_company_id

Company UID of the active user

string

Required

Data type: Text

user_id

User ID (GUID)

string

Required

Data type: Text

user_signature

MD5 hash signature for the active user to validate the request

string

Required

Data type: Text

Request Format

application/json, text/json

Sample:
{
  "user": {
    "user_first_name": "sample string 1",
    "user_family_name": "sample string 2",
    "user_cell_number": "sample string 3",
    "user_citizenship_number": "sample string 4",
    "user_image": "sample string 5",
    "user_mailing_address": "sample string 6",
    "user_driving_license_image_front": "sample string 7",
    "user_driving_license_image_back": "sample string 8",
    "user_src_document_image": "sample string 9",
    "user_psyc_document_image": "sample string 10",
    "user_active": true,
    "user_type": 12,
    "user_company_uid": "sample string 13",
    "user_role_id": 14,
    "user_wait_approved": true,
    "user_timezone": "sample string 15",
    "country_phone_code": 16
  },
  "user_company_id": "sample string 1",
  "user_id": "sample string 2",
  "user_signature": "sample string 3"
}

Response Information

Resource Description

ADMIN - Add mobile user with company.

BaseMetaResultModelOfAdminAddUserResponseModel
NameDescriptionTypeAdditional information
response

AdminAddUserResponseModel

None.

meta

Basic meta information for the operation result

MetaModel

None.

Response Format

application/json, text/json

Sample:
{
  "response": {
    "user_id": 1,
    "user_uid": "sample string 2",
    "user_first_name": "sample string 3",
    "user_family_name": "sample string 4",
    "user_cell_number": "sample string 5",
    "user_citizenship_number": "sample string 6",
    "user_image": "sample string 7",
    "user_mailing_address": "sample string 8",
    "user_driving_license_image_front": "sample string 9",
    "user_driving_license_image_back": "sample string 10",
    "user_src_document_image": "sample string 11",
    "user_psyc_document_image": "sample string 12",
    "user_active": true,
    "user_type": 14,
    "create_date": "2024-11-25T02:24:46.5598194+03:00",
    "user_company_uid": "sample string 16",
    "create_user_uid": "sample string 17",
    "user_role_id": 18,
    "user_timezone": "sample string 19",
    "country_phone_code": 20
  },
  "meta": {
    "status_code": 1,
    "status_message": "sample string 2"
  }
}