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

Ingests a batch of data rows into a specified metadata matrix sheet.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

The ID of the matrix into which data is being ingested.

integer

Required

sheet

Optional sheet name to target a specific matrix sheet.

string

None.

version

Optional version identifier of the matrix.

string

None.

Body Parameters

A list of rows, where each row is a list of strings representing matrix cell values.

Collection of Collection of string

Request Formats

application/json, text/json, application/scim+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

On success: HTTP 200 OK indicating the data was ingested successfully. On failure: HTTP 400 Bad Request with a message indicating the error.

IHttpActionResult

None.

Response Formats

application/json, text/json, application/scim+json

Sample:

Sample not available.