Files
optima/dalpuri/examples/member-with-relations.json

132 lines
4.0 KiB
JSON

{
"memberRecId": 42,
"memberId": "jsmith",
"firstName": "John",
"lastName": "Smith",
"emailAddress": "jsmith@totaltech.net",
"phoneNbr": "615-555-0123",
"phoneNbrExtension": "101",
"companyRecId": 250,
"departmentId": "IT",
"jobTitle": "Lead Technician",
"memberTypeRecId": 3,
"lastUpdate": "2025-01-15T09:30:45.000Z",
"updatedBy": "tsexton",
"deleteFlag": false,
"dateDeleted": null,
"deletedBy": null,
"dateEntered": "2015-03-10T14:22:15.000Z",
"enteredBy": "admin",
"userfield1": null,
"userfield2": null,
"userfield3": null,
"userfield4": null,
"userfield5": null,
"userfield6": null,
"userfield7": null,
"userfield8": null,
"userfield9": null,
"userfield10": null,
"mobileGuid": "5f92481c-7e8a-4889-bc92-g4h8i7j6k5l4",
"lastUpdateUtc": "2025-01-15T15:30:45.000Z",
"dateEnteredUtc": "2015-03-10T20:22:15.000Z",
"dateDeletedUtc": null,
"profileLastUpdateUtc": "2024-12-20T16:45:30.000Z",
"profileLastUpdatedBy": "zwarren",
"id": "e5f7832e-cd99-ff22-c3dc-111d39d66f18",
"company": {
"companyRecId": 250,
"companyId": "totaltech",
"companyName": "Total Tech Solutions",
"phoneNbr": "",
"websiteUrl": "www.totaltech.net",
"companyStatusRecId": 1,
"taxCodeRecId": 8,
"currencyRecId": 7,
"ownerLevelRecId": 11,
"marketRecId": 27
},
"memberType": {
"memberTypeRecId": 3,
"memberTypeId": "EMP",
"memberTypeName": "Employee"
},
"contacts": [
{
"contactRecId": 11,
"contactId": "csmith",
"firstName": "Contact",
"lastName": "Smith",
"emailAddress": "csmith@totaltech.net",
"phoneNbr": "615-555-0124",
"phoneNbrExtension": "102",
"memberRecId": 42,
"companyRecId": 250,
"title": "Assistant",
"deleteFlag": false,
"dateEntered": "2015-03-10T14:22:15.000Z",
"lastUpdate": "2024-11-20T10:15:30.000Z",
"updatedBy": "jsmith",
"id": "f6g8943f-de10-gg33-d4ed-222e40e77g29"
}
],
"opportunities": [
{
"opportunityRecId": 295,
"opportunityName": "Network Upgrade Project",
"memberRecId": 42,
"soPipelineRecId": 3,
"soInterestRecId": 2,
"estimatedTotal": "15000",
"probabilityToClose": 75,
"source": "Direct Contact",
"dateBecameLead": "2025-01-10T11:30:00.000Z",
"dateCloseExpected": "2025-03-15T00:00:00.000Z",
"billingUnitRecId": 4,
"contractTypeRecId": 1,
"soOppStatusRecId": 24,
"soTypeRecId": 5,
"soUrgencyRecId": 2,
"ownerLevelRecId": 11,
"dateBecameLeadUtc": "2025-01-10T17:30:00.000Z",
"dateCloseExpectedUtc": "2025-03-15T00:00:00.000Z",
"lastUpdateUtc": "2025-01-15T15:45:30.000Z",
"enteredBy": "jsmith",
"updatedBy": "jsmith",
"approvedBy": null,
"dateApproved": null,
"mobileGuid": "aa1bb2cc-dd3e-4ff5-9gg6-h7i8j9k0l1m2",
"id": "a1b2c3d4-e5f6-ee11-b3cb-001d29c66g18"
},
{
"opportunityRecId": 312,
"opportunityName": "Security System Installation",
"memberRecId": 42,
"soPipelineRecId": 2,
"soInterestRecId": 1,
"estimatedTotal": "8500",
"probabilityToClose": 60,
"source": "Internal Referral",
"dateBecameLead": "2025-01-08T09:15:00.000Z",
"dateCloseExpected": "2025-02-28T00:00:00.000Z",
"billingUnitRecId": 6,
"contractTypeRecId": 2,
"soOppStatusRecId": 22,
"soTypeRecId": 8,
"soUrgencyRecId": 3,
"ownerLevelRecId": 11,
"dateBecameLeadUtc": "2025-01-08T15:15:00.000Z",
"dateCloseExpectedUtc": "2025-02-28T00:00:00.000Z",
"lastUpdateUtc": "2025-01-12T13:22:15.000Z",
"enteredBy": "jsmith",
"updatedBy": "tsexton",
"approvedBy": null,
"dateApproved": null,
"mobileGuid": "bb2cc3dd-ee4f-5gg6-0hh7-i8j9k0l1m2n3",
"id": "b2c3d4e5-f6a7-ff22-c4dc-002e30d77g29"
}
],
"notes": "Senior IT professional with 10+ years of experience. Key account manager for enterprise clients.",
"lastActivity": "2025-01-15T14:30:00.000Z"
}