POST api/Dimensions/{dataEntityStructureId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
dataEntityStructureId

integer

Required

Body Parameters

DimensionRow
NameDescriptionTypeAdditional information
TableId

integer

None.

Fields

Collection of DimensionField

None.

Request Formats

application/json, text/json

Sample:
{
  "TableId": 1,
  "Fields": [
    {
      "FieldName": "sample string 1",
      "Value": "sample string 2",
      "DataType": "sample string 3",
      "IsNullable": true
    },
    {
      "FieldName": "sample string 1",
      "Value": "sample string 2",
      "DataType": "sample string 3",
      "IsNullable": true
    }
  ]
}

application/xml, text/xml

Sample:
<DimensionRow xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DOMatchings.WebAPI.Models">
  <Fields>
    <DimensionField>
      <DataType>sample string 3</DataType>
      <FieldName>sample string 1</FieldName>
      <IsNullable>true</IsNullable>
      <Value>sample string 2</Value>
    </DimensionField>
    <DimensionField>
      <DataType>sample string 3</DataType>
      <FieldName>sample string 1</FieldName>
      <IsNullable>true</IsNullable>
      <Value>sample string 2</Value>
    </DimensionField>
  </Fields>
  <TableId>1</TableId>
</DimensionRow>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'DimensionRow'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.