cancel
Showing results for 
Search instead for 
Did you mean: 

SEGW - Structure and Table as input

former_member220538
Active Participant
0 Kudos

Hi,

Is it possible to create a GET service in SEGW which contains a structure and a table as input and one table as output?

If possible how to do it and pass values to it?

Thanks in advance

Regards,

Jeffin

Accepted Solutions (0)

Answers (1)

Answers (1)

AshwinDutt
Active Contributor
0 Kudos

Hello George,

Yes. U need to operate on BATCH for READ/QUERY operation.

Create an Entity which will be containing all the fields of your structure which u want to send as input structure.

Create a Complex Type which would a structure of that table type which u would like to send as input table.

Use this complex type inside the Entity containing all the fields of your structure which u want to send as input structure.

U cannot send all the table of inputs in one go for READ/QUERY operations.

You need to BATCH it in a payload and send.

The above modelling i have suggested to keep your structure fields and table fields separate so that they will not be mixed up and its easy to extract in DPC as well before u send it to your BE Logic

Regards,

Ashwin