Calendar

Access calendar events and scheduling information for jobs, deliveries, and appointments.

Quick Reference

Method

Endpoint

Description

GET

/api/company/{companyId}/calendar/{date}

GET

/api/company/{companyId}/calendar/{date}/baseinfo

GET

/api/company/{companyId}/calendar/{date}/startofday

GET

/api/company/{companyId}/calendar/{date}/endofday

GET /api/company/{companyId}/calendar/{date}

Parameters:

Path Parameters:

  • companyId (string, path) (required): No description available

  • date (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/company/{companyId}/calendar/{date}"
,
    companyId="ed282b80-54fe-4f42-bf1b-69103ce1f76c"
,
    date="2024-01-15T12:00:00Z"

)

# Process the response
print(response)

Sample Response:

1{
2  "status": "success",
3  "data": {}
4}

GET /api/company/{companyId}/calendar/{date}/baseinfo

Parameters:

Path Parameters:

  • companyId (string, path) (required): No description available

  • date (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/company/{companyId}/calendar/{date}/baseinfo"
,
    companyId="ed282b80-54fe-4f42-bf1b-69103ce1f76c"
,
    date="2024-01-15T12:00:00Z"

)

# Process the response
print(response)

Sample Response:

1{
2  "status": "success",
3  "data": {}
4}

GET /api/company/{companyId}/calendar/{date}/startofday

Parameters:

Path Parameters:

  • companyId (string, path) (required): No description available

  • date (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/company/{companyId}/calendar/{date}/startofday"
,
    companyId="ed282b80-54fe-4f42-bf1b-69103ce1f76c"
,
    date="2024-01-15T12:00:00Z"

)

# Process the response
print(response)

Sample Response:

1{
2  "status": "success",
3  "data": {}
4}

GET /api/company/{companyId}/calendar/{date}/endofday

Parameters:

Path Parameters:

  • companyId (string, path) (required): No description available

  • date (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/company/{companyId}/calendar/{date}/endofday"
,
    companyId="ed282b80-54fe-4f42-bf1b-69103ce1f76c"
,
    date="2024-01-15T12:00:00Z"

)

# Process the response
print(response)

Sample Response:

1{
2  "status": "success",
3  "data": {}
4}