Skip to main content

Task

PropertyTypeDescriptionInformation
idintIdentifierUnique for single task cost.
namestringName of task cost--
valueDecimalPrice value or distance in km--
currency_idstringCurrency ID--
is_transportboolDetermines if value is transport or moneyIf transport, value is automatically re-counted as price and saved. Delivery_date required. If money, currency_id is required.
delivery_datedateDate of deliveryBased on this, price per km is selected for delivery price counting.
task_idintTask ID--

Example:

{
"id": 1,
"name": "Doprava klientovi",
"value": 5000,
"currency_id": "CZK",
"is_transport": true,
"delivery_date": "2023-05-04T22:00:00.000000Z",
"task_id": 8
}