cancel
Showing results for 
Search instead for 
Did you mean: 

How to create a request that starts with [

DCorralesM
Explorer
0 Kudos

Hi!

I am creating a SAP-PO Integration with REST Adapter, I need to create the folowing request structure:

[
	{
		"CoordenadasCXCYCliente": {
			"CX": "",
			"CY": ""
		},
		"Direccion": "",
		"Ciudad": "",
		"TipoConsulta": ""
	},
	{
		"CoordenadasCXCYCliente": {
			"CX": "",
			"CY": ""
		},
		"Direccion": "",
		"Ciudad": "",
		"TipoConsulta": ""
	}	
]

This is the definition of my data type:

In the communication channel configuration in the "data format" section I convert the "ConsultarGeocercaParticularidad" field to an array:

If the array has only one position, the integration works 0K, but with more positions the following error occurs:

¿Can you help me solve the problem please? Any ideas?

Regards!

anupam_ghosh2
Active Contributor

Hi Duvan,

Please provide sample xml which has more positions.

Need to check the format.

Regards

Anupam

DCorralesM
Explorer
0 Kudos

Hi Anupam!, thank you for your reply. This is the XML generated:

Accepted Solutions (0)

Answers (0)