Hello,
I am trying to call a simple API PPS200MI - GetHead with a static PUNO but my response is null (I checked on MDP and there is a record in it).
I think there is an issue with XtendM3 itself by running the APIs from PPS200MI. I also tested with OIS100MI - GetHead and it worked perfectly, only APIs from PPS200 is returning null response.
I am missing something or can someone please try it on their side?
public class UpdateORQA extends ExtendM3Trigger {
private final ProgramAPI program;
private final DatabaseAPI database;
private final InteractiveAPI interactive
private final MICallerAPI miCaller
private final LoggerAPI logger;
public UpdateORQA(DatabaseAPI database, ProgramAPI program, InteractiveAPI interactive, MICallerAPI miCaller, LoggerAPI logger) {
this.program = program;
this.interactive = interactive;
this.database = database;
this.miCaller = miCaller;
this.logger = logger;
}
public void main() {
def Map<String, String> params = ["PUNO":"2000000240"];
Closure<?> callback = { Map<String, String> response ->
interactive.showOkDialog("${response} is new ${params}")
}
miCaller.call("PPS200MI","GetHead", params, callback)
}
}
Kind regards,
Ismail.