Private preview of the new site. Not live.

reports.quoteWinRate

Of the quotes made between two dates (inclusive, UTC) and sent, how many were signed, declined, or are still waiting. Win rate is signed over signed plus declined; null when none are decided yet.

WhoAgents can call this
RESTGET /v1/reports/quote-win-rate
MCP toolreports_quoteWinRate
Writesno
AreaCosts, expenses and reports

When to use it

Of the quotes made between two dates (inclusive, UTC) and sent, how many were signed, declined, or are still waiting. Win rate is signed over signed plus declined; null when none are decided yet.

What to tell the owner

Tell them what you found in plain words. Don't read back raw fields.

Input

FieldTypeRequired
shop_idstring (uuid)yes
fromstringyes
tostringyes

Example

GET https://doingwork.work/v1/reports/quote-win-rate?shop_id=00000000-0000-4000-8000-000000000000&from=...&to=...

Output

FieldTypeAlways there
sentintegeryes
signedintegeryes
declinedintegeryes
waitingintegeryes
win_rate['number', 'null']yes
{
  "sent": 1,
  "signed": 1,
  "declined": 1,
  "waiting": 1,
  "win_rate": "..."
}

Errors

CodeStatusWhat to do
invalid_input, invalid_token, rate_limitedCan happen on any call. See errors.