You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

REST-Framework-Version header in Groovy

edited Jul 20, 2020 4:42PM in Sales 7 comments

Summary

I am trying to call REST API of activities and giving QUERY string with AND, OR parameters

Content

I am trying to call REST API of activities and giving QUERY string with AND, OR parameters. When I test in POSTMAN, as part of header REST-Framework-Version variable need to be set to call API. But while calling the same API from groovy script, 

1. Do I need to specify explicitly REST-Framework-Version in Groovy?

2. If yes, how can I specify that in Groovy?

Note: I tried to call API with AND, OR parameter same like normal call in Groovy. But ServiceInvocationException error.

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!