POST v1/admin/companies/service-station/detail

Request Information

URI Parameters

None.

Body Parameters

AdminServiceStationDetailRequestModel
NameDescriptionTypeAdditional information
service_station_id

integer

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_station_id": 1,
  "user_company_id": "sample string 2",
  "user_id": "sample string 3",
  "user_signature": "sample string 4"
}

Response Information

Resource Description

BaseMetaResultModelOfServiceStationModel
NameDescriptionTypeAdditional information
response

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": "2019-08-22T12:56:40.6866951+03:00",
    "create_user_uid": "sample string 16"
  },
  "meta": {
    "status_code": 1,
    "status_message": "sample string 2"
  }
}