id is required and must be an int