POST api/matrix/clone/{source}?matrixTitle={matrixTitle}&cloneMatrixData={cloneMatrixData}
Clones an existing matrix / ratecard, optionally updating the tagging, and optionally retaining the existing data.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
source |
The title or numeric ID of the matrix/ratecard to be cloned. |
string |
Required |
matrixTitle |
The title of the new matrix/ratecard (must be unique). |
string |
Required |
cloneMatrixData |
If true, the data in the source matrix/ratecard is also copied. If not, the data my be specified in the values array (see above). |
boolean |
Default value is False |
Body Parameters
An array rows, each of which is an array of column values. All columns must be populated.
Collection of Collection of stringRequest Formats
application/json, text/json
Sample:
[ [ "sample string 1", "sample string 2" ], [ "sample string 1", "sample string 2" ] ]
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample:
Sample not available.