B2B messaging Rest API returns error "415 Response Unsupported Media Type"
We are trying to receive inbound purchase order acknowledge message through CMK. REST API /fscmRestApi/resources/11.13.18.05/b2bMessages as documented in below link is not working even though the setup is validated in CMK.
https://docs.oracle.com/en/cloud/saas/supply-chain-and-manufacturing/25a/fasrp/op-fscmrestapi-resources-11.13.18.05-b2bmessages-post.html
Invoking another REST endpoint https://<host>/fscmRestApi/scm/redwood/11.13.18.05/b2bMessages is giving below error.
<?xml version="1.0" encoding="UTF-8"?><response>
<result>ERROR</result>
<error>
<detail>There's no B2B messaging setup available to process this document AcknowledgePurchaseOrder for the AgentId SKPRCACKPO and AgentIdType ORA_Generic.</detail>
</error>
</response>
Which REST endpoint is correct to use? Calling below SOAP service to send inbound purchase order acknowledge message through CMK works fine.