POST PlanCare2Api/WorkplansV2

Create a new workplanV2.

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

Request Information

URI Parameters

None.

Body Parameters

The workplan to save

CreateWorkplanV2
Name Description Type Additional information
WorkplanId

The Id of the new created workplan.

integer

-

DisciplineId

The discipline Id.

integer

Nullable

DisciplineGroupId

The discipline group Id.

integer

Nullable

GoalId

The goal Id.

integer

Nullable

EpisodeId

The Episode Id

integer

Nullable

Request Formats

application/json, text/json

Sample:
{
  "WorkplanId": 1,
  "DisciplineId": 1,
  "DisciplineGroupId": 1,
  "GoalId": 1,
  "EpisodeId": 1
}

application/xml, text/xml

Sample:
<CreateWorkplanV2 xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DHS.PlanCare.Web.Api.Interface.Clientplan">
  <DisciplineGroupId>1</DisciplineGroupId>
  <DisciplineId>1</DisciplineId>
  <EpisodeId>1</EpisodeId>
  <GoalId>1</GoalId>
  <WorkplanId>1</WorkplanId>
</CreateWorkplanV2>

Response Information

Resource Description

Returns the HttpResponseMessage which contains the saved workplan instance

HttpResponseMessage
Name Description Type Additional information
Version

Version

-

Content

HttpContent

-

StatusCode

HttpStatusCode

-

ReasonPhrase

string

-

Headers

Collection of Object

-

RequestMessage

HttpRequestMessage

-

IsSuccessStatusCode

boolean

-