diff --git a/src/Umbraco.Web.BackOffice/Controllers/EntityController.cs b/src/Umbraco.Web.BackOffice/Controllers/EntityController.cs
index fcd0c81891..3169c9f64b 100644
--- a/src/Umbraco.Web.BackOffice/Controllers/EntityController.cs
+++ b/src/Umbraco.Web.BackOffice/Controllers/EntityController.cs
@@ -258,16 +258,16 @@ namespace Umbraco.Cms.Web.BackOffice.Controllers
///
/// Gets the URL of an entity
///
- /// UDI of the entity to fetch URL for
+ /// UDI of the entity to fetch URL for
/// The culture to fetch the URL for
/// The URL or path to the item
- public IActionResult GetUrl(Udi udi, string culture = "*")
+ public IActionResult GetUrl(Udi id, string culture = "*")
{
- var intId = _entityService.GetId(udi);
+ var intId = _entityService.GetId(id);
if (!intId.Success)
return NotFound();
UmbracoEntityTypes entityType;
- switch (udi.EntityType)
+ switch (id.EntityType)
{
case Constants.UdiEntityType.Document:
entityType = UmbracoEntityTypes.Document;
diff --git a/src/Umbraco.Web.UI.Client/src/common/resources/entity.resource.js b/src/Umbraco.Web.UI.Client/src/common/resources/entity.resource.js
index 9f0ebf8b73..2dc6aeb6a6 100644
--- a/src/Umbraco.Web.UI.Client/src/common/resources/entity.resource.js
+++ b/src/Umbraco.Web.UI.Client/src/common/resources/entity.resource.js
@@ -142,7 +142,7 @@ function entityResource($q, $http, umbRequestHelper) {
umbRequestHelper.getApiUrl(
"entityApiBaseUrl",
"GetUrl",
- [{ udi: udi }, {culture: culture }])),
+ [{ id: udi }, {culture: culture }])),
'Failed to retrieve url for UDI:' + udi);
},