Skip to main content
Solved

Use integration map for outbound requests via DOATA

  • April 8, 2022
  • 1 reply
  • 147 views

Forum|alt.badge.img+4

We currently have a integration map to process incoming data from a middleware solution. When we call the ODATA endpoint '/perform_inbound_integration', and provide the information in the middleware terminology, it gets translated and processed correctly.

We want to retrieve the information via ODATA via the same integration map, so also translated to the middleware terminology. How can we retrieve this mapped response? I am not looking to trigger an outbound perform, as this then should login to another endpoint, making things way more complex.

For example:

The integration map contains these mappings.

 

We can POST to /perform_inbound_integration with this data

"parameters": {
"mapping_name": "our-odata-middleware-test",
"xml_import": {
"inbound": {
"ticket": {
"description": "test-ticket",
"priority": "P1",
"category": "outdoor",
"created": "2022-01-18T12:26:19.000+0100",
}
}
}
}

How can we GET from some ODATA endpoint and retrieve something like

"ticket": {
"description": "test-ticket",
"priority": "P1",
"category": "outdoor",
"created": "2022-01-18T12:26:19.000+0100",
}

instead of

"REQUEST": {
"CUST_PROB_DESCR": "test-ticket",
"PRIORITY": "P1",
"REQ_CATEGORY": "outdoor",
"USER_DEF_DTTM1": "2022-01-18T12:26:19.000+0100",
}

 

Best answer by Lee Pinchbeck

Hi @FirTacoV,

You will need to create a second map and add the first may to the inbound map tab to link the two.

Kind regards,

Lee Pinchbeck

1 reply

Lee Pinchbeck
Ultimate Hero
Forum|alt.badge.img+24
  • Ultimate Hero
  • Answer
  • April 14, 2022

Hi @FirTacoV,

You will need to create a second map and add the first may to the inbound map tab to link the two.

Kind regards,

Lee Pinchbeck