Solved

Use integration map for outbound requests via DOATA

  • 8 April 2022
  • 1 reply
  • 120 views

Userlevel 2
Badge +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",
}

 

icon

Best answer by Lee Pinchbeck 14 April 2022, 17:01

View original

1 reply

Userlevel 7
Badge +24

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

Reply