appointment rest api compliance