PUT api/matrix/{id}?sheet={sheet}&version={version}

Overwrite a Matrix version with a full data set, this should not be used to update existing rates or add items to existing rate card. It should primarily be used to load the initial values after creating a new version

Request Information

URI Parameters

NameDescriptionTypeAdditional 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 udated.

string

None.

Body Parameters

An array of rows to be added, Each row must be an array of values for each column in the sheet being updated.

Collection of Collection of string

Request Formats

application/json, text/json

Sample:
[
  [
    "sample string 1",
    "sample string 2"
  ],
  [
    "sample string 1",
    "sample string 2"
  ]
]

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 'List`1'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.