you need just ID, url can be built using ID. so question is how to print ID.