{
  "synLogic": "unsigned int $ret \u003d $api($1);",
  "help": "The ns_get_area_ip API takes integer area_id ID argument and returns IP in integer format.",
  "notes": "",
  "returns": "The IP address is returned in integer format.",
  "arguments": "The only argument for the ns_get_area_ip API is an unsigned integer variable named area_id. This variable is used to specify the ID of the area for which we want to retrieve the IP address. The ID is an integer value that uniquely identifies the area. The API uses this ID to look up the corresponding IP address of the area and returns it in integer format.",
  "parameterization": "",
  "component": [
    {
      "id": "$1",
      "type": "TextField",
      "label": "Area Id",
      "value": "",
      "css": "p-grid p-align-center w-100-p",
      "title": "Enter Area Id",
      "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_area_ip",
  "syntax": "unsigned int ns_get_area_ip(unsigned int area_id)",
  "javaSyntax": "",
  "cEx": "flow()\n{\n  unsigned int area_id = 1234; // ID of the area for which we want to get the IP address\n  unsigned int ip_address = ns_get_area_ip(area_id); // call the API to get the IP address\n  printf(\"IP address of area %d is %u\", area_id, ip_address);\n  return 0;\n}",
  "javaEx": "",
  "insertStrC": "ns_get_area_ip(unsigned int area_id);",
  "insertStrJava": "",
  "description": "The ns_get_area_ip API takes integer area_id ID argument and returns IP in integer format.\n"
}