GetAllocationsWithUnitTypesForInvesment

This method gets the allocations associated with a specified investment. It returns an array of type AllocationWithUnitTypes, which contains the following fields:

Field Datatype Description
Resource Resource The resource associated with the contour.
Contours TimephasedDataWithUnitTypes An array representing the contour.
Rates Rate An array representing the rates associated with a resource.

The parameters for the GetAllocationsWithUnitTypesForInvesment method are:

Parameter Datatype Description
token string The token returned by the Connect method.
invesmentId int The ID of the investment for which to get allocations.