Easymailing
Pipelines

Summarize the opportunities of a pipeline

GET /pipelines/{uuid}/summary

GET/pipelines/{uuid}/summary

Returns a summary of the deals of one pipeline, stage by stage: number of deals, amount converted to the reference currency of the pipeline, average amount and weighted forecast. It adds the totals, the open deals and the split of the open deals by expected close month.

When to use: To answer "how are my opportunities doing?", to get the totals per stage or to see what is expected to close this month, in one call instead of paging through list_opportunities and adding up.

When not to use: To read or edit the deals themselves, use list_opportunities or get_opportunity. The figures cover the whole pipeline and cannot be filtered by owner or by text: for the deals of one owner, use list_opportunities with owner.

Permissions: Requires a CRM seat and the crm.opportunities.read capability. It also needs read access to the pipeline.

Authorization

X-Auth-Token<token>

Value for the X-Auth-Token header parameter.

In: header

Path Parameters

uuid*string

UUID of the pipeline. Get it from list_pipelines.

Formatuuid

Response Body

application/problem+json

application/problem+json

application/problem+json

application/problem+json

curl -X GET "https://api.easymailing.com/pipelines/d2a7e5b1-9c43-4f68-b0a1-3e6c8f2d4b57/summary" \  -H "X-Auth-Token: YOUR_API_KEY"
{  "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",  "name": "string",  "reference_currency": "string",  "calculated_at": "2019-08-24T14:15:22Z",  "totals": {    "count": 0,    "amount": "string",    "average_amount": "string",    "weighted_amount": "string",    "missing_currencies": [      "string"    ]  },  "open_totals": {    "count": 0,    "amount": "string",    "weighted_amount": "string",    "missing_currencies": [      "string"    ]  },  "stages": [    {      "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",      "name": "string",      "type": "open",      "position": 0,      "count": 0,      "amount": "string",      "average_amount": "string",      "weighted_amount": "string",      "missing_currencies": [        "string"      ]    }  ],  "without_stage": {    "count": 0,    "amount": "string",    "average_amount": "string",    "weighted_amount": "string",    "missing_currencies": [      "string"    ]  },  "close_months": [    {      "month": "string",      "count": 0,      "amount": "string",      "weighted_amount": "string",      "missing_currencies": [        "string"      ]    }  ],  "without_close_date": {    "count": 0,    "amount": "string",    "weighted_amount": "string",    "missing_currencies": [      "string"    ]  }}