POST v1/company/user/register

WEB - CREATE COMPANY USER

Request Information

URI Parameters

None.

Body Parameters

CompanyAddNewUserRequestModel
NameDescriptionTypeAdditional information
company_id

string

Required

company_user_tax_number

string

None.

company_user_first_name

string

Required

company_user_family_name

string

None.

company_cell_number

string

Required

company_email

string

Required

company_user_type

integer

Required

company_password

string

Required

company_user_can_create_shipment

boolean

None.

company_user_can_delete_shipment

boolean

None.

company_user_can_approve_offer

boolean

None.

company_user_can_make_payment

boolean

None.

company_user_can_finalize_shipment

boolean

None.

company_user_can_add_new_user

boolean

None.

company_user_role_id

integer

None.

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_id": "sample string 1",
  "company_user_tax_number": "sample string 2",
  "company_user_first_name": "sample string 3",
  "company_user_family_name": "sample string 4",
  "company_cell_number": "sample string 5",
  "company_email": "sample string 6",
  "company_user_type": 7,
  "company_password": "sample string 8",
  "company_user_can_create_shipment": true,
  "company_user_can_delete_shipment": true,
  "company_user_can_approve_offer": true,
  "company_user_can_make_payment": true,
  "company_user_can_finalize_shipment": true,
  "company_user_can_add_new_user": true,
  "company_user_role_id": 15,
  "user_id": "sample string 16",
  "user_signature": "sample string 17"
}

Response Information

Resource Description

WEB - CREATE COMPANY USER

BaseMetaResultModel
NameDescriptionTypeAdditional 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"
  }
}