Owner transfers

List owner distributions

Returns a page of the money paid out of properties to their owners, with the owners, portfolios, properties, transactions, bank accounts and chart of accounts each distribution touches.

GET
https://api.portal.magicdoor.com/company-app/owners/distributions

Authorization

Authorizationstringrequired
Bearer token — Send your API token in the Authorization header as Bearer <token>. Requests without a valid token are rejected with 401 Unauthorized.

Query parameters

pageinteger

Which page to return. The first page is 1.

default: 1
pageSizeinteger

How many records to return per page. Between 1 and 100.

default: 50
ownerIdsstring[]

Return only distributions to these owners. Repeat the parameter for each id.

propertyIdsstring[]

Return only distributions out of these properties. Repeat the parameter for each id.

portfolioIdsstring[]

Return only distributions out of properties in these portfolios. Repeat the parameter for each id.

memostring

Return only distributions whose memo matches this text. 1 to 1000 characters.

referencestring

Return only distributions whose reference matches this text. 1 to 200 characters.

distributionDate.startstring · date-time

Return only distributions dated at or after this moment, read in the company's timezone. Give at least one of distributionDate.start and distributionDate.end.

distributionDate.endstring · date-time

Return only distributions dated at or before this moment, read in the company's timezone.

totalAmount.fromnumber

Lower bound of the distribution amount. Give at least one of totalAmount.from and totalAmount.to.

totalAmount.tonumber

Upper bound of the distribution amount.

totalAmount.includeFromboolean

Whether a distribution equal to totalAmount.from is included.

default: true
totalAmount.includeToboolean

Whether a distribution equal to totalAmount.to is included.

default: true

Response

200 · A page of distributions plus the records they point at.

itemsOwnerDistribution[]

The records on this page.

currentPageinteger

The page this response is.

totalPagesinteger

How many pages the filter produces.

pageSizeinteger

How many records a page holds.

totalCountinteger

How many records match the filter across all pages.

ownersobject[]

Every owner referenced by the records or by their creators, resolved.

portfoliosobject[]

Every portfolio referenced by the lines, resolved.

propertiesobject[]

Every property referenced by the lines, resolved.

transactionsobject[]

Every accounting transaction behind the allocations, resolved.

bankAccountsobject[]

Every bank account those transactions moved money through, resolved. Account and routing numbers are masked.

chartOfAccountsobject[]

Every chart of account the lines book to, resolved.

propertyManagersobject[]

Every property manager who created one of the records, resolved.

tenantsobject[]

Every tenant who created one of the records, resolved.

vendorsobject[]

Every vendor who created one of the records, resolved.

401 · The access token is missing, expired, or does not belong to a property manager.