POST api/attributemetadata/{id}/attributereferences
Insert a new AttributeReference record
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id |
The primary key of the AttributeMetaData record in the database. |
integer |
Required |
Body Parameters
The AttributeReference object which is passed in via the request body
AttributeReferenceDtoName | Description | Type | Additional 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
The primary key (id) of the record inserted in the database.
integerResponse Formats
application/json, text/json
Sample:
1