GET PlanCare2Api/DynamicData/Protocols

Gets protocols

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Protocols by name and content

Collection of ProtocolsResult
Name Description Type Additional information
Protocolid

Identifier of the protocol

integer

Nullable

Name

Name of the protocol

string

-

Validfrom

The date from which the protocol is valid

date

Nullable

Validuntil

The date to which the protocol is valid

date

Nullable

Protocol

Content of de protocol in RTF

string

-

Response Formats

application/json, text/json

Sample:
[
  {
    "$id": "1",
    "Protocolid": 1,
    "Name": "sample string 1",
    "Validfrom": "2026-05-26T22:06:27.2657334+02:00",
    "Validuntil": "2026-05-26T22:06:27.2657334+02:00",
    "Protocol": "sample string 2"
  },
  {
    "$ref": "1"
  }
]

application/xml, text/xml

Sample:
<ArrayOfDynamicDataController.ProtocolsResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DHS.PlanCare.Web.Api.Controllers">
  <DynamicDataController.ProtocolsResult>
    <Name>sample string 1</Name>
    <Protocol>sample string 2</Protocol>
    <Protocolid>1</Protocolid>
    <Validfrom>2026-05-26T22:06:27.2657334+02:00</Validfrom>
    <Validuntil>2026-05-26T22:06:27.2657334+02:00</Validuntil>
  </DynamicDataController.ProtocolsResult>
  <DynamicDataController.ProtocolsResult>
    <Name>sample string 1</Name>
    <Protocol>sample string 2</Protocol>
    <Protocolid>1</Protocolid>
    <Validfrom>2026-05-26T22:06:27.2657334+02:00</Validfrom>
    <Validuntil>2026-05-26T22:06:27.2657334+02:00</Validuntil>
  </DynamicDataController.ProtocolsResult>
</ArrayOfDynamicDataController.ProtocolsResult>