Quartz API provides a consistent way to access all calculated metrics.
Retrieving Pipeline Metrics
Retrieves all open opportunities belonging to pipeline , or a subset of open opportunities based on sub-pipeline segmentation.
GET /pipelines/metrics
{
"pipeline_id" :" ",
"metric_id" :"metric api_name"
}
{
"pipeline_id" :" ",
"metric_id" :"metric api_name"
"scope" : 100 // returns the 100 latest daily values
}
{
"pipeline_id" :" ",
"metric_id" :"metric api_name"
"date" : "day-month-year" // returns value for specified date
}
Retrieving Opportunity Metrics
Retrieves all open opportunities belonging to pipeline , or a subset of open opportunities based on sub-pipeline segmentation.
GET /opportunities/metrics
{
"opportunity_id" :" ",
"metric_id" :"metric api_name"
}
{
"opportunity_id" :" ",
"metric_id" :"metric api_name"
"scope" : 31 // returns the latest 31 values
}
{
"opportunity_id" :" ",
"metric_id" :"metric api_name"
"date" : "day-month-year" // returns value for specified date
}
Retrieving Member Metrics
Retrieves all open opportunities belonging to pipeline , or a subset of open opportunities based on sub-pipeline segmentation.
GET /teams/members/metrics
{
"member_id" :" ",
"metric_id" :"metric api_name"
}
{
"member_id" :" ",
"metric_id" :"metric api_name"
"scope" : 10 // returns the 10 latest values
}
{
"member_id" :" ",
"metric_id" :"metric api_name"
"date" : "day-month-year" // returns value for specified date
}
Last updated