Detach files from an owner contribution
Removes the named attachments from an owner contribution and returns the record as it now stands.
Authorization
AuthorizationstringrequiredPath parameters
ownerContributionIdstringrequiredThe owner contribution. A Snowflake id sent as a decimal string.
Body
application/json
fileIdsstring[]requiredThe files to detach, by their files[].fileId. At least one.
Response
200 · The record with its attachments after the change.
idstringThe owner contribution. A Snowflake id sent as a decimal string.
ownerIdstringThe owner who put the money in.
contributionDatestring · dateThe day the money was contributed.
totalAmountnumberHow much the owner contributed, in dollars and cents. Always positive — money coming into the property from the owner.
allocatedAmountnumberHow much of it has been matched to an accounting transaction.
dueAmountnumberWhat has not yet been matched: totalAmount less allocatedAmount.
memostringA note on the contribution. Absent when none was set.
referencestringA reference on the contribution. Absent when none was set.
lineItemsobject[]The contribution broken down by property, in display order.
filesobject[]Files attached to the record.
metadataobjectFree-form key-value pairs kept on the contribution.
createdstring · date-timeWhen the contribution was created, in the company's timezone.
updatedstring · date-timeWhen it last changed, in the company's timezone.
creatorobjectWho created the record.
ownerobjectThe owner named by ownerId, as the full owner record.
portfoliosobject[]The portfolios the lines belong to, resolved.
propertiesobject[]The properties the lines apply to, resolved.
transactionsobject[]The accounting transactions behind the allocations, resolved.
bankAccountsobject[]The bank accounts those transactions moved money through, resolved. Account and routing numbers are masked to their last four digits.
chartOfAccountsobject[]The chart of accounts the lines book to, resolved.
hydratedFilesobject[]The attachments in files, resolved to full file records with signed download URLs.
creatorInfoobjectThe person behind creator, resolved. Exactly one of propertyManager, vendor, tenant and owner is present, matching creator.type.