POST api/progression/lettings/{roleId}/addtenantcharge
Add Tenant Charge. Processes this lettings progression API request. The parameter and response sections describe the data exchanged with the API.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| roleId |
The unique identifier of the role resource. |
integer |
Required |
Body Parameters
The add tenant charge data contract supplied with the request.
AddTenantChargeDataContract| Name | Description | Type | Additional information |
|---|---|---|---|
| Name |
The name value. |
string |
None. |
| PriceValue |
The price value value. |
decimal number |
None. |
| CurrencyCode |
The currency code value. |
string |
None. |
| TenantChargeInfo |
The tenant charge info value. |
AddTenantChargeInfoDataContract |
None. |
| ChargeType |
The charge type value. |
EnumDataContract |
None. |
| Id |
The unique identifier of this resource. |
integer |
None. |
Request Formats
application/x-www-form-urlencoded
Sample not available.
application/json, text/json
{
"Name": "sample string 1",
"PriceValue": 2.1,
"CurrencyCode": "sample string 3",
"TenantChargeInfo": {
"AmountPaid": 1.1,
"DiscountPercentage": 2.1,
"DueDate": "2026-08-04T22:26:25.3069259Z",
"Id": 3
},
"ChargeType": {
"Id": 1,
"Name": "sample string 2",
"SystemName": "sample string 3"
},
"Id": 4
}
Response Information
Resource Description
The response returned after the operation completes.
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version |
The version value. |
Version |
None. |
| Content |
The content value. |
HttpContent |
None. |
| StatusCode |
The status code classification. |
HttpStatusCode |
None. |
| ReasonPhrase |
The reason phrase value. |
string |
None. |
| Headers |
The collection of headers. |
Collection of Object |
None. |
| RequestMessage |
The request message value. |
HttpRequestMessage |
None. |
| IsSuccessStatusCode |
Indicates whether this item is success status code. |
boolean |
None. |