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": "c068184a-b7d5-44e9-9aab-150733599183", "CostTypeId": "f5f4f180-ceba-4015-926b-391e671376c0", "Zoom": 1, "Start": "2025-04-07T13:33:52.7158514+00:00", "End": "2025-04-07T13:33:52.7158514+00:00", "Allocation": { "Start": "2025-04-07T13:33:52.7158514+00:00", "End": "2025-04-07T13:33:52.7158514+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:
{ "08bc2180-2e84-4551-a27c-d005a09df1ad": { "sample string 1": {}, "sample string 3": {} }, "baa89a95-f26d-48c0-98e9-5bba8015fa09": { "sample string 1": {}, "sample string 3": {} } }