Load
Оптимизируйте свои подборки
Сохраняйте и классифицируйте контент в соответствии со своими настройками.
При посещении к загрузке автомобиля может быть добавлена заранее определенная сумма, если это самовывоз, или вычтена, если это доставка. Это сообщение определяет такую сумму. См loadDemands
.
JSON-представление |
---|
{
"amount": string
} |
Поля |
---|
amount | string ( int64 format) Величина, на которую будет меняться загрузка транспортного средства, совершающего соответствующий визит. Поскольку это целое число, пользователям рекомендуется выбрать подходящую единицу измерения, чтобы избежать потери точности. Должно быть ≥ 0. |
Если не указано иное, контент на этой странице предоставляется по лицензии Creative Commons "С указанием авторства 4.0", а примеры кода – по лицензии Apache 2.0. Подробнее об этом написано в правилах сайта. Java – это зарегистрированный товарный знак корпорации Oracle и ее аффилированных лиц.
Последнее обновление: 2025-08-29 UTC.
[null,null,["Последнее обновление: 2025-08-29 UTC."],[[["\u003cp\u003eThe provided data describes how to represent an adjustment amount for vehicle load in JSON format.\u003c/p\u003e\n"],["\u003cp\u003eThe adjustment amount is a string representing a 64-bit integer and is used to modify the vehicle's load during a visit.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eamount\u003c/code\u003e field specifies the quantity the vehicle's load will change during the corresponding visit, and it must be greater than or equal to zero.\u003c/p\u003e\n"],["\u003cp\u003eThe load adjustment can either add to the load of the vehicle if it is a pickup, or subtract from the load if it is a delivery.\u003c/p\u003e\n"]]],[],null,["# Load\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n\nWhen performing a visit, a predefined amount may be added to the vehicle load if it's a pickup, or subtracted if it's a delivery. This message defines such amount. See [loadDemands](/maps/tt/route-optimization/experimental/u-turn-avoidance/reference/rest/v1/ShipmentModel#Shipment.FIELDS.load_demands).\n\n| JSON representation |\n|------------------------------|\n| ``` { \"amount\": string } ``` |\n\n| Fields ||\n|----------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `amount` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` The amount by which the load of the vehicle performing the corresponding visit will vary. Since it is an integer, users are advised to choose an appropriate unit to avoid loss of precision. Must be ≥ 0. |"]]