GET api/SetupSMProspectBusinessCategory/{accountId}/{companyId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
accountId

integer

Required

companyId

string

Required

Body Parameters

None.

Response Information

Resource Description

Collection of SetupSMProspectBusinessCategory
NameDescriptionTypeAdditional information
CategoryCode

string

None.

Description

string

None.

Break1Code

string

None.

Break2Code

string

None.

Break1Name

string

None.

Break2Name

string

None.

Break1Type

integer

None.

Break2Type

integer

None.

IsActive

boolean

None.

AccountId

integer

None.

CompanyId

string

None.

CreatedBy

string

None.

CreatedOn

date

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "CategoryCode": "sample string 1",
    "Description": "sample string 2",
    "Break1Code": "sample string 3",
    "Break2Code": "sample string 4",
    "Break1Name": "sample string 5",
    "Break2Name": "sample string 6",
    "Break1Type": 1,
    "Break2Type": 1,
    "IsActive": true,
    "AccountId": 8,
    "CompanyId": "sample string 9",
    "CreatedBy": "sample string 10",
    "CreatedOn": "2025-12-16T14:54:18.6667887+00:00"
  },
  {
    "CategoryCode": "sample string 1",
    "Description": "sample string 2",
    "Break1Code": "sample string 3",
    "Break2Code": "sample string 4",
    "Break1Name": "sample string 5",
    "Break2Name": "sample string 6",
    "Break1Type": 1,
    "Break2Type": 1,
    "IsActive": true,
    "AccountId": 8,
    "CompanyId": "sample string 9",
    "CreatedBy": "sample string 10",
    "CreatedOn": "2025-12-16T14:54:18.6667887+00:00"
  }
]

application/xml, text/xml

Sample:
<ArrayOfSetupSMProspectBusinessCategory xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO.AccountSpecific.Setup">
  <SetupSMProspectBusinessCategory>
    <AccountId xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO">8</AccountId>
    <CompanyId xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO">sample string 9</CompanyId>
    <CreatedBy xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO">sample string 10</CreatedBy>
    <CreatedOn xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO">2025-12-16T14:54:18.6667887+00:00</CreatedOn>
    <Break1Code>sample string 3</Break1Code>
    <Break1Name>sample string 5</Break1Name>
    <Break1Type>1</Break1Type>
    <Break2Code>sample string 4</Break2Code>
    <Break2Name>sample string 6</Break2Name>
    <Break2Type>1</Break2Type>
    <CategoryCode>sample string 1</CategoryCode>
    <Description>sample string 2</Description>
    <IsActive>true</IsActive>
  </SetupSMProspectBusinessCategory>
  <SetupSMProspectBusinessCategory>
    <AccountId xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO">8</AccountId>
    <CompanyId xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO">sample string 9</CompanyId>
    <CreatedBy xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO">sample string 10</CreatedBy>
    <CreatedOn xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO">2025-12-16T14:54:18.6667887+00:00</CreatedOn>
    <Break1Code>sample string 3</Break1Code>
    <Break1Name>sample string 5</Break1Name>
    <Break1Type>1</Break1Type>
    <Break2Code>sample string 4</Break2Code>
    <Break2Name>sample string 6</Break2Name>
    <Break2Type>1</Break2Type>
    <CategoryCode>sample string 1</CategoryCode>
    <Description>sample string 2</Description>
    <IsActive>true</IsActive>
  </SetupSMProspectBusinessCategory>
</ArrayOfSetupSMProspectBusinessCategory>