{
  "synLogic": "char* $ret \u003d $api($1);",
  "help": "The ns_get_session_status_name API  returns session status display name",
  "notes": "",
  "returns": "char",
  "arguments": "The status parameter in the ns_get_session_status_name API is an integer type input argument, representing the session status code for which we want to get the session status display name.",
  "parameterization": "",
  "component": [
    {
      "id": "$1",
      "type": "TextField",
      "label": "Status",
      "value": "",
      "css": "p-grid p-align-center w-100-p",
      "title": "Enter Status",
      "placeHolder": "",
      "style": "",
      "isDisabled": "",
      "labelVarCheckbox": "",
      "argIndex": 0,
      "validate": {
        "inputType": "Number",
        "disabled": false,
        "required": true,
        "min": 0,
        "max": 2147483647
      },
      "quotes": true
    },
    {
      "id": "$ret",
      "type": "TextField",
      "label": "Return Variable",
      "value": "",
      "css": "p-grid p-align-center w-100-p",
      "title": "First character must be Alpha.\r\nOther characters are Alpha, Numeric or Underscore",
      "placeHolder": "",
      "style": "",
      "isDisabled": "",
      "labelVarCheckbox": "",
      "argIndex": 0,
      "validate": {
        "inputType": "Text",
        "disabled": false,
        "pattern": "^[a-zA-Z][a-zA-Z0-9_]{0,63}$",
        "required": false,
        "min": 0,
        "max": 0,
        "method": "isValidVar(arg)"
      },
      "quotes": true
    }
  ],
  "name": "ns_get_session_status_name",
  "syntax": "char* ns_get_session_status_name(int status)",
  "javaSyntax": "",
  "cEx": "flow()\n{\n  int session_status = 2; // Assuming session status code is 2\n  char* status_name = ns_get_session_status_name(session_status);\n  printf(\"Session status name is: %s\", status_name);\n}",
  "javaEx": "",
  "insertStrC": "*ns_get_session_status_name(int status);",
  "insertStrJava": "",
  "description": "The ns_get_session_status_name API  returns session status display name"
}