Danke Baldur,
Vielleicht hast Du eine Idee, warum ich den String nicht durchbringe. Erhalte diese Meldung:
One or more validation errors occurred.","status":400
0x16' is invalid within a JSON string. The string should be correctly escaped.


Den Request bereite ich so auf:
dcl-s base64String sqltype(clob:1572864) CCSID(1208);
request = %scanrpl('%%data%%' : %trim(%subst(base64String:5:32500)) : request);

Mach das zum ersten Mal so, sonst immer nur mit Scott's Http Api.