This method will look up a engagement score by the specified ID and return it back.
curl -i -X GET \ 'https://rolodex.api.756794052567.rhythmsoftware.com/engagementScores/:tenantId/:id?fields=string&consistentRead=string' \ -H 'Authorization: YOUR_API_KEY_HERE'
{- "id": "string",
- "customer_type": "contact",
- "contact_id": "string",
- "organization_id": "string",
- "date": "string",
- "components": [
- {
- "name": "string",
- "weighted_score": 0,
- "raw_score": 0,
- "weight": 0,
- "percentile_rank": 0
}
], - "engagement_model_id": "string",
- "total_score": 0,
- "percentile_rank": 0,
- "category_id": "string",
- "date_of_first_engagement": "string",
- "number_of_months_since_first_engagement": 0,
- "previous_year_score": 0,
- "previous_year_score_value_change": 0,
- "previous_year_score_percentage_change": 0,
- "previous_year_percentile_rank": 0,
- "previous_year_percentile_rank_change": 0,
- "md5_hash": "string",
- "notes": "string",
- "sys_deleted_by_id": "string",
- "sys_version": 0,
- "sys_created_at": "2019-08-24T14:15:22Z",
- "sys_last_modified_at": "2019-08-24T14:15:22Z",
- "sys_created_by_id": "string",
- "sys_last_modified_by_id": "string",
- "sys_external_id": "string",
- "sys_locked": true,
- "sys_bulk_load_pk": "string",
- "sys_bulk_load_at": "string",
- "sys_bulk_load_id": "string",
- "sys_bulk_load_record_no": 0,
- "sys_bulk_load_source_file": "string",
- "sys_last_bulk_data_operation_id": "string",
- "sys_last_bulk_data_operation_sys_version": "string",
- "sys_directive": "string",
- "sys_calculated_field_error": "string",
- "sys_snapshot_base_version": 0,
- "sys_has_files_in_s3": true,
- "sys_configuration_snapshot_id": "string",
- "sys_last_security_context": { },
- "sys_calculated_field_errors": [
- {
- "field": "string",
- "error": "string"
}
]
}
Returns a list of records with the specified customer_id
curl -i -X GET \ 'https://rolodex.api.756794052567.rhythmsoftware.com/engagementScores/:tenantId/customer/:customer_type/:customer_id?fields=string&exclusiveStartKey=string' \ -H 'Authorization: YOUR_API_KEY_HERE'
{- "Count": 0,
- "Items": [
- {
- "id": "string",
- "customer_type": "contact",
- "contact_id": "string",
- "organization_id": "string",
- "date": "string",
- "components": [
- {
- "name": "string",
- "weighted_score": 0,
- "raw_score": 0,
- "weight": 0,
- "percentile_rank": 0
}
], - "engagement_model_id": "string",
- "total_score": 0,
- "percentile_rank": 0,
- "category_id": "string",
- "date_of_first_engagement": "string",
- "number_of_months_since_first_engagement": 0,
- "previous_year_score": 0,
- "previous_year_score_value_change": 0,
- "previous_year_score_percentage_change": 0,
- "previous_year_percentile_rank": 0,
- "previous_year_percentile_rank_change": 0,
- "md5_hash": "string",
- "notes": "string",
- "sys_deleted_by_id": "string",
- "sys_version": 0,
- "sys_created_at": "2019-08-24T14:15:22Z",
- "sys_last_modified_at": "2019-08-24T14:15:22Z",
- "sys_created_by_id": "string",
- "sys_last_modified_by_id": "string",
- "sys_external_id": "string",
- "sys_locked": true,
- "sys_bulk_load_pk": "string",
- "sys_bulk_load_at": "string",
- "sys_bulk_load_id": "string",
- "sys_bulk_load_record_no": 0,
- "sys_bulk_load_source_file": "string",
- "sys_last_bulk_data_operation_id": "string",
- "sys_last_bulk_data_operation_sys_version": "string",
- "sys_directive": "string",
- "sys_calculated_field_error": "string",
- "sys_snapshot_base_version": 0,
- "sys_has_files_in_s3": true,
- "sys_configuration_snapshot_id": "string",
- "sys_last_security_context": { },
- "sys_calculated_field_errors": [
- {
- "field": "string",
- "error": "string"
}
]
}
], - "LastEvaluatedKey": "string"
}
Gets the raw metric data for a customer
curl -i -X GET \ 'https://rolodex.api.756794052567.rhythmsoftware.com/engagementScores/:tenantId/rawMetricData/:customerType/:customerId?date=string' \ -H 'Authorization: YOUR_API_KEY_HERE'
{- "date": "string",
- "metric_data": [
- {
- "group_id": "string",
- "group_name": "string",
- "raw_data": { },
- "metrics": [
- {
- "id": "string",
- "value": "string"
}
]
}
]
}
Initiates a lookback write of engagement-related data
curl -i -X POST \ https://rolodex.api.756794052567.rhythmsoftware.com/engagementScores/:tenantId/performLookback \ -H 'Authorization: YOUR_API_KEY_HERE'
Regenerates scores when a scoring model has changed
curl -i -X POST \ https://rolodex.api.756794052567.rhythmsoftware.com/engagementScores/:tenantId/regenerateScores \ -H 'Authorization: YOUR_API_KEY_HERE'
Gets a list of all metrics
curl -i -X GET \ https://rolodex.api.756794052567.rhythmsoftware.com/engagementScores/:tenantId/metrics \ -H 'Authorization: YOUR_API_KEY_HERE'
[- {
- "id": "string",
- "name": "string",
- "description": "string",
- "module_id": "string",
- "module_name": "string",
- "applies_to": "contacts"
}
]