Asif
Posts: 0
Joined: Tue Aug 13, 2013 12:56 pm

how to get a particular column value of a collection in response using JS

Hi
I have one collection which has a column called 'NAME', I want to run a query service to this collection and get the response ("NAME") in an array.

pls help!!

Asif
Posts: 0
Joined: Tue Aug 13, 2013 12:56 pm

how to get a particular column value of a collection in response using JS

I am getting below error

"status":"400 Bad Request",
"url":"https://api.appery.io/rest/1/db/colle...",
"response":{
"code":"BCXX002",
"description":"Cannot consume content type"
}

Asif
Posts: 0
Joined: Tue Aug 13, 2013 12:56 pm

how to get a particular column value of a collection in response using JS

Ok I understood why this error was coming..
Now I am getting collections values, but now how to put them in an array?

Dirk Gissing
Posts: 0
Joined: Sat Oct 12, 2013 4:18 pm

how to get a particular column value of a collection in response using JS

Asif, how did you solve the problem?

Dirk Gissing
Posts: 0
Joined: Sat Oct 12, 2013 4:18 pm

how to get a particular column value of a collection in response using JS

I'm sorry for the late response, but haven't been here for a long time.
I have a problem with getting the value of a response object from REST. I made a service in which I get the value of a JSON object from an external website. I mapped this response to a javascript and now I want to get the value of this response in javascript code. What is the code for this? I've tried ['responseobject'].val but it doesn't work. Do you have a solution for this?

Return to “Issues”