HI ,
I am trying to register tables using following API:
'http://{{localhost}}:{{port}}/TDMModelService/api/ca/v1/objects'
headers are {"Authorization": "Bearer " + login_token,"Accept": "application/json" , "Content-type": "application/json"}
payload is registerTables_playload = {"objectType":"TABLE", "connectionProfileName":"AI_TravelPYT", "schema":"dbo", "tableNames":["PEOPLE"]}
I have performed the following actions prior to this
login, create source and target connection profiles, create a project, verison, data generator, create environment, discover relationships and identify the tables under project, version.
when i try to register the tables, I am getting error code 415, unsupported media type. Can someone help.
Thanks
Ananda