Use actual id rather than full path, and utilise the resourceType property