Retrieves all the documents related to the specificentity within a business. The system document date is derived differently for specific Class generated documents, see below for some examples:
| Document Type | Date Logic | Financial year tag |
|---|---|---|
| Actuarial Certificate | 30 June of requested year | Yes |
| Audit report | 30 June of requested year | Yes |
| Property Valuation | Date of request | Yes |
| Direct Connect Doc feed | Statement period end date | Yes |
| Data feed authority form | Date uploaded | No |
| Client View | Date msg sent | Yes |
| Title search | Date of request | Yes |
| Class docusign envelope | Date envelope completed (last signer) | No |
Security
Class_oAuth(Required scopes: fund.readfund.maintain)
Available values:
- description
- createdby
- created
- source
- status
- effectivetime
Multiple values can be provided if they are comma-separated.
- To denote descending order, prefix the name with a '-' , e .g.,
SortBy=-created(sorts by created date in descending order). - Example:
SortBy=description,-createdby- Sorts by 'description' in ascending order.
- Then sorts by 'createdby' in descending order.
Example:sortBy=created
- Partner Integration Environment (Sandbox)https://api.class-pie.com.au/api/1.0/f/{businessCode}/{fundCode}/dms/documents
- Production Environmenthttps://api.class.com.au/api/1.0/f/{businessCode}/{fundCode}/dms/documents
curl -i -X GET \
'https://api.class-pie.com.au/api/1.0/f/demo-business/demo-fund/dms/documents?documentDateFrom=string&documentDateTo=string&sortBy=created&pageNumber=string&pageSize=string'Success (Ok)
The total number of pages available based on the total and pageSize.
Example:1
Response
{ "total": 1, "pageSize": 500, "pageNumber": 1, "totalPages": 1, "documents": [ { "id": "1f41a318-3179-4734-b9f5-9b95811bc270", "description": "Tax Statement.pdf", "fileName": "Tax Statement.pdf", "createdBy": "Bob.Jones@class.com.au", "createdTime": "2024-04-23T10:27:51.643869", "effectiveTime": "2023-06-30T00:00:00", "updatedBy": "Bob.Jones@class.com.au", "updatedTime": "2024-04-23T10:27:51.877835", "effectiveStatusCode": "Active", "isClassManaged": false, "status": "unverified", "source": "unspecified", "isRestricted": false, "tags": [ { "id": "6014071d-1a37-4019-92c2-04bb15fc0c63", "externalId": "385deb74-cd09-42d0-8ef4-88782fc3211c", "displayName": "Ms Ellyse Perry: Accumulation", "code": null, "tagType": "Account", "isProtected": false } ] } ] }