POST v1/company/login
WEB - LOGIN TO COMPANY ACCOUNT
Request Information
URI Parameters
None.
Body Parameters
CompanyLoginRequestModelName | Description | Type | Additional information |
---|---|---|---|
user_signature | string |
Required |
|
company_email | string |
Required |
|
company_tax_number | string |
None. |
|
company_password | string |
Required |
|
only_one_client |
Sadece tek browser üzerinden çalıştırmak için true gönderilmelidir. |
boolean |
None. |
login_type |
0 - General 1 - Admin 2 - Mobile |
integer |
None. |
Request Format
application/json, text/json
Sample:
{ "user_signature": "sample string 1", "company_email": "sample string 2", "company_tax_number": "sample string 3", "company_password": "sample string 4", "only_one_client": true, "login_type": 1 }
Response Information
Resource Description
WEB - LOGIN TO COMPANY ACCOUNT
CompanyLoginResultModelName | Description | Type | Additional information |
---|---|---|---|
response | CompanyLoginResponseModel |
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": "2024-04-19T03:10:51.1548513+03:00", "user_key": "sample string 21", "user_secret": "sample string 22", "user_type": 23, "user_contractor_id": 24, "company_user_role_id": 25 }, "company": { "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_seller_code": "sample string 21", "company_is_corporate": true, "company_create_date": "2024-04-19T03:10:51.1548513+03:00", "company_shipment_lisence_count": 1, "company_confirmation_date": "2024-04-19T03:10:51.1548513+03:00", "company_confirmation_company_user_uid": "sample string 24", "company_type": 25, "company_status": 26, "company_confirmation_user": "sample string 27", "company_default_currency_id": 1, "company_external_id": "sample string 28", "company_user_namesurname": "sample string 29", "company_user_email_confirmed": true }, "mainCompany": { "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_seller_code": "sample string 21", "company_is_corporate": true, "company_create_date": "2024-04-19T03:10:51.1548513+03:00", "company_shipment_lisence_count": 1, "company_confirmation_date": "2024-04-19T03:10:51.1548513+03:00", "company_confirmation_company_user_uid": "sample string 24", "company_type": 25, "company_status": 26, "company_confirmation_user": "sample string 27", "company_default_currency_id": 1, "company_external_id": "sample string 28", "company_user_namesurname": "sample string 29", "company_user_email_confirmed": true }, "type": 1 }, "meta": { "status_code": 1, "status_message": "sample string 2" } }