While working with oData and testing around these, then found that the gateway client receives the UUID in a slightly different format(Hyphened format) than the UUID are stored in the table.
UUID Raw format- 0050563C56401D36A348F362444845FC
UUID Hyphened format- 0050563c-5640-1d36-a348-f362444845fc
The test tool may be gateway client/postman need the Hyphened format.
The class- CL_SOAP_WSRBM_HELPER provides utility methods to make conversion between UUID and hyphened UUID and vice-versa.
Test the method to convert to Hyphened format.
We received the hyphened format-
Test the method to convert to UUID format.