Holds allocation information such as as ID, and start and end dates, as well as an array of
ContourEntry
, which
hold the daily allocation date and hours.
Contour contains the following elements:
allocationEndDate
- The date the allocation ends. Date format is yyyy/MM/dd. For example, 2001/01/11.
allocationStartDate
- The date the allocation begins. Date format is yyyy/MM/dd. For example, 2001/01/11.
entityId
- ID of the instance of the allocated role for which to get the contour. To get this ID, use
findEntity
for entity 54 (allocated role) and specify the project ID that contains the allocation.
entityTypeId
- Supports Allocated Roles only (entity type 54).
entries
- ContourEntry date/hour pairs.
The following is an example of a Contour object.
<ns:return xsi:type="ax21:Contour" xmlns:ax21="http://objects.services/xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<ax21:allocationEndDate>2014/03/31</ax21:allocationEndDate>
<ax21:allocationStartDate>2014/01/01</ax21:allocationStartDate>
<ax21:entityId>991588851</ax21:entityId>
<ax21:entityTypeId>54</ax21:entityTypeId>
<ax21:entries xsi:type="ax21:ContourEntry">
<ax21:entryDate>2014/01/01</ax21:entryDate>
<ax21:entryHours>7.81</ax21:entryHours>
</ax21:entries>
<ax21:entries xsi:type="ax21:ContourEntry">
<ax21:entryDate>2014/01/02</ax21:entryDate>
<ax21:entryHours>7.81</ax21:entryHours>
</ax21:entries>
</ax21:entries xsi:type="ax21:ContourEntry">
<ax21:entryDate>2014/01/03</ax21:entryDate>
<ax21:entryHours>7.81</ax21:entryHours>
</ax21:entries>
<ax21:entries xsi:type="ax21:ContourEntry">
<ax21:entryDate>2014/01/04</ax21:entryDate>
<ax21:entryHours>0.0</ax21:entryHours>
</ax21:entries>
<ax21:entries xsi:type="ax21:ContourEntry">
<ax21:entryDate>2014/01/05</ax21:entryDate>
<ax21:entryHours>0.0</ax21:entryHours>
</ax21:entries>
...
</ns:return>