Report.ReportDefineDAL.Create

Parameters:

Name Type Description
Entity ReportDefine

Returns: ReportDefine

Sample:

Request:

    {
    "jsonrpc": "2.0",
    "method": "Report.ReportDefineDAL.Create",
    "params": {
        "Entity" : {
          "Id": "",
          "Caption": "",
          "RepClass": "",
          "SQL1": "",
          "SQL2": "",
          "Template": "",
          "strColumnDefine": "",
          "strColumnDefine2": "",
          "IsCustomConditionForm": false,
          "CustomConditionFormType": "",
          "strConditions": "",
          "Version": 1,
          "Columns": [
            {
              "FieldName": "",
              "Caption": "",
              "CanFilter": false,
              "CanFocus": false,
              "CanGroup": false,
              "CanMove": false,
              "CanResize": false,
              "CanSort": false,
              "Footer": 0,
              "Width": 1
            }
          ],
          "Columns2": [
            {
              "FieldName": "",
              "Caption": "",
              "CanFilter": true,
              "CanFocus": true,
              "CanGroup": true,
              "CanMove": true,
              "CanResize": true,
              "CanSort": true,
              "Footer": 0,
              "Width": 120
            }
          ],
          "Conditions": [
            {
              "Name": "",
              "FieldName": "",
              "Caption": "",
              "Type": 1,
              "SelectDataType": {
                "DataType": null,
                "Caption": "",
                "DisplayFieldName": ""
              },
              "Options": [],
              "IsParamCondition": false,
              "UsedSQL": 0,
              "LikePosition": 0
            }
          ],
          "IdValues": [
            ""
          ]
        } /* [ReportDefine]*/
        
    },
    "id": 1,
    "tags": {
        "usertoken": "",
        "sessionid": ""
    }
  }
Response:
{
  "jsonrpc": "2.0",
  "result": {
    "Id": "",
    "Caption": "",
    "RepClass": "",
    "SQL1": "",
    "SQL2": "",
    "Template": "",
    "strColumnDefine": "",
    "strColumnDefine2": "",
    "IsCustomConditionForm": false,
    "CustomConditionFormType": "",
    "strConditions": "",
    "Version": 1,
    "Columns": [
      {
        "FieldName": "",
        "Caption": "",
        "CanFilter": false,
        "CanFocus": false,
        "CanGroup": false,
        "CanMove": false,
        "CanResize": false,
        "CanSort": false,
        "Footer": 0,
        "Width": 1
      }
    ],
    "Columns2": [
      {
        "FieldName": "",
        "Caption": "",
        "CanFilter": true,
        "CanFocus": true,
        "CanGroup": true,
        "CanMove": true,
        "CanResize": true,
        "CanSort": true,
        "Footer": 0,
        "Width": 120
      }
    ],
    "Conditions": [
      {
        "Name": "",
        "FieldName": "",
        "Caption": "",
        "Type": 1,
        "SelectDataType": {
          "DataType": null,
          "Caption": "",
          "DisplayFieldName": ""
        },
        "Options": [],
        "IsParamCondition": false,
        "UsedSQL": 0,
        "LikePosition": 0
      }
    ],
    "IdValues": [
      ""
    ]
  },
  "error": null,
  "id": 1
}