Toggle menu

getPageSessionDetails

Given a pageSessionId, returns details of the PageSession and its FormSessions (if any).

This method is used by .NET sites to check if a PageSession contains an entry for a given formId. This prevents users from being able to modify the formId URL parameter, and thus render any form they wish.

Parameters

NameTypeDescription
pageSessionIdUUID, requiredThe ID of the page session to query

Example Request 

{
    "id": 1,
    "method": "getPageSessionDetails",
    "params": {
        "pageSessionId": "a6cbed44-0d65-4e6d-acae-790632b530aa"
    }
}

Example Response

{
    "id": 1,
    "jsonrpc": "2.0",
    "result": {
        "result": {
            "pageSession": {
                "id": "a6cbed44-0d65-4e6d-acae-790632b530aa",
                "created": "2016-09-06T11:52:46Z",
                "formSessions": [{
                    "id": "94594a7b-973d-4af3-a67a-3dae81f387fa",
                    "formId": 199,
                    "sessionType": "standard",
                    "created": "2016-09-06T11:52:47Z",
                    "updated": "2016-09-06T11:52:47Z",
                    "expires": "2016-10-04T11:52:47Z",
                    "definitionPublishedDate": "2016-06-10T13:30:17Z",
                    "userDetails": {
                        "userId": null,
                        "username": null
                    }
                }]
            }
        }
    }
}

Last modified on June 27, 2023

Share this page

Facebook icon Twitter icon email icon

Print

print icon