POST api/resplan/{id}/allocate?ResMode={ResMode}

Allocate resource to plan

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

globally unique identifier

Required

ResMode

boolean

Default value is False

Body Parameters

AllocationPost
NameDescriptionTypeAdditional information
LineId

globally unique identifier

None.

CostTypeId

globally unique identifier

None.

Zoom

Zoom

None.

Start

date

None.

End

date

None.

Allocation

AllocationClass

None.

Request Formats

application/json, text/json

Sample:
{
  "LineId": "ed88278e-7d8a-4c05-b7fb-b1bdfe60c594",
  "CostTypeId": "e1a0e075-9402-4573-accf-cdab8850fc3a",
  "Zoom": 1,
  "Start": "2024-10-18T08:36:07.5510837+00:00",
  "End": "2024-10-18T08:36:07.5510837+00:00",
  "Allocation": {
    "Start": "2024-10-18T08:36:07.5510837+00:00",
    "End": "2024-10-18T08:36:07.5510837+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:
{
  "363bc12f-d501-448c-9226-adb59ab322ba": {
    "sample string 1": {},
    "sample string 3": {}
  },
  "5c9cff63-5f83-4710-bcd4-506c12ef8bec": {
    "sample string 1": {},
    "sample string 3": {}
  }
}