Update a subsidy
Changes an existing subsidy. Send only what you want to change, plus amount and updatePastSubsidies, which are always required. Set updatePastSubsidies to true to also revise the payments already recorded.
Authorization
AuthorizationstringrequiredPath parameters
leaseIdstringrequiredThe lease the subsidy is on. A Snowflake id, sent as a decimal string.
leaseSubsidyIdstringrequiredThe subsidy to update. A Snowflake id, sent as a decimal string.
Body
application/json
amountnumberrequiredThe amount the subsidy pays each period, as a decimal of at least 1.
updatePastSubsidiesbooleanrequiredWhether to apply the change to payments already recorded.
subsidizerIdstringNew paying body. A Snowflake id, sent as a decimal string.
chartOfAccountIdstringNew account to book payments to. A Snowflake id, sent as a decimal string.
subsidyTypeenum<string>New programme.
subsidyFrequencyenum<string>New frequency.
effectiveDatestring · dateNew first date.
endDatestring · dateNew last date. Must be later than effectiveDate.
ownerIdstringNew owner to record it against. A Snowflake id, sent as a decimal string.
voucherNumberstringNew voucher number. 1 to 100 characters.
descriptionstringNew description. Up to 1000 characters.
Response
200 · The updated subsidy.
idstringId of the subsidy. A Snowflake id, sent as a decimal string.
leaseIdstringThe lease it applies to. A Snowflake id, sent as a decimal string.
ownerIdstringThe owner the subsidy is recorded against, when one is set. A Snowflake id, sent as a decimal string.
unitIdstringUnit the lease is on. A Snowflake id, sent as a decimal string.
propertyIdstringProperty the lease is on. A Snowflake id, sent as a decimal string.
portfolioIdstringPortfolio the lease rolls up to. A Snowflake id, sent as a decimal string.
subsidizerIdstringThe body paying the subsidy. A Snowflake id, sent as a decimal string.
chartOfAccountIdstringAccount the subsidy payments are booked to. A Snowflake id, sent as a decimal string.
subsidyTypeenum<string>Which programme this is: section8 for a Housing Choice Voucher, vash for Veterans Affairs Supportive Housing, ehv for an Emergency Housing Voucher, fup for the Family Unification Program, projectBased for a Project-Based Voucher, or other.
voucherNumberstringThe voucher number the paying body uses. Up to 100 characters.
descriptionstringWhat the subsidy is for. Up to 1000 characters.
amountnumberHow much the subsidy pays each period, as a decimal amount.
subsidyFrequencyenum<string>How often the subsidy pays.
effectiveDatestring · dateFirst date the subsidy pays.
endDatestring · dateLast date it pays. Absent when it runs indefinitely.
lastSubsidystring · date-timeWhen it last paid.
nextSubsidystring · date-timeWhen it next pays.
activebooleanWhether the subsidy is switched on. A deactivated subsidy keeps its history but stops paying.
creatorobjectWho created the record.
createdstring · date-timeWhen the subsidy was created, in the company's timezone.
updatedstring · date-timeWhen it last changed.
ownerobjectThe owner the subsidy is recorded against, when one is set.
subsidizerobjectThe body paying the subsidy.
chartOfAccountobjectThe account the subsidy payments are booked to.
creatorInfoobjectThe full record of whoever created this, under whichever one key matches the creator's type.