How to insert a label_entry via REST API?

wimjongman
Kilo Contributor

Hi all,

I tried to create a label_entry via REST API, the label_entry is created but the field table_key is empty.

/api/now/table/label_entry {"label":"630086900f23320050c8cfdce1050efc","table":"incident","table_key":"7e1146100f23320050c8cfdce1050e5f","title":"Incident - INC0020001"}

Any idea why table_key   is not added?

6 REPLIES 6

Community Alums
Not applicable

How did you get this work as the maint role is hidden on the Roles list so you can't add it to the group/user?


HI @wimjongman 

 

cAn you please let us know what you did to make it working. Me too have the same problem.

 

 
Correct Answers 25
Helpful Answers 100
Knowledge 21 Registrant
3,696 points - Community Level 4