{
  "synLogic": "char* $ret \u003d $api($1);",
  "help": "The ns_get_area_ip_char API takes integer area_id ID argument and returns IP in AAAA.BBBB.CCCC.DDDD notation.",
  "notes": "",
  "returns": "The IP address is in the format AAAA.BBBB.CCCC.DDDD.",
  "arguments": "The only argument for the ns_get_area_ip_char 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 a string format of the form \"AAAA.BBBB.CCCC.DDDD\", where each section represents a decimal number between 0 and 255 inclusive, and the four sections together represent the IP address. The API returns the IP address as a char pointer.",
  "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_char",
  "syntax": "char* ns_get_area_ip_char(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  char* ip_address = ns_get_area_ip_char(area_id); // call the API to get the IP address\n  printf(\"IP address of area %d is %s\", area_id, ip_address);\n}",
  "javaEx": "",
  "insertStrC": "*ns_get_area_ip_char(unsigned int area_id);",
  "insertStrJava": "",
  "description": "The ns_get_area_ip_char API takes integer area_id ID argument and returns IP in AAAA.BBBB.CCCC.DDDD notation.\n"
}