Hi,
We observe that the odata URL returns 'M' after the primary key value which is a BigDecimal in the response URLs, and 'L' for BigInteger.
For eg :
"__metadata": {
"uri": "http://localhost:8080/odata/testVDB/V1.testTable(13L)",
"type": "V1.testTable"
},
"__metadata": {
"uri": "http://localhost:8080/odata/testVDB/V1.testTable(13M)",
"type": "V1.testTable"
},
why is the 'M' or 'L' coming in the URL and is their any way of getting only the numbers in the URL ?
Thanks in advance,
Prashanthi.
That is per OData V2 specification. See Overview (OData Version 2.0) · OData - the Best Way to REST "Primitive Data Types" section.
Ramesh..