Supplier Management

Get Involved. Join the Conversation.

Topic

    Luis Carlos Andrino
    REST API for Supplier Sites and Site Assignments
    Topic posted October 10, 2019 by Luis Carlos AndrinoGreen Ribbon: 100+ Points, tagged Financials 
    30 Views, 3 Comments
    Title:
    REST API for Supplier Sites and Site Assignments
    Summary:
    REST API for Supplier Sites and Site Assignments
    Content:

    Hi all,

    We have a legacy system where we manage our suppliers.  We found in the REST API documentation for Oracle Procurement Cloud that we can create suppliers using web services.  And following the supplier model, we need to create with the supplier, at least 1 address, 1 site, and assign that site to a BU, in order to follow the procure to pay process.

    We did some tests, but we're receiving the following error: 

     

     {

      "title": "Bad Request",

      "status": "400",

      "o:errorDetails": [

        {

          "detail": "The action \"create\" is not enabled.",

          "o:errorCode": "27507"

        }

      ]

    }

    We reviewed the documentation (https://docs.oracle.com/en/cloud/saas/procurement/19c/fapra/op-suppliers-post.html) and we noticed that, even though there are parameters for sites and site assignments in the request payload, there are no create methods when dealing directly with the sites and site assignments.

    Is that the reason why we're receiving that error? If so, when would these methods be added?  Because the process can only be automated in half, because we should add the sites and assign them to a BU manually.

    Thanks in advance!

    Version:
    Oracle Cloud Application 19C (11.13.19.07.0)

    Comment

     

    • Suman Guha

      Moved from Purchasing forum.

    • Carlos Urtubia

      Are you passing the command on the same way that is on the example?

      Could you send your full command?. Happened before to me that this error came when I did not use the proper content-type. 

      Content-Type:application/vnd.oracle.adf.resourceitem+json
      
    • Piyush Singh

      Hi Luis,

      We have not yet delivered support for creating or updating supplier sites through our REST service.

      Thanks,

      Piyush