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

Request Information

URI Parameters

NameDescriptionTypeAdditional information
roleId

integer

Required

Body Parameters

AddTenantFeeDataContract
NameDescriptionTypeAdditional information
Fee

UpdateFeeDataContract

None.

TenantChargeInfo

AddTenantChargeInfoDataContract

None.

Id

integer

None.

Request Formats

application/x-www-form-urlencoded

Sample:

Sample not available.

application/json, text/json

Sample:
{
  "Fee": {
    "Name": "sample string 1",
    "FeeValueType": {
      "Id": 1,
      "Name": "sample string 2",
      "SystemName": "sample string 3"
    },
    "FeeCategoryType": {
      "Id": 1,
      "Name": "sample string 2",
      "SystemName": "sample string 3"
    },
    "FeeChargeType": {
      "Id": 1,
      "Name": "sample string 2",
      "SystemName": "sample string 3"
    },
    "FeeLiabilityType": {
      "Id": 1,
      "Name": "sample string 2",
      "SystemName": "sample string 3"
    },
    "FeeFrequency": {
      "Id": 1,
      "Name": "sample string 2",
      "SystemName": "sample string 3"
    },
    "ApplyTax": true,
    "VatValue": 3.1,
    "DefaultValue": 4.1,
    "ScaleableFees": [
      {
        "Name": "sample string 1",
        "Threshold": 2.1,
        "Value": 3.1,
        "ThresholdType": {
          "Id": 1,
          "Name": "sample string 2",
          "SystemName": "sample string 3"
        },
        "ValueType": {
          "Id": 1,
          "Name": "sample string 2",
          "SystemName": "sample string 3"
        },
        "Id": 4
      },
      {
        "Name": "sample string 1",
        "Threshold": 2.1,
        "Value": 3.1,
        "ThresholdType": {
          "Id": 1,
          "Name": "sample string 2",
          "SystemName": "sample string 3"
        },
        "ValueType": {
          "Id": 1,
          "Name": "sample string 2",
          "SystemName": "sample string 3"
        },
        "Id": 4
      }
    ],
    "AdditionalFees": [
      {
        "Name": "sample string 1",
        "Threshold": 2.1,
        "Value": 3.1,
        "ThresholdType": {
          "Id": 1,
          "Name": "sample string 2",
          "SystemName": "sample string 3"
        },
        "ValueType": {
          "Id": 1,
          "Name": "sample string 2",
          "SystemName": "sample string 3"
        },
        "Id": 4
      },
      {
        "Name": "sample string 1",
        "Threshold": 2.1,
        "Value": 3.1,
        "ThresholdType": {
          "Id": 1,
          "Name": "sample string 2",
          "SystemName": "sample string 3"
        },
        "ValueType": {
          "Id": 1,
          "Name": "sample string 2",
          "SystemName": "sample string 3"
        },
        "Id": 4
      }
    ],
    "Notes": "sample string 5",
    "TransactionType": {
      "Id": 1,
      "Name": "sample string 2",
      "SystemName": "sample string 3"
    },
    "AgencyType": {
      "Id": 1,
      "Name": "sample string 2",
      "SystemName": "sample string 3"
    },
    "IsDefault": true,
    "PersistAsBranchFee": true,
    "PersistAsAgencyFee": true,
    "AutoApply": true,
    "FeePercentageOfType": {
      "Id": 1,
      "Name": "sample string 2",
      "SystemName": "sample string 3"
    },
    "VatRateType": {
      "Id": 1,
      "Name": "sample string 2",
      "SystemName": "sample string 3"
    },
    "Id": 10
  },
  "TenantChargeInfo": {
    "AmountPaid": 1.1,
    "DiscountPercentage": 2.1,
    "DueDate": "2022-07-06T11:01:17.4675096Z",
    "Id": 3
  },
  "Id": 1
}

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.