SAM Api integration work in progress