Skip to Content
G360AccountsGet Child Accounts

Get Child Accounts

GET/api/v1/accounts/{macnum}/childrenAccounts

Returns the list of child accounts by provided parent macnum.

Auth Scope
urn:grt:accounts
Content-Type
application/json
Rate Limit
60 req/min

Headers

HeaderValue
AuthorizationBearer access-token

Path Parameters

ParameterTypeRequiredDescription
macnumstringYesParent account number (macnum)

Response

Success Response (200 OK)

Response Fields

FieldTypeDescription
recordslistA list of objects containing account and address details
total_countintegerThe total number of records returned in the list

Record Object Fields

FieldTypeDescription
child_account_numberstringThe macnum of the specific child account
parent_account_numberstringThe macnum of the parent account associated with the child record
streetstringThe street address of the location
citystringThe city name
statestringThe state or region abbreviation
zipstringThe postal or zip code of the location

Code Examples

Errors

HTTP StatusError DescriptionResolution
401Authentication FailedVerify your access token is valid and included in the Authorization header with the "Bearer " prefix.
403Permission DeniedYour access token does not have the required scope (urn:grt:accounts). Contact your administrator to request the appropriate permissions.
404Not FoundThe parent account with the provided macnum was not found. Verify the macnum is correct.
Last updated on