GET v1/ServiceProduct/{id}
Get detailed information about ServiceProduct.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
Service product id |
integer |
Required. |
Body Parameters
None.
Response Information
Resource Description
The ServiceProduct object
ServiceProduct| Name | Description | Type | Additional information |
|---|---|---|---|
| ReplaceableParts | Collection of ServiceProductReplaceablePartInfo |
None. |
|
| Id | integer |
Required |
|
| Name | string |
Required Max length: 50 |
|
| ShopGroupId | integer |
Required |
|
| ShopGroupName | string |
None. |
|
| ShopGroupIconUrl | string |
None. |
|
| ProductBrandId | integer |
Required |
|
| ProductBrandName | string |
None. |
|
| WarrantyMonths | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"ReplaceableParts": [
{
"Id": 1,
"UseDiscount": true,
"ProductId": 3,
"ProductCode": "sample string 4",
"ProductName": "sample string 5",
"ProductEan": "sample string 6"
},
{
"Id": 1,
"UseDiscount": true,
"ProductId": 3,
"ProductCode": "sample string 4",
"ProductName": "sample string 5",
"ProductEan": "sample string 6"
}
],
"Id": 1,
"Name": "sample string 2",
"ShopGroupId": 3,
"ShopGroupName": "sample string 4",
"ShopGroupIconUrl": "sample string 5",
"ProductBrandId": 6,
"ProductBrandName": "sample string 7",
"WarrantyMonths": 1
}
application/xml, text/xml
Sample:
<ServiceProduct xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<Id>1</Id>
<Name>sample string 2</Name>
<ShopGroupId>3</ShopGroupId>
<ShopGroupName>sample string 4</ShopGroupName>
<ShopGroupIconUrl>sample string 5</ShopGroupIconUrl>
<ProductBrandId>6</ProductBrandId>
<ProductBrandName>sample string 7</ProductBrandName>
<WarrantyMonths>1</WarrantyMonths>
<ReplaceableParts>
<ServiceProductReplaceablePartInfo>
<Id>1</Id>
<UseDiscount>true</UseDiscount>
<ProductId>3</ProductId>
<ProductCode>sample string 4</ProductCode>
<ProductName>sample string 5</ProductName>
<ProductEan>sample string 6</ProductEan>
</ServiceProductReplaceablePartInfo>
<ServiceProductReplaceablePartInfo>
<Id>1</Id>
<UseDiscount>true</UseDiscount>
<ProductId>3</ProductId>
<ProductCode>sample string 4</ProductCode>
<ProductName>sample string 5</ProductName>
<ProductEan>sample string 6</ProductEan>
</ServiceProductReplaceablePartInfo>
</ReplaceableParts>
</ServiceProduct>