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

Add Tenant Payment

Request Information

URI Parameters

NameDescriptionTypeAdditional information
roleId

integer

Required

Body Parameters

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

string

None.

PaymentType

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

None.

Payment

Dezrez.Core.DataContracts.External.Api.Finances.AddPaymentDataContract

None.

PaymentDate

date

None.

Id

integer

None.

Request Formats

application/x-www-form-urlencoded

Sample:

Sample not available.

application/json, text/json

Sample:
{
  "Name": "sample string 1",
  "PaymentType": {
    "Id": 1,
    "Name": "sample string 2",
    "SystemName": "sample string 3"
  },
  "Payment": {
    "From": {
      "PeopleGroupId": 1,
      "PersonId": 2,
      "FinancialAccountId": 3,
      "Id": 4
    },
    "To": {
      "PeopleGroupId": 1,
      "PersonId": 2,
      "FinancialAccountId": 3,
      "Id": 4
    },
    "RoleId": 1,
    "Amount": 2.1,
    "Id": 3
  },
  "PaymentDate": "2024-10-29T22:18:58.9511237Z",
  "Id": 2
}

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.