Implemented getPathwayItems api