PUT api/enhancements/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
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. |
Request 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
}
]
}
application/xml, text/xml
Sample:
<EnhancementManage xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Atlantis.Web.Api.Models">
<Alias>sample string 2</Alias>
<ApplicableProducts>
<EnhancementApplicableProductManage>
<Id>1</Id>
<IsActive>true</IsActive>
<ProdId>1</ProdId>
<ProductGroupId>1</ProductGroupId>
<SortOrder>2</SortOrder>
</EnhancementApplicableProductManage>
<EnhancementApplicableProductManage>
<Id>1</Id>
<IsActive>true</IsActive>
<ProdId>1</ProdId>
<ProductGroupId>1</ProductGroupId>
<SortOrder>2</SortOrder>
</EnhancementApplicableProductManage>
</ApplicableProducts>
<ChargeMethod>PCM_NOTSPECIFIED</ChargeMethod>
<DefaultDuration>7</DefaultDuration>
<DefaultPLId>9</DefaultPLId>
<DefaultPrice>8.1</DefaultPrice>
<Description>sample string 3</Description>
<Discontinued>true</Discontinued>
<GroupDescription>sample string 5</GroupDescription>
<GroupId>4</GroupId>
<Id>1</Id>
<PrimaryVAT>10.1</PrimaryVAT>
<PrimaryVAT2>12.1</PrimaryVAT2>
<PrimaryVATPercent>13.1</PrimaryVATPercent>
<RevenueCenterId1>14</RevenueCenterId1>
<RevenueCenterId2>15</RevenueCenterId2>
<RevenueCenterId3>16</RevenueCenterId3>
<SaleFromWeb>true</SaleFromWeb>
<SecondaryVAT>11.1</SecondaryVAT>
<WebDescription>sample string 21</WebDescription>
<WebDuration>22</WebDuration>
<WebPLId>18</WebPLId>
<WebShortDescription>sample string 20</WebShortDescription>
<WebTitle>sample string 19</WebTitle>
</EnhancementManage>
application/x-www-form-urlencoded
Sample:
Sample not available.
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
}
]
}
application/xml, text/xml
Sample:
<EnhancementManage xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Atlantis.Web.Api.Models">
<Alias>sample string 2</Alias>
<ApplicableProducts>
<EnhancementApplicableProductManage>
<Id>1</Id>
<IsActive>true</IsActive>
<ProdId>1</ProdId>
<ProductGroupId>1</ProductGroupId>
<SortOrder>2</SortOrder>
</EnhancementApplicableProductManage>
<EnhancementApplicableProductManage>
<Id>1</Id>
<IsActive>true</IsActive>
<ProdId>1</ProdId>
<ProductGroupId>1</ProductGroupId>
<SortOrder>2</SortOrder>
</EnhancementApplicableProductManage>
</ApplicableProducts>
<ChargeMethod>PCM_NOTSPECIFIED</ChargeMethod>
<DefaultDuration>7</DefaultDuration>
<DefaultPLId>9</DefaultPLId>
<DefaultPrice>8.1</DefaultPrice>
<Description>sample string 3</Description>
<Discontinued>true</Discontinued>
<GroupDescription>sample string 5</GroupDescription>
<GroupId>4</GroupId>
<Id>1</Id>
<PrimaryVAT>10.1</PrimaryVAT>
<PrimaryVAT2>12.1</PrimaryVAT2>
<PrimaryVATPercent>13.1</PrimaryVATPercent>
<RevenueCenterId1>14</RevenueCenterId1>
<RevenueCenterId2>15</RevenueCenterId2>
<RevenueCenterId3>16</RevenueCenterId3>
<SaleFromWeb>true</SaleFromWeb>
<SecondaryVAT>11.1</SecondaryVAT>
<WebDescription>sample string 21</WebDescription>
<WebDuration>22</WebDuration>
<WebPLId>18</WebPLId>
<WebShortDescription>sample string 20</WebShortDescription>
<WebTitle>sample string 19</WebTitle>
</EnhancementManage>