cancel
Showing results for 
Search instead for 
Did you mean: 

Configure SAP Gateway service to ignore properties from payload that are not defined

SAPSupport
Employee
Employee
0 Kudos
160

Odata Service payload when implemented 

ex : 

{

"VendorRegistrationRecords": [

{

"Entity1": {

},

"Entity2": {

},

}

 

Due to changes in the partner system, they started sending payloads with 2 additional entities which can not be reverted. 

{

 

How can we ignore the new entity (3 and 4 )which is not available in current SAP OData

"VendorRegistrationRecords": [

{

"Entity1": {

},

"Entity2": {

},

"Entity3": {

},

"Entity4": {

}

}


------------------------------------------------------------------------------------------------------------------------------------------------
Learn more about the SAP Support user and program here.
View Entire Topic
SAPSupport
Employee
Employee
0 Kudos

Dear Customer,

It cannot be ignored, as the requester who sending OData request should know how to use the OData.
We have to remove the wrong entity, to fully work with the OData implementation.

Otherwise we have to change the OData implementation which handles the "unknon" entity.

Best regards,
James

SIlam1
Newcomer
0 Kudos
Hi James, can you please advise the on how to change the OData implementation to handle the unknown entity ?