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": "4edbc213-68ee-4b18-8a9a-73f97e04a720", "CostTypeId": "605a26d6-ec8e-4d8d-81c8-e01fe4866206", "Zoom": 1, "Start": "2025-10-19T09:13:27.4244287+00:00", "End": "2025-10-19T09:13:27.4244287+00:00", "Allocation": { "Start": "2025-10-19T09:13:27.4244287+00:00", "End": "2025-10-19T09:13:27.4244287+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:
{ "f1bb0da6-09ac-4100-a604-dbde5495c495": { "sample string 1": {}, "sample string 3": {} }, "4b5d783d-14b0-4469-87e7-617a5f988476": { "sample string 1": {}, "sample string 3": {} } }