You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register
Get Started with Redwood: Oracle Cloud SCM and Purchasing

PO distributions causing error when create through Draft Purchase Order API

edited Sep 22, 2023 7:25PM in Purchasing 1 comment

Summary:

Hi Team,

I am trying to create a draft PO using DraftPurchaseOrder API. But it is giving an error that the structure isn't correct if I am passing a distribution payload to it. It creates a PO if I comment that part. Do we need any specific role for adding distributions through API?

Content (required):

Could you please suggest a way to create this PO with the distributions?

I have used content -type as "application/vnd.oracle.adf.action+json"


Version (include the version you are using, if applicable):

latest

Code Snippet (add any code snippets that support your topic, if applicable):

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!