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

While creating a new line through API, the response is coming with entire transaction data instead o

Received Response
41
Views
1
Comments

Summary:

We have created a new line by using the API in postman, its returning the entire transaction data in response. User wants to have only the data related to newly created line in response

Content (required):

API- https://vulcantest1.bigmachines.com/rest/v14/commerceDocumentsOraclecpqoTransaction/83977820/actions/_update_line_items

Payload-

{

    "documents": {

        "_price_book_var_name": "_default_price_book",

        "transactionLine": {

            "items": [

                {

                    "_part_number": "BI-TDOT-3.8",

                    "_price_quantity": "1",

                    "_price_book_var_name": "_default_price_book"

                }

            ]

        }

    }

}

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

Rest14

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!