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

Get Rest call result count evaluating to 0 even if it is 1

Received Response
24
Views
5
Comments
edited Jun 4, 2021 5:51AM in Integration 5 comments

Content

HI,

 

I have an integration where I'm getting the data from DB and pushing into VBCS BO's.  So here before calling PATCH call for inserting  the data in to VBCS BO , checking if the same row already exist in the BO by using get row by using endpoint. i.e /SupplierDetails/{SupplierDetails_Id}. Next to this I places "if condition". if the count from the privious REST call  is 0 then insert else update the row.

But here if the count is 1 but entering in to Otherwise flow i.e  count = 0.0 flow and giving Bad Request error as the row already exist in the BO.

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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