I understand that another partner was speaking to you on this topic to assist with the HAL. Can you confirm if this is working smoothly for you now or if you need more assistance?
Hi, Paul.
Sounds like you're talking about REST API. And that your are overwriting data with older values if B managed to read record before A finished to update it. Classic conflict resolution ...