none
BizTalk WebHTTP adapter calling API with parameters RRS feed

  • Question

  • I have been provided with ApiVersion, ApiKey, WorkspaceId variables for when calling API Url .
    Can someone please advise how can I achieve this scenario ?
    DO I have to promote these values and pass in as variable mapping OR I need to write a c# class.
    Please advise

    Any related documents will be of great help

    RH

    Friday, September 13, 2019 9:31 PM

All replies

  • You haven't told us how you need to use those in calling the API.

    Is it in the query string/url, then yes, you need to promote those properties and set it in the variable mapping and the url.  See WCF-WebHttp Adapter


    Monday, September 16, 2019 1:17 AM
  • Well I received the variables in the form of a string like : 

    "ApiVersion=20190211, ApiKey=12345, WorkspaceId=kabd12345";

    I have to pass these paramters when calling the API. 

    How can I achieve this scenario ?


    RH

    Monday, September 16, 2019 2:52 AM
  • Where is that "string" coming from? 

    Is it in the query string on your receive location?  

    Please fully describe your problem and give more details.  As it stands, we can only guess at what you need.

    Tuesday, September 17, 2019 4:10 AM