GET PlanCare2Api/ClientplansV2/VisionModels?sectorId={sectorId}

Retrieve the vision models available for a clientplan V2 sector based on the sector.

Requires 'Start' permission for function ClientPlanOverview {7757BB23-A132-438A-9601-28E6BF9E4CA7}

Request Information

URI Parameters

Name Description Type Additional information
sectorId

The id of the sector.

integer

Required

Body Parameters

None.

Response Information

Resource Description

A list of clientplan V2 vision models

Collection of ClientplanVisionModel
Name Description Type Additional information
Id

The internal id of the vision model.

integer

-

Name

The name of the vision model.

string

-

Response Formats

application/json, text/json

Sample:
[
  {
    "$id": "1",
    "Id": 1,
    "Name": "sample string 2"
  },
  {
    "$ref": "1"
  }
]

application/xml, text/xml

Sample:
<ArrayOfClientplanVisionModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DHS.PlanCare.Web.Api.Interface.Clientplan">
  <ClientplanVisionModel>
    <Id>1</Id>
    <Name>sample string 2</Name>
  </ClientplanVisionModel>
  <ClientplanVisionModel>
    <Id>1</Id>
    <Name>sample string 2</Name>
  </ClientplanVisionModel>
</ArrayOfClientplanVisionModel>