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

Gets template of ClientReport

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

Identifier of template

integer

Required

format

Format of content

ApiTextFormat

None

Body Parameters

None.

Response Information

Resource Description

Return ClientReportTemplate

ClientReportTemplate
NameDescriptionTypeAdditional information
Id

The id of the template.

integer

None

Name

The name of the template.

string

None

Content

The content of the template.

string

None

ContentFormat

The format of the content.

ApiTextFormat

None

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>