Search found 5 matches

by naek
Tue May 14, 2024 6:58 pm
Forum: Questions & Answers
Topic: Object definition in API and read multiple object from JSON
Replies: 1
Views: 10620

Object definition in API and read multiple object from JSON

Hello all,

I hope everyone is doing well :)

I'm currently working on an API project to externalize Micro Services.

1- Regarding the GET method, I was able to create an API that retrieves results from multiple tables and returns the JSON in the following format:
Example:
{
"level1": {
"level2 ...
by naek
Thu Jan 18, 2024 1:35 am
Forum: Questions & Answers
Topic: The index 1 is out of the allowed range (1 to 0).
Replies: 3
Views: 48066

Re: The index 1 is out of the allowed range (1 to 0).

Hi Tim,

Thank you for your response.

Yes, I have already done this :

/x_lansa/x_Par/web/vl/_RAMPNodes_RAMP_DEFAULT_SESSION.js
/x_lansa/x_Par/web/vl/_RAMPNodes_5848EC0853D1414685BA578D30E7AEDC.js

It appears that when I run a script on VLF-One, the script is automatically updated.
by naek
Tue Jan 16, 2024 2:24 am
Forum: Questions & Answers
Topic: The index 1 is out of the allowed range (1 to 0).
Replies: 3
Views: 48066

The index 1 is out of the allowed range (1 to 0).

Hello everyone,

I'm attempting to apply RAMP to an example, as outlined in almost every tutorial I've come across for RAMP. Here are the steps I'm following:

1- The initial step involves creating a list with details.
1.JPG

2- The second step is connecting to RAMP and saving all steps to the ...
by naek
Thu Dec 14, 2023 8:02 pm
Forum: Questions & Answers
Topic: Creating a POST request in VL-Web that can be consumed by a LANSA-generated API
Replies: 3
Views: 38334

Re: Creating a POST request in VL-Web that can be consumed by a LANSA-generated API

Thank you Dino for your response.

After reviewing the post, I'm unsure whether I should create a separate server module or a reusable component to handle constructing requests based on the inputs within my web page.
The message from VL regarding XPRIM_JsonObject not being supported for web use ...
by naek
Wed Dec 13, 2023 7:11 pm
Forum: Questions & Answers
Topic: Creating a POST request in VL-Web that can be consumed by a LANSA-generated API
Replies: 3
Views: 38334

Creating a POST request in VL-Web that can be consumed by a LANSA-generated API

Hi,

I'm presently working on a project that requires utilizing a VL-generated web service. This service operates flawlessly during POSTMAN testing. However, when trying to connect with the service through VL-Web, I face a challenge: sending with parameters in String format instead of JSON, I tried ...