...
IMetadataStructureManager
Syntax
Task<MetadataStructure> Create(MetadataStructureDTO metadataStructure);
Returns
Task<MetadataStructure>
API Endpoint
POST
/api/v1/metadata-definitions
...
Example
Code Block | ||
---|---|---|
| ||
var metadataStructure = new MetadataStructureDTO
{
MetadataStructureColumns = new List<MetadataStructureColDTO>
{
new MetadataStructureColDTO
{
ColumnName = "column_name",
DataType = "string",
IsSearchable = true,
KeyName = "my name",
KeyNameEng = "key name en",
KeyNameFra = "key name fra"
}
},
ServiceId = 11,
VersionNumber = "1.0"
};
var structure = await MetadataStructureManager.Create(metadataStructure); |