Hi All,
I tried unsuccessfully to search through the promt LOV by example
with json
json = {"parameters":{"parameter":[{"id": 20,"answer":{ "info":{"lov":{"query":{"search":"*FOOD*"}}}}}]}}
and url put request
f'http://{conn.str_server}:8080/biprws/raylight/v1/documents/{str_doc_id}/parameters?formattedValues=false'
and get responce:
{"parameters":{"parameter":[
...
{'@optional': 'true',
'@type': 'sapVariable',
'@dpId': 'DP0',
'@primary': 'true',
'id': 20,
'technicalName': 'CHAIN1',
'name': 'Chain',
'answer': {'@constrained': 'false',
'@type': 'Text',
'@keyType': 'Text',
'info': {'@cardinality': 'Multiple',
'@keepLastValues': 'true',
'lov': {'@hierarchical': 'true',
'@nodeSelection': 'Any',
'@refreshable': 'true',
'@searchable': 'true',
'@mandatorySearch': 'false',
'@searchScopes': 'Values,Keys',
'@searchTargets': 'Database',
'id': 'UNIVERSELOV_DS0.:M:STR:CHAIN1',
'updated': '1970-01-01T00:00:00.000Z',
'error': {'error_code': 'WIS 0',
'message': 'The number of requested members exceeds 5000. Do a search by element instead.'}}}}}
...
]}}
Please tell me what I did wrong