0

Is there a way to get the modelId for the /API3/dataSources/addRolesToModel API without using the Admin Console?

The /API3/dataSources/addRolesToModel API requires an itemId as an input parameter. To obtain the itemId, I currently need to navigate through the Admin Console by going to Source Manager > DataServer > Database > model, and then retrieve the "Model Id" from the General Tab. Is there an alternative method to obtain the modelId without accessing the Admin Console?

2 replies

null
    • yuval_adi
    • 4 mths ago
    • Reported - view

    /API3/dataSources/findModelConnection - you should supply server name, database name, model name

      • Raveena_Mariappan
      • 4 mths ago
      • Reported - view

      this is exactly what I needed, thanks!

Content aside

  • Status Answered
  • 4 mths agoLast active
  • 2Replies
  • 45Views
  • 2 Following