Configurable chart (measure × slice) over one LO's loans
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/v1/originators/analytics/chart" \ -H "Content-Type: application/json" \ -d '{ "slice": "transactionType" }'{
"completeness": {
"through": "2019-08-24"
},
"data": [
{
"count": 0,
"excluded": 0,
"id": "string",
"label": "string",
"segments": [
{
"count": 0,
"id": "string",
"label": "string",
"value": 0
}
],
"segmentsOmittedCount": 0,
"unattributed": true,
"value": 0
}
],
"measure": "string",
"nextCursor": "string",
"omittedCount": 0,
"segment": "string",
"slice": "string",
"total": 0,
"totalApproximate": true
}{
"error": "string"
}{
"error": "string"
}{
"error": "string"
}{
"error": "string"
}{
"error": "string",
"limit": 0,
"size": 0
}Real-estate agents this LO co-closed with POST
Ranks the real-estate agents on this LO's loans, by volume — the buyer's agent by default, the listing and co-listing agents with `side: "listing"`. Each loan is credited to the agent its agent keys resolve to (a key naming several different people credits only the confirmed one), so `units` counts distinct loans per agent. `id` is that agent's id (pass it to `GET /v1/agents/{id}`); absent when the loan's key matches no agent profile, in which case `label` is the name the recorded. Names that are an placeholder for "no agent recorded" (`non member`, `non listed agent`, and ~140 board-specific spellings) are excluded — they are not people. Percentages are shares of the LO's whole loan population, so they do not sum to 100 across the page.
Production summary with previous-period comparison POST
Next Page