private String ExtractIdFromLink(String partialLink) {
        int beginIdx = partialLink.indexOf(ID_PREFIX)+ID_PREFIX.length();
        int endIdx = partialLink.indexOf("-", beginIdx);
        String id = endIdx != -1 ? partialLink.substring(beginIdx, endIdx) : partialLink.substring(beginIdx);
        return id;
    }