GET v1/Settings/DeliveryTypesPerDealer/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

string

Required

Body Parameters

None.

Response Information

Resource Description

DeliveryTypePerDealerViewModel
NameDescriptionTypeAdditional information
Cmp_code

string

None.

DeliveryTypes

Collection of DeliveryTypePerDealerTypeViewModel

None.

Response Formats

application/json, text/json

Sample:
{
  "Cmp_code": "sample string 1",
  "DeliveryTypes": [
    {
      "DeliveryType_Id": 1,
      "Name": "sample string 2",
      "Enabled": true
    },
    {
      "DeliveryType_Id": 1,
      "Name": "sample string 2",
      "Enabled": true
    }
  ]
}

application/xml, text/xml

Sample:
<DeliveryTypePerDealerViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Dealerportal.Shared.ViewModels.v1.Settings">
  <Cmp_code>sample string 1</Cmp_code>
  <DeliveryTypes>
    <DeliveryTypePerDealerTypeViewModel>
      <DeliveryType_Id>1</DeliveryType_Id>
      <Enabled>true</Enabled>
      <Name>sample string 2</Name>
    </DeliveryTypePerDealerTypeViewModel>
    <DeliveryTypePerDealerTypeViewModel>
      <DeliveryType_Id>1</DeliveryType_Id>
      <Enabled>true</Enabled>
      <Name>sample string 2</Name>
    </DeliveryTypePerDealerTypeViewModel>
  </DeliveryTypes>
</DeliveryTypePerDealerViewModel>