Xrm.WebApi.retrieveRecord("contact", primaryContactId).then(
function success(result)
Result:
- @odata.context: "https://embc-dfa.dev.jag.gov.bc.ca/api/data/v9.0/$metadata#contacts/$entity"
- @odata.etag: "W/\"724056\""
- accountrolecode: null
- address1_addressid: "c6179ed2-fb23-4d2d-a2e3-02cf832f6cd8"
- address1_addresstypecode: null
- address1_city: "Surrey"
- address1_composite: "3601 Glover Rd\r\n#10\r\nSurrey British Columbia V3S 4C4\r\nCanada"
- address1_country: "Canada"
- address1_county: null
- address1_fax: null
- address1_freighttermscode: null
- address1_latitude: null
- address1_line1: "3601 Glover Rd"
- address1_line2: "#10"
- address1_line3: null
- address1_longitude: null
- address1_name: null
- address1_postalcode: "V3S 4C4"
- address1_postofficebox: null
- address1_primarycontactname: null
- address1_shippingmethodcode: null
- address1_stateorprovince: "British Columbia"
- address1_telephone1: null
- address1_telephone2: null
- address1_telephone3: null
- address1_upszone: null
- address1_utcoffset: null
- address2_addressid: "4d07d8ce-9da8-46a2-a730-8192d5dbb74e"
- address2_addresstypecode: 1
- address2_addresstypecode@OData.Community.Display.V1.FormattedValue: "Default Value"
- address2_city: null
- address2_composite: null
- address2_country: null
- address2_county: null
- address2_fax: null
- address2_freighttermscode: 1
- address2_freighttermscode@OData.Community.Display.V1.FormattedValue: "Default Value"
- address2_latitude: null
- address2_line1: null
- address2_line2: null
- address2_line3: null
- address2_longitude: null
- address2_name: null
- address2_postalcode: null
- address2_postofficebox: null
- address2_primarycontactname: null
- address2_shippingmethodcode: 1
- address2_shippingmethodcode@OData.Community.Display.V1.FormattedValue: "Default Value"
- address2_stateorprovince: null
- address2_telephone1: null
- address2_telephone2: null
- address2_telephone3: null
- address2_upszone: null
- address2_utcoffset: null
- address3_addressid: "478c46c9-b7d8-4668-bf5f-22cf30f14823"
- address3_addresstypecode: null
- address3_city: null
- address3_composite: null
- address3_country: null
- address3_county: null
- address3_fax: null
- address3_freighttermscode: null
- address3_latitude: null
- address3_line1: null
- address3_line2: null
- address3_line3: null
- address3_longitude: null
- address3_name: null
- address3_postalcode: null
- address3_postofficebox: null
- address3_primarycontactname: null
- address3_shippingmethodcode: null
- address3_stateorprovince: null
- address3_telephone1: null
- address3_telephone2: null
- address3_telephone3: null
- address3_upszone: null
- address3_utcoffset: null
- aging30: null
- aging30_base: null
- aging60: null
- aging60_base: null
- aging90: null
- aging90_base: null
- anniversary: null
- annualincome: null
- annualincome_base: null
- assistantname: null
- assistantphone: null
- birthdate: null
- business2: null
- callback: null
- childrensnames: null
- company: null
- contactid: "f517dc17-4aa9-ec11-b82c-005056830319"
- createdon: "2022-03-21T19:07:25Z"
- createdon@OData.Community.Display.V1.FormattedValue: "3/21/2022 12:07 PM"
- creditlimit: null
- creditlimit_base: null
- creditonhold: false
- creditonhold@OData.Community.Display.V1.FormattedValue: "No"
- customersizecode: 1
- customersizecode@OData.Community.Display.V1.FormattedValue: "Default Value"
- customertypecode: 1
- customertypecode@OData.Community.Display.V1.FormattedValue: "Default Value"
- department: null
- description: null
- donotbulkemail: false
- donotbulkemail@OData.Community.Display.V1.FormattedValue: "Allow"
- donotbulkpostalmail: false
- donotbulkpostalmail@OData.Community.Display.V1.FormattedValue: "No"
- donotemail: false
- donotemail@OData.Community.Display.V1.FormattedValue: "Allow"
- donotfax: false
- donotfax@OData.Community.Display.V1.FormattedValue: "Allow"
- donotphone: false
- donotphone@OData.Community.Display.V1.FormattedValue: "Allow"
- donotpostalmail: false
- donotpostalmail@OData.Community.Display.V1.FormattedValue: "Allow"
- donotsendmm: false
- donotsendmm@OData.Community.Display.V1.FormattedValue: "Send"
- educationcode: 1
- educationcode@OData.Community.Display.V1.FormattedValue: "Default Value"
- emailaddress1: null
- emailaddress2: null
- emailaddress3: null
- employeeid: null
- entityimage: null
- entityimage_timestamp: null
- entityimage_url: null
- entityimageid: null
- exchangerate: 1
- exchangerate@OData.Community.Display.V1.FormattedValue: "1.0000000000"
- externaluseridentifier: null
- familystatuscode: null
- fax: null
- firstname: "Beverly"
- followemail: true
- followemail@OData.Community.Display.V1.FormattedValue: "Allow"
- ftpsiteurl: null
- fullname: "Beverly Colucci"
- gendercode: null
- governmentid: null
- haschildrencode: 1
- haschildrencode@OData.Community.Display.V1.FormattedValue: "Default Value"
- home2: null
- importsequencenumber: 1
- importsequencenumber@OData.Community.Display.V1.FormattedValue: "1"
- isbackofficecustomer: false
- isbackofficecustomer@OData.Community.Display.V1.FormattedValue: "No"
- jobtitle: null
- lastname: "Colucci"
- lastonholdtime: null
- lastusedincampaign: null
- leadsourcecode: 1
- leadsourcecode@OData.Community.Display.V1.FormattedValue: "Default Value"
- managername: null
- managerphone: null
- marketingonly: false
- marketingonly@OData.Community.Display.V1.FormattedValue: "No"
- merged: false
- merged@OData.Community.Display.V1.FormattedValue: "No"
- middlename: null
- mobilephone: null
- modifiedon: "2022-08-24T23:51:40Z"
- modifiedon@OData.Community.Display.V1.FormattedValue: "8/24/2022 4:51 PM"
- msdyn_gdproptout: false
- msdyn_gdproptout@OData.Community.Display.V1.FormattedValue: "No"
- nickname: null
- numberofchildren: null
- onholdtime: null
- overriddencreatedon: null
- pager: null
- participatesinworkflow: false
- participatesinworkflow@OData.Community.Display.V1.FormattedValue: "No"
- paymenttermscode: null
- preferredappointmentdaycode: null
- preferredappointmenttimecode: 1
- preferredappointmenttimecode@OData.Community.Display.V1.FormattedValue: "Morning"
- preferredcontactmethodcode: 1
- preferredcontactmethodcode@OData.Community.Display.V1.FormattedValue: "Any"
- processid: null
- salutation: null
- shippingmethodcode: 1
- shippingmethodcode@OData.Community.Display.V1.FormattedValue: "Default Value"
- spousesname: null
- stageid: null
- statecode: 0
- statecode@OData.Community.Display.V1.FormattedValue: "Active"
- statuscode: 1
- statuscode@OData.Community.Display.V1.FormattedValue: "Active"
- subscriptionid: null
- suffix: null
- telephone1: null
- telephone2: null
- telephone3: null
- territorycode: 1
- territorycode@OData.Community.Display.V1.FormattedValue: "Default Value"
- timespentbymeonemailandmeetings: null
- timezoneruleversionnumber: null
- traversedpath: null
- utcconversiontimezonecode: null
- versionnumber: 724056
- versionnumber@OData.Community.Display.V1.FormattedValue: "724,056"
- websiteurl: null
- yomifirstname: null
- yomifullname: "Beverly Colucci"
- yomilastname: null
- yomimiddlename: null
- _accountid_value: null
- _createdby_value: "ddded10b-97a8-ec11-b831-00505683fbf4"
- _createdby_value@Microsoft.Dynamics.CRM.lookuplogicalname: "systemuser"
- _createdby_value@OData.Community.Display.V1.FormattedValue: "Mohammed Hossain"
- _createdbyexternalparty_value: null
- _createdonbehalfby_value: null
- _defaultpricelevelid_value: null
- _dfa_areacommunityid_value: null
- _dfa_regionid_value: null
- _masterid_value: null
- _modifiedby_value: "b1fadff3-531a-ed11-b834-00505683fbf4"
- _modifiedby_value@Microsoft.Dynamics.CRM.lookuplogicalname: "systemuser"
- _modifiedby_value@OData.Community.Display.V1.FormattedValue: "Forrest Zhang"
- _modifiedbyexternalparty_value: null
- _modifiedonbehalfby_value: null
- _originatingleadid_value: null
- _ownerid_value: "ddded10b-97a8-ec11-b831-00505683fbf4"
- _ownerid_value@Microsoft.Dynamics.CRM.associatednavigationproperty: "ownerid"
- _ownerid_value@Microsoft.Dynamics.CRM.lookuplogicalname: "systemuser"
- _ownerid_value@OData.Community.Display.V1.FormattedValue: "Mohammed Hossain"
- _owningbusinessunit_value: "f8e4c0ff-01a7-ec11-b831-00505683fbf4"
- _owningbusinessunit_value@Microsoft.Dynamics.CRM.associatednavigationproperty: "owningbusinessunit"
- _owningbusinessunit_value@Microsoft.Dynamics.CRM.lookuplogicalname: "businessunit"
- _owningteam_value: null
- _owninguser_value: "ddded10b-97a8-ec11-b831-00505683fbf4"
- _owninguser_value@Microsoft.Dynamics.CRM.lookuplogicalname: "systemuser"
- _parentcontactid_value: null
- _parentcustomerid_value: "04fec1b3-74b4-ec11-b82d-005056830319"
- _parentcustomerid_value@Microsoft.Dynamics.CRM.associatednavigationproperty: "parentcustomerid_account"
- _parentcustomerid_value@Microsoft.Dynamics.CRM.lookuplogicalname: "account"
- _parentcustomerid_value@OData.Community.Display.V1.FormattedValue: "150 Mile House"
- _preferredequipmentid_value: null
- _preferredserviceid_value: null
- _preferredsystemuserid_value: null
- _slaid_value: null
- _slainvokedid_value: null
- _transactioncurrencyid_value: "66ce26a5-02a7-ec11-b831-00505683fbf4"
- _transactioncurrencyid_value@Microsoft.Dynamics.CRM.associatednavigationproperty: "transactioncurrencyid"
- _transactioncurrencyid_value@Microsoft.Dynamics.CRM.lookuplogicalname: "transactioncurrency"
- _transactioncurrencyid_value@OData.Community.Display.V1.FormattedValue: "Canadian Dollar"
- [[Prototype]]: Object
No comments:
Post a Comment