AnsweredAssumed Answered

How to change thinkscale and model behavior with API DevTest ?

Question asked by Benoit_B on May 3, 2017
Latest reply on May 9, 2017 by wooda20

Hello,

 

With DevTest 8.1 or 10.0, is there a simple way to change thinkscale or model behavior ?

 

I've tried the following : 

1 - gett VS using API GET /api/Dcm/VSEs/serviceName/virtualServiceName

2 - update thinkScale inside xml file

3 - put the new xml file using API PUT /api/Dcm/VSEs/serviceName/virtualServiceName

 

Is it a good way ? 

With this, I have the following error : "<Id>1009</Id><Message>Unsupported Media Type</Message>" with a java stacktrace.

 

I'm using wget command : 

wget --user=svpower --password=svpower http://slzqla:1505/api/Dcm/VSEs/vse-sandbox/TestFBA
wget --user=svpower --password=svpower --method=PUT --body-file=TestFBA http://slzqla:1505/api/Dcm/VSEs/vse-sandbox/TestFBA

 

Is there something wrong ?

 

Regards,

 

Benoit

Outcomes