How to set up 'Script type' using REST API

Tuesday, July 10, 2018
Avatar

Is there a way to set 'Script type' to 'Linked' using REST API?

 

I'm using POST: projects/{project_id}/test-cases/{test_case_id}/add-update-automation-script?... to add automation script to test case. It works file, but 'Script type' is set to 'Attached' by default. Is there any parameter to set 'Script type' to 'Linked'?

1 Replies
Tuesday, July 10, 2018
Avatar
re: seprjmaz Tuesday, July 10, 2018

Hi 

If you don't send any binary data in the POST, then it interprets it as LINKED, if you do send binary data, then it interprets it as ATTACHED.

Regards

Jim

Statistics
  • Started: Tuesday, July 10, 2018
  • Last Reply: Tuesday, July 10, 2018
  • Replies: 1
  • Views: 284