POST api/progression/lettings/{roleId}/addpayment
Add Tenant Payment
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
roleId | integer |
Required |
Body Parameters
Dezrez.Core.DataContracts.External.Api.Role.Command.AddTenantCharge.AddTenantPaymentDataContractName | Description | Type | Additional 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-11-21T09:43:33.1653575Z", "Id": 2 }
Response Information
Resource Description
System.Net.Http.HttpResponseMessageName | Description | Type | Additional 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. |