updated endpoint json for candidate API