GetAllocationContoursWithUnitTypesForTeamResource

This method gets an allocation associated with a specified team resource. 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 data with unit types.
Rates Rate An array representing the rates associated with a resource.

The parameters for the GetAllocationContoursWithUnitTypesForTeamResource method are:

Parameter Datatype Description
token string The token returned by the Connect method.
teamResourceId int The ID of the resource for which to get an allocation.