company-countries

List Company Countries

List countries for a company.

Args: company_uuid (UUID): The company UUID. db_session (DBSessionDep): Database session dependency. search (str, optional): Search term for country name or code. selected (bool, optional): If True, only selected countries for the company are returned. entitled (bool, optional): If set, only released or only unreleased countries. user_uuid (UUID, optional): Filter by countries whose areas intersect the user's groups. sort_by (str, optional): Field to sort by ('name' or 'code'). sort_order (str, optional): Sort order ('asc' or 'desc'). ids (List[int], optional): Filter by specific country IDs.

Returns: Page[Country]: Paginated list of countries.

get/api/companies/{company_uuid}/countries

Request

  • Base URL
    https://api.regdoor.com (the document declares no server; this is the origin it was published from)
  • Auth
    HTTP bearer

Path parameters

company_uuidstring uuid required

Query parameters

searchstring nullable
selectedboolean nullable
entitledboolean nullable
user_uuidstring uuid nullable
sort_bystring nullable

Sort by field (name, code, first_interaction, last_interaction, total_interactions_count, sentiment_score, service_providers_total, associations_total, government_bodies_total)

sort_orderstring nullable

Sort order (asc or desc)

idsinteger[] nullable

Filter by specific country IDs

pageinteger

Page number

sizeinteger

Page size

Headers

X-Teamspace-Uuidstring uuid nullable
X-User-Emailstring nullable
X-User-Namestring nullable

Response

Successful Response

totalinteger nullable required
pageinteger nullable required
sizeinteger nullable required
pagesinteger nullable

Changes

No recorded changes to this operation across all 1 revision of this API.