CRM
Fetches all the crm fields (user defined fields and fixed fields) for the given process id
get/crm/fields
Query parameters
processNamestring
Example:Default process
process name
Response
If the auth token is valid.
Example response
{
"statusCode": 0,
"message": "Successfully fetched the crm fields",
"data": {
"userFields": [
{
"name": "source",
"type": "options"
},
{
"name": "status",
"type": "options"
},
{
"name": "Hot Followup On",
"type": "dateTime"
},
{
"name": "Cold Followup On",
"type": "dateTime"
},
{
"name": "Appointment On",
"type": "dateTime"
},
{
"name": "Non contact reason",
"type": "options"
},
{
"name": "Non Contact Followup On",
"type": "dateTime"
},
{
"name": "Not Picked Followup On",
"type": "dateTime"
},
{
"name": "Not interested reason",
"type": "options"
}
],
"fixedFields": [
{
"name": "customer.company.kdm.name",
"displayName": "Manager Name"
},
{
"name": "customer.company.kdm.phoneNumber",
"displayName": "Manager Phone"
}
]
}
}