Modify Logic to use system id in GET application history API