POST v1/admin/companies/service-station
WEB - Service Station List.
Request Information
URI Parameters
None.
Body Parameters
AdminServiceStationListRequestModelName | Description | Type | Additional information |
---|---|---|---|
service_company_uid | string |
None. |
|
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:
{ "service_company_uid": "sample string 1", "user_company_id": "sample string 2", "user_id": "sample string 3", "user_signature": "sample string 4" }
Response Information
Resource Description
WEB - Service Station List.
BaseMetaResultModelOfListOfServiceStationModelName | Description | Type | Additional information |
---|---|---|---|
response | Collection of ServiceStationModel |
None. |
|
meta |
Basic meta information for the operation result |
MetaModel |
None. |
Response Format
application/json, text/json
Sample:
{ "response": [ { "id": 1, "company_uid": "sample string 2", "name": "sample string 3", "city_id": 4, "district": "sample string 5", "neighborhood": "sample string 6", "street": "sample string 7", "building_number": "sample string 8", "zip_code": "sample string 9", "latitude": "sample string 10", "longitude": "sample string 11", "country_id": 12, "is_active": true, "all_company": true, "create_date": "2024-11-25T22:31:50.5665034+03:00", "create_user_uid": "sample string 16" }, { "id": 1, "company_uid": "sample string 2", "name": "sample string 3", "city_id": 4, "district": "sample string 5", "neighborhood": "sample string 6", "street": "sample string 7", "building_number": "sample string 8", "zip_code": "sample string 9", "latitude": "sample string 10", "longitude": "sample string 11", "country_id": 12, "is_active": true, "all_company": true, "create_date": "2024-11-25T22:31:50.5665034+03:00", "create_user_uid": "sample string 16" } ], "meta": { "status_code": 1, "status_message": "sample string 2" } }