How to pass String datatype in WebService call URL
Summary:
We are using below webservice call:
https://<ServerName>/fscmRestApi/resources/latest/installedBaseAssets/##AssetId##
When this service is invoked we get an Error : "java.lang.Long cannot be cast to java.lang.String"
Content (required):
We are using below webservice call:
https://<ServerName>/fscmRestApi/resources/latest/installedBaseAssets/##AssetId##
When this service is invoked we get an Error : "java.lang.Long cannot be cast to java.lang.String"
The value of AssetId we are passing is a value of Long datatype but the webservice URL is expecting AssetId to be a string.
How can we define a webservice which has a "String" datatype in the URL ?
Tagged:
0