Code Samples
https://api.onegov.nsw.gov.au/oauth/client_credential/accesstoken
The client can request an access token using only its client credentials (or other supported means of authentication) when the client is requesting access to the protected resources under its control, or those of another resource owner that have been previously arranged with the authorization server.
https://api.onegov.nsw.gov.au/strata/reportscheme/Create
Report API will only create report scheme case for SMA. This API needs to be used only for initial reporting only. i.e., Any new schemes reporting or schemes which are not yet registered in Strata Hub. For additional help and to test the API solution, the software provider should follow instructions listed here "https://www.nsw.gov.au/housing-and-construction/strata/annual-reporting/reporting-for-multiple-schemes".
https://api.onegov.nsw.gov.au/strata/reportscheme/Update
Update API will only update existing Scheme(s) in Strata Scheme Reporting (SSR) application in Strata Hub. This needs to be only used when update information is required as per legislation with in 28 days. Please make sure, you display declaration and acknowledgement as provided by government in your software. For additional help and to test the API solution, the software provider should follow instructions listed here "https://www.nsw.gov.au/housing-and-construction/strata/annual-reporting/reporting-for-multiple-schemes".
https://api.onegov.nsw.gov.au/strata/reportscheme/AnnualReport
Annual Report API will only allow reporting for subsequent report of schemes after initial reporting based on their Annual General meeting (AGM). This API should only be used after AGM meeting is done. For additional help and to test the API solution, the software provider should follow instructions listed here https://www.nsw.gov.au/housing-and-construction/strata/annual-reporting/reporting-for-multiple-schemes.
https://api.onegov.nsw.gov.au/strata/reportscheme/Read
Read existing Scheme(s) details from Strata Hub portal. This API should only be used after at least initial (i.e. First) reporting is done in Strata Hub.