# CRM

# Supported Operations
The list of currently supported Integrator Client operations is provided below.
Please note that depending on your assigned Integrator Client privileges you may only have access to view and configure one particular Integrator Client entry. Refer back to the application administrator that created your particular User account in order to gain additional privileges.
Operation Name | Operation Description |
---|---|
Add | Add a new CRM. |
Change | Change an existing CRM. |
Delete | Delete a CRM Client. |
List | List all CRM assigned to your Akixi account. |
Info | Get information about a CRM. |
# Add
# Request
# Endpoint
https://host/CCS/API/v1/admin/telsys/{telSysID}/partition/{partitionIDInTelSys}/device/{deviceNumber}/crm/configs
URL Specs | Description |
---|---|
protocol | HTTPS is only supported protocol for API as it uses Basic authentication. |
host | Your service instance host. |
method | POST |
# Headers
Key | Sample Value | Description |
---|---|---|
Content-Type | application/json | Content type of the request body. |
Cookie | JSESSIONID=<session_id>; | JSessionID for the authentication request. Its optional, if x-api-key is provided. |
x-api-key | <api_key> | API Key for the authentication request. Its optional, if cookie with JSessionID provided. |
Note: Either Cookie
or x-api-key
header is required for authentication.
# Path Parameters
Key | Sample Value | Description |
---|---|---|
telSysID | 426 | telSysID of the linked device |
partitionIDInTelSys | 1 | partitionID of the linked device |
deviceNumber | +442046034980 | deviceNumber of the device |
# Query Parameters
There are no query parameters required for the request.
# Request Body
Request body contains required to create a new crm configuration.
{
"Description":"test CRM",
"CRMConfiguration":{
"JSONData":"{\"RelatedMailFoldersNames\":[],\"ContactsFoldersNames\":[\"Contacts\"],\"RelatedCalendarFoldersNames\":[]}"
},
"CRMConfigurationCommon":{
"JSONData":"{\"Cached\":true,\"RelatedDataEnabled\":true,\"CacheFrequency\":\"60\",\"CacheFrequencyUnit\":\"Minutes\"}"
}
}
# Response
The response contains results of the operation.
# Success
With HTTP status code 204 No Content
indicates that the request was successful.
{
"Result": "Success"
}
# Error
For more information about the error codes see : here.
# Field Descriptions:
For more information on field descriptions, see here.
# Code Snippets
See the following code snippets to help you start with the integration: For more information check the playground here.
# Change
# Request
# Endpoint
https://host/CCS/API/v1/admin/telsys/{telSysID}/partition/{partitionIDInTelSys}/device/{deviceNumber}/crm/configs/{CRMConfigID}
URL Specs | Description |
---|---|
protocol | HTTPS is only supported protocol for API as it uses Basic authentication. |
host | Your service instance host. |
method | PUT |
# Headers
Key | Sample Value | Description |
---|---|---|
Content-Type | application/json | Content type of the request body. |
Cookie | JSESSIONID=<session_id>; | JSessionID for the authentication request. Its optional, if x-api-key is provided. |
x-api-key | <api_key> | API Key for the authentication request. Its optional, if cookie with JSessionID provided. |
Note: Either Cookie
or x-api-key
header is required for authentication.
# Path Parameters
Key | Sample Value | Description |
---|---|---|
telSysID | 426 | telSysID of the linked device |
partitionIDInTelSys | 1 | partitionID of the linked device |
deviceNumber | +442046034980 | deviceNumber of the device |
# Query Parameters
There are no query parameters.
# Request Body
The request body contains the crm configuration details to be changed.
{
"Description":"New test CRM",
"CRMConfiguration":{
"JSONData":"{\"RelatedMailFoldersNames\":[],\"ContactsFoldersNames\":[\"Contacts\"],\"RelatedCalendarFoldersNames\":[]}"
},
"CRMConfigurationCommon":{
"JSONData":"{\"Cached\":true,\"RelatedDataEnabled\":true,\"CacheFrequency\":\"60\",\"CacheFrequencyUnit\":\"Minutes\"}"
}
}
# Response
# Success
With HTTP status code 204 No Content
indicates that the request was successful .
{
"Result": "Success"
}
# Error
For more information about the error codes see : here.
# Field Descriptions:
For more information on field descriptions, see here.
# Code Snippets
See the following code snippets to help you start with the integration: For more information check the playground here.
# Delete
# Request
# Endpoint
https://host/CCS/API/v1/amin/telsys/{telSysID}/partition/{partitionIDInTelSys}/device/{deviceNumber}/crm/configs/{CRMConfigID}
URL Specs | Description |
---|---|
protocol | HTTPS is only supported protocol for API as it uses Basic authentication. |
host | Your service instance host. |
method | DELETE |
# Headers
Key | Sample Value | Description |
---|---|---|
Content-Type | application/json | Content type of the request body. |
Cookie | JSESSIONID=<session_id>; | JSessionID for the authentication request. Its optional, if x-api-key is provided. |
x-api-key | <api_key> | API Key for the authentication request. Its optional, if cookie with JSessionID provided. |
Note: Either Cookie
or x-api-key
header is required for authentication.
# Path Parameters
Key | Sample Value | Description |
---|---|---|
telSysID | 426 | telSysID of the linked device |
partitionIDInTelSys | 1 | partitionID of the linked device |
deviceNumber | +442046034983 | deviceNumber of the device |
CRMConfigID | 3d5b6efefaa0a823%3A3af2db2a%3A199bb1c0014%3A-496 | CRM Configuration ID |
# Query Parameters
Query parameters are not required for the request.
# Request Body
This request does not require a body.
# Response
# Success
With HTTP status code 204 No Content
indicates that the request was successful .
# Error
For more information about the error codes see : here.
# Field Descriptions:
For more information on field descriptions, see here.
# Code Snippets
See the following code snippets to help you start with the integration: For more information check the playground here.
# List
# Request
# Endpoint
https://host/CCS/API/v1/admin/telsys/{telSysID}/partition/{partitionIDInTelSys}/device/{deviceNumber}/crm/configs
URL Specs | Description |
---|---|
protocol | HTTPS is only supported protocol for API as it uses Basic authentication. |
host | Your service instance host. |
method | GET |
# Headers
Key | Sample Value | Description |
---|---|---|
Content-Type | application/json | Content type of the request body. |
Cookie | JSESSIONID=<session_id>; | JSessionID for the authentication request. Its optional, if x-api-key is provided. |
x-api-key | <api_key> | API Key for the authentication request. Its optional, if cookie with JSessionID provided. |
Note: Either Cookie
or x-api-key
header is required for authentication.
# Path Parameters
Key | Sample Value | Description |
---|---|---|
telSysID | -1 | telSysID of the linked device |
partitionIDInTelSys | -1 | partitionID of the linked device |
deviceNumber | UnknownNoneOrAll | deviceNumber of the device |
# Query Parameters
Key | Sample Value | Description |
---|---|---|
limit | 25 | Size of the record set |
offset | 0 | start position of the record set |
sort | ['DESC','ASC'] | Sort order |
crmConfigurationFields | '[TelSysDescription,PartitionDescription,DeviceDescription,CMEnvironmentID,TelSysID,DeviceNumber,PartIDInTelSys]' | crm configuration fields |
# Request Body
This request does not require a body.
# Response
# Success
With HTTP status code 200 OK
indicates that the request was successful .
{
"Result": "Success",
"Data": {
"Total": 3,
"Items": [
{
"CRMConfigurationID": "fa52375053f0c2b3:78fd3a9e:19995546266:5fe8",
"TelSysID": 338,
"DeviceDescription": "[None Or All Devices]",
"DeviceNumber": "UnknownNoneOrAll",
"Description": "Raman-Teams",
"TelSysDescription": "MS Teams - Thanga",
"CMEnvironmentID": "d6d6c5a5f0f90d60:-15617a00:169f533f6d5:5613",
"CRMType": "CrmAddin.GoogleContacts.GoogleContactsAddin",
"PartIDInTelSys": 1,
"PartitionDescription": "MS Teams - Thanga"
},
{
"CRMConfigurationID": "3d5b6efefaa0a823:3af2db2a:199bb1c0014:-496",
"TelSysID": 426,
"DeviceDescription": "User04 A4MTTest",
"DeviceNumber": "+442046034983",
"Description": "test CRM",
"TelSysDescription": "MST Dev Tenant",
"CMEnvironmentID": "d6d6c5a5f0f90d60:-15617a00:169f533f6d5:5613",
"CRMType": "CrmAddin.GraphContacts.GraphContactsAddin",
"PartIDInTelSys": 1,
"PartitionDescription": "MST Dev Tenant"
},
{
"CRMConfigurationID": "3d5b6efefaa0a823:3af2db2a:199b9df0851:6103",
"TelSysID": 183,
"DeviceDescription": "Akixi O365 Sandbox",
"DeviceNumber": "0001",
"Description": "test CXI",
"TelSysDescription": "Test Telsys",
"CMEnvironmentID": "d6d6c5a5f0f90d60:-15617a00:169f533f6d5:5613",
"CRMType": "CrmAddin.GoogleContacts.GoogleContactsAddin",
"PartIDInTelSys": 1,
"PartitionDescription": "test partition"
}
],
"Offset": 0
}
}
# Error
For more information about the error codes see : here.
# Field Descriptions:
For more information on field descriptions, see here.
# Code Snippets
See the following code snippets to help you start with the integration: For more information check the playground here.
# Info
# Request
# Endpoint
https://host/CCS/API/v1/admin/telsys/{telSysID}/partition/{partitionIDInTelSys}/device/{deviceNumber}/crm/configs/{CRMConfigID}
URL Specs | Description |
---|---|
protocol | HTTPS is only supported protocol for API as it uses Basic authentication. |
host | Your service instance host. |
method | GET |
# Headers
Key | Sample Value | Description |
---|---|---|
Content-Type | application/json | Content type of the request body. |
Cookie | JSESSIONID=<session_id>; | JSessionID for the authentication request. Its optional, if x-api-key is provided. |
x-api-key | <api_key> | API Key for the authentication request. Its optional, if cookie with JSessionID provided. |
Note: Either Cookie
or x-api-key
header is required for authentication.
# Path Parameters
Key | Sample Value | Description |
---|---|---|
telSysID | 426 | telSysID of the linked device |
partitionIDInTelSys | -1 | partitionID of the linked device |
deviceNumber | +442046034983 | deviceNumber of the device |
CRMConfigID | d5b6efefaa0a823%3A3af2db2a%3A199bb1c0014%3A-496 | CRM Configuration ID |
# Query Parameters
Key | Sample Value | Description |
---|---|---|
crmConfigurationFields | '[TelSysDescription,PartitionDescription,DeviceDescription,CMEnvironmentID,TelSysID,DeviceNumber,PartIDInTelSys]' | crm configuration fields |
# Request Body
This request does not require a body.
# Response
# Success
With HTTP status code 200 OK
indicates that the request was successful .
{
"Result": "Success",
"Data": {
"CRMConfigurationID": "3d5b6efefaa0a823:3af2db2a:199bb1c0014:-496",
"TelSysID": "426",
"DeviceNumber": "+442046034983",
"Description": "test CRM",
"CRMConfiguration": {
"RelatedMailFoldersNames": [],
"ContactsFoldersNames": [
"Contacts"
],
"RelatedCalendarFoldersNames": []
},
"CMEnvironmentID": "d6d6c5a5f0f90d60:-15617a00:169f533f6d5:5613",
"CRMType": "CrmAddin.GraphContacts.GraphContactsAddin",
"CRMConfigurationCommon": {
"Cached": true,
"RelatedDataEnabled": true,
"CacheFrequency": "60",
"CacheFrequencyUnit": "Minutes"
},
"PartIDInTelSys": "1"
}
}
# Error
For more information about the error codes see : here.
# Field Descriptions:
For more information on field descriptions, see here.
# Code Snippets
See the following code snippets to help you start with the integration: For more information check the playground here.
# Error Codes
For more information on general error codes, see Error Codes
# CRM Error Codes
Error Code | Error Message | Description |
---|---|---|
31000 | CRM CONFIGURATION DEVICE ADD FOR NOT EXTENSION | Add CRM Configuration for device and not for extensions |
31001 | CRM CONFIGURATION NO CONFIG PROVIDED | Provide a valid CRM Configuration. |
31002 | CRM CONFIGURATION NO ID PROVIDED IN REQUEST | Proveide a valid CRM Configuration ID. |
31003 | CRM CONFIGURATION NOT FOUND | CRM Configuration was not found for the given ID. |
31004 | CRM CONFIGURATION NO CRM TYPE PROVIDED | Provide a valid CRM Type. |
31005 | CRM CONFIGURATION CONFIG EXISTS FOR SCOPE | CRM Configuration with same scope already exists. |
31006 | CRM CONFIGURATION NO CONFIG COMMON PROVIDED | No common configuration provided. |
31007 | CRM CONFIGURATION NO TEMPLATE FOUND | No template found. |
# Properties
This section provides a description of the fields used in the CRM Configuration-related endpoints.
# Field Descriptions:
Field | Type | Description |
---|---|---|
ID | character varying | Client Configuration ID |
Description | character varying | Client Configuration description |
CRMType | character varying | CRM Type |
CRMConfiguration | json | CRM Configuration settings |
TelephoneSystemID | integer | Telephone System ID |
PartitionID | character varying | Partition ID |
DeviceUniqueID | character varying | Device Unique ID |
UserIDCreatedBy | character varying | creator User ID |
UserIDUpdatedBy | character varying | last modifier User ID |
DateTimeCreated | timestamp without time zone | Creation date and time |
DateTimeUpdated | timestamp without time zone | Last modified date and time |