PUT api/attributemetadata/{id}/attributereferences/{attributeReferenceId}

Update an existing AttributeReference record

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

The primary key of the AttributeMetaData record in the database.

integer

Required

attributeReferenceId

The primary key of the AttributeReference record in the database.

integer

Required

Body Parameters

The AttributeReference object which is passed in via the request body

AttributeReferenceDto
NameDescriptionTypeAdditional information
Id

The primary key of the record in the database.

integer

None.

Name

Name of the AttrbiteReference.

string

None.

Value

Value of the AttrbiteReference. The datatype of the value provided must conform to the datatype set in the AttributeMetaData. This value is ignored for updates.

Object

None.

Inactive

boolean

None.

SortOrder

An assigned numerical value to control the order of how the AttributeReference is displayed in a sorted list in an application.

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Name": "sample string 2",
  "Value": {},
  "Inactive": true,
  "SortOrder": 1
}

Response Information

Resource Description

None.