PUT api/matrix/{id}/row?sheet={sheet}&version={version}&enableRow={enableRow}&sortByColumnType={sortByColumnType}
Adds a row of data to a matrix sheet, when a matrix has a unique identifier set on a column the row will be updated if it already exists.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id |
The unique matrix id |
integer |
Required |
sheet |
The sheet name to update, unless specified the first sheet will be updated. |
string |
None. |
version |
What version to update, unless specified the default version will be updated. |
string |
None. |
enableRow |
If true, any previously disabled row with the specified values will be enabled. |
boolean |
Default value is False |
sortByColumnType |
If a ColumnType is supplied, will re-sort the matrix after update on that column. If the column type is invalid, no sort is performed. |
string |
Default value is |
Body Parameters
An array of values to add to the row, the number of values must match the number of columns in the sheet.
Collection of stringRequest Formats
application/json, text/json
[ "sample string 1", "sample string 2" ]
application/x-www-form-urlencoded
Response Information
Resource Description
MatrixListDTO
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample not available.