1. OEM 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⬩
    • Payment Link Cancel⬩
    • Payment Notification
    • Payment Status Check⬩
  • Aftersales Interface
    • Overview
    • Check Workload Capacity
    • Service Request Push⬩
    • Get Parts Price & Stock
    • Work Estimate Create
    • Service Request Update⬩
  • Call Center Integration
    • Overview
    • Data Fetch
    • Transaction Sync
    • Queue Upload⬩
  • Survey Interface
    • Overview
    • Update Survey Score
  • OEM Interface
    • Overview
    • Accounts Data
      GET
    • Parts Sales Data
      GET
    • Parts Stock Data
      GET
    • Customer Data
      GET
    • Labour Sales Data
      GET
    • Vehicle Data
      GET
    • Vehicle Sales Data
      GET
    • Service History Data
      GET
    • Open Repair Orders Data
      GET
    • Open Repair Orders Customer Data
      GET
    • Workshop Transactions Data
      GET
    • Workshop Transactions Customer Data
      GET
    • Future Booking Data
      GET
  1. OEM Interface

Service History Data

GET
/sap/opu/odata/sap/ZAE_DATA_EXT_SRV/ZAE_R_SERVICE_HISTORY
Use this endpoint to retrieve service history data for a retailer from SAP S/4HANA. Returns one Entry per invoiced service line, including vehicle, service description, mileage, sale value, and sale type.

Request

Query Params

Header Params

Responses

🟢200
application/json
OK
Bodyapplication/json

🟠400
🟠401
Request Request Example
Shell
JavaScript
Java
Swift
curl --location '/sap/opu/odata/sap/ZAE_DATA_EXT_SRV/ZAE_R_SERVICE_HISTORY?RetailerCode=undefined&AccountNumber=undefined&DistributionChannel=undefined&Division=undefined&SalesOffice=undefined&SalesGroup=undefined&BillingDate=undefined&Make=undefined' \
--header 'Authorization;'
Response Response Example
200 - Example 1
{
    "results": [
        {
            "DMSVehicleID": "000000000300001234",
            "RegistrationNumber": "DXB-AA-00001",
            "ServiceCode": "",
            "ServiceDescription": "General Inspection",
            "HistorySequence": "0",
            "ServiceDate": "45178",
            "InvoiceNumber": "1091001001",
            "Mileage": 12500,
            "InvoiceDate": "45179",
            "SaleValue": 630,
            "SaleValueCurr": "USD",
            "WIPNo": "0400001001",
            "AccountNumber": "0010000001",
            "AnalysisCode": "R",
            "AnalysisDescription": "Retail",
            "CRMCompanyNumber": "0010000001",
            "RepairingRetailer": "0010000001",
            "ServiceTypeRepair": "",
            "MOTTypeRepair": "",
            "Brand": "BEN"
        },
        {
            "DMSVehicleID": "000000000300001234",
            "RegistrationNumber": "DXB-AA-00001",
            "ServiceCode": "",
            "ServiceDescription": "16k Service",
            "HistorySequence": "0",
            "ServiceDate": "45242",
            "InvoiceNumber": "1091001002",
            "Mileage": 16000,
            "InvoiceDate": "45242",
            "SaleValue": 7940.84,
            "WIPNo": "0400001002",
            "AccountNumber": "0010000001",
            "AnalysisCode": "W",
            "AnalysisDescription": "Warranty",
            "CRMCompanyNumber": "0010000001",
            "RepairingRetailer": "0010000001",
            "ServiceTypeRepair": "",
            "MOTTypeRepair": "",
            "Brand": "BEN"
        }
    ]
}
Previous
Vehicle Sales Data
Next
Open Repair Orders Data
Built with