GET api/Manufacturers/{mid}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
mid

integer

Required

Body Parameters

None.

Response Information

Resource Description

ManufacturerDTO
NameDescriptionTypeAdditional information
Id

integer

None.

Code

string

None.

CompanyCode

string

None.

CompanyName

string

None.

EffectiveFrom

date

None.

EffectiveTo

date

None.

Email

string

None.

Website

string

None.

Address

AddressDTO

None.

PhoneNumbers

Collection of PhoneNumberDTO

None.

IsActive

boolean

None.

NumbersToDelete

Collection of integer

None.

Response Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Code": "sample string 2",
  "CompanyCode": "sample string 3",
  "CompanyName": "sample string 4",
  "EffectiveFrom": "2025-08-29T01:13:43.8806721+00:00",
  "EffectiveTo": "2025-08-29T01:13:43.8806721+00:00",
  "Email": "sample string 6",
  "Website": "sample string 7",
  "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
    }
  ],
  "IsActive": true,
  "NumbersToDelete": [
    1,
    2
  ]
}

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

Sample:
{"Id":1,"Code":"sample string 2","CompanyCode":"sample string 3","CompanyName":"sample string 4","EffectiveFrom":"2025-08-29T01:13:43.8806721+00:00","EffectiveTo":"2025-08-29T01:13:43.8806721+00:00","Email":"sample string 6","Website":"sample string 7","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}],"IsActive":true,"NumbersToDelete":[1,2]}

application/xml, text/xml

Sample:
<ManufacturerDTO 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>
  <Code>sample string 2</Code>
  <CompanyCode>sample string 3</CompanyCode>
  <CompanyName>sample string 4</CompanyName>
  <EffectiveFrom>2025-08-29T01:13:43.8806721+00:00</EffectiveFrom>
  <EffectiveTo>2025-08-29T01:13:43.8806721+00:00</EffectiveTo>
  <Email>sample string 6</Email>
  <Id>1</Id>
  <IsActive>true</IsActive>
  <NumbersToDelete xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </NumbersToDelete>
  <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>
  <Website>sample string 7</Website>
</ManufacturerDTO>