GlobalSettings
Quick Reference
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 /api/admin/globalsettings/companyhierarchy
Example Request:
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)
ab api raw get /api/admin/globalsettings/companyhierarchy
curl -X GET \
-H 'Authorization: Bearer YOUR_API_TOKEN' \
'https://api.abconnect.co/api/admin/globalsettings/companyhierarchy'
Sample Response:
1{
2 "status": "success",
3 "data": {}
4}
GET /api/admin/globalsettings/companyhierarchy/company/{companyId}
Parameters:
Path Parameters:
companyId (string, path) (required): No description available
Example Request:
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)
ab api raw get /api/admin/globalsettings/companyhierarchy/company/{companyId} \
companyId=ed282b80-54fe-4f42-bf1b-69103ce1f76c
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:
1{
2 "status": "success",
3 "data": {}
4}
POST /api/admin/globalsettings/getinsuranceexceptions
Example Request:
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)
ab api raw post /api/admin/globalsettings/getinsuranceexceptions
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:
1{
2 "id": "789e0123-e89b-12d3-a456-426614174002",
3 "status": "created",
4 "message": "Resource created successfully"
5}
POST /api/admin/globalsettings/approveinsuranceexception
Parameters:
Query Parameters:
JobId (string, query): No description available
Example Request:
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)
ab api raw post /api/admin/globalsettings/approveinsuranceexception
curl -X POST \
-H 'Authorization: Bearer YOUR_API_TOKEN' \
-H 'Content-Type: application/json' \
'https://api.abconnect.co/api/admin/globalsettings/approveinsuranceexception'
Sample Response:
1{
2 "id": "789e0123-e89b-12d3-a456-426614174002",
3 "status": "created",
4 "message": "Resource created successfully"
5}
POST /api/admin/globalsettings/intacct
Example Request:
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)
ab api raw post /api/admin/globalsettings/intacct
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:
1{
2 "id": "789e0123-e89b-12d3-a456-426614174002",
3 "status": "created",
4 "message": "Resource created successfully"
5}