2024 Jul 24 5:00 PM - edited 2024 Jul 24 5:33 PM
Hi All,
I Have one scenario whare i have to validate some data using rap in odata web service.
The data are coming in specific payload. I have to validate this data and if any error message is coming i have to send as response. This one is web Odata so i can not send messages as an error message. The all functionality i have to do in GET method only.
Any way to do this one?
sample payload
{
"company_code" : "3N6R",
"profit_center" : "",
"trading_partner" : "",
"gl_account" : "",
"cost_center" : "",
"internal_order" : "",
"wbs_elements" : "",
"Customer" : "",
"Vendor" : "",
"posting_date" : "\/Date(1721088000000)\/"
}
How about not setting the 'failed' object and setting a severity other than 'error' for the 'reported' object?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I am Getting error message like this one when service is triggered. Here Return code is 400. due to this system consider message as an error message.
But I want Message like this one. here Return code is 200. so on BTP i can read this message properly without any error.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
71 | |
10 | |
8 | |
7 | |
7 | |
6 | |
6 | |
6 | |
6 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.