on ‎2018 Mar 28 7:18 AM - last edited on ‎2024 Feb 04 5:07 AM by postmig_api_4
Hi All,
I want to send an order IDOC through Postman to datahub. which rest API I can use for this? For example to send product from datahub to hybris I am using post API http://localhost:8080/datahub-webapp/v1/idoc/receiver and send IDOC xml which is getting replicated to hybris successfully . But when I try same API to send order from hybris to datahub I am getting below error
failed to resolve channel name 'SALESORDER_CREATEFROMDAT202'; nested exception is org.springframework.messaging.core.DestinationResolutionException: failed to look up MessageChannel with name 'SALESORDER_CREATEFROMDAT202' in the BeanFactory.; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'SALESORDER_CREATEFROMDAT202' is defined
What is the API to send order IDOC xml through postman to datahub?
Regards, Rasika
Request clarification before answering.
Hi,
For orders you should use this endpoint: http://localhost:8080/datahub-webapp/v1/data-feeds/SAPORDER_OUTBOUND_FEED/items/RawHybrisOrder. Keep in mind that data sent to this endpoint should have csv-like format. IDoc will be the output from DataHub after processing.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.