Skip to main content
Solved

Use integration map for outbound requests via DOATA

  • April 8, 2022
  • 1 reply
  • 137 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

View original
Did this topic help you find an answer to your question?

1 reply

Lee Pinchbeck
Ultimate Hero
Forum|alt.badge.img+24
  • Ultimate Hero
  • 1219 replies
  • 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


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings