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
NameDescriptionTypeAdditional information
WorkplanId

The Id of the new created workplan.

integer

None

DisciplineId

The discipline Id.

integer

None

DisciplineGroupId

The discipline group Id.

integer

None

GoalId

The goal Id.

integer

None

EpisodeId

The Episode Id

integer

None

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
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