REST Suppliers Status failure
Summary
Trying to list a Status value on a Supplier POST REST action causes failureContent
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."
Tagged:
0