POST api/progression/lettings/{roleId}/addtenantcharge

Request Information

URI Parameters

NameDescriptionTypeAdditional information
roleId

integer

Required

Body Parameters

Dezrez.Core.DataContracts.External.Api.Role.Command.AddTenantCharge.AddTenantChargeDataContract
NameDescriptionTypeAdditional information
Name

string

None.

PriceValue

decimal number

None.

CurrencyCode

string

None.

TenantChargeInfo

Dezrez.Core.DataContracts.External.Api.Role.Command.AddTenantCharge.AddTenantChargeInfoDataContract

None.

ChargeType

Dezrez.Core.DataContracts.External.Api.System.EnumDataContract

None.

Id

integer

None.

Request Formats

application/x-www-form-urlencoded

Sample:

Sample not available.

application/json, text/json

Sample:
{
  "Name": "sample string 1",
  "PriceValue": 2.1,
  "CurrencyCode": "sample string 3",
  "TenantChargeInfo": {
    "AmountPaid": 1.1,
    "DiscountPercentage": 2.1,
    "DueDate": "2024-10-06T05:19:08.6879824Z",
    "Id": 3
  },
  "ChargeType": {
    "Id": 1,
    "Name": "sample string 2",
    "SystemName": "sample string 3"
  },
  "Id": 4
}

Response Information

Resource Description

System.Net.Http.HttpResponseMessage
NameDescriptionTypeAdditional information
Version

System.Version

None.

Content

System.Net.Http.HttpContent

None.

StatusCode

System.Net.HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

System.Net.Http.HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.