cancel
Showing results for 
Search instead for 
Did you mean: 

Idoc Through Rest Client

osiris_360
Participant
0 Kudos

Hi

I am trying to Send Idoc Through postman but I get Unsupported Media Type. Can we not Send it through Rest Clients. hybris: 6.1.0.0 Url: http://localhost:10100/datahub-webapp/v1/data-feeds/SAPCUSTOMER_INBOUND_FEED/items/RawDEBMAS Idoc link text

former_member224482
Active Contributor
0 Kudos

You will need a valid IDOC XML. Where did you take that file ?

An IDOC XML is not a raw data, it is an XML. You will need to use the /idoc/receiver/.

osiris_360
Participant
0 Kudos

Hi Should the File be like this link text

Also then should the Url should be something like this then: http://localhost:10100/datahub-webapp/v1/idoc/receiver/data-feeds/SAPCUSTOMER_INBOUND_FEED/items/Raw...

Accepted Solutions (1)

Accepted Solutions (1)

former_member224482
Active Contributor
0 Kudos

It appears that you have modified the IDOC while taking a copy of it.
See the difference below :

The XML header and many ATTRIBUTE="1" were missing.

The URL would be : http://localhost:8080/datahub-webapp/v1/idoc/receiver/

Answers (0)