cancel
Showing results for 
Search instead for 
Did you mean: 

Change OData Response/Hide fields in OData response

rishav_raj3
Explorer
0 Kudos
702

Hi,

I have a requirement to hide certain fields in ODATA response? Is it possible to do so?

For example:

I have defined my OData in following way

ODATA - ZAPI_XX_SRV

Entity - TestR

Fields - OperationType and OperationID

In my request payload, I want to pass OperationType only and do a POST METHOD. Once record is created, an OperationID is generated which I want to send in response. But right now, both OperationType and OperationID are being sent. I want to hide OperationType in response only.

Any Help will be appreciated.

Thanks and regards,

Rishav

Accepted Solutions (0)

Answers (0)