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

Approve the Quote via REST API

Hi,

When we try to Approve the quote via REST API, we are getting this error.

==========================================================================================

{

    "Instance": "commerceDocumentsOraclecpqoTransaction",

    "o:errorDetails": [

        {

            "Instance": "commerceDocumentsOraclecpqoTransaction",

            "title": "Field performer_comment doesn't exist or is not accessible in resource commerceDocumentsOraclecpqoTransaction for current user.",

            "o:errorPath": "performer_comment"

        },

        {

            "Instance": "commerceDocumentsOraclecpqoTransaction",

            "title": "Field reason_var_name doesn't exist or is not accessible in resource commerceDocumentsOraclecpqoTransaction for current user.",

            "o:errorPath": "reason_var_name"

        }

    ],

    "type": "HTTP://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html",

    "title": "Invalid payload."

}


==========================================================================================

The payload we use is :

{

    "documents": {

        "performer_comment": "Approve",

        "reason_var_name": "Approve"

    }

}


The API end point is: /rest/v14/commerceDocumentsOraclecpqoTransaction/{ID}/actions/approve_submit_t

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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