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
    • 3 mths ago
    • Reported - view

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

      • Raveena_Mariappan
      • 3 mths ago
      • Reported - view

      this is exactly what I needed, thanks!

Content aside

  • Status Answered
  • 3 mths agoLast active
  • 2Replies
  • 44Views
  • 2 Following