Skip to content

Instantly share code, notes, and snippets.

@ericdc1
Last active April 15, 2020 02:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ericdc1/96b60b2a85298f29008d62fbc6da6d77 to your computer and use it in GitHub Desktop.
Save ericdc1/96b60b2a85298f29008d62fbc6da6d77 to your computer and use it in GitHub Desktop.
Example Lead Docket Lead JSON
{
"Id": 7823,
"Summary": "Tempora unde qui temporibus quia. Quis minus repudiandae sint aut sint. Est eius officiis alias nisi. Eos temporibus aperiam delectus voluptates doloribus eius. Iusto ipsa recusandae porro et ducimus vero. Ut qui ut quod. Sunt ut quidem nihil molestiae expedita voluptate. Quia non repellendus facere est voluptatem dignissimos. Culpa incidunt quibusdam et quibusdam. Eligendi reiciendis sed adipisci rem laboriosam eligendi accusamus nostrum. Animi accusantium similique magnam qui perspiciatis maiores sit. Non incidunt aut voluptatem delectus sit consequuntur esse. Voluptas aliquid iusto quo quo quidem nulla expedita modi. Amet quasi et laboriosam rerum sit sequi cumque. Consectetur et eaque dolore totam explicabo accusamus nihil. Eum labore perferendis nisi et consequatur aut. Suscipit voluptas ipsam non ea quod quia aliquam ratione. Consequatur saepe rem dolores consequatur deleniti autem modi. Qui aut ut quod. Non ut dolorem maiores quo voluptas ratione aut ut. Soluta iure eum qui temporibus inventore porro asperiores.",
"InjuryInformation": null,
"Status": "UnderReview",
"SubStatus": "Waiting On Attorney",
"SeverityLevel": "Possible Case - Minor Injuries / Light Therapy / Short Hospital Stay",
"Code": null,
"Contact": {
"Id": 8752,
"CreatedOn": "2020-04-14T20:54:13.433",
"CreatedBy": "Cameron Example",
"PendingGeocode": false,
"FirstName": "Ashtyn",
"MiddleName": null,
"LastName": "Haag",
"Address1": "824 Streich Throughway",
"Address2": "Apt. 055",
"City": "GRIFFITHSVILLE",
"State": "WV",
"Zip": "25521",
"County": "Wilson",
"HomePhone": "5553073703",
"MobilePhone": "304692-2222",
"WorkPhone": "5554554382",
"Email": "ashtyn@haag.demo",
"PreferredContactMethod": "Phone (Home)",
"Birthdate": "1980-02-22T00:00:00",
"Longitude": "-81.9892984",
"Latitude": "38.2387052",
"SubscribeToMailingList": false,
"BadAddress": false,
"Deceased": false,
"Gender": null,
"Minor": false,
"Language": "English",
"Code": null,
"DoNotText": false
},
"PracticeArea": {
"Id": 9,
"Name": "Dog Bite",
"Code": "17084",
"Description": null
},
"MarketingSource": "Pay Per Click",
"ContactSource": "Pay Per Click",
"TalkedToOtherAttorneys": false,
"FoundUsNotes": "Nihil aut temporibus explicabo voluptatem.",
"AppointmentLocation": null,
"Office": "Columbus Office",
"OfficeCode": "COL",
"ReferredTo": null,
"ReferredByName": "Barrows Group",
"ReferredBy": {
"Id": 9,
"Name": "Barrows Group",
"Type": "Firm",
"Code": null
},
"CreatedDate": "2020-04-14T20:54:00",
"IncidentDate": "2020-04-08T04:00:00",
"RejectedDate": null,
"ReferredDate": null,
"AssignedDate": "2020-04-14T20:54:13.513",
"AppointmentScheduledDate": null,
"ChaseDate": null,
"SignedUpDate": null,
"CaseClosedDate": null,
"LostDate": null,
"UnderReviewDate": "2020-04-14T20:54:13.433",
"PendingSignupDate": null,
"HoldDate": null,
"Intake": {
"Id": 12,
"FirstName": "Julia",
"LastName": "Intake",
"Email": "julia@leaddocket.demo",
"Code": null
},
"Paralegal": null,
"Investigator": null,
"Attorney": {
"Id": 6,
"FirstName": "Stephen",
"LastName": "Lawyer",
"Email": "stephen@leaddocket.demo",
"Code": null
},
"Creator": {
"Id": 25,
"FirstName": "Cameron",
"LastName": "Example",
"Email": "cameron@example.demo",
"Code": "18318170"
},
"RelatedContacts": [
{
"Relationship": "Friend",
"Notes": "Was a passenger ",
"Contact": {
"Id": 8756,
"CreatedOn": "2020-04-15T00:53:37.897",
"CreatedBy": "Admin User",
"PendingGeocode": false,
"LeadIds": [],
"FirstName": "Albert",
"MiddleName": null,
"LastName": "Wilson",
"Address1": "232 Hopwood Fairchance Rd",
"Address2": null,
"City": "Uniontown",
"State": "PA",
"Zip": "15401-6510",
"County": "Fayette County",
"HomePhone": "5551112222",
"MobilePhone": "7244371233",
"WorkPhone": "",
"Email": "albert@wilson.com",
"PreferredContactMethod": "Phone (Home)",
"Birthdate": "2001-03-02T00:00:00",
"Longitude": "-79.7076247",
"Latitude": "39.8662682",
"SubscribeToMailingList": false,
"BadAddress": false,
"Deceased": false,
"Gender": "M",
"Minor": false,
"Language": null,
"Code": null,
"DoNotText": false
}
}
],
"Messages": [
{
"Id": 13185,
"SendFrom": "304-715-2037",
"SendTo": "3046922881",
"Subject": null,
"Body": "Example Message",
"CreatedOn": "2020-04-15T00:53:54.577",
"DueForSendingOn": "2020-04-15T00:53:54.577",
"IsInbound": false,
"HasBeenSent": true
},
{
"Id": 13186,
"SendFrom": "info@leaddocket.com",
"SendTo": "Ashtyn@Haag.demo",
"Subject": "Example from ",
"Body": "Dear Ashtyn,\r\n\r\nHello!\r\n\r\nJulia Intake",
"CreatedOn": "2020-04-15T00:54:04.74",
"DueForSendingOn": "2020-04-15T00:54:04.74",
"IsInbound": false,
"HasBeenSent": true
},
{
"Id": 13188,
"SendFrom": "+13046922881",
"SendTo": "+13047152037",
"Subject": "Thanks ",
"Body": "",
"CreatedOn": "2020-04-15T00:54:16.867",
"DueForSendingOn": null,
"IsInbound": true,
"HasBeenSent": false
}
],
"Notes": [
{
"Id": 54937,
"LeadId": 7823,
"Note": "Corrupti est soluta vero assumenda et molestias. Itaque aut perspiciatis totam quis praesentium et est. Inventore et in dolorum quos rerum in. Eligendi corrupti ab accusantium non. Porro quia fuga eos adipisci.",
"Summary": "Added lead in Under Review status",
"CreatedOn": "2020-04-14T20:54:13.433",
"CreatedBy": "Cameron Example",
"IsUserNote": "False"
},
{
"Id": 54949,
"LeadId": 7823,
"Note": "'Injury Information' changed from 'Eos vel odit optio molestiae sed. Cumque qui autem quo commodi voluptatem rem alias dolores. Laboriosam perspiciatis corporis deserunt saepe expedita omnis qui quam. Omnis et voluptatem perferendis. Est eum reiciendis fugit. Magni iste dolor officiis. Eum eos vero ipsam consequatur repudiandae. Et ratione vel ducimus sit voluptas ut nesciunt. Dolore consequatur odio esse enim. Commodi qui porro rerum quos rerum aut dolor. Commodi molestiae ratione excepturi quibusdam sint dolores illo. Minus omnis debitis harum distinctio. Et aut a fugiat rerum omnis quod. Quia soluta dolores magni animi est. Recusandae soluta commodi mollitia vitae officia. Praesentium ea velit aut hic aliquam soluta. Dolorem qui et sunt voluptatem atque. Eos eveniet tempora fuga ut ut eum ullam repellendus. Sit voluptas quibusdam explicabo excepturi aperiam in. Repellat omnis animi quam.' to 'Empty'\r\n\r\n'Assigned to attorney' changed from 'Cameron Killmer' to 'Stephen Lawyer'\r\n\r\n'Assigned to intake' changed from 'Cameron Killmer' to 'Julia Intake'\r\n\r\n'Office' changed from 'N/A' to 'Columbus Office'\r\n\r\n'Incident date' changed from 'Empty' to '4/8/2020 12:00 AM'\r\n\r\n",
"Summary": "Edited lead",
"CreatedOn": "2020-04-15T00:52:19.193",
"CreatedBy": "Admin User",
"IsUserNote": "False"
},
{
"Id": 54950,
"LeadId": 7823,
"Note": "'Referred By' changed from 'Empty' to 'Barrows Group'\r\n\r\n",
"Summary": "Edited lead",
"CreatedOn": "2020-04-15T00:52:27.18",
"CreatedBy": "Admin User",
"IsUserNote": "False"
},
{
"Id": 54951,
"LeadId": 7823,
"Note": "",
"Summary": "Text message sent to (304) 692-2881",
"CreatedOn": "2020-04-15T00:53:54.593",
"CreatedBy": "Admin User",
"IsUserNote": "False"
},
{
"Id": 54952,
"LeadId": 7823,
"Note": "",
"Summary": "Email message sent to Ashtyn@Haag.demo",
"CreatedOn": "2020-04-15T00:54:04.77",
"CreatedBy": "Admin User",
"IsUserNote": "False"
},
{
"Id": 54953,
"LeadId": 7823,
"Note": "Example note\r\n",
"Summary": "Added note",
"CreatedOn": "2020-04-15T00:54:26.807",
"CreatedBy": "Admin User",
"IsUserNote": "True"
},
{
"Id": 54954,
"LeadId": 7823,
"Note": "Verify if lead should remain under review<br />",
"Summary": "Updated task status to completed",
"CreatedOn": "2020-04-15T00:54:26.853",
"CreatedBy": "Admin User",
"IsUserNote": "False"
},
{
"Id": 54955,
"LeadId": 7823,
"Note": "",
"Summary": "Uploaded document: 'download.jpg'",
"CreatedOn": "2020-04-15T00:54:45.673",
"CreatedBy": "Admin User",
"IsUserNote": "False"
},
{
"Id": 54956,
"LeadId": 7823,
"Note": "",
"Summary": "Associated opportunity with lead",
"CreatedOn": "2020-04-15T00:55:12.893",
"CreatedBy": "Admin User",
"IsUserNote": "False"
},
{
"Id": 54958,
"LeadId": 7823,
"Note": "",
"Summary": "Associated phone call with lead",
"CreatedOn": "2020-04-15T00:58:55.93",
"CreatedBy": "Admin User",
"IsUserNote": "False"
},
{
"Id": 54960,
"LeadId": 7823,
"Note": "",
"Summary": "Uploaded document: 'sample.pdf'",
"CreatedOn": "2020-04-15T01:00:04.167",
"CreatedBy": "Admin User",
"IsUserNote": "False"
}
],
"Opportunity": {
"Id": 2984,
"NumberCalled": null,
"OpportunityName": "Ngage",
"CreatedDate": "2020-04-14T20:54:15.387"
},
"PhoneCall": {
"Id": 254,
"RecordingUrl": "https://api.twilio.com/2010-04-01/Accounts/AC9d1da23bab7e86aa662fbb94dd249810/Recordings/REed6260788ec12c10d265d1cbdbfce94b",
"CreatedDate": "2020-04-15T00:55:47.117"
},
"Files": [
{
"Id": 867,
"FileUrl": "https://leaddocket.blob.core.windows.net/demo/leads/7823/download.jpg",
"UploadOn": "2020-04-15T00:54:45.673"
},
{
"Id": 869,
"FileUrl": "https://leaddocket.blob.core.windows.net/demo/leads/7823/sample.pdf",
"UploadOn": "2020-04-15T01:00:04.167"
}
],
"CustomFields": [
{
"CustomFieldId": 110,
"Value": "No",
"Name": "Did you report the incident to anybody?"
},
{
"CustomFieldId": 111,
"Value": "I did but I lost it",
"Name": "Did you obtain a copy of the incident report?"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment