XML 68 R52.htm IDEA: XBRL DOCUMENT
v3.24.0.1

NATURE OF BUSINESS - Additional Information (Detail) | Dec. 31, 2023 location
--- | ---
Organization, Consolidation and Presentation of Financial Statements [Abstract] |
Number of locations | 500

X
- Definition Number of locations in which entity operates. + References No definition available. + Details
Name: | apg_NumberOfLocationsInWhichEntityOperates
Namespace Prefix: | apg_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | instant

X
- References No definition available. + Details
Name: | us-gaap_OrganizationConsolidationAndPresentationOfFinancialStatementsAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration