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": "e7f7ae51-2625-44e7-acb8-54fe84828607",
  "CostTypeId": "da5bde88-ca78-4542-bd37-3ef5c81dff4e",
  "Zoom": 1,
  "Start": "2024-12-13T18:48:46.4931844+00:00",
  "End": "2024-12-13T18:48:46.4931844+00:00",
  "Allocation": {
    "Start": "2024-12-13T18:48:46.4931844+00:00",
    "End": "2024-12-13T18:48:46.4931844+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:
{
  "eae80772-f04a-4fcc-8c5b-15acaef7449b": {
    "sample string 1": {},
    "sample string 3": {}
  },
  "f9369586-5384-4ec5-9551-360b22237e13": {
    "sample string 1": {},
    "sample string 3": {}
  }
}