This method gets the contours associated with a specified allocation. It returns an array of type TimephasedContour, which contains the following fields:

Field Datatype Description
Start dateTime The start time of the contour.
Finish dateTime The end time of the contour.
Units double The allocation percentage for a time period.
Comments string Comments for the contour.
ContourId int The ID of the contour.

The parameters for the GetContoursForAllocation method are:

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