PUT api/SmartCatalogManufacturers/{mid}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
mid

integer

Required

Body Parameters

SmartCatalogManufacturerDTO
NameDescriptionTypeAdditional information
Id

integer

None.

DCCode

string

None.

Code

string

None.

CompanyCode

string

None.

CompanyName

string

None.

EffectiveFrom

date

None.

EffectiveTo

date

None.

SmartCatalogURL

string

None.

IsActive

boolean

None.

Email

string

None.

Website

string

None.

Address

AddressDTO

None.

PhoneNumbers

Collection of PhoneNumberDTO

None.

Status

string

None.

AuthorizedDealerIds

Collection of integer

None.

Request Formats

application/json, text/json

Sample:
{
  "AuthorizedDealerIds": [
    1,
    2
  ],
  "Id": 1,
  "DCCode": "sample string 2",
  "Code": "sample string 3",
  "CompanyCode": "sample string 4",
  "CompanyName": "sample string 5",
  "EffectiveFrom": "2025-08-29T01:12:27.8703602+00:00",
  "EffectiveTo": "2025-08-29T01:12:27.8703602+00:00",
  "SmartCatalogURL": "sample string 7",
  "IsActive": true,
  "Email": "sample string 9",
  "Website": "sample string 10",
  "Address": {
    "Seq": 1,
    "AddressId": 2,
    "Line1": "sample string 3",
    "Line2": "sample string 4",
    "City": "sample string 5",
    "StateId": 1,
    "StateCode": "sample string 6",
    "ZipCode": "sample string 7",
    "LocationCode": "sample string 8",
    "Contact": "sample string 9",
    "CustomerId": 10,
    "CountryId": 1
  },
  "PhoneNumbers": [
    {
      "Id": 1,
      "Extension": "sample string 2",
      "IsPrimary": true,
      "Number": "sample string 4",
      "NumberType": 1
    },
    {
      "Id": 1,
      "Extension": "sample string 2",
      "IsPrimary": true,
      "Number": "sample string 4",
      "NumberType": 1
    }
  ],
  "Status": "sample string 11"
}

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

Sample:
{"AuthorizedDealerIds":[1,2],"Id":1,"DCCode":"sample string 2","Code":"sample string 3","CompanyCode":"sample string 4","CompanyName":"sample string 5","EffectiveFrom":"2025-08-29T01:12:27.8703602+00:00","EffectiveTo":"2025-08-29T01:12:27.8703602+00:00","SmartCatalogURL":"sample string 7","IsActive":true,"Email":"sample string 9","Website":"sample string 10","Address":{"Seq":1,"AddressId":2,"Line1":"sample string 3","Line2":"sample string 4","City":"sample string 5","StateId":1,"StateCode":"sample string 6","ZipCode":"sample string 7","LocationCode":"sample string 8","Contact":"sample string 9","CustomerId":10,"CountryId":1},"PhoneNumbers":[{"Id":1,"Extension":"sample string 2","IsPrimary":true,"Number":"sample string 4","NumberType":1},{"Id":1,"Extension":"sample string 2","IsPrimary":true,"Number":"sample string 4","NumberType":1}],"Status":"sample string 11"}

application/xml, text/xml

Sample:
<SmartCatalogManufacturerDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DentaCad.DTO">
  <Address>
    <AddressId>2</AddressId>
    <City>sample string 5</City>
    <Contact>sample string 9</Contact>
    <CountryId>1</CountryId>
    <CustomerId>10</CustomerId>
    <Line1>sample string 3</Line1>
    <Line2>sample string 4</Line2>
    <LocationCode>sample string 8</LocationCode>
    <Seq>1</Seq>
    <StateCode>sample string 6</StateCode>
    <StateId>1</StateId>
    <ZipCode>sample string 7</ZipCode>
  </Address>
  <AuthorizedDealerIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </AuthorizedDealerIds>
  <Code>sample string 3</Code>
  <CompanyCode>sample string 4</CompanyCode>
  <CompanyName>sample string 5</CompanyName>
  <DCCode>sample string 2</DCCode>
  <EffectiveFrom>2025-08-29T01:12:27.8703602+00:00</EffectiveFrom>
  <EffectiveTo>2025-08-29T01:12:27.8703602+00:00</EffectiveTo>
  <Email>sample string 9</Email>
  <Id>1</Id>
  <IsActive>true</IsActive>
  <PhoneNumbers>
    <PhoneNumberDTO>
      <Extension>sample string 2</Extension>
      <Id>1</Id>
      <IsPrimary>true</IsPrimary>
      <Number>sample string 4</Number>
      <NumberType>Work</NumberType>
    </PhoneNumberDTO>
    <PhoneNumberDTO>
      <Extension>sample string 2</Extension>
      <Id>1</Id>
      <IsPrimary>true</IsPrimary>
      <Number>sample string 4</Number>
      <NumberType>Work</NumberType>
    </PhoneNumberDTO>
  </PhoneNumbers>
  <SmartCatalogURL>sample string 7</SmartCatalogURL>
  <Status>sample string 11</Status>
  <Website>sample string 10</Website>
</SmartCatalogManufacturerDTO>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

SmartCatalogManufacturerDTO
NameDescriptionTypeAdditional information
Id

integer

None.

DCCode

string

None.

Code

string

None.

CompanyCode

string

None.

CompanyName

string

None.

EffectiveFrom

date

None.

EffectiveTo

date

None.

SmartCatalogURL

string

None.

IsActive

boolean

None.

Email

string

None.

Website

string

None.

Address

AddressDTO

None.

PhoneNumbers

Collection of PhoneNumberDTO

None.

Status

string

None.

AuthorizedDealerIds

Collection of integer

None.

Response Formats

application/json, text/json

Sample:
{
  "AuthorizedDealerIds": [
    1,
    2
  ],
  "Id": 1,
  "DCCode": "sample string 2",
  "Code": "sample string 3",
  "CompanyCode": "sample string 4",
  "CompanyName": "sample string 5",
  "EffectiveFrom": "2025-08-29T01:12:27.8859915+00:00",
  "EffectiveTo": "2025-08-29T01:12:27.8859915+00:00",
  "SmartCatalogURL": "sample string 7",
  "IsActive": true,
  "Email": "sample string 9",
  "Website": "sample string 10",
  "Address": {
    "Seq": 1,
    "AddressId": 2,
    "Line1": "sample string 3",
    "Line2": "sample string 4",
    "City": "sample string 5",
    "StateId": 1,
    "StateCode": "sample string 6",
    "ZipCode": "sample string 7",
    "LocationCode": "sample string 8",
    "Contact": "sample string 9",
    "CustomerId": 10,
    "CountryId": 1
  },
  "PhoneNumbers": [
    {
      "Id": 1,
      "Extension": "sample string 2",
      "IsPrimary": true,
      "Number": "sample string 4",
      "NumberType": 1
    },
    {
      "Id": 1,
      "Extension": "sample string 2",
      "IsPrimary": true,
      "Number": "sample string 4",
      "NumberType": 1
    }
  ],
  "Status": "sample string 11"
}

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

Sample:
{"AuthorizedDealerIds":[1,2],"Id":1,"DCCode":"sample string 2","Code":"sample string 3","CompanyCode":"sample string 4","CompanyName":"sample string 5","EffectiveFrom":"2025-08-29T01:12:27.8859915+00:00","EffectiveTo":"2025-08-29T01:12:27.8859915+00:00","SmartCatalogURL":"sample string 7","IsActive":true,"Email":"sample string 9","Website":"sample string 10","Address":{"Seq":1,"AddressId":2,"Line1":"sample string 3","Line2":"sample string 4","City":"sample string 5","StateId":1,"StateCode":"sample string 6","ZipCode":"sample string 7","LocationCode":"sample string 8","Contact":"sample string 9","CustomerId":10,"CountryId":1},"PhoneNumbers":[{"Id":1,"Extension":"sample string 2","IsPrimary":true,"Number":"sample string 4","NumberType":1},{"Id":1,"Extension":"sample string 2","IsPrimary":true,"Number":"sample string 4","NumberType":1}],"Status":"sample string 11"}

application/xml, text/xml

Sample:
<SmartCatalogManufacturerDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DentaCad.DTO">
  <Address>
    <AddressId>2</AddressId>
    <City>sample string 5</City>
    <Contact>sample string 9</Contact>
    <CountryId>1</CountryId>
    <CustomerId>10</CustomerId>
    <Line1>sample string 3</Line1>
    <Line2>sample string 4</Line2>
    <LocationCode>sample string 8</LocationCode>
    <Seq>1</Seq>
    <StateCode>sample string 6</StateCode>
    <StateId>1</StateId>
    <ZipCode>sample string 7</ZipCode>
  </Address>
  <AuthorizedDealerIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </AuthorizedDealerIds>
  <Code>sample string 3</Code>
  <CompanyCode>sample string 4</CompanyCode>
  <CompanyName>sample string 5</CompanyName>
  <DCCode>sample string 2</DCCode>
  <EffectiveFrom>2025-08-29T01:12:27.8859915+00:00</EffectiveFrom>
  <EffectiveTo>2025-08-29T01:12:27.8859915+00:00</EffectiveTo>
  <Email>sample string 9</Email>
  <Id>1</Id>
  <IsActive>true</IsActive>
  <PhoneNumbers>
    <PhoneNumberDTO>
      <Extension>sample string 2</Extension>
      <Id>1</Id>
      <IsPrimary>true</IsPrimary>
      <Number>sample string 4</Number>
      <NumberType>Work</NumberType>
    </PhoneNumberDTO>
    <PhoneNumberDTO>
      <Extension>sample string 2</Extension>
      <Id>1</Id>
      <IsPrimary>true</IsPrimary>
      <Number>sample string 4</Number>
      <NumberType>Work</NumberType>
    </PhoneNumberDTO>
  </PhoneNumbers>
  <SmartCatalogURL>sample string 7</SmartCatalogURL>
  <Status>sample string 11</Status>
  <Website>sample string 10</Website>
</SmartCatalogManufacturerDTO>