Skip to main content

Hi Experts,

 

I need to create a JSON array in an FSM Outbound Integration. I followed this article, which was helpful.

FSM Outbound Maps - Always use the Json array for specific entities

However, this method somehow includes the JSON root element in the outbound payload. I have already set 'Omit JSON Root' in the details section, but the root element is still present. Is there another way to remove it?

Here is sample outbound payload -

{
  "part_need": {
    "sequence": "1134395",
    "wCode": "CC",
    "priority": "1",
    "tCode": "",
    "part_need_tasks": e
      {
        "pCode": "40103-1001",
        "bCode": "40103-1001",
        "orderNumber": "1542692",
        "orderLineNumber": "1175305.0000000000"
      }
    ]
  }
}

 

I need the output without the top “part_need” element.

My current map settings are quite simple and configured as follows:

 

 

 

I have tried the following 3 JSON data connectors - 

Basic/Standard:

  • Metrix.Integration.JSONOutboundConnector

Advanced:

  • Metrix.Integration.Integration.DataConnectors.Outbound.IFSJSONOutboundConnector
  • Metrix.Integration.Integration.DataConnectors.Outbound.IFSJSONOutboundConnectorEx

My observations are - 

While with Basic/Standard connector, the @array setting is not working, but the 'Omit JSON Root' function is working correctly. However, with the  Advanced connectors, '@array' is working, but 'Omit JSON Root' is not.

 

I am on FSM 6U28 (6.28.8870.5924).

 

 @ruben.maas ​@Lee Pinchbeck ​@Saranga Amaraweera  - truly appreciate your help in this. 

 

Thanks,

Arti Sagar

Be the first to reply!