1. Aftersales Interface
  • autoX API Reference
    • Introduction
  • Marketing Interface
    • Overview
    • Lead Create
      POST
    • Appointment Create
      POST
    • Opportunity Create
      POST
    • Transaction Push⬩
      POST
    • Transaction Update⬩
      POST
  • Website Interface
    • Overview
    • Get Showroom List
      GET
    • Get Make Data
      GET
    • Get Model Data
      GET
    • Get Sales Org Data
      GET
    • Get Equipment Stock Data
      GET
    • Get Characteristics Data of Equipment
      GET
    • Get Material Addons Data
      GET
    • Get Bill Of Material Data
      GET
    • Get Equipment Price
      POST
    • Vehicle Enquiry Create
      POST
  • Payment Gateway Interface
    • Overview
    • Payment Link Create⬩
      POST
    • Payment Link Cancel⬩
      POST
    • Payment Notification
      POST
    • Payment Status Check⬩
      POST
  • Aftersales Interface
    • Overview
    • Check Workload Capacity
      POST
    • Service Request Push⬩
      POST
    • Get Parts Price & Stock
      POST
    • Work Estimate Create
      POST
    • Service Request Update⬩
      POST
  • Call Center Integration
    • Overview
    • Data Fetch
    • Transaction Sync
    • Queue Upload⬩
  • Survey Interface
    • Overview
    • Update Survey Score
  • OEM Interface
    • Overview
    • Accounts Data
    • Parts Sales Data
    • Parts Stock Data
    • Customer Data
    • Labour Sales Data
    • Vehicle Data
    • Vehicle Sales Data
    • Service History Data
    • Open Repair Orders Data
    • Open Repair Orders Customer Data
    • Workshop Transactions Data
    • Workshop Transactions Customer Data
    • Future Booking Data
  1. Aftersales Interface

Check Workload Capacity

POST
/http/api/check-workload-capacity
Use this endpoint to check whether a workshop has sufficient capacity to accept a new service booking on a given date. Based on the plant, sales office, and sales group provided, autoX retrieves the configured work centre and queries the SAP work centre utilisation for the specified date. The balance capacity – available capacity minus required capacity – is calculated and converted to hours. If the balance exceeds the configured execution hours threshold, the endpoint returns Entry = true indicating capacity is available.

Request

Header Params

Body Params application/json

Examples

Responses

🟢200
application/json
OK
Bodyapplication/json

🟠400
🟠401
Request Request Example
Shell
JavaScript
Java
Swift
curl --location '/http/api/check-workload-capacity' \
--header 'Authorization;' \
--header 'Content-Type: application/json' \
--data '{
    "Plant": "3010",
    "SalesOffice": "W311",
    "SalesGroup": "",
    "Date": "/Date(1765434756913)/"
}'
Response Response Example
200 - Capacity Available
{
    "Entry": true,
    "BalanceCapacity": 3.5,
    "Return": []
}
Previous
Overview
Next
Service Request Push⬩
Built with