POST v1/admin/companies/service-station/update
WEB - Service Station Update.
Request Information
URI Parameters
None.
Body Parameters
AdminUpdateServiceStationRequestModelName | Description | Type | Additional information |
---|---|---|---|
service_id | integer |
Required |
|
service_company_uid | string |
Required |
|
service_name | string |
None. |
|
service_city_id | integer |
None. |
|
service_district | string |
None. |
|
service_neighborhood | string |
None. |
|
service_street | string |
None. |
|
service_building_number | string |
None. |
|
service_zip_code | string |
None. |
|
service_latitude | string |
None. |
|
service_longitude | string |
None. |
|
service_country_id | integer |
None. |
|
service_is_active | boolean |
None. |
|
service_all_company | boolean |
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_id": 1, "service_company_uid": "sample string 2", "service_name": "sample string 3", "service_city_id": 4, "service_district": "sample string 5", "service_neighborhood": "sample string 6", "service_street": "sample string 7", "service_building_number": "sample string 8", "service_zip_code": "sample string 9", "service_latitude": "sample string 10", "service_longitude": "sample string 11", "service_country_id": 12, "service_is_active": true, "service_all_company": true, "user_company_id": "sample string 15", "user_id": "sample string 16", "user_signature": "sample string 17" }
Response Information
Resource Description
WEB - Service Station Update.
BaseMetaResultModelName | Description | Type | Additional 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" } }