{
  "synLogic": "char* $ret \u003d $api($1);",
  "help": "The ns_get_status_name API  returns display name of the status . This  applies to page and transaction",
  "notes": "",
  "returns": "char *",
  "arguments": "The status parameter in the ns_get_status_name API is an integer type input argument, representing the page or transaction status code for which we want to get the 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_status_name",
  "syntax": "char* ns_get_status_name(int status)",
  "javaSyntax": "",
  "cEx": "flow()\n{\n  int page_status = 1; // Assuming page status code is 1\n  char* page_status_name = ns_get_status_name(page_status);\n  printf(\"Page status name is: %s\", page_status_name);\n\n  int transaction_status = 3; // Assuming transaction status code is 3\n  char* transaction_status_name = ns_get_status_name(transaction_status);\n  printf(\"Transaction status name is: %s\", transaction_status_name);\n}",
  "javaEx": "",
  "insertStrC": "*ns_get_status_name(int status);",
  "insertStrJava": "",
  "description": "The ns_get_status_name API  returns display name of the status . This  applies to page and transaction  "
}