POST PlanCare2Api/WorkplansV2/{workplanId}/SubGoal
Create a new workplanSubGoalV2.
Requires 'Start' permission for function WorkplanOverview {E5355268-B1D3-4447-B43B-B5DE20B8ADD8}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| workplanId | string |
None |
Body Parameters
The sub goal to save in the workplan.
WorkplanSubGoalV2| Name | Description | Type | Additional 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:
text/json
Sample:
application/xml
Sample:
text/xml
Sample:
Response Information
Resource Description
Returns the HttpResponseMessage which contains the saved sub goal instance.
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None |
|
| Content | HttpContent |
None |
|
| StatusCode | HttpStatusCode |
None |
|
| ReasonPhrase | string |
None |
|
| Headers | Collection of Object |
None |
|
| RequestMessage | HttpRequestMessage |
None |
|
| IsSuccessStatusCode | boolean |
None |