Skip to content

Instantly share code, notes, and snippets.

@mojowen
Forked from sfletche/lead_details.json
Last active October 5, 2016 20:06
Show Gist options
  • Save mojowen/49e6a7eeef0718115d836d457a3928f9 to your computer and use it in GitHub Desktop.
Save mojowen/49e6a7eeef0718115d836d457a3928f9 to your computer and use it in GitHub Desktop.
JSON response to a specific lead
{
"id": "00Q22000001GZsGEAW",
"status": null,
"lead_contact": {
"name": "test Test",
"phone": null,
"email": null
},
"archived": null,
"expire_at": null,
"contractor_location": "a0O22000000GtOhEAK",
"availability": {
"job": {
"property": {
"id": null,
"county": {
"state": "CA",
"name": "Alameda, CA",
"fips_code": null
},
"assessors_parcel_identifier": null,
"addresses": [
{
"full": "976 Stannage Ave, Albany, CA 94706",
"street1": "976 Stannage Ave",
"street2": null,
"city": "Albany",
"county": "Alameda, CA",
"zip": "94706",
"state": "CA",
"country": null
}
],
"type": null,
"owners": [
{
"last_name": "Test",
"first_name": "test",
"full_name_from_assessor_data": null
}
]
},
"applicants": [
{
"first_name": "test",
"last_name": "Test"
}
],
"program_options": [
{
"program": {
"name": "california_first",
"min_financing": null,
"max_financing": null
},
"available": true,
"estimated_max_financing": {
"low": 0.0,
"high": 0.0
},
"approval_confidence_score": "90"
},
{
"program": {
"name": "renew_loan_california",
"min_financing": null,
"max_financing": null
},
"available": true,
"estimated_max_financing": {
"low": 25000.0,
"high": 0.0
},
"approval_confidence_score": "on_request"
}
]
},
"valid": true
},
"project_categories": [
"Wind Resistance",
"Drought Tolerant Landscaping",
"Energy Storage",
"Solar Electricity"
],
"application": {
"id": null,
"program_name": null,
"sales_rep": null,
"created_at": null
},
"decline_reasons": [
{
"id": 0,
"label": "Other"
},
{
"id": 1,
"label": "Lead is outside of service territory"
},
{
"id": 2,
"label": "Stuff"
}
],
"unavailable_at": null,
"accepted_by": {
"date": null,
"name": null,
"reason": null
},
"declined_by": {
"date": "2016-10-04T19:04:16.000+0000",
"name": null,
"reason": null
},
"disqualified_by": {
"date": null,
"name": null,
"reason": null
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment