Last updated 1 month ago
Mapping where the key is the uid of the first activity included in this split, and the value is the split's detail.
const response = await fetch('https://api.dashdoc.eu/api/v4/transports/{uid}/revenue-split/', { method: 'GET', headers: {}, }); const data = await response.json();
{ "activity_to_split_revenue": { "51b0e165-11ea-a488-0242ac110007": { "child_transport_uid": "75521b0-e165-11ea-a488-0242ac110007", "transport_repartition": "1.000", "transport_revenue_share": "239.45", "subcontracting_repartition": "0.800", "subcontracting_cost_share": "210.30" } } }