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": "1e0c9848-0685-4d98-848d-159a11655540", "CostTypeId": "29cd827f-5a9e-476c-ac4c-981b7f351903", "Zoom": 1, "Start": "2025-09-04T03:09:24.7870067+00:00", "End": "2025-09-04T03:09:24.7870067+00:00", "Allocation": { "Start": "2025-09-04T03:09:24.7870067+00:00", "End": "2025-09-04T03:09:24.7870067+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:
{ "40fc6373-eb4a-4a78-8ea6-0a7b5af6dcbc": { "sample string 1": {}, "sample string 3": {} }, "5014c2f0-c24a-4a8a-960c-5433687dda3a": { "sample string 1": {}, "sample string 3": {} } }