POST api/resplan/{id}/allocate?ResMode={ResMode}
Allocate resource to plan
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id | globally unique identifier |
Required |
|
ResMode | boolean |
Default value is False |
Body Parameters
AllocationPostName | Description | Type | Additional information |
---|---|---|---|
LineId | globally unique identifier |
None. |
|
CostTypeId | globally unique identifier |
None. |
|
Zoom | Zoom |
None. |
|
Start | date |
None. |
|
End | date |
None. |
|
Allocation | AllocationClass |
None. |
|
CustomFields | Collection of Object |
None. |
Request Formats
application/json, text/json
Sample:
{ "LineId": "0282f6c4-6e41-4a80-b1ec-d9daf3e1db19", "CostTypeId": "02ee9a0d-c954-4f0b-af72-155ea6f8ed68", "Zoom": 1, "Start": "2025-07-16T12:59:12.5608789+00:00", "End": "2025-07-16T12:59:12.5608789+00:00", "Allocation": { "Start": "2025-07-16T12:59:12.5608789+00:00", "End": "2025-07-16T12:59:12.5608789+00:00", "HoursPerMonth": 3.0, "AllocationPercent": 4.0, "TotalHours": 5.0 } }
Response Information
Resource Description
Dictionary of globally unique identifier [key] and Dictionary of string [key] and Object [value] [value]Response Formats
application/json, text/json
Sample:
{ "8762f30e-008b-4c60-a1d6-091f1f012148": { "sample string 1": {}, "sample string 3": {} }, "fc9fc264-c73f-4ee3-b6f6-3efba8bf2ca6": { "sample string 1": {}, "sample string 3": {} } }