GET api/Dealers/{did}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
did

integer

Required

Body Parameters

None.

Response Information

Resource Description

DealerUpdateDTO
NameDescriptionTypeAdditional information
Id

integer

None.

CompanyCode

string

None.

CompanyName

string

None.

Website

string

None.

StoreCode

string

None.

EffectiveFrom

date

None.

EffectiveTo

date

None.

TrialEndDate

date

None.

DealerStatus

DealerStatusEnum

None.

FirstName

string

None.

LastName

string

None.

MobilePhone

string

None.

Email

string

None.

AddressLine1

string

None.

AddressLine2

string

None.

City

string

None.

StateId

integer

None.

ZipCode

string

None.

LocationCode

string

None.

SalesTax

decimal number

None.

DefaultFreight

decimal number

None.

IsDefaultFreightPercent

boolean

None.

DefaultDeposit

decimal number

None.

TaxFreight

boolean

None.

RoundToNearestDollar

boolean

None.

GPPercent

decimal number

None.

OrderLinkEnabled

boolean

None.

SalesRepCanSeeAllOrders

boolean

None.

SalesRepShareCustomers

boolean

None.

UpdatesToCustomersAllowed

boolean

None.

Manufacturers

Collection of string

None.

ShowOrderTypes

boolean

None.

AdditionalRepsAlternateDisplay

boolean

None.

UseColleagueTypeMappings

boolean

None.

EnableCustomerType1

boolean

None.

EnableCustomerType2

boolean

None.

EnableCustomerType3

boolean

None.

CustomerType1Label

string

None.

CustomerType2Label

string

None.

CustomerType3Label

string

None.

DefaultCountryId

integer

None.

ShowAdditionalRep1

boolean

None.

ShowAdditionalRep2

boolean

None.

EnablePersonalAddressToggle

boolean

None.

AllowQuotePricing

boolean

None.

AdditionalRep1Types

Collection of string

None.

AdditionalRep2Types

Collection of string

None.

SalesRepTypes

Collection of string

None.

MaxDescriptionLength

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "CompanyCode": "sample string 2",
  "CompanyName": "sample string 3",
  "Website": "sample string 4",
  "StoreCode": "sample string 5",
  "EffectiveFrom": "2025-08-29T01:14:14.4849122+00:00",
  "EffectiveTo": "2025-08-29T01:14:14.4849122+00:00",
  "TrialEndDate": "2025-08-29T01:14:14.4849122+00:00",
  "DealerStatus": 1,
  "FirstName": "sample string 7",
  "LastName": "sample string 8",
  "MobilePhone": "sample string 9",
  "Email": "sample string 10",
  "AddressLine1": "sample string 11",
  "AddressLine2": "sample string 12",
  "City": "sample string 13",
  "StateId": 1,
  "ZipCode": "sample string 14",
  "LocationCode": "sample string 15",
  "SalesTax": 16.0,
  "DefaultFreight": 1.0,
  "IsDefaultFreightPercent": true,
  "DefaultDeposit": 1.0,
  "TaxFreight": true,
  "RoundToNearestDollar": true,
  "GPPercent": 1.0,
  "OrderLinkEnabled": true,
  "SalesRepCanSeeAllOrders": true,
  "SalesRepShareCustomers": true,
  "UpdatesToCustomersAllowed": true,
  "Manufacturers": [
    "sample string 1",
    "sample string 2"
  ],
  "ShowOrderTypes": true,
  "AdditionalRepsAlternateDisplay": true,
  "UseColleagueTypeMappings": true,
  "EnableCustomerType1": true,
  "EnableCustomerType2": true,
  "EnableCustomerType3": true,
  "CustomerType1Label": "sample string 30",
  "CustomerType2Label": "sample string 31",
  "CustomerType3Label": "sample string 32",
  "DefaultCountryId": 1,
  "ShowAdditionalRep1": true,
  "ShowAdditionalRep2": true,
  "EnablePersonalAddressToggle": true,
  "AllowQuotePricing": true,
  "AdditionalRep1Types": [
    "sample string 1",
    "sample string 2"
  ],
  "AdditionalRep2Types": [
    "sample string 1",
    "sample string 2"
  ],
  "SalesRepTypes": [
    "sample string 1",
    "sample string 2"
  ],
  "MaxDescriptionLength": 1
}

text/html, multipart/form-data, application/zip

Sample:
{"Id":1,"CompanyCode":"sample string 2","CompanyName":"sample string 3","Website":"sample string 4","StoreCode":"sample string 5","EffectiveFrom":"2025-08-29T01:14:14.4849122+00:00","EffectiveTo":"2025-08-29T01:14:14.4849122+00:00","TrialEndDate":"2025-08-29T01:14:14.4849122+00:00","DealerStatus":1,"FirstName":"sample string 7","LastName":"sample string 8","MobilePhone":"sample string 9","Email":"sample string 10","AddressLine1":"sample string 11","AddressLine2":"sample string 12","City":"sample string 13","StateId":1,"ZipCode":"sample string 14","LocationCode":"sample string 15","SalesTax":16.0,"DefaultFreight":1.0,"IsDefaultFreightPercent":true,"DefaultDeposit":1.0,"TaxFreight":true,"RoundToNearestDollar":true,"GPPercent":1.0,"OrderLinkEnabled":true,"SalesRepCanSeeAllOrders":true,"SalesRepShareCustomers":true,"UpdatesToCustomersAllowed":true,"Manufacturers":["sample string 1","sample string 2"],"ShowOrderTypes":true,"AdditionalRepsAlternateDisplay":true,"UseColleagueTypeMappings":true,"EnableCustomerType1":true,"EnableCustomerType2":true,"EnableCustomerType3":true,"CustomerType1Label":"sample string 30","CustomerType2Label":"sample string 31","CustomerType3Label":"sample string 32","DefaultCountryId":1,"ShowAdditionalRep1":true,"ShowAdditionalRep2":true,"EnablePersonalAddressToggle":true,"AllowQuotePricing":true,"AdditionalRep1Types":["sample string 1","sample string 2"],"AdditionalRep2Types":["sample string 1","sample string 2"],"SalesRepTypes":["sample string 1","sample string 2"],"MaxDescriptionLength":1}

application/xml, text/xml

Sample:
<DealerUpdateDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DentaCad.DTO">
  <AdditionalRep1Types xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </AdditionalRep1Types>
  <AdditionalRep2Types xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </AdditionalRep2Types>
  <AdditionalRepsAlternateDisplay>true</AdditionalRepsAlternateDisplay>
  <AddressLine1>sample string 11</AddressLine1>
  <AddressLine2>sample string 12</AddressLine2>
  <AllowQuotePricing>true</AllowQuotePricing>
  <City>sample string 13</City>
  <CompanyCode>sample string 2</CompanyCode>
  <CompanyName>sample string 3</CompanyName>
  <CustomerType1Label>sample string 30</CustomerType1Label>
  <CustomerType2Label>sample string 31</CustomerType2Label>
  <CustomerType3Label>sample string 32</CustomerType3Label>
  <DealerStatus>Unregistered</DealerStatus>
  <DefaultCountryId>1</DefaultCountryId>
  <DefaultDeposit>1</DefaultDeposit>
  <DefaultFreight>1</DefaultFreight>
  <EffectiveFrom>2025-08-29T01:14:14.4849122+00:00</EffectiveFrom>
  <EffectiveTo>2025-08-29T01:14:14.4849122+00:00</EffectiveTo>
  <Email>sample string 10</Email>
  <EnableCustomerType1>true</EnableCustomerType1>
  <EnableCustomerType2>true</EnableCustomerType2>
  <EnableCustomerType3>true</EnableCustomerType3>
  <EnablePersonalAddressToggle>true</EnablePersonalAddressToggle>
  <FirstName>sample string 7</FirstName>
  <GPPercent>1</GPPercent>
  <Id>1</Id>
  <IsDefaultFreightPercent>true</IsDefaultFreightPercent>
  <LastName>sample string 8</LastName>
  <LocationCode>sample string 15</LocationCode>
  <Manufacturers xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </Manufacturers>
  <MaxDescriptionLength>1</MaxDescriptionLength>
  <MobilePhone>sample string 9</MobilePhone>
  <OrderLinkEnabled>true</OrderLinkEnabled>
  <RoundToNearestDollar>true</RoundToNearestDollar>
  <SalesRepCanSeeAllOrders>true</SalesRepCanSeeAllOrders>
  <SalesRepShareCustomers>true</SalesRepShareCustomers>
  <SalesRepTypes xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </SalesRepTypes>
  <SalesTax>16</SalesTax>
  <ShowAdditionalRep1>true</ShowAdditionalRep1>
  <ShowAdditionalRep2>true</ShowAdditionalRep2>
  <ShowOrderTypes>true</ShowOrderTypes>
  <StateId>1</StateId>
  <StoreCode>sample string 5</StoreCode>
  <TaxFreight>true</TaxFreight>
  <TrialEndDate>2025-08-29T01:14:14.4849122+00:00</TrialEndDate>
  <UpdatesToCustomersAllowed>true</UpdatesToCustomersAllowed>
  <UseColleagueTypeMappings>true</UseColleagueTypeMappings>
  <Website>sample string 4</Website>
  <ZipCode>sample string 14</ZipCode>
</DealerUpdateDTO>