POST PlanCare2Api/WorkplansV2/{workplanId}/SubGoal

Create a new workplanSubGoalV2.

Requires 'Start' permission for function WorkplanOverview {E5355268-B1D3-4447-B43B-B5DE20B8ADD8}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
workplanId

string

None

Body Parameters

The sub goal to save in the workplan.

WorkplanSubGoalV2
NameDescriptionTypeAdditional information
Id

The internal id of the SubGoal.

integer

None

Name

The name of the SubGoal.

string

Required

Status

The status description of the SubGoal.

string

None

Discipline

The discipline of the SubGoal.

Discipline

None

DisciplineGroup

The discipline group of the SubGoal.

DisciplineGroup

None

Actions

The actions of the SubGoal.

Collection of ActionV2

None

WorkTypeId

The worktype id of the SubGoal.

integer

None

WorkplanId

The id of the Workplan.

integer

Required

Remarks

Additional information about the SubGoal.

string

None

Request Formats

application/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'application/json'. Exception message: Er is een uitzondering opgetreden van het type System.OutOfMemoryException.

text/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'text/json'. Exception message: Er is een uitzondering opgetreden van het type System.OutOfMemoryException.

application/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'application/xml'. Exception message: Er is een uitzondering opgetreden van het type System.OutOfMemoryException.

text/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'text/xml'. Exception message: Er is een uitzondering opgetreden van het type System.OutOfMemoryException.

Response Information

Resource Description

Returns the HttpResponseMessage which contains the saved sub goal instance.

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None

Content

HttpContent

None

StatusCode

HttpStatusCode

None

ReasonPhrase

string

None

Headers

Collection of Object

None

RequestMessage

HttpRequestMessage

None

IsSuccessStatusCode

boolean

None