# POST /DataCube/ReplaceStructure/{id}/

Replaces the structure of a select transform. This is used to change one structure with another to effectively replace the source of a select transform.

## Request

Method | Request URI
--- | ---
POST | /API/DataCube/ReplaceStructure/{id}/?sessionId=value

### URI Parameters

URI Parameter | Description
--- | ---
sessionId | Current session ID.

### Path Parameters

Path Parameter | Description
--- | ---
id | The ID of the data cube to replace the select transform on.

### Request Body

Name: options
Type: Dundas.BI.WebApi.Models.ReplaceStructureOptions

## Response

### Response Body

A Dundas.BI.WebApi.Models.DataCubeData object containing the updated data cube data, or a status code indicating the problem.

© 1999-2021 Dundas Data Visualization, Inc.