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

Update resource plan

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

Work Plan Id

globally unique identifier

Required

ResMode

boolean

Default value is False

Body Parameters

ResUpdate
NameDescriptionTypeAdditional information
Mode

ResPlanMode

None.

Zoom

Zoom

None.

LineId

globally unique identifier

None.

CostType

globally unique identifier

None.

Values

Dictionary of date [key] and decimal number [value]

None.

Request Formats

application/json, text/json

Sample:
{
  "Mode": 0,
  "Zoom": 1,
  "LineId": "1263317d-c83b-4b3e-a31b-933c24282299",
  "CostType": "bdd68461-5fd2-46b1-baee-a88d90c75091",
  "Values": {
    "2024-12-16T20:50:25.1326684+00:00": 2.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:
{
  "eef15306-c682-4322-a19d-0680f8a80bb6": {
    "sample string 1": {},
    "sample string 3": {}
  },
  "57af0c50-d08e-4f9e-825f-f081ae697d06": {
    "sample string 1": {},
    "sample string 3": {}
  }
}