POST api/reportserver/v2/documents

    Generates a new report document on the server.

    Request Information

    URI Parameters

    None.

    Body Parameters

    The data model needed to create the document.

    CreateDocumentData
    NameDescriptionTypeAdditional information
    ReportId

    Specifies the ID of the report which should be rendered.

    string

    Required

    Format

    Specifies the document format in which the report should be rendered.

    string

    Required

    DeviceInfo

    Specifies the device information settings.

    Dictionary of string [key] and Object [value]

    None.

    ParameterValues

    Specifies the actual values of the report parameters that will be used during the report rendering.

    Dictionary of string [key] and Object [value]

    None.

    Request body formats

    application/json, text/json

    Sample:
    {
      "ReportId": "sample string 1",
      "Format": "sample string 2",
      "DeviceInfo": {
        "sample string 1": {},
        "sample string 3": {}
      },
      "ParameterValues": {
        "sample string 1": {},
        "sample string 3": {}
      }
    }

    Response Information

    Resource Description

    The ID of the generated report document.

    string
    NameDescriptionTypeAdditional information

    Response Formats

    application/json, text/json

    Sample:
    "sample string 1"
    In this article
    Not finding the help you need?