Web Method: getContactsConfigData
Purpose
You can use the getContactsConfigData method to get all the configuration data like Case Statuses, Case Types, Case Priorities and Assignees List.
Request API URL
https://api.apptivo.com/app/dao/v6/contacts?a=getConfigData&apiKey=API_KEY&accessKey=ACCESS_KEY
Request Parameters
Parameter | Data Type | Description |
apiKey* | String | Apptivo business account API Key |
accessKey* | String | Apptivo business account Access Key |
* – Mandatory parameter
Output
This will return all the contacts configuration data with JSON format.
Note
Get these configuration values and use them at the time of creating contacts.
Sample URL
https://app.apptivo.com/app/dao/v6/contacts?a=getConfigData&ObjectId=2&apiKey=dEDYQzXzGXHW-FXSNzKRRZTsGSC-645b0c91-63a6-477e-8377-8e531ea93cae&accessKey=u3W9873Ihw54lEb1
Result
You will get configuration data with their respective details, below are the few lines of sample config data:
{
“phoneTypes”: [
{
“id”: 20673183,
“code”: “PHONE_BUSINESS”,
“name”: “Business”,
“description”: “Business phone number”,
“isEnabled”: “Y”,
“isSmsEnabled”: “N”
},
{
“id”: 20673182,
“code”: “PHONE_HOME”,
“name”: “Home”,
“description”: “Home phone number”,
“isEnabled”: “Y”,
“isSmsEnabled”: “N”
},
{
“id”: 20673184,
“code”: “PHONE_MOBILE”,
“name”: “Mobile”,
“description”: “Mobile phone number”,
“isEnabled”: “Y”,
“isSmsEnabled”: “N”
},
{
“id”: 20673185,
“code”: “PHONE_OTHER”,
“name”: “Other”,
“description”: “Other phone number”,
“isEnabled”: “Y”,
“isSmsEnabled”: “N”
},
}