To create a List entity in the Smart3D Catalog Schema Database:
POST
<ServiceRoot>/Sites(‘MySiteAlias’)/Plants(‘PlantA’)/Lists
{
"Name": " CustomCodeList",
"DisplayName": "Custom list",
"Description": "Custom list for the new custom property"
}
Optionally, the user may also supply the values for related navigation properties to have them created or linked to them:
{
"Name": " CustomCodeList",
"DisplayName": "Custom list",
"Description": "Custom list for the new custom property"
"Items":
[
{
"Name":"Item1",
"DisplayName":"Code list Item1",
"AConversion": 0.0,
"BConversion": 0.0,
"Value": 1
},
{
"Name”:”Item2",
"DisplayName":"Item2",
"AConversion": 0.0,
"BConversion": 0.0,
"Value": 2
}
]
}