POST v1/company/user/update

WEB - UPDATE USER PROFILE OF CURRENT COMPANY USER

Request Information

URI Parameters

None.

Body Parameters

CompanyUpdateProfileRequestModel
NameDescriptionTypeAdditional information
company_user_tax_number

string

None.

company_user_first_name

string

Required

company_user_family_name

string

None.

company_user_cell_number

string

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:
{
  "company_user_tax_number": "sample string 1",
  "company_user_first_name": "sample string 2",
  "company_user_family_name": "sample string 3",
  "company_user_cell_number": "sample string 4",
  "user_company_id": "sample string 5",
  "user_id": "sample string 6",
  "user_signature": "sample string 7"
}

Response Information

Resource Description

WEB - UPDATE USER PROFILE OF CURRENT COMPANY USER

BaseMetaResultModelOfCompanyUpdateProfileResponseModel
NameDescriptionTypeAdditional information
response

CompanyUpdateProfileResponseModel

None.

meta

Basic meta information for the operation result

MetaModel

None.

Response Format

application/json, text/json

Sample:
{
  "response": {
    "user": {
      "user_id": "sample string 2",
      "user_tax_number": "sample string 4",
      "user_first_name": "sample string 5",
      "family_name": "sample string 6",
      "user_email": "sample string 7",
      "user_cell_number": "sample string 8",
      "user_can_create_shipment": true,
      "user_can_delete_shipment": true,
      "user_can_approve_offer": true,
      "user_can_make_payment": true,
      "user_can_finalize_shipment": true,
      "user_can_add_new_user": true,
      "user_is_admin": true,
      "user_is_insurance_admin": true,
      "company_user_create_date": "2018-05-21T12:17:04.8740902+03:00",
      "user_key": "sample string 21",
      "user_secret": "sample string 22",
      "user_type": 23,
      "user_contractor_id": 24,
      "company_user_role_id": 25
    }
  },
  "meta": {
    "status_code": 1,
    "status_message": "sample string 2"
  }
}