XML 131 R113.htm IDEA: XBRL DOCUMENT
v3.25.0.1

SUBSEQUENT EVENTS (Details) - 2021 Term Loan | Feb. 26, 2025 | Jun. 30, 2024
--- | --- | ---
Subsequent Event [Line Items] |  |
Debt instrument, reduction in basis spread on variable rate |  | 0.0050
Term loan facility | Subsequent Event |  |
Subsequent Event [Line Items] |  |
Debt instrument, reduction in basis spread on variable rate | 0.0025 |

X
- Definition Debt Instrument, Reduction in Basis Spread on Variable Rate + References No definition available. + Details
Name: | apg_DebtInstrumentReductionInBasisSpreadOnVariableRate
Namespace Prefix: | apg_
Data Type: | xbrli:pureItemType
Balance Type: | na
Period Type: | instant

X
- Definition Detail information of subsequent event by type. User is expected to use existing line items from elsewhere in the taxonomy as the primary line items for this disclosure, which is further associated with dimension and member elements pertaining to a subsequent event. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 830 -SubTopic 30 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Publisher FASB -URI https://asc.fasb.org/1943274/2147481674/830-30-50-2 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 855 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Publisher FASB -URI https://asc.fasb.org/1943274/2147483399/855-10-50-2 + Details
Name: | us-gaap_SubsequentEventLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_CreditFacilityAxis=apg_TwoThousandTwentyOneTermLoanMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=apg_TermLoanFacilityMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_SubsequentEventTypeAxis=us-gaap_SubsequentEventMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |