GET api/reports/layouts?controlId={controlId}

Serves reports layouts in json.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
controlId

The id of the requested control of layouts.

integer

Required

Body Parameters

None.

Response Information

Resource Description

A list of report layouts based on given control id.

Cyberlogic.eTourism.Domain.ViewModels.Shared.ReportViewModel
NameDescriptionTypeAdditional information
ReportId

integer

None.

Url

string

None.

Response Formats

application/json, text/json

Sample:
{
  "ReportId": 1,
  "Url": "sample string 2"
}

text/html

Sample:
{"ReportId":1,"Url":"sample string 2"}

application/xml, text/xml

Sample:
<ReportViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cyberlogic.eTourism.Domain.ViewModels.Shared">
  <ReportId>1</ReportId>
  <Url>sample string 2</Url>
</ReportViewModel>