Skip to main content
Solved

Rest Call config

  • May 22, 2024
  • 1 reply
  • 212 views

lopespetro
Hero (Customer)
Forum|alt.badge.img+13

Hello All.

IFSAPPS10 UPD17

Is there andy documentation on how to set up a rest call event action?

I need to send a work order to SAP via Boomi.

 

Action table: ACTIVE_WORK_ORDER_TAB

 

I already create the event action and I wonder how to set the parameter and need to know if I have to set up the Additional header, Query Parameters and or Body.

These are the info that needs to be sent:

{
  "CONTRACT": "string",
  "COST_CENTER": "string",
  "DESCRIPTION": "string",
  "ERR_DESCR": "string",
  "ERR_DESCR_LO": "string",
  "MCH_CODE": "string",
  "MCH_NAME": "string",
  "ORDER_NO": 0,
  "ORGANIZATION_SITE": "string",
  "ORG_CODE": "string",
  "WORK_DESCR_LO": "string",
  "WO_NO": 0
}

 

 

Best answer by lopespetro

Hello All.

IFSAPPS10 UPD17

Is there andy documentation on how to set up a rest call event action?

I need to send a work order to SAP via Boomi.

 

Action table: ACTIVE_WORK_ORDER_TAB

 

I already create the event action and I wonder how to set the parameter and need to know if I have to set up the Additional header, Query Parameters and or Body.

These are the info that needs to be sent:

{
  "CONTRACT": "string",
  "COST_CENTER": "string",
  "DESCRIPTION": "string",
  "ERR_DESCR": "string",
  "ERR_DESCR_LO": "string",
  "MCH_CODE": "string",
  "MCH_NAME": "string",
  "ORDER_NO": 0,
  "ORGANIZATION_SITE": "string",
  "ORG_CODE": "string",
  "WORK_DESCR_LO": "string",
  "WO_NO": 0
}

 

 

It’s working now by just passing a validated payload in Body tab.

Example bellow:

 

{
"CONTRACT": "&CENTRO_SAP",
 "COST_CENTER": "&CC",
 "Cf_Elementpepsap": "&PEP_SAP",
 "ERR_DESCR": "&DIRETRIZ_OS",
"ERR_DESCR_LO": "&DESC_LONGA",
"MCH_CODE": "&OBJETO",
"ORG_CODE": "&ORG_CODE",
 "WO_NO": "&NEW:WO_NO" 
}

1 reply

lopespetro
Hero (Customer)
Forum|alt.badge.img+13
  • Author
  • Hero (Customer)
  • 280 replies
  • Answer
  • September 26, 2024

Hello All.

IFSAPPS10 UPD17

Is there andy documentation on how to set up a rest call event action?

I need to send a work order to SAP via Boomi.

 

Action table: ACTIVE_WORK_ORDER_TAB

 

I already create the event action and I wonder how to set the parameter and need to know if I have to set up the Additional header, Query Parameters and or Body.

These are the info that needs to be sent:

{
  "CONTRACT": "string",
  "COST_CENTER": "string",
  "DESCRIPTION": "string",
  "ERR_DESCR": "string",
  "ERR_DESCR_LO": "string",
  "MCH_CODE": "string",
  "MCH_NAME": "string",
  "ORDER_NO": 0,
  "ORGANIZATION_SITE": "string",
  "ORG_CODE": "string",
  "WORK_DESCR_LO": "string",
  "WO_NO": 0
}

 

 

It’s working now by just passing a validated payload in Body tab.

Example bellow:

 

{
"CONTRACT": "&CENTRO_SAP",
 "COST_CENTER": "&CC",
 "Cf_Elementpepsap": "&PEP_SAP",
 "ERR_DESCR": "&DIRETRIZ_OS",
"ERR_DESCR_LO": "&DESC_LONGA",
"MCH_CODE": "&OBJETO",
"ORG_CODE": "&ORG_CODE",
 "WO_NO": "&NEW:WO_NO" 
}