Home / API / ASP.NET Web API Details

GET api/v1/Setup/GetTargetCategoryList?page={page}

Description

Get List Of All Target Category Info

Request Information

Parameters

NameDescriptionAdditional information
page
[1..x]

Define this parameter in the request URI.

Response Information

List of Target Category Information

Response body formats

application/json, text/json

Sample:
[
  {
    "targetcategoryid": 1,
    "companyid": 2,
    "utctimestamp": "2025-02-23T06:41:37.7776775+00:00",
    "createdby": "sample string 4",
    "utclastchanged": "2025-02-23T06:41:37.7776775+00:00",
    "lastchangedby": "sample string 5",
    "isactive": true,
    "threshold": 7,
    "targetcategoryname": {
      "targetcategoryid": 1,
      "targetcategoryname": "sample string 2",
      "createdby": "sample string 3",
      "utctimestamp": "2025-02-23T06:41:37.7776775+00:00",
      "utclastchanged": "2025-02-23T06:41:37.7776775+00:00",
      "lastchangedby": "sample string 6"
    }
  },
  {
    "targetcategoryid": 1,
    "companyid": 2,
    "utctimestamp": "2025-02-23T06:41:37.7776775+00:00",
    "createdby": "sample string 4",
    "utclastchanged": "2025-02-23T06:41:37.7776775+00:00",
    "lastchangedby": "sample string 5",
    "isactive": true,
    "threshold": 7,
    "targetcategoryname": {
      "targetcategoryid": 1,
      "targetcategoryname": "sample string 2",
      "createdby": "sample string 3",
      "utctimestamp": "2025-02-23T06:41:37.7776775+00:00",
      "utclastchanged": "2025-02-23T06:41:37.7776775+00:00",
      "lastchangedby": "sample string 6"
    }
  }
]

application/xml, text/xml

Sample:
<ArrayOfsetuptargetcategorymodel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APICOMMON">
  <setuptargetcategorymodel>
    <companyid>2</companyid>
    <createdby>sample string 4</createdby>
    <isactive>true</isactive>
    <lastchangedby>sample string 5</lastchangedby>
    <targetcategoryid>1</targetcategoryid>
    <targetcategoryname>
      <createdby>sample string 3</createdby>
      <lastchangedby>sample string 6</lastchangedby>
      <targetcategoryid>1</targetcategoryid>
      <targetcategoryname>sample string 2</targetcategoryname>
      <utclastchanged>2025-02-23T06:41:37.7776775+00:00</utclastchanged>
      <utctimestamp>2025-02-23T06:41:37.7776775+00:00</utctimestamp>
    </targetcategoryname>
    <threshold>7</threshold>
    <utclastchanged>2025-02-23T06:41:37.7776775+00:00</utclastchanged>
    <utctimestamp>2025-02-23T06:41:37.7776775+00:00</utctimestamp>
  </setuptargetcategorymodel>
  <setuptargetcategorymodel>
    <companyid>2</companyid>
    <createdby>sample string 4</createdby>
    <isactive>true</isactive>
    <lastchangedby>sample string 5</lastchangedby>
    <targetcategoryid>1</targetcategoryid>
    <targetcategoryname>
      <createdby>sample string 3</createdby>
      <lastchangedby>sample string 6</lastchangedby>
      <targetcategoryid>1</targetcategoryid>
      <targetcategoryname>sample string 2</targetcategoryname>
      <utclastchanged>2025-02-23T06:41:37.7776775+00:00</utclastchanged>
      <utctimestamp>2025-02-23T06:41:37.7776775+00:00</utctimestamp>
    </targetcategoryname>
    <threshold>7</threshold>
    <utclastchanged>2025-02-23T06:41:37.7776775+00:00</utclastchanged>
    <utctimestamp>2025-02-23T06:41:37.7776775+00:00</utctimestamp>
  </setuptargetcategorymodel>
</ArrayOfsetuptargetcategorymodel>