1. Website Integration
  • API Reference
    • Introduction
  • Website Integration
    • Leads Creation
      POST
  • Call Center Integration
    • Data Fetch
      GET
    • Transaction Sync
      POST
  • Parts B2B Portal
    • Stock List
      GET
  • OEM Interface
    • 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. Website Integration

Leads Creation

POST
/http/api/CreateLead
Use this endpoint to create a lead in SAP S/4HANA from an external source such as a dealership website, kiosk, or social media integration. Based on the mobile number provided, autoX checks for an existing Business Partner (BP) in the system. If a match is found, only a lead is created. If no match is found, both a BP – Prospect and a lead are created automatically.

Request

Header Params

Body Params application/json

Examples

Responses

🟢201
application/json
Created
Body

🟠400
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST '/http/api/CreateLead' \
--header 'Authentication;' \
--header 'Content-Type: application/json' \
--data-raw '{
    "City": "DUBAI",
    "Comments": "I am intrested in your latest offers!",
    "Email": "",
    "Fname": "JAMEEL",
    "Lname": "AHMED",
    "Make": "BEN",
    "MobileNo": "552200099",
    "Model": "",
    "Nationality": "",
    "Region": "DU",
    "SourceSystem": "ZSAP",
    "UtmCampaign": "CEM1234",
    "UtmMedium": "DEFR5",
    "UtmSource": "ABCD12",
    "CampaignId": "119513256",
    "EBp": "",
    "ECp": "",
    "ELeadCreated": "",
    "Origin": "Z03"
}'
Response Response Example
201 - Example 1
{
    "d": {
        "ELeadCreated": "3001031"
    }
}
Previous
Introduction
Next
Data Fetch
Built with