2013 – Link to show the form after throwing ads with REST

ShowPopup () {function
var options = SP.UI. $ create_DialogOptions ();
options.width = 800;
options.height = 600;
options.allowMaximize = false;
options.url = "https://bellamysorganic.sharepoint.com/samplepoc/Lists/Announcements/DispForm.aspx";
SP.UI.ModalDialog.showModalDialog (options);
};

$ .ajax ({
type: & # 39; GET & # 39 ;,
headers: {
& # 39; accept & # 39 ;: & # 39; application / json; odata = verbose & # 39;
}
url: & # 39; / samplepoc / _api / web / lists / getbytitle ( & # 39; Announcements  & # 39;) / items & # 39 ;,
success: function (data) {
console.log (data.d.results);
var info = data.d.results;
announce (info.pop (), & # 39; # leftboxmain & # 39;);
announce (info.pop (), & # 39; # leftboxleft & # 39;);
announce (info.pop (), & # 39; # leftboxright & # 39;);

}
});

var announces = function (element, location) {
//console.log (this);
$ (location) .append (& # 39;

& # 39; + item.AnnouncementDate + & # 39;

& # 39; + item.Title + & # 39;

& # 39; + & # 39;
& # 39; + item.Body + & # 39;
& # 39;); }

Above is the code that I currently have. Basically, what happens is that every time a new ad is created, updates to the panel are updated. I would like the title to open a form with the ad display form displayed.

Since this will be constantly updated, I can not include a URL with a specific ID, so my question is whether there is a way to link each ad with its own display form or if there is another method that I could try.

I hope this makes sense. I am learning as I go with SP Designer, so if I need to clarify something, please let me know.