1. Call Center Integration
  • API Reference
    • Introduction
  • Website Integration
    • Leads Creation API
      POST
  • Call Center Integration
    • DataFetch API
      GET
  1. Call Center Integration

DataFetch API

GET
/http/api/get-customer-details
This document aims to provide the API details required for getting Equipment and Customer
data from SAP system

Request

Query Params

Header Params

Responses

🟢201
application/json
Created
Body

đźź 400
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET '/http/api/get-customer-details?mobileNumber' \
--header 'Authorization;'
Response Response Example
201 - Example 1
{
    "d": {
        "__metadata": {
            "id": "https://ah-ps4:443/sap/opu/odata/sap/ZAE_FM_GET_CUSTOMER_DETAILS_SRV/ZAE_FM_GET_CUSTOMER_DETAILSSet('')",
            "uri": "https://ah-ps4:443/sap/opu/odata/sap/ZAE_FM_GET_CUSTOMER_DETAILS_SRV/ZAE_FM_GET_CUSTOMER_DETAILSSet('')",
            "type": "ZAE_FM_GET_CUSTOMER_DETAILS_SRV.ZAE_FM_GET_CUSTOMER_DETAILS"
        },
        "TelNumber": "",
        "BpType": "",
        "Businesspartner": "",
        "City": "",
        "Firstname": "",
        "MobNumNoUse": false,
        "Lastname": "",
        "Nationality": "",
        "Mailid": "",
        "Region": "",
        "MobileNoO": "",
        "TelNumNoUse": false,
        "TelNumberO": "",
        "N_CustomerContactPersonList": {
            "results": []
        },
        "N_CustomerEquipmentList": {
            "results": [
                {
                    "__metadata": {
                        "id": "https://ah-ps4:443/sap/opu/odata/sap/ZAE_FM_GET_CUSTOMER_DETAILS_SRV/CustomerEquipmentListSet('300530283')",
                        "uri": "https://ah-ps4:443/sap/opu/odata/sap/ZAE_FM_GET_CUSTOMER_DETAILS_SRV/CustomerEquipmentListSet('300530283')",
                        "type": "ZAE_FM_GET_CUSTOMER_DETAILS_SRV.CustomerEquipmentList"
                    },
                    "Equipment": "300530283",
                    "LicenseNum": "65214-N DXB",
                    "FleetVin": "JMYSTCY4AEU712758",
                    "FleetCat": "PSVH",
                    "FleetUse": "",
                    "WarStartDate": null,
                    "KmsReading": "",
                    "Make": "MMC",
                    "Model": "LANC",
                    "Appointment": "",
                    "StartDate": null,
                    "StartTime": "PT00H00M00S",
                    "Workshop": "",
                    "ServAdv": ""
                }
            ]
        },
        "N_ZAE_FM_GET_CUSTOMER_DETAILS": {
            "results": [
                {
                    "__metadata": {
                        "id": "https://ah-ps4:443/sap/opu/odata/sap/ZAE_FM_GET_CUSTOMER_DETAILS_SRV/ZAE_FM_GET_CUSTOMER_DETAILSSet('%2B97142929900')",
                        "uri": "https://ah-ps4:443/sap/opu/odata/sap/ZAE_FM_GET_CUSTOMER_DETAILS_SRV/ZAE_FM_GET_CUSTOMER_DETAILSSet('%2B97142929900')",
                        "type": "ZAE_FM_GET_CUSTOMER_DETAILS_SRV.ZAE_FM_GET_CUSTOMER_DETAILS"
                    },
                    "TelNumber": "+97142929900",
                    "BpType": "2-Organization",
                    "Businesspartner": "20004996",
                    "City": "Dubai",
                    "Firstname": "Safna Enterprise LLC",
                    "MobNumNoUse": false,
                    "Lastname": "",
                    "Nationality": "AE-Unit.Arab Emir.",
                    "Mailid": "safnasathar123@gmail.com",
                    "Region": "-",
                    "MobileNoO": "",
                    "TelNumNoUse": false,
                    "TelNumberO": "+97142929900",
                    "CcusAppUrl": "",
                    "CiAppUrl": "",
                    "EquiAppUrl": "",
                    "N_CustomerContactPersonList": {
                        "__deferred": {
                            "uri": "https://ah-ps4:443/sap/opu/odata/sap/ZAE_FM_GET_CUSTOMER_DETAILS_SRV/ZAE_FM_GET_CUSTOMER_DETAILSSet('%2B97142929900')/N_CustomerContactPersonList"
                        }
                    },
                    "N_CustomerEquipmentList": {
                        "__deferred": {
                            "uri": "https://ah-ps4:443/sap/opu/odata/sap/ZAE_FM_GET_CUSTOMER_DETAILS_SRV/ZAE_FM_GET_CUSTOMER_DETAILSSet('%2B97142929900')/N_CustomerEquipmentList"
                        }
                    },
                    "N_ZAE_FM_GET_CUSTOMER_DETAILS": {
                        "__deferred": {
                            "uri": "https://ah-ps4:443/sap/opu/odata/sap/ZAE_FM_GET_CUSTOMER_DETAILS_SRV/ZAE_FM_GET_CUSTOMER_DETAILSSet('%2B97142929900')/N_ZAE_FM_GET_CUSTOMER_DETAILS"
                        }
                    },
                    "N_IsCustomerContactPersonList": {
                        "__deferred": {
                            "uri": "https://ah-ps4:443/sap/opu/odata/sap/ZAE_FM_GET_CUSTOMER_DETAILS_SRV/ZAE_FM_GET_CUSTOMER_DETAILSSet('%2B97142929900')/N_IsCustomerContactPersonList"
                        }
                    }
                }
            ]
        },
        "N_IsCustomerContactPersonList": {
            "__deferred": {
                "uri": "https://ah-ps4:443/sap/opu/odata/sap/ZAE_FM_GET_CUSTOMER_DETAILS_SRV/ZAE_FM_GET_CUSTOMER_DETAILSSet('')/N_IsCustomerContactPersonList"
            }
        }
    }
}
Previous
Leads Creation API
Built with