API Usage - Updating Bin Quantities

I cannot find the API queries or “PUT” for updating bin quantities. I have found ones for adjustment, but am needing the API for put. We use a counting machine that can send API updates but all I want is for the counter to simply update the specific bin quantity with whatever quantity it counts. I have everything else configured but this is the last missing step.

Cetec support has informed me that it is in Part 2 of the API, but I am unable to find this. Could someone point me on the right direction? (@cetecerp)? @cayma?

Thanks.

Hoping anyone can provide some feedback here!

Part 1 of the API has
image
Under Inventory Bin Contents and Adjustments, but this only allows for adjustments.

One of our machines can identify the qty of what we put in it (each part being an individual “bin data”).

I noticed Part 2 of the API has
image
image
That GET list can output the quantity that I’d want to update, so I suppose it would be possible? Let me know if anyone has suggestions!

Hi Tej,

if you can read in the counter number (from counting machine) and then can read in the current value (API GET), you can calculate the difference, then send the “adjustment” number through the API?

Hi @regisphilbin,

Agreed, think it will have to be two API usages per part. Thanks

When you get to checking it out, let me know if this route worked for you.

Only issue is something has to do the arithmetic function. Cetec’s API cannot do the addition/subtraction so even if you get the API to pull the existing bin quantity, send a new quantity, there has to be something that does that addition or subtraction to result in the “adjustment qty” which is what Cetec would accept.

This is JSON so it would not do the mathematical addition or deduction. I believe would need to have something local do that, then send the adjustment quantity…

Hi Tej,

If I understand correctly, your X-Ray machine is able to call CETEC APIs, but no to do any math calculations with JSON data received from API.

If this is the case, can your X-Ray machine call a simple EXE that does everything? This app/tool would receive the “correct” quantity and Bin from X-Ray and then would call the API to get Bin’s Qty from CETEC, do the math, and finally create an Adjustment via the API.

Am I missing something?

I think we’ve talked about this… Just in case, pricing for API usage:

API_Usage

Thanks @cayma, yes aware of the API pricing. That’s why I wanted to avoid doing two API usages per part but if that’s needed that’s fine.

Yes I’m aware I could just send the API’s to a local web server or something to “hold” the values and then have a program/application execute the arithmetic, but feel that adds complications.

This is why I wanted to see if anyone had some other ideas.