PUT v1/Settings/DeliveryTypesPerDealer
Request Information
URI Parameters
None.
Body Parameters
DeliveryTypePerDealerViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Cmp_code | string |
None. |
|
| DeliveryTypes | Collection of DeliveryTypePerDealerTypeViewModel |
None. |
Request 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>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
DeliveryTypePerDealerViewModel| Name | Description | Type | Additional 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>