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.

statusCodenumber

Will be 0 in case of success

messagestring

Contains the success message or error reason, based on the statusCode

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"
      }
    ]
  }
}

Changes

No recorded changes to this endpoint across all 1 revision of this API.