POST
/vehicle-plans
Path
POST
/api/v1/partners/vehicle-plansAuthentication required
tokenParameters
This endpoint takes no parameters.
Request body
| Field | Type | Required | Description |
|---|---|---|---|
| registration_number | string | Yes | Biển số xe |
| resource_id | number | Yes | ID nhóm xe (group base vehicle) |
| from_address | string | Yes | Địa chỉ khởi hành |
| owner_post_office_code | string | No | Mã bưu cục sở hữu xe |
| from_lat | number | Yes | From latitude |
| from_lon | number | Yes | From longitude |
| from_working_time | string (date-time) | Yes | Thời gian bắt đầu làm việc (timestamp) |
| handling_unit_ids | string | No | IDs of group handling unit goods, joined by ":" |
| height_of_vehicle | number | Yes | Chiều cao thùng xe (cm) |
| length_of_vehicle | number | Yes | Chiều dài thùng xe (cm) |
| width_of_vehicle | number | Yes | Chiều rộng thùng xe (cm) |
| vehicle_tonnage | number | No | Tải trọng xe (kg) |
| to_address | string | No | Địa chỉ nơi đến |
| to_lat | number | No | To latitude |
| to_lon | number | No | To longitude |
| to_working_time | string (date-time) | No | Thời gian kết thúc làm việc (timestamp) |
| member_id | string | No | Member ID |
| offer_kind | 1 | 2 | 3 | No | Offer kind (1: theo tuyến, 2: theo thời gian) |
18 fieldsCreateVehiclePlansDto
Responses
201