GET PlanCare2Api/ClientReports/Template?id={id}&format={format}

Gets template of ClientReport

Request Information

URI Parameters

Name Description Type Additional information
id

Identifier of template

integer

Required

format

Format of content

<Nullable>ApiTextFormat

-

Body Parameters

None.

Response Information

Resource Description

Return ClientReportTemplate

ClientReportTemplate
Name Description Type Additional information
Id

The id of the template.

integer

-

Name

The name of the template.

string

-

Content

The content of the template.

string

-

ContentFormat

The format of the content.

ApiTextFormat

-

Response Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Name": "sample string 2",
  "Content": "sample string 3",
  "ContentFormat": 0
}

application/xml, text/xml

Sample:
<ClientReportTemplate xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DHS.PlanCare.Web.Api.Interface.ClientReport">
  <Content>sample string 3</Content>
  <ContentFormat>WordML</ContentFormat>
  <Id>1</Id>
  <Name>sample string 2</Name>
</ClientReportTemplate>