ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum IndexWebSphere Message Broker SupportREST API array query parameter

Post new topicReply to topic
REST API array query parameter View previous topic :: View next topic
Author Message
sajtron
PostPosted: Wed Jan 09, 2019 7:35 am Post subject: REST API array query parameter Reply with quote

Novice

Joined: 31 May 2011
Posts: 24

Hi,

we want to pass array as query parameter with RESTRequest node but with no succes.
We tried:
Code:

SET OutputLocalEnvironment.Destination.REST.Request.Parameters.pr1[1] = 'pr11';
SET OutputLocalEnvironment.Destination.REST.Request.Parameters.pr1[2] = 'pr12';


This returns error "Multiple values found in LocalEnvironment for parameter".

It works when we use HTTPRequest node with this ESQL:
Code:

SET OutputLocalEnvironment.Destination.HTTP.QueryString.p1[1] = 'pr11';
SET OutputLocalEnvironment.Destination.HTTP.QueryString.p1[2] = 'pr12';


Is there a way how to make it work with RESTRequest node?
Back to top
View user's profile Send private message
Display posts from previous:
Post new topicReply to topic Page 1 of 1

MQSeries.net Forum IndexWebSphere Message Broker SupportREST API array query parameter
Jump to:



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP


Theme by Dustin Baccetti
Powered by phpBB 2001, 2002 phpBB Group

Copyright MQSeries.net. All rights reserved.