Create Managed Metadata column in a list using REST API

%3CLINGO-SUB%20id%3D%22lingo-sub-2106713%22%20slang%3D%22en-US%22%3ECreate%20Managed%20Metadata%20column%20in%20a%20list%20using%20REST%20API%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2106713%22%20slang%3D%22en-US%22%3E%3CP%3EI%20am%20able%20to%20create%20columns%20in%20a%20list%20using%20the%20HTTP%20Request%20in%20Flow%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CPRE%20class%3D%22lia-code-sample%20language-applescript%22%3E%3CCODE%3E%7B%0A%20%20'__metadata'%3A%20%7B%20'type'%3A%20'SP.FieldText'%20%7D%2C%0A%20%20'FieldTypeKind'%3A%2020%2C%0A%20%20'Title'%3A%20'Role'%0A%7D%3C%2FCODE%3E%3C%2FPRE%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHowever%2C%20does%20anyone%20know%20which%20FieldTypeKind%20value%20to%20use%20or%20other%20terms%20to%20use%20for%20adding%20a%20Metadata%20column%20to%20a%20list%20using%20the%20REST%20API%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2106713%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EMicrosoft%20Flow%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Occasional Contributor

I am able to create columns in a list using the HTTP Request in Flow:

 

{
  '__metadata': { 'type': 'SP.FieldText' },
  'FieldTypeKind': 20,
  'Title': 'Role'
}

 

However, does anyone know which FieldTypeKind value to use or other terms to use for adding a Metadata column to a list using the REST API?

1 Reply

@dirkzwart 

 

I am not sure if it is possible to create a managed metadata column using SharePoint REST API. I didn't find any FieldTypeKind for managed metadata columns in Microsoft documentation - FieldType enumeration 

 

Also, you might want to check below Microsoft documentation which covers column/field related SharePoint REST API examples:

Fields REST API reference 


Please click Mark as Best Response if my post helped you to solve your issue. This will help others to find the correct solution easily. It also closes the item. If the post was useful in other ways, please consider giving it Like.