GET api/enhancements/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
EnhancementManage| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| Alias | string |
None. |
|
| Description | string |
None. |
|
| GroupId | integer |
None. |
|
| GroupDescription | string |
None. |
|
| Discontinued | boolean |
None. |
|
| DefaultDuration | integer |
None. |
|
| DefaultPrice | decimal number |
None. |
|
| DefaultPLId | integer |
None. |
|
| ChargeMethod | ProductChargeMethod |
None. |
|
| PrimaryVAT | decimal number |
None. |
|
| SecondaryVAT | decimal number |
None. |
|
| PrimaryVAT2 | decimal number |
None. |
|
| PrimaryVATPercent | decimal number |
None. |
|
| RevenueCenterId1 | integer |
None. |
|
| RevenueCenterId2 | integer |
None. |
|
| RevenueCenterId3 | integer |
None. |
|
| SaleFromWeb | boolean |
None. |
|
| WebPLId | integer |
None. |
|
| WebTitle | string |
None. |
|
| WebShortDescription | string |
None. |
|
| WebDescription | string |
None. |
|
| WebDuration | integer |
None. |
|
| ApplicableProducts | Collection of EnhancementApplicableProductManage |
None. |
Response Formats
application/json, text/json
Sample:
{
"Id": 1,
"Alias": "sample string 2",
"Description": "sample string 3",
"GroupId": 4,
"GroupDescription": "sample string 5",
"Discontinued": true,
"DefaultDuration": 7,
"DefaultPrice": 8.1,
"DefaultPLId": 9,
"ChargeMethod": 0,
"PrimaryVAT": 10.1,
"SecondaryVAT": 11.1,
"PrimaryVAT2": 12.1,
"PrimaryVATPercent": 13.1,
"RevenueCenterId1": 14,
"RevenueCenterId2": 15,
"RevenueCenterId3": 16,
"SaleFromWeb": true,
"WebPLId": 18,
"WebTitle": "sample string 19",
"WebShortDescription": "sample string 20",
"WebDescription": "sample string 21",
"WebDuration": 22,
"ApplicableProducts": [
{
"Id": 1,
"ProdId": 1,
"ProductGroupId": 1,
"SortOrder": 2,
"IsActive": true
},
{
"Id": 1,
"ProdId": 1,
"ProductGroupId": 1,
"SortOrder": 2,
"IsActive": true
}
]
}