GET api/WebApiOdata/GetAllEmbellishments?providerId={providerId}&providerType={providerType}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| providerId | integer |
Required |
|
| providerType | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of EmbellishmentTypesViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| EmbellishmentID | integer |
None. |
|
| Name | string |
None. |
|
| ProviderID | integer |
None. |
|
| SupplierName | string |
None. |
|
| ProductsCount | integer |
None. |
Response Formats
application/json, text/json, text/html
Sample:
[
{
"EmbellishmentID": 1,
"Name": "sample string 2",
"ProviderID": 3,
"SupplierName": "sample string 4",
"ProductsCount": 5
},
{
"EmbellishmentID": 1,
"Name": "sample string 2",
"ProviderID": 3,
"SupplierName": "sample string 4",
"ProductsCount": 5
}
]
application/xml, text/xml
Sample:
<ArrayOfEmbellishmentTypesViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SellersCommerce.ViewModels.Products">
<EmbellishmentTypesViewModel>
<EmbellishmentID>1</EmbellishmentID>
<Name>sample string 2</Name>
<ProductsCount>5</ProductsCount>
<ProviderID>3</ProviderID>
<SupplierName>sample string 4</SupplierName>
</EmbellishmentTypesViewModel>
<EmbellishmentTypesViewModel>
<EmbellishmentID>1</EmbellishmentID>
<Name>sample string 2</Name>
<ProductsCount>5</ProductsCount>
<ProviderID>3</ProviderID>
<SupplierName>sample string 4</SupplierName>
</EmbellishmentTypesViewModel>
</ArrayOfEmbellishmentTypesViewModel>