POST v1/admin/mobileUsers/update
ADMIN - Updates a single mobile user for an admin.
Request Information
URI Parameters
None.
Body Parameters
AdminUpdateMobileUserRequestModelName | Description | Type | Additional information |
---|---|---|---|
update_user |
User information to update |
UpdateUserModel |
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:
{ "update_user": { "user_id": 1, "user_uid": "sample string 2", "user_first_name": "sample string 3", "user_cell_number": "sample string 4", "user_citizenship_number": "sample string 5", "user_image": "sample string 6", "user_mailing_address": "sample string 7", "user_driving_license_image_front": "sample string 8", "user_driving_license_image_back": "sample string 9", "user_src_document_image": "sample string 10", "user_psyc_document_image": "sample string 11", "user_available": true, "user_active": true, "user_rating": 1, "user_type": 1, "user_insurance_approved": true, "enable_shipment_notifications": true, "user_birthdate": "2024-11-25T22:39:19.4376008+03:00", "user_status": true, "user_is_test": true, "user_iban": "sample string 12", "user_tk_iban": "sample string 13" }, "user_company_id": "sample string 1", "user_id": "sample string 2", "user_signature": "sample string 3" }
Response Information
Resource Description
ADMIN - Updates a single mobile user for an admin.
BaseMetaResultModelName | Description | Type | Additional information |
---|---|---|---|
meta |
Basic meta information for the operation result |
MetaModel |
None. |
Response Format
application/json, text/json
Sample:
{ "meta": { "status_code": 1, "status_message": "sample string 2" } }