POST api/SetupSDServiceType/Get

Request Information

URI Parameters

None.

Body Parameters

ServiceTypeDetail
NameDescriptionTypeAdditional information
ServiceType

string

None.

AccountId

integer

None.

CompanyId

string

None.

Platform

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ServiceType": "sample string 1",
  "AccountId": 2,
  "CompanyId": "sample string 3",
  "Platform": "sample string 4"
}

application/xml, text/xml

Sample:
<ServiceTypeDetail xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO.AccountSpecific.Setup">
  <AccountId>2</AccountId>
  <CompanyId>sample string 3</CompanyId>
  <Platform>sample string 4</Platform>
  <ServiceType>sample string 1</ServiceType>
</ServiceTypeDetail>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

SetupSDServiceType
NameDescriptionTypeAdditional information
AccountId

integer

None.

CompanyId

string

None.

ServiceType

string

None.

ServiceTypeDescription

string

None.

UsedFor

string

None.

BackgroundColor

string

None.

TextColor

string

None.

UseTax

boolean

None.

ArAccount

string

None.

DiscountAccount

string

None.

MaintenanceOptions

SetupSaiServiceTypeMaintenanceDetail

None.

IsActive

boolean

None.

ShowToRemoteTech

boolean

None.

CreatedOn

date

None.

SurveyId

string

None.

Response Formats

application/json, text/json

Sample:
{
  "AccountId": 1,
  "CompanyId": "sample string 2",
  "ServiceType": "sample string 3",
  "ServiceTypeDescription": "sample string 4",
  "UsedFor": "sample string 5",
  "BackgroundColor": "sample string 6",
  "TextColor": "sample string 7",
  "UseTax": true,
  "ArAccount": "sample string 9",
  "DiscountAccount": "sample string 10",
  "MaintenanceOptions": {
    "AccountId": 1,
    "CompanyId": "sample string 2",
    "ServiceType": "sample string 3",
    "IncludeLaborCharge": true,
    "IncludeTripCharge": true,
    "IncludePartCharge": true,
    "RARecordRevOnCallCompOrSchdDate": "sample string 7",
    "ReserveAccount": "sample string 8",
    "CBBaseOnSchdOrCallCompDate": "sample string 9"
  },
  "IsActive": true,
  "ShowToRemoteTech": true,
  "CreatedOn": "2025-12-16T09:39:16.9734394+00:00",
  "SurveyId": "sample string 14"
}

application/xml, text/xml

Sample:
<SetupSDServiceType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO.AccountSpecific.Setup">
  <AccountId>1</AccountId>
  <ArAccount>sample string 9</ArAccount>
  <BackgroundColor>sample string 6</BackgroundColor>
  <CompanyId>sample string 2</CompanyId>
  <CreatedOn>2025-12-16T09:39:16.9734394+00:00</CreatedOn>
  <DiscountAccount>sample string 10</DiscountAccount>
  <IsActive>true</IsActive>
  <MaintenanceOptions>
    <AccountId>1</AccountId>
    <CBBaseOnSchdOrCallCompDate>sample string 9</CBBaseOnSchdOrCallCompDate>
    <CompanyId>sample string 2</CompanyId>
    <IncludeLaborCharge>true</IncludeLaborCharge>
    <IncludePartCharge>true</IncludePartCharge>
    <IncludeTripCharge>true</IncludeTripCharge>
    <RARecordRevOnCallCompOrSchdDate>sample string 7</RARecordRevOnCallCompOrSchdDate>
    <ReserveAccount>sample string 8</ReserveAccount>
    <ServiceType>sample string 3</ServiceType>
  </MaintenanceOptions>
  <ServiceType>sample string 3</ServiceType>
  <ServiceTypeDescription>sample string 4</ServiceTypeDescription>
  <ShowToRemoteTech>true</ShowToRemoteTech>
  <SurveyId>sample string 14</SurveyId>
  <TextColor>sample string 7</TextColor>
  <UseTax>true</UseTax>
  <UsedFor>sample string 5</UsedFor>
</SetupSDServiceType>