GET PlanCare2Api/VisionModels/{visionModelId}/VisionModelItems/{visionModelItemId}/MainGoals

Retrieve all maingoals for the provided visionModelItem.

At least one of these modules is required: ICP

Request Information

URI Parameters

NameDescriptionTypeAdditional information
visionModelId

The identifier of the visionmodel.

integer

Required

visionModelItemId

The identifier of the visionmodelItem.

integer

Required

Body Parameters

None.

Response Information

Resource Description

A list of maingoals.

Collection of MainGoal
NameDescriptionTypeAdditional information
Id

The internal id of the MainGoal

globally unique identifier

None

Name

The name of the MainGoal

string

None

Code

The code of the MainGoal

string

None

Response Formats

application/json, text/json

Sample:
[
  {
    "$id": "1",
    "Id": "0dbac095-5633-4c00-86b1-ce7693b4696c",
    "Name": "sample string 2",
    "Code": "sample string 3"
  },
  {
    "$ref": "1"
  }
]

application/xml, text/xml

Sample:
<ArrayOfMainGoal xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DHS.PlanCare.Web.Api.Interface.Clientplan">
  <MainGoal>
    <Code>sample string 3</Code>
    <Id>0dbac095-5633-4c00-86b1-ce7693b4696c</Id>
    <Name>sample string 2</Name>
  </MainGoal>
  <MainGoal>
    <Code>sample string 3</Code>
    <Id>0dbac095-5633-4c00-86b1-ce7693b4696c</Id>
    <Name>sample string 2</Name>
  </MainGoal>
</ArrayOfMainGoal>