Add id's in rest api