Quantcast
Channel: SCN : All Content - SAP Gateway
Viewing all articles
Browse latest Browse all 2823

$filter with GET method is not working on batch call

$
0
0

Hi Experts,

 

i am trying to fetch data using batch call, that time i am getting status accepted for batch but getting bad request status with error 'Invalid type for '$filter' system query option. Expected type is 'Edm.Boolean'' for one GET request which is present inside my batch call.


i tried with different entityset with filter option same error i am getting.


bellow is my batch request body....

>>>>>>>>>>>>>>>>>>>>>>>

--batch

Content-Type: application/http

content-transfer-encoding: binary

 

GET FILE_DOCUM_ES/?$filter=Guid eq '0050568F090A1ED3B3ED417ACFC3C6FB' and TabType eq 'INTRAY' and Wiid eq '000000121022' and FileID eq '000000007318'HTTP/1.1

 

 

--batch

Content-Type: application/http

content-transfer-encoding: binary

 

GET FILE_DOC_FI?param_1='FS'&param_2='0050568F090A1ED39DEE316E0B4348A7'&param_3=''&param_4=''&param_5='' HTTP/1.1

 

 

 

--batch--



>>>>>>>>>>>>>>>>>>>>>>>>>

 

for 2nd request i am getting  status-200 and for 1st one getting 500.

 

Please help me.

 

Regards

Saumya


Viewing all articles
Browse latest Browse all 2823

Trending Articles