POST contractwizard/profilecharge/update
Request Information
URI Parameters
None.
Body Parameters
ProfileCharge| Name | Description | Type | Additional information |
|---|---|---|---|
| TenantId | integer |
None. |
|
| ChargeId | integer |
None. |
|
| ChargeName | string |
None. |
|
| ChargeTypeId | integer |
None. |
|
| FixedValueExc | decimal number |
None. |
|
| RatePercentage | decimal number |
None. |
|
| HasQuantity | boolean |
None. |
|
| DefaultQuantity | decimal number |
None. |
|
| AllowPriceOverride | boolean |
None. |
|
| HasRepeatMonths | boolean |
None. |
|
| RepeatMonthCount | integer |
None. |
|
| TOSOURCE | string |
None. |
|
| TemplateServiceId | integer |
None. |
|
| PropertyTypeId | integer |
None. |
|
| StockId | integer |
None. |
|
| ProfileServiceId | integer |
None. |
|
| HasMinimumValue | boolean |
None. |
|
| MinimumValueExc | decimal number |
None. |
Request Formats
application/json, text/json
Sample:
{
"TenantId": 1,
"ChargeId": 2,
"ChargeName": "sample string 3",
"ChargeTypeId": 1,
"FixedValueExc": 1.0,
"RatePercentage": 1.0,
"HasQuantity": true,
"DefaultQuantity": 1.0,
"AllowPriceOverride": true,
"HasRepeatMonths": true,
"RepeatMonthCount": 1,
"TOSOURCE": "sample string 4",
"TemplateServiceId": 1,
"PropertyTypeId": 1,
"StockId": 1,
"ProfileServiceId": 1,
"HasMinimumValue": true,
"MinimumValueExc": 1.0
}
text/html
Sample:
{"TenantId":1,"ChargeId":2,"ChargeName":"sample string 3","ChargeTypeId":1,"FixedValueExc":1.0,"RatePercentage":1.0,"HasQuantity":true,"DefaultQuantity":1.0,"AllowPriceOverride":true,"HasRepeatMonths":true,"RepeatMonthCount":1,"TOSOURCE":"sample string 4","TemplateServiceId":1,"PropertyTypeId":1,"StockId":1,"ProfileServiceId":1,"HasMinimumValue":true,"MinimumValueExc":1.0}
application/xml, text/xml
Sample:
<ProfileCharge xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ListenerOnline.BusinessEntities.Contracts"> <AllowPriceOverride>true</AllowPriceOverride> <ChargeId>2</ChargeId> <ChargeName>sample string 3</ChargeName> <ChargeTypeId>1</ChargeTypeId> <DefaultQuantity>1</DefaultQuantity> <FixedValueExc>1</FixedValueExc> <HasMinimumValue>true</HasMinimumValue> <HasQuantity>true</HasQuantity> <HasRepeatMonths>true</HasRepeatMonths> <MinimumValueExc>1</MinimumValueExc> <ProfileServiceId>1</ProfileServiceId> <PropertyTypeId>1</PropertyTypeId> <RatePercentage>1</RatePercentage> <RepeatMonthCount>1</RepeatMonthCount> <StockId>1</StockId> <TOSOURCE>sample string 4</TOSOURCE> <TemplateServiceId>1</TemplateServiceId> <TenantId>1</TenantId> </ProfileCharge>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, text/html, application/xml, text/xml
Sample:
Sample not available.