Hello Wagner,
2 questions.
The REST call (is a service function)
http://myServer:myPort/k/func/Search?$expand=Person/PersonAdresseList&$select=KundeID,Code,Person/Nummer,Person/Vorname,Person/Nachname&$top=10
works in Postman REST Client. ($expand and $select)
But
- Only the $top=10 Statement doesn't work
- Can I use a QueryString in my WebcoreApp with RawInvokeAsync? (see example)
q := '$expand=Person/PersonAdresseList&$select=KundeID,Stammfiliale,Code,Klasse,Person/Nummer,Person/Vorname,Person/Nachname,'+
'Person/Geburtsdatum,Person/Firma,Person/Firmenname,Person/PersonAdresseList/Strasse,Person/PersonAdresseList/Hausnummer,'+
'Person/PersonAdresseList/PLZ,Person/PersonAdresseList/Ort,Person/PersonAdresseList/Land&$top=20';
try
Response := TAwait.Exec<TXDataClientResponse>( XDataWebClient.RawInvokeAsync( 'IsngKunde.Search', [ MakeSngParameter( '', '10000', JSPara)], q));
if Response.StatusCode = _http_200_Ok then
This is just a snippet.
The RawInvokeAsync call does not allow a "Query" parameter.
Thomas