Skip to main content

How to get Default DealerAssociate (SystemUser) for a department

This document is designed to help you understand how to retrieve default dealerAssociate for a department. To get this data, you first need your credentials. If you don't already have one, head over to the Authentication and Authorization page to see how you can request for credentials from us. Use the endpoint below to fetch the Default DealerAssociate (SystemUser) associated with a given Department UUID

What is a Default DealerAssociate (SystemUser)?

A Default DealerAssociate is a virtual user in the myKaarma system used to manage unassigned calls, messages, DealerOrders, and appointments within a department.

Use Cases for Assignment to Default DealerAssociate:

EntityConditionAssigned to Default DealerAssociate
Text/CallCustomer thread is not assigned to any DealerAssociateYes
DealerOrderPulled from DMS, Associate DMS ID not matching any DealerAssociate in the systemYes
AppointmentPulled from DMS, Associate DMS ID not matching any DealerAssociate in the systemYes
AppointmentCreated with No Preference and dealer configuration allows default assignmentYes

Request

HTTP request

POST  https://api.mykaarma.com/manage/v2/departments/{departmentUUID}/dealerAssociate/default

Parameters

Path parameter:

Parameter NameValueDescriptionRequired
departmentUUIDStringUnique identifier of departmentYes

Authorization

This request requires the following authorization scopes:

ScopeLevelDescription
manage.dealerassociate.default.readDepartmentAuthorises client to read default dealerassociate related data

Curl

curl -X 'GET' \
'https://api.mykaarma.com/manage/v2/departments/{departmentUUID}/dealerAssociate/default' \
-H 'accept: application/json' \
-H 'Authorization: {{basic_auth_token}}'

Response

{
"errors": [
{
"errorCode": 0,
"errorTitle": "string",
"errorMessage": "string"
}
],
"warnings": [
{
"warningCode": 0,
"warningTitle": "string",
"warningMessage": "string"
}
],
"apiRequestId": "string",
"dealerAssociate": {
"uuid": "string",
"userUuid": "string",
"firstName": "string",
"lastName": "string",
"cellPhone": "string",
"textNumber": "string",
"emailAddress": "string",
"nickname": "string",
"associateDmsID": "string",
"imageUrl": "string",
"isValid": true,
"bio": "string",
"defaultThreadOwnerUserUUID": "string",
"outOfOffice": true,
"outOfOfficeStartDate": "string",
"role": {
"roleName": "string",
"roleAcronym": "string"
},
"department": {
"name": "string",
"uuid": "string",
"departmentType": "string",
"dealer": {
"name": "string",
"uuid": "string",
"isValid": true
}
}
}
}