---
agentTools:
  projectIndex: https://leadforensics-api.readme.io/llms.txt
---

# GetIndustryList

Returns a list of all the industries which are used by Lead Forensics.

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "API Settings",
    "version": "1.0"
  },
  "servers": [
    {
      "url": "https://interact.leadforensics.com/WebApi_v2"
    }
  ],
  "components": {
    "securitySchemes": {
      "sec0": {
        "type": "apiKey",
        "in": "header",
        "name": "ClientID",
        "x-default": "45656"
      },
      "sec1": {
        "type": "apiKey",
        "in": "header",
        "name": "Authorization-Token",
        "x-default": "Zax4qjY5w3tmAlqJUajROgW"
      }
    }
  },
  "security": [
    {
      "sec0": [],
      "sec1": []
    }
  ],
  "paths": {
    "/Reference/GetIndustryList": {
      "get": {
        "summary": "GetIndustryList",
        "description": "",
        "operationId": "getindustrylist",
        "parameters": [
          {
            "name": "pagesize",
            "in": "query",
            "description": "Number of records to return in a page of results",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 5
            }
          },
          {
            "name": "pageno",
            "in": "query",
            "description": "The particular page of results to return",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 1
            }
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n  \"List\": [\n    {\n      \"ID\": 1,\n      \"Name\": \"Abattoir Machinery and Equipment\"\n    },\n    {\n      \"ID\": 2,\n      \"Name\": \"Abattoirs\"\n    },\n    {\n      \"ID\": 3,\n      \"Name\": \"Abortion Alternatives Organizations\"\n    },\n    {\n      \"ID\": 4,\n      \"Name\": \"Abortion Information & Services\"\n    },\n    {\n      \"ID\": 5,\n      \"Name\": \"Abrasive Materials\"\n    }\n  ],\n  \"PageSize\": 5,\n  \"PageCount\": 1908,\n  \"RecordCount\": 9539,\n  \"CurrentPage\": 1\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "List": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "ID": {
                            "type": "integer",
                            "example": 1,
                            "default": 0
                          },
                          "Name": {
                            "type": "string",
                            "example": "Abattoir Machinery and Equipment"
                          }
                        }
                      }
                    },
                    "PageSize": {
                      "type": "integer",
                      "example": 5,
                      "default": 0
                    },
                    "PageCount": {
                      "type": "integer",
                      "example": 1908,
                      "default": 0
                    },
                    "RecordCount": {
                      "type": "integer",
                      "example": 9539,
                      "default": 0
                    },
                    "CurrentPage": {
                      "type": "integer",
                      "example": 1,
                      "default": 0
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          }
        },
        "deprecated": false,
        "security": [],
        "x-readme": {
          "code-samples": [
            {
              "language": "javascript",
              "code": "$.ajax({ \n  type: 'GET', \n  dataType: 'json', \n  url: 'https://interact.leadforensics.com/WebApi_v2/Reference/GetIndustryList?pagesize=5&pageno=1', \n  headers: {\n    'Authorization-Token': 'Zax4qjY5w3tmAlqJUajROgW',\n    'ClientID':'45656'\n  },\n  success: function (data) {  \n    if (data.List.length > 0) {\n      //we have a industry record \n    }\n    else {\n      //we do not have a industry record \n    }\n  },  \n  error: function (err) {  \n    //ajax error trap  \n  }  \n});"
            }
          ],
          "samples-languages": [
            "javascript"
          ]
        }
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": false,
    "proxy-enabled": false
  },
  "x-readme-fauxas": true,
  "_id": "59970b303013510019572b1e:56e2c084e5a5092900766701"
}
```