POST v1/user/company-vehicle

MOBILE - GET COMPANY VEHICLE RELATION FOR USER

Request Information

URI Parameters

None.

Body Parameters

UserCompanyVehicleRelationRequestModel
NameDescriptionTypeAdditional information
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_id": "sample string 1",
  "user_signature": "sample string 2"
}

Response Information

Resource Description

MOBILE - GET COMPANY VEHICLE RELATION FOR USER

BaseMetaResultModelOfListOfUserCompanyConfirmationResponseModel
NameDescriptionTypeAdditional information
response

Collection of UserCompanyConfirmationResponseModel

None.

meta

Basic meta information for the operation result

MetaModel

None.

Response Format

application/json, text/json

Sample:
{
  "response": [
    {
      "id": 1,
      "user_id": 2,
      "vehicle_id": 3,
      "start_date": "2018-11-16T08:25:21.4034638+03:00",
      "end_date": "2018-11-16T08:25:21.4034638+03:00",
      "is_indefinite": true,
      "is_active": true,
      "vehicle_licence_plate": "sample string 6",
      "company_uid": "sample string 7",
      "company_name": "sample string 8"
    },
    {
      "id": 1,
      "user_id": 2,
      "vehicle_id": 3,
      "start_date": "2018-11-16T08:25:21.4034638+03:00",
      "end_date": "2018-11-16T08:25:21.4034638+03:00",
      "is_indefinite": true,
      "is_active": true,
      "vehicle_licence_plate": "sample string 6",
      "company_uid": "sample string 7",
      "company_name": "sample string 8"
    }
  ],
  "meta": {
    "status_code": 1,
    "status_message": "sample string 2"
  }
}