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": "9cc81bc5-a0dd-4cb6-96af-ef49e8da5a41", "CostTypeId": "e77b0ac5-3d19-4fe5-bf7d-f9a86385029b", "Zoom": 1, "Start": "2025-07-08T20:06:45.1656235+00:00", "End": "2025-07-08T20:06:45.1656235+00:00", "Allocation": { "Start": "2025-07-08T20:06:45.1656235+00:00", "End": "2025-07-08T20:06:45.1656235+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:
{ "72736433-c1b5-4ac6-a670-034d19df7a27": { "sample string 1": {}, "sample string 3": {} }, "e5e8e530-c891-4eb5-ba43-a120102adeb2": { "sample string 1": {}, "sample string 3": {} } }