Get the layout of a measure
                Get the layout of a measure by using the GetLayout method.
Example
In this example, the first step is to create a measure and then to display its layout.
1. Create the measure Measure01. The label of the measure is Count of Country. Its definition is Count(Country).
The client sends:
{
  "jsonrpc": "2.0",
  "id": 2,
  "method": "CreateMeasure",
  "handle": 1,
  "params": [
    {
      "qInfo": {
        "qId": "Measure01",
        "qType": "Measure"
      },
      "qMeasure": {
        "qLabel": "Count of Country",
        "qDef": "=Count(Country)"
      }
    }
  ]
}
                        The engine returns:
{
  "jsonrpc": "2.0",
  "id": 2,
  "result": {
    "qReturn": {
      "qType": "GenericMeasure",
      "qHandle": 2
    },
    "qInfo": {
      "qId": "Measure01",
      "qType": "Measure"
    }
  },
  "change": [
    2
  ]
}
                        The measure is created and has 2 as a handle.
2. Display the layout of the measure. The handle of the request is 2 because the measure has 2 as a handle.
The client sends:
{
  "jsonrpc": "2.0",
  "id": 4,
  "method": "GetLayout",
  "handle": 2,
  "params": []
}
                        The engine returns:
{
  "jsonrpc": "2.0",
  "id": 4,
  "result": {
    "qLayout": {
      "qInfo": {
        "qId": "Measure01",
        "qType": "Measure"
      },
      "qMeasure": {
        "qLabel": "Count of Country",
        "qDef": "=Count(Country)",
        "qGrouping": "N",
        "qExpressions": [],
        "qActiveExpression": 0
      }
    }
  }
}
                        The label and definition of the measure are returned.