GET api/reports/layouts?controlId={controlId}
Serves reports layouts in json.
Request Information
URI Parameters
Name | Description | Type | Additional 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.ReportViewModelName | Description | Type | Additional 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>