How to set up 'Script type' using REST API

Tuesday, July 10, 2018 7:08:55 AM

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 4:56:21 PM
Avatar
re: seprjmaz on Tuesday, July 10, 2018 7:08:55 AM

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 7:08:55 AM
  • Last Reply: Tuesday, July 10, 2018 4:56:21 PM
  • Replies: 1
  • Views: 243