Return the incident url with queryhash in REST api response

Hi,

I have installed Opentext Service Manager 9.80 and using the REST APIs to create incidents. I am trying to enable the query hash in REST response for direct access to the incident.
I have enabled the querySecurity=true in web.xml and sm.ini it is querysecurity:1
Using the FQDN for queryhashcode in sm.ini and FQDN for serverHost in web.xml

I added a url field and readonly text box in the form im.incident.subform.main. I tried with different value of this text field, but none of them is showing the generated url for the incident in incident form.
$L.web.url
print(system.library.urlCreator.getURLFromQuery("probsummary", "number=\"" vars.$L_file.number "\"", ""));

I dont see any step by step guide to achieve this. Will be really grateful for the help here.

The current REST api returns the incident as below.
hostname:port/.../incident

{
    "ReturnCode": 0,
    "Messages": [],
    "Incident": {
        "Impact": "1",
        "Status": "Closed",
        "Assignee": "Rachel.Boudreau",
        "Description": [
            "Test"
        ],
        "Category": "incident",
        "Phase": "Closure",
        "AssignmentGroup": "Application",
        "Title": "Test Title.",
        "Service": "CI1001054",
        "OpenedBy": "falcon",
        "IncidentID": "IM10317",
        "ClosedTime": "2024-05-28T05:36:03-06:00",
        "OpenTime": "2024-05-21T05:21:44-06:00",
        "UpdatedBy": "scheduledAction",
        "ClosureCode": "Automatically Closed",
        "Area": "failure",
        "UpdatedTime": "2024-05-28T05:36:03-06:00",
        "JournalUpdates": [
            "----05/21/24 05:35:15 US/Mountain (falcon):",
            "Update sent from web service"
        ],
        "Urgency": "1",
        "Solution": [
            "Alarm is cleared from backend"
        ],
        "ClosedBy": "scheduledAction"
    }
}
How can I change the response "Incident" object to "myIncident"?
hostname:port/.../myincident

Regards,
Sumeet