GET api/Report/GetPageProperties

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

PagePropertiesMainViewModel
NameDescriptionTypeAdditional information
PageProperties

Collection of PagePropertiesViewModel

None.

ShapeAnnotationDefaults

ShapeAnnotations

None.

Response Formats

application/json, text/json

Sample:
{
  "pageProperties": [
    {
      "reportName": "sample string 1",
      "reportId": 2,
      "pageFormat": "sample string 3",
      "pageOrientation": 4
    },
    {
      "reportName": "sample string 1",
      "reportId": 2,
      "pageFormat": "sample string 3",
      "pageOrientation": 4
    }
  ],
  "shapeAnnotationDefaults": {
    "shapes": [
      {
        "shapeName": "sample string 1",
        "shapeSVG": "sample string 2",
        "shapeViewBox": "sample string 3"
      },
      {
        "shapeName": "sample string 1",
        "shapeSVG": "sample string 2",
        "shapeViewBox": "sample string 3"
      }
    ],
    "patterns": [
      {
        "shapeName": "sample string 1",
        "shapeSVG": "sample string 2",
        "shapeViewBox": "sample string 3"
      },
      {
        "shapeName": "sample string 1",
        "shapeSVG": "sample string 2",
        "shapeViewBox": "sample string 3"
      }
    ]
  }
}

application/xml, text/xml

Sample:
<PagePropertiesMainViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/StairBiz.Contracts.ViewModels">
  <PageProperties>
    <PagePropertiesViewModel>
      <PageFormat>sample string 3</PageFormat>
      <PageOrientation>4</PageOrientation>
      <ReportId>2</ReportId>
      <ReportName>sample string 1</ReportName>
    </PagePropertiesViewModel>
    <PagePropertiesViewModel>
      <PageFormat>sample string 3</PageFormat>
      <PageOrientation>4</PageOrientation>
      <ReportId>2</ReportId>
      <ReportName>sample string 1</ReportName>
    </PagePropertiesViewModel>
  </PageProperties>
  <ShapeAnnotationDefaults>
    <Patterns>
      <ShapeAnnotation>
        <ShapeName>sample string 1</ShapeName>
        <ShapeSVG>sample string 2</ShapeSVG>
        <ShapeViewBox>sample string 3</ShapeViewBox>
      </ShapeAnnotation>
      <ShapeAnnotation>
        <ShapeName>sample string 1</ShapeName>
        <ShapeSVG>sample string 2</ShapeSVG>
        <ShapeViewBox>sample string 3</ShapeViewBox>
      </ShapeAnnotation>
    </Patterns>
    <Shapes>
      <ShapeAnnotation>
        <ShapeName>sample string 1</ShapeName>
        <ShapeSVG>sample string 2</ShapeSVG>
        <ShapeViewBox>sample string 3</ShapeViewBox>
      </ShapeAnnotation>
      <ShapeAnnotation>
        <ShapeName>sample string 1</ShapeName>
        <ShapeSVG>sample string 2</ShapeSVG>
        <ShapeViewBox>sample string 3</ShapeViewBox>
      </ShapeAnnotation>
    </Shapes>
  </ShapeAnnotationDefaults>
</PagePropertiesMainViewModel>