Skip to content

Instantly share code, notes, and snippets.

@sfletche
Created June 5, 2017 22:52
Show Gist options
  • Save sfletche/1480747ae949923e146625e051832a89 to your computer and use it in GitHub Desktop.
Save sfletche/1480747ae949923e146625e051832a89 to your computer and use it in GitHub Desktop.
{
  "id": "80994",
  "api_version": "2.0.0",
  "created_at": "2017-05-23T18:21:43.612+00:00",
  "updated_at": "2017-05-23T18:23:04.517+00:00",
  "origination_source": "champ_superuser",
  "sponsor": {
    "identifier": "cscda",
    "name": "CSCDA"
  },
  "transaction_identifier": "TODO",
  "program": "california_first",
  "fully_synced": true,
  "self_install": false,
  "decisioning": {
    "status": "approved",
    "decisioned_at": "2017-05-23T18:21:49Z",
    "stipulations": {
      "application_approval": [],
      "project_scope_approval": [],
      "funding_request_approval": []
    },
    "max_project_amount": 134113.25,
    "min_max_project_amount": 134113.25,
    "max_max_project_amount": 137161.82
  },
  "contractor": {
    "location_id": "a0O3400000uhy1dEAA",
    "sales_rep_id": "2365d4ea-fd71-49e4-8c3e-ebe3b2ce5f12",
    "sales_rep": {
      "id": "2365d4ea-fd71-49e4-8c3e-ebe3b2ce5f12",
      "email": "[email protected]",
      "phone": "916-234-0190",
      "name": {
        "first": "Maksim",
        "last": "Vlasov"
      }
    }
  },
  "property": {
    "address": {
      "city": "Alameda",
      "country": "US",
      "county": "Alameda",
      "state": "CA",
      "street1": "212 Encounter Bay",
      "zip": "94502"
    }
  },
  "applicants": {
    "primary": {
      "id": "112848",
      "email": "[email protected]",
      "phone": "5718704552",
      "name": {
        "first": "SHERMAN",
        "last": "LOU"
      },
      "type": "individual"
    },
    "others": [
      {
        "id": "112849",
        "email": "[email protected]",
        "phone": "7172391266",
        "name": {
          "first": "TRAM",
          "last": "LE"
        },
        "type": "individual"
      }
    ]
  },
  "improvements": {
    "proposed": [
      {
        "id": "129558",
        "general_category": "Water Heating",
        "product_category": "windows",
        "product_category_for_display": "Windows",
        "cost": 11337.0,
        "installation_details": {
          "quantity": 1
        },
        "product_details": {},
        "product_type_details": {
          "legacy_identifier": "windows",
          "name": "Windows",
          "eligibility_criteria": "1. Product must comply with Title 24.\n2. A copy of the pulled permit or permit number must be submitted for this product prior to funding.",
          "lifespan": 25,
          "triggers_shpo": true,
          "product_type_question_sections": [
            {
              "name": "scope",
              "questions": [
                {
                  "identifier": "cost",
                  "title": "Total Cost",
                  "type": "float"
                },
                {
                  "identifier": "quantity",
                  "question_category": "quantity",
                  "title": "Quantity",
                  "type": "integer"
                }
              ]
            },
            {
              "name": "details",
              "questions": [
                {
                  "identifier": "manufacturer",
                  "title": "Manufacturer",
                  "type": "string"
                },
                {
                  "identifier": "series_model",
                  "title": "Series / Model",
                  "type": "string"
                },
                {
                  "identifier": "u_factor",
                  "title": "U-Factor",
                  "type": "float"
                },
                {
                  "identifier": "shgc",
                  "title": "SHGC",
                  "type": "float"
                }
              ]
            },
            {
              "name": "verification",
              "questions": [
                {
                  "identifier": "climate_zone",
                  "title": "Climate Zone",
                  "type": "integer"
                }
              ]
            }
          ],
          "max_days_to_close": 90,
          "category_name": "Windows and Doors"
        }
      }
    ],
    "final": []
  },
  "expires_at": "2017-08-21T07:00:00.000+00:00",
  "phases": [
    {
      "name": "application_submission",
      "steps": [
        {
          "name": "application_submission",
          "type": "milestone",
          "completed_at": "2017-05-23T18:21:43.612+00:00"
        },
        {
          "name": "application_approval",
          "type": "decisioning",
          "started_at": "2017-05-23T18:21:43.612+00:00",
          "completed_at": "2017-05-23T18:21:50.092+00:00"
        },
        {
          "name": "project_submission",
          "started_at": "2017-05-23T18:21:43.612+00:00",
          "completed_at": "2017-05-23T18:23:03.441+00:00"
        },
        {
          "name": "plan_selection",
          "started_at": "2017-05-23T18:21:46.712+00:00",
          "completed_at": "2017-05-23T18:23:03.441+00:00"
        },
        {
          "name": "offer_acceptance",
          "completed_at": "2017-05-23T18:23:03.441+00:00"
        }
      ]
    },
    {
      "name": "financing_documents",
      "steps": [
        {
          "name": "financing_documents_signing",
          "type": "documents",
          "started_at": "2017-05-23T18:23:03.441+00:00",
          "documents_to_sign": "financing_documents"
        },
        {
          "name": "project_scope_approval",
          "type": "operations",
          "started_at": "2017-05-23T18:23:03.441+00:00"
        }
      ]
    },
    {
      "name": "installation",
      "steps": [
        {
          "name": "notice_to_proceed",
          "type": "milestone"
        },
        {
          "name": "completion_certificate_signing",
          "type": "documents",
          "documents_to_sign": "completion_documents"
        },
        {
          "name": "funding_request_approval",
          "type": "operations"
        }
      ]
    },
    {
      "name": "funding",
      "steps": [
        {
          "name": "funding",
          "type": "operations"
        }
      ]
    },
    {
      "name": "closed",
      "steps": [
        {
          "name": "funded",
          "type": "milestone"
        }
      ]
    }
  ],
  "selected_plan_code": "5",
  "plan_groups": [
    {
      "group_code": "default",
      "plans": [
        {
          "code": "5",
          "dealer_fee_percent": 0.0,
          "term_months": 60,
          "interest_rate": 6.75,
          "approved_amount_financed": 137161.82,
          "monthly_payment": 270.31,
          "annual_payment": 3243.77
        }
      ]
    }
  ],
  "signature_requests": [
    {
      "id": "218058",
      "name": "financing_documents",
      "envelope_identifier": "98dba3f5-050a-4617-908a-0f61213efaa5",
      "esignature_request_creation_method": "automatic",
      "recipients": [
        {
          "identifier": "dd857c69-9d97-47e5-9b1c-0006fc966e9b",
          "identifier_for_embedded_signing": "dd857c69-9d97-47e5-9b1c-0006fc966e9b",
          "name": "SHERMAN LOU",
          "email": "[email protected]",
          "recipient_type": "signer",
          "relationship_to_application": "owner",
          "placeholder": false,
          "routing_order": "1",
          "signature_method": "esignature",
          "statuses": [
            {
              "name": "sent",
              "entered_at": "2017-05-23T18:22:58.573+00:00"
            }
          ]
        },
        {
          "identifier": "8e621601-496f-4aae-9a68-d4deff4dac4a",
          "identifier_for_embedded_signing": "8e621601-496f-4aae-9a68-d4deff4dac4a",
          "name": "TRAM LE",
          "email": "[email protected]",
          "recipient_type": "signer",
          "relationship_to_application": "owner",
          "placeholder": false,
          "routing_order": "1",
          "signature_method": "esignature",
          "statuses": [
            {
              "name": "sent",
              "entered_at": "2017-05-23T18:22:58.777+00:00"
            }
          ]
        },
        {
          "identifier": "60a57d21-74b8-44d8-9ab9-e9ef8a6ea94a",
          "identifier_for_embedded_signing": "60a57d21-74b8-44d8-9ab9-e9ef8a6ea94a",
          "name": "Maksim Vlasov",
          "email": "[email protected]",
          "recipient_type": "carbon_copy",
          "relationship_to_application": "contractor",
          "placeholder": false,
          "routing_order": "1",
          "signature_method": "esignature",
          "statuses": [
            {
              "name": "sent",
              "entered_at": "2017-05-23T18:23:02.163+00:00"
            }
          ]
        }
      ],
      "statuses": [
        {
          "name": "sent",
          "entered_at": "2017-05-23T18:23:03.441+00:00"
        }
      ]
    }
  ],
  "estimated_term_years": 5,
  "active_phase": {
    "name": "financing_documents",
    "index": 1
  },
  "active_step": {
    "name": "financing_documents_signing",
    "out_of_sync": false
  }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment