GlobalSettings ============== Quick Reference --------------- .. list-table:: :header-rows: 1 :widths: 10 40 50 * - Method - Endpoint - Description * - GET - /api/admin/globalsettings/companyhierarchy - * - GET - /api/admin/globalsettings/companyhierarchy/company/{companyId} - * - POST - /api/admin/globalsettings/getinsuranceexceptions - * - POST - /api/admin/globalsettings/approveinsuranceexception - * - POST - /api/admin/globalsettings/intacct - .. _get-apiadminglobalsettingscompanyhierarchy: GET /api/admin/globalsettings/companyhierarchy ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ **Example Request:** .. tabs:: .. tab:: Python .. code-block:: python from ABConnect import ABConnectAPI # Initialize the API client api = ABConnectAPI() # Make the API call response = api.raw.get( "/api/admin/globalsettings/companyhierarchy" ) # Process the response print(response) .. tab:: CLI .. code-block:: bash ab api raw get /api/admin/globalsettings/companyhierarchy .. tab:: curl .. code-block:: bash curl -X GET \ -H 'Authorization: Bearer YOUR_API_TOKEN' \ 'https://api.abconnect.co/api/admin/globalsettings/companyhierarchy' **Sample Response:** .. toggle:: .. code-block:: json :linenos: { "status": "success", "data": {} } ---- .. _get-apiadminglobalsettingscompanyhierarchycompanycompanyid: GET /api/admin/globalsettings/companyhierarchy/company/{companyId} ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ **Parameters:** *Path Parameters:* - `companyId` (string, path) *(required)*: No description available **Example Request:** .. tabs:: .. tab:: Python .. code-block:: python from ABConnect import ABConnectAPI # Initialize the API client api = ABConnectAPI() # Make the API call response = api.raw.get( "/api/admin/globalsettings/companyhierarchy/company/{companyId}" , companyId="ed282b80-54fe-4f42-bf1b-69103ce1f76c" ) # Process the response print(response) .. tab:: CLI .. code-block:: bash ab api raw get /api/admin/globalsettings/companyhierarchy/company/{companyId} \ companyId=ed282b80-54fe-4f42-bf1b-69103ce1f76c .. tab:: curl .. code-block:: bash curl -X GET \ -H 'Authorization: Bearer YOUR_API_TOKEN' \ 'https://api.abconnect.co/api/admin/globalsettings/companyhierarchy/company/ed282b80-54fe-4f42-bf1b-69103ce1f76c' **Sample Response:** .. toggle:: .. code-block:: json :linenos: { "status": "success", "data": {} } ---- .. _post-apiadminglobalsettingsgetinsuranceexceptions: POST /api/admin/globalsettings/getinsuranceexceptions ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ **Example Request:** .. tabs:: .. tab:: Python .. code-block:: python from ABConnect import ABConnectAPI # Initialize the API client api = ABConnectAPI() # Make the API call response = api.raw.post( "/api/admin/globalsettings/getinsuranceexceptions" , data= { "example": "data" } ) # Process the response print(response) .. tab:: CLI .. code-block:: bash ab api raw post /api/admin/globalsettings/getinsuranceexceptions .. tab:: curl .. code-block:: bash curl -X POST \ -H 'Authorization: Bearer YOUR_API_TOKEN' \ -H 'Content-Type: application/json' \ -d '{ "example": "data" }' \ 'https://api.abconnect.co/api/admin/globalsettings/getinsuranceexceptions' **Sample Response:** .. toggle:: .. code-block:: json :linenos: { "id": "789e0123-e89b-12d3-a456-426614174002", "status": "created", "message": "Resource created successfully" } ---- .. _post-apiadminglobalsettingsapproveinsuranceexception: POST /api/admin/globalsettings/approveinsuranceexception ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ **Parameters:** *Query Parameters:* - `JobId` (string, query): No description available **Example Request:** .. tabs:: .. tab:: Python .. code-block:: python from ABConnect import ABConnectAPI # Initialize the API client api = ABConnectAPI() # Make the API call response = api.raw.post( "/api/admin/globalsettings/approveinsuranceexception" ) # Process the response print(response) .. tab:: CLI .. code-block:: bash ab api raw post /api/admin/globalsettings/approveinsuranceexception .. tab:: curl .. code-block:: bash curl -X POST \ -H 'Authorization: Bearer YOUR_API_TOKEN' \ -H 'Content-Type: application/json' \ 'https://api.abconnect.co/api/admin/globalsettings/approveinsuranceexception' **Sample Response:** .. toggle:: .. code-block:: json :linenos: { "id": "789e0123-e89b-12d3-a456-426614174002", "status": "created", "message": "Resource created successfully" } ---- .. _post-apiadminglobalsettingsintacct: POST /api/admin/globalsettings/intacct ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ **Example Request:** .. tabs:: .. tab:: Python .. code-block:: python from ABConnect import ABConnectAPI # Initialize the API client api = ABConnectAPI() # Make the API call response = api.raw.post( "/api/admin/globalsettings/intacct" , data= { "example": "data" } ) # Process the response print(response) .. tab:: CLI .. code-block:: bash ab api raw post /api/admin/globalsettings/intacct .. tab:: curl .. code-block:: bash curl -X POST \ -H 'Authorization: Bearer YOUR_API_TOKEN' \ -H 'Content-Type: application/json' \ -d '{ "example": "data" }' \ 'https://api.abconnect.co/api/admin/globalsettings/intacct' **Sample Response:** .. toggle:: .. code-block:: json :linenos: { "id": "789e0123-e89b-12d3-a456-426614174002", "status": "created", "message": "Resource created successfully" }