QoreAI

Dealership Information

Endpoint: https://stage.qoreai.com/api/v1/app/dealership/DealershipID

Method: GET

Response

Status Code: 200

{
    "externalRefId": "9fd50791f0ff409ab5353c30823bae8a",
    "name": "Dealership Name",
    "isActive": true,
    "siteUrl": "https://dealership.com",
    "address": "123 Anywhere St",
    "salesPhoneNumber": "5555555555",
    "servicePhoneNumber": "5555555555",
    "partsPhoneNumber": "5555555555",
    "twilioPhoneNumber": "5555555555",
    "twilioSubAccount": "",
    "allowedDomains": "n/a",
    "emailLogo": "n/a",
    "parentId": -1,
    "supportEmail": "demo@example.co",
    "timezone": "America/Chicago",
    "newVehiclesVdpUrl": "https://dealership.com/vehicle",
    "usedVehiclesVdpUrl": "https://dealership.com/used",
    "certifiedVehiclesUrl": "https://dealership.com/certified",
    "crmEmail": [
        "demo@example.co",
    ],
    "plainTextCrmEmails": [],
    "crmSourceName": "qoreai",
    "adfTemplate": "xmlSnippet,
    "eLeadSubscriptionId": "n/a",
    "isChatEnabled": true,
    "isEmailEnabled": true,
    "isSmsEnabled": true,
    "overdueDuration": 50,
    "overdueSoonDuration": 40,
    "idleDuration": 120,
    "closeDuration": 300,
    "carofferDealerIdentifier": "n/a",
    "crmProviderType": [
        "Email"
    ],
    "officeHours": {
        "0": {
            "dayOff": true,
            "endTime": "00:00:00",
            "startTime": "00:00:00"
        },
        "1": {
            "dayOff": false,
            "endTime": "19:00:00",
            "startTime": "09:00:00"
        },
        "2": {
            "dayOff": false,
            "endTime": "19:00:00",
            "startTime": "09:00:00"
        },
        "3": {
            "dayOff": false,
            "endTime": "19:00:00",
            "startTime": "09:00:00"
        },
        "4": {
            "dayOff": false,
            "endTime": "19:00:00",
            "startTime": "09:00:00"
        },
        "5": {
            "dayOff": false,
            "endTime": "18:00:00",
            "startTime": "09:00:00"
        },
        "6": {
            "dayOff": false,
            "endTime": "17:00:00",
            "startTime": "09:00:00"
        }
    },
    "logoUrl": "n/a",
    "themeColors": {},
    "hasGoogleOpenHours": true,
    "isEncryptionEnabled": false,
    "privacyPolicyUrl": "https://stage-demo.qoreai.com/",
    "awaitScriptExecution": false,
    "isFacebookEnabled": false,
    "isInstagramEnabled": true,
    "instagramId": "n/a",
    "preQualifyFormDisclosure": "Required: {DEALERSHIP_NAME} Required: {PRIVACY_POLICY}",
    "paymentCalculatorFormDisclosure": "Required: {DEALERSHIP_NAME} Required: {PRIVACY_POLICY}",
    "creditApplicationFormDisclosure": "Required: {DEALERSHIP_NAME} Required: {PRIVACY_POLICY}",
    "tradeInFormDisclosure": "Required: {DEALERSHIP_NAME} Required: {PRIVACY_POLICY}",
    "cashPaymentApplicationFormDisclosure": "CASH PAYMENT - {DEALERSHIP_NAME} and {PRIVACY_POLICY} to each Disclosure",
    "isGoogleBusinessEnabled": false,
    "crmAutoSend": -1,
    "id": 35812938,
    "emailPrefix": "dealershipname",
    "created": "2023-03-07T11:31:30.289043",
    "updated": "2024-07-23T00:00:08.111606",
    "avatarUrl": "n/a",
    "services": [
        {
            "id": 44,
            "name": "ROUTE_ONE",
            "functionalities": [
                {
                    "id": "TRADE_IN_PAYOFF",
                    "name": "Trade in payoff",
                    "selected": false,
                    "dealershipId": null,
                    "vin": null,
                    "service": null
                },
                {
                    "id": "CREDIT_APPLICATION",
                    "name": "Credit Application",
                    "selected": false,
                    "dealershipId": null,
                    "vin": null,
                    "service": null
                }
            ],
            "authCredentials": [
                {
                    "value": "1323",
                    "field": "username",
                    "label": "Username"
                },
                {
                    "value": "",
                    "field": "password",
                    "label": "Password"
                },
                {
                    "value": "",
                    "field": "payoffUsername",
                    "label": "Username"
                },
                {
                    "value": "",
                    "field": "payoffPassword",
                    "label": "Password"
                },
                {
                    "value": "",
                    "field": "payoffDealerId",
                    "label": "Dealer Id"
                },
                {
                    "value": "",
                    "field": "payoffPartnerId",
                    "label": "Partner Id"
                },
                {
                    "value": "",
                    "field": "creditAppUsername",
                    "label": "Username"
                },
                {
                    "value": "",
                    "field": "creditAppPassword",
                    "label": "Password"
                },
                {
                    "value": "",
                    "field": "creditAppDealerId",
                    "label": "Dealer Id"
                },
                {
                    "value": "",
                    "field": "creditAppHmacKey",
                    "label": "HMAC Key"
                }
            ]
        }
    ],
    "inventory": {
        "id": 1,
        "name": "Name",
        "prefix": "Description",
        "processing": false,
        "status": "IMPORTED",
        "statusText": "b5cd00cb-8cc0-495e-b357-47bf6ece38dc successfully processed",
        "dealers": [
            {
                "id": 16,
                "name": "Dealership Name",
                "address": "123 Anywhere St",
                "phone": "555-555-5555",
                "zip": "12345",
                "latitude": 38.8817227,
                "longitude": -94.5985613,
                "dealershipId": 35812909,
                "inventory": []
            }
        ]
    },
    "chatbot": {
        "id": 1,
        "enabled": false
    },
    "facebookPages": [],
    "googleBusinessMessages": null,
    "eleadSubscriptionId": "n/a"
}

ADF-XML Snippet

<?xml version="1.0" ?>
<?adf version="1.0" ?>
<adf>
  <prospect>
    <id sequence="1" source="providerName">leadId</id>
    <requestdate>requestDate</requestdate>  
    <vehicle interest="trade-in">
            <year>tradeInVehicle.year</year>
            <make>tradeInVehicle.make</make>
            <model>tradeInVehicle.model</model>
            <trim>tradeInVehicle.trim</trim>
            <vin>tradeInVehicle.vin</vin>
            <odometer>tradeInVehicle.mileage</odometer>
    </vehicle>
    <vehicle interest="buy" status="selectedVehicle.type">
            <year>selectedVehicle.year</year>
            <make>selectedVehicle.make</make>
            <model>selectedVehicle.model</model>
            <trim>selectedVehicle.trim</trim>
            <vin>selectedVehicle.vin</vin>
            <transmission>selectedVehicle.transmission</transmission>
            <stock>selectedVehicle.stock</stock>
    </vehicle>
    <customer>
      <contact>
        <name part="first">visitor.firstName</name>
        <name part="last">visitor.lastName</name>
        <email type="primary">visitor.primaryEmail</email>
        <email type="secondary">visitor.secondaryEmail</email>
        <phone type="cellphone">visitor.cellPhone</phone>
        <phone type="phone">visitor.homePhone</phone>
        <phone type="phone">visitor.workPhone</phone>
        <address type="home">
          <city>visitor.metadata.geolocation.city</city>
          <postalcode>visitor.metadata.geolocation.zip</postalcode>
          <country>visitor.metadata.geolocation.country</country>
        </address>
      </contact>
      <comments>
        <![CDATA[
        Customer conversation link: permanentLink
        QoreAI app link: chatLink
        First Visit Date: visitor.metadata.firstVisitDate
        Number of Visits: visitor.metadata.numberOfVisits
        Zipcode: visitor.metadata.geolocation.zip
        City: visitor.metadata.geolocation.city
        Device: visitor.metadata.device
        ]]>
      </comments>
    </customer>
    <vendor>
      <vendorname>dealership.name</vendorname>
      <contact>
        <name part="full">dealership.name</name>
      </contact>
    </vendor>
    <provider>
      <name part="full">providerName</name>
      <service>providerService</service>
      <url>providerUrl</url>
      <email>providerEmail</email>
      <phone></phone>
      <contact primarycontact="1">
        <email>dealership.supportEmail</email>
      </contact>
    </provider>
  </prospect>
</adf>

Status Code: 400

{
    "message": "No such dealership",
    "code": 400
}