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": "8aa1c9c6-291d-4227-86cf-ded824dfacfc", "CostTypeId": "615d394f-f1df-4b17-b329-1c936b12a7c6", "Zoom": 1, "Start": "2025-05-23T22:05:43.249268+00:00", "End": "2025-05-23T22:05:43.249268+00:00", "Allocation": { "Start": "2025-05-23T22:05:43.249268+00:00", "End": "2025-05-23T22:05:43.249268+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:
{ "1d921089-fa6d-42e2-b2d8-0012fc317275": { "sample string 1": {}, "sample string 3": {} }, "a12cf928-54e9-4acb-816e-c98d362158cc": { "sample string 1": {}, "sample string 3": {} } }