Appearance
Просмотр FTL заказа
Метод запроса: GET
bash
https://gateway.spark-dev.team/cabinet/api/client/v2/ftl-order/<id>Пример ответа
json
{
"data": {
"id": 0,
"ftl_bid_id": 0,
"logist_bid_id": 0,
"logist_bid_status_id": 0,
"dop_order_number": "string",
"company_id": 0,
"ftl_type": "Unknown Type: int",
"ftl_type_name": "string",
"number": "string",
"status": "string",
"status_code": "string",
"take_date": "string",
"take_time": "string",
"payment_method": "string",
"payment_method_id": 0,
"payment_type": "string",
"payment_type_id": 0,
"cargo_name": "string",
"declared_price": 0,
"description": "string",
"annotation": "string",
"cost_price": 0,
"paid_price": 0,
"cost_total": 0,
"cost_price_with_nds": 0,
"paid_price_total": 0,
"auto_count": 0,
"auto_duration": 0,
"act_number": "string",
"created_at": "string",
"received_by": "string",
"delivery_date": "string",
"pointsSum": "Unknown Type: int",
"sender": {
"id": "Unknown Type: int",
"title": "string",
"full_name": "string",
"phone": "string",
"additional_phone": "string",
"full_address": "string",
"city_id": "Unknown Type: int",
"city": "string",
"city_air_code": "string",
"comment": "Комментарий отправителя",
"country": "Казахстан",
"self_delivery": "Самопривоз",
"sectorName": "B",
"house": "14",
"office": "1",
"index": "123"
},
"additional_service": {
"id": 0,
"type_id": 0,
"type_name": "string",
"type_code": "string",
"value": 0,
"duration": 0,
"cost_per_hour": 0,
"paid_price_per_hour": 0,
"cost_total": 0,
"paid_price_total": 0,
"carrier_id": 0,
"carrier_name": "string",
"statusId": 0,
"isBillingEnabled": true,
"Кубатура для складских услуг, для других будет прочерк": "Unknown Type: float|int|string|null"
},
"carrier_id": 0,
"carrier_name": "string",
"carrier_bin": "string",
"car_number": "string",
"car_brand": "string",
"driver_id": 0,
"driver_name": "string",
"driver_phone": "string",
"insurance": "string",
"special_conditions": "string",
"load_capacity": "string",
"temperature_mode": "string",
"payment_rate_type_id": "Unknown Type: int",
"payment_rate_type_title": "string",
"cost_price_per_hour": "Unknown Type: int",
"paid_price_per_hour": "Unknown Type: int",
"cubature": "string",
"loading_type": "string",
"loading_car_type_id": 0,
"invoice_document": "string",
"city_ids": "string",
"oversized_cargo": "string",
"transport_type_name": "string",
"is_need_car": "Unknown Type: int",
"stock_delivery_notes": {
"id": 0,
"number": "string",
"directionName": "string",
"receiver": [
{
"id": 0,
"title": "string",
"full_name": "string",
"city_id": 0,
"city_name": "string",
"address": "string",
"phone": "string",
"number": 0,
"is_endpoint": 0,
"house": "string",
"office": "string",
"index": "string",
"comment": "string",
"additional_phone": "string",
"city_air_code": "string"
}
],
"additional_service": {
"id": 0,
"type_id": 0,
"type_name": "string",
"type_code": "string",
"value": 0,
"duration": 0,
"cost_per_hour": 0,
"paid_price_per_hour": 0,
"cost_total": 0,
"paid_price_total": 0,
"carrier_id": 0,
"carrier_name": "string",
"statusId": 0,
"isBillingEnabled": true,
"Кубатура для складских услуг, для других будет прочерк": "Unknown Type: float|int|string|null"
}
},
"billing_enabled": "string",
"shipment_type_name": "string",
"shipment_type_id": "string",
"is_dangerous": "string",
"places": "string",
"width": "Unknown Type: float",
"height": "Unknown Type: float",
"depth": "Unknown Type: float",
"is_stacked": "string",
"weight": "string",
"volume": "string",
"zone_id": "string",
"files": {
"id": 0,
"ftlOrderId": 0,
"fileName": "string",
"type": 0,
"url": "string"
},
"downtime": {
"id": 0,
"type": 0,
"type_name": "string",
"hours": 0,
"costPrice": 0,
"paidPrice": 0
},
"car_info": {
"id": 1,
"cubature": "от 15м3 до 20м3",
"temperature_mode": "23",
"loading_type": "Боковая",
"oversized_cargo": 1,
"load_capacity": "5 тонн"
},
"products": [
{
"id": 0,
"product_name": "string",
"serial_number": "string",
"article": "string",
"volume": 0,
"weight": 0,
"quantity": 0
}
],
"manager": {
"id": 0,
"name": "string",
"email": "string",
"phone": "string",
"is_advanced": true,
"companyId": 0
},
"created_by": {
"id": 0,
"name": "string",
"email": "string",
"phone": "string",
"is_advanced": true,
"companyId": 0
},
"order_statuses": [
{
"": {
"name": "Создан",
"created_at": "string"
}
}
],
"shared_additional_service": {
"id": 0,
"type_of_stock": "string",
"city_name": "string",
"type_id": 0,
"type_name": "string",
"type_code": "string",
"value": 0,
"duration": 0,
"cost_per_hour": 0,
"paid_price_per_hour": 0,
"cost_total": 0,
"paid_price_total": 0,
"carrier_id": 0,
"carrier_name": "string",
"statusId": 0
},
"cost_price_info": {
"carrier_name": "string",
"payment_rate_type": "string",
"delivery_cost_price": 0,
"auto_duration": 0,
"final_sum_without_vat": 0,
"final_sum_with_vat": 0
},
"paid_price_info": {
"auto_duration": 0,
"delivery_paid_price": 0,
"payment_rate_type": "string",
"delivery_paid_price_without_vat": 0,
"delivery_paid_price_with_vat": 0,
"paid_price_without_vat": 0,
"paid_price_with_vat": 0
},
"is_prepayment": "string"
}
"code": 0,
"success": true,
"message": "",
"errors": []
}