Home / API / ASP.NET Web API Details

GET api/v1/Setup/GetTargetCategoryByTargetCategoryId?targetcategoryid={targetcategoryid}

Description

Get Target Category Info By Target Category Id

Request Information

Parameters

NameDescriptionAdditional information
targetcategoryid
Target Category Id

Define this parameter in the request URI.

Response Information

Target Category Information

Response body formats

application/json, text/json

Sample:
{
  "targetcategoryid": 1,
  "companyid": 2,
  "utctimestamp": "2025-02-23T06:14:01.5471856+00:00",
  "createdby": "sample string 4",
  "utclastchanged": "2025-02-23T06:14:01.5471856+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:14:01.5471856+00:00",
    "utclastchanged": "2025-02-23T06:14:01.5471856+00:00",
    "lastchangedby": "sample string 6"
  }
}

application/xml, text/xml

Sample:
<setuptargetcategorymodel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APICOMMON">
  <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:14:01.5471856+00:00</utclastchanged>
    <utctimestamp>2025-02-23T06:14:01.5471856+00:00</utctimestamp>
  </targetcategoryname>
  <threshold>7</threshold>
  <utclastchanged>2025-02-23T06:14:01.5471856+00:00</utclastchanged>
  <utctimestamp>2025-02-23T06:14:01.5471856+00:00</utctimestamp>
</setuptargetcategorymodel>