How to store the response getting from api call.

Anonymous
Not applicable

How to store the response getting from api call.

Hi,

I want to store the lead id in an integer array that i am getting from upsert(Insertion and updation) rest api. can anyone please suggest any method to capture the fields from the response.

-Jatin

2 REPLIES 2
SanfordWhiteman
Level 10 - Community Moderator

Re: How to store the response getting from api call.

I don't understand the question. You're looking for a database recommendation? With no other requirements? No one can give you a solid answer for that.

Anonymous
Not applicable

Re: How to store the response getting from api call.

I am making a rest API call to insert update lead API which in response is

giving the output as Id of the inserted lead with email and some other

message.

Now I want to bifurcate that result and want to capture the ID of generated

lead in some variable in my Java code , so that I can pass that lead to

request campaign API.

So, please tell me about some way to achieve this.

Thank,

Jatin

On May 17, 2016 11:46 PM, "Sanford Whiteman" <marketingnation@marketo.com>