Home / API / ASP.NET Web API Details

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

Description

Get List Of All Target Info

Request Information

Parameters

NameDescriptionAdditional information
page
[1..x]

Define this parameter in the request URI.

Response Information

List of Target Information

Response body formats

application/json, text/json

Sample:
[
  {
    "targettypeid": 1,
    "companyid": 2,
    "sortval": 3,
    "isactive": true,
    "utctimestamp": "2025-02-23T06:03:01.3387622+00:00",
    "createdby": "sample string 6",
    "lastchanged": "2025-02-23T06:03:01.3387622+00:00",
    "lastchangedby": "sample string 8",
    "threshold": 9,
    "iscallagentitem": true,
    "targetname": {
      "targettypeid": 1,
      "targetname": "sample string 2",
      "createdby": "sample string 3",
      "utctimestamp": "2025-02-23T06:03:01.3392768+00:00",
      "utclastchanged": "2025-02-23T06:03:01.3392768+00:00",
      "lastchangedby": "sample string 6",
      "warranty": "sample string 7"
    }
  },
  {
    "targettypeid": 1,
    "companyid": 2,
    "sortval": 3,
    "isactive": true,
    "utctimestamp": "2025-02-23T06:03:01.3387622+00:00",
    "createdby": "sample string 6",
    "lastchanged": "2025-02-23T06:03:01.3387622+00:00",
    "lastchangedby": "sample string 8",
    "threshold": 9,
    "iscallagentitem": true,
    "targetname": {
      "targettypeid": 1,
      "targetname": "sample string 2",
      "createdby": "sample string 3",
      "utctimestamp": "2025-02-23T06:03:01.3392768+00:00",
      "utclastchanged": "2025-02-23T06:03:01.3392768+00:00",
      "lastchangedby": "sample string 6",
      "warranty": "sample string 7"
    }
  }
]

application/xml, text/xml

Sample:
<ArrayOfsetuptargetmodel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APICOMMON">
  <setuptargetmodel>
    <companyid>2</companyid>
    <createdby>sample string 6</createdby>
    <isactive>true</isactive>
    <iscallagentitem>true</iscallagentitem>
    <lastchanged>2025-02-23T06:03:01.3387622+00:00</lastchanged>
    <lastchangedby>sample string 8</lastchangedby>
    <sortval>3</sortval>
    <targetname>
      <createdby>sample string 3</createdby>
      <lastchangedby>sample string 6</lastchangedby>
      <targetname>sample string 2</targetname>
      <targettypeid>1</targettypeid>
      <utclastchanged>2025-02-23T06:03:01.3392768+00:00</utclastchanged>
      <utctimestamp>2025-02-23T06:03:01.3392768+00:00</utctimestamp>
      <warranty>sample string 7</warranty>
    </targetname>
    <targettypeid>1</targettypeid>
    <threshold>9</threshold>
    <utctimestamp>2025-02-23T06:03:01.3387622+00:00</utctimestamp>
  </setuptargetmodel>
  <setuptargetmodel>
    <companyid>2</companyid>
    <createdby>sample string 6</createdby>
    <isactive>true</isactive>
    <iscallagentitem>true</iscallagentitem>
    <lastchanged>2025-02-23T06:03:01.3387622+00:00</lastchanged>
    <lastchangedby>sample string 8</lastchangedby>
    <sortval>3</sortval>
    <targetname>
      <createdby>sample string 3</createdby>
      <lastchangedby>sample string 6</lastchangedby>
      <targetname>sample string 2</targetname>
      <targettypeid>1</targettypeid>
      <utclastchanged>2025-02-23T06:03:01.3392768+00:00</utclastchanged>
      <utctimestamp>2025-02-23T06:03:01.3392768+00:00</utctimestamp>
      <warranty>sample string 7</warranty>
    </targetname>
    <targettypeid>1</targettypeid>
    <threshold>9</threshold>
    <utctimestamp>2025-02-23T06:03:01.3387622+00:00</utctimestamp>
  </setuptargetmodel>
</ArrayOfsetuptargetmodel>