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

REST Suppliers Status failure

Received Response
13
Views
3
Comments
edited Nov 5, 2019 12:33AM in Supplier Management 3 comments

Summary

Trying to list a Status value on a Supplier POST REST action causes failure

Content

Creating a supplier via REST does not allow Status value to be set. If Status is listed in payload, regardless of value, request fails with status code 400

Example from documentation with added Status line (https://docs.oracle.com/en/cloud/saas/procurement/19d/fapra/op-suppliers-post.html):
{
"Supplier" : "Tall Manufacturing",
"TaxOrganizationType" : "Corporation",
"SupplierType" : "Services",
"BusinessRelationship" : "Prospective",
"DUNSNumber" : "221134568",
"OneTimeSupplierFlag" : false,
"TaxpayerCountry" : "United States",
"TaxpayerId" : "98-03376373",
"Status" : "ACTIVE" # IF THIS LINE IS PRESENT, REST POST FAILS with error: "Attribute Status in view object SupplierVO cannot be set."

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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