PUT api/attribute/bulk/{type}

Performs a bulk update of attribute list values for a specified attribute type.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
type

The base type of the attribute list (e.g., "category", "region").

string

Required

Body Parameters

A list of rows, where each row is a list of strings. The first N values correspond to tags (as defined in the query string), followed by the attribute value and optional label.

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 attribute values were updated 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.