POST v1/company/subcompanies

WEB - RETURN THE LIST OF SUB-COMPANIES OF A PARENT COMPANY THAT CAN BE MANAGED BY THE CURRENT COMPANY

Request Information

URI Parameters

None.

Body Parameters

CompanyAllowedSubCompaniesRequestModel
NameDescriptionTypeAdditional information
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_company_id": "sample string 1",
  "user_id": "sample string 2",
  "user_signature": "sample string 3"
}

Response Information

Resource Description

WEB - RETURN THE LIST OF SUB-COMPANIES OF A PARENT COMPANY THAT CAN BE MANAGED BY THE CURRENT COMPANY

BaseMetaResultModelOfCompanyModel[]
NameDescriptionTypeAdditional information
response

Collection of CompanyModel

None.

meta

Basic meta information for the operation result

MetaModel

None.

Response Format

application/json, text/json

Sample:
{
  "response": [
    {
      "company_id": "sample string 2",
      "company_name": "sample string 3",
      "company_phone": "sample string 4",
      "company_phone_extension": "sample string 5",
      "company_cell_number": "sample string 6",
      "company_email": "sample string 7",
      "company_tax_office_name": "sample string 8",
      "company_tax_number": "sample string 9",
      "company_address_city": "sample string 10",
      "company_address_district": "sample string 11",
      "company_address_neighborhood": "sample string 12",
      "company_address_street": "sample string 13",
      "company_address_building_number": "sample string 14",
      "company_address_zip_code": "sample string 15",
      "company_logo": "sample string 16",
      "company_web_url": "sample string 17",
      "company_invoice_info": "sample string 18",
      "company_approved": true,
      "auto_archive_shipments": true,
      "company_shipment_only_driver_show": true,
      "company_create_date": "2018-11-21T08:47:36.3544607+03:00",
      "company_type": 22,
      "company_status": 23
    },
    {
      "company_id": "sample string 2",
      "company_name": "sample string 3",
      "company_phone": "sample string 4",
      "company_phone_extension": "sample string 5",
      "company_cell_number": "sample string 6",
      "company_email": "sample string 7",
      "company_tax_office_name": "sample string 8",
      "company_tax_number": "sample string 9",
      "company_address_city": "sample string 10",
      "company_address_district": "sample string 11",
      "company_address_neighborhood": "sample string 12",
      "company_address_street": "sample string 13",
      "company_address_building_number": "sample string 14",
      "company_address_zip_code": "sample string 15",
      "company_logo": "sample string 16",
      "company_web_url": "sample string 17",
      "company_invoice_info": "sample string 18",
      "company_approved": true,
      "auto_archive_shipments": true,
      "company_shipment_only_driver_show": true,
      "company_create_date": "2018-11-21T08:47:36.3544607+03:00",
      "company_type": 22,
      "company_status": 23
    }
  ],
  "meta": {
    "status_code": 1,
    "status_message": "sample string 2"
  }
}