Objective-C Dynamics CRM: Retrieve a Single Account

Back to Index

This example returns data for an account entity instance with the primary key value equal to aca19cdd-88df-e311-b8e5-6c3be5a8b200. (This is for the Blue Yonder Airlines sample data.)

Documentation: https://msdn.microsoft.com/en-us/library/gg334767.aspx#Basic query example

CURL Command

curl -X GET https://my-dynamics-domain.api.crm.dynamics.com/api/data/v9.0/accounts(aca19cdd-88df-e311-b8e5-6c3be5a8b200) \
  -H "Accept: application/json" \
  -H "OData-MaxVersion: 4.0"  \
  -H "OData-Version: 4.0" \
  -H "Authorization: Bearer DYNAMICS_CRM_ACCESS_TOKEN"

Objective-C Example

#import <CkoRest.h>
#import <CkoStringBuilder.h>
#import <CkoJsonObject.h>
#import <NSString.h>

CkoRest *rest = [[CkoRest alloc] init];
BOOL success;

//  URL: https://my-dynamics-domain.api.crm.dynamics.com/api/data/v9.0/accounts(aca19cdd-88df-e311-b8e5-6c3be5a8b200)
BOOL bTls = YES;
int port = 443;
BOOL bAutoReconnect = YES;
success = [rest Connect: @"my-dynamics-domain.api.crm.dynamics.com" port: [NSNumber numberWithInt: port] tls: bTls autoReconnect: bAutoReconnect];
if (success != YES) {
    NSLog(@"%@%d",@"ConnectFailReason: ",[rest.ConnectFailReason intValue]);
    NSLog(@"%@",rest.LastErrorText);
    return;
}

[rest AddHeader: @"OData-MaxVersion" value: @"4.0"];
[rest AddHeader: @"Accept" value: @"application/json"];
[rest AddHeader: @"OData-Version" value: @"4.0"];
[rest AddHeader: @"Authorization" value: @"Bearer DYNAMICS_CRM_ACCESS_TOKEN"];

CkoStringBuilder *sbResponseBody = [[CkoStringBuilder alloc] init];
success = [rest FullRequestNoBodySb: @"GET" uriPath: @"/api/data/v9.0/accounts(aca19cdd-88df-e311-b8e5-6c3be5a8b200)" sb: sbResponseBody];
if (success != YES) {
    NSLog(@"%@",rest.LastErrorText);
    return;
}

int respStatusCode = [rest.ResponseStatusCode intValue];
if (respStatusCode >= 400) {
    NSLog(@"%@%d",@"Response Status Code = ",respStatusCode);
    NSLog(@"%@",@"Response Header:");
    NSLog(@"%@",rest.ResponseHeader);
    NSLog(@"%@",@"Response Body:");
    NSLog(@"%@",[sbResponseBody GetAsString]);
    return;
}

CkoJsonObject *jsonResponse = [[CkoJsonObject alloc] init];
[jsonResponse LoadSb: sbResponseBody];

NSString *odataContext = [jsonResponse StringOf: @"\"@odata.context\""];
NSString *odataEtag = [jsonResponse StringOf: @"\"@odata.etag\""];
int paymenttermscode = [[jsonResponse IntOf: @"paymenttermscode"] intValue];
int industrycode = [[jsonResponse IntOf: @"industrycode"] intValue];
int address1_latitude = [[jsonResponse IntOf: @"address1_latitude"] intValue];
BOOL merged = [jsonResponse BoolOf: @"merged"];
NSString *accountnumber = [jsonResponse StringOf: @"accountnumber"];
int statecode = [[jsonResponse IntOf: @"statecode"] intValue];
NSString *emailaddress1 = [jsonResponse StringOf: @"emailaddress1"];
int exchangerate = [[jsonResponse IntOf: @"exchangerate"] intValue];
int openrevenue_state = [[jsonResponse IntOf: @"openrevenue_state"] intValue];
NSString *tickersymbol = [jsonResponse StringOf: @"tickersymbol"];
NSString *name = [jsonResponse StringOf: @"name"];
NSString *websiteurl = [jsonResponse StringOf: @"websiteurl"];
int opendeals = [[jsonResponse IntOf: @"opendeals"] intValue];
NSString *modifiedon = [jsonResponse StringOf: @"modifiedon"];
NSString *v_owninguser_value = [jsonResponse StringOf: @"_owninguser_value"];
NSString *v_primarycontactid_value = [jsonResponse StringOf: @"_primarycontactid_value"];
int importsequencenumber = [[jsonResponse IntOf: @"importsequencenumber"] intValue];
NSString *address1_composite = [jsonResponse StringOf: @"address1_composite"];
int address1_longitude = [[jsonResponse IntOf: @"address1_longitude"] intValue];
BOOL donotpostalmail = [jsonResponse BoolOf: @"donotpostalmail"];
int accountratingcode = [[jsonResponse IntOf: @"accountratingcode"] intValue];
int numberofemployees = [[jsonResponse IntOf: @"numberofemployees"] intValue];
BOOL marketingonly = [jsonResponse BoolOf: @"marketingonly"];
int revenue_base = [[jsonResponse IntOf: @"revenue_base"] intValue];
int preferredcontactmethodcode = [[jsonResponse IntOf: @"preferredcontactmethodcode"] intValue];
NSString *v_territoryid_value = [jsonResponse StringOf: @"_territoryid_value"];
NSString *v_ownerid_value = [jsonResponse StringOf: @"_ownerid_value"];
NSString *entityimage = [jsonResponse StringOf: @"entityimage"];
NSString *description = [jsonResponse StringOf: @"description"];
int customersizecode = [[jsonResponse IntOf: @"customersizecode"] intValue];
NSString *entityimage_url = [jsonResponse StringOf: @"entityimage_url"];
NSString *openrevenue_date = [jsonResponse StringOf: @"openrevenue_date"];
int openrevenue_base = [[jsonResponse IntOf: @"openrevenue_base"] intValue];
BOOL donotemail = [jsonResponse BoolOf: @"donotemail"];
int address2_shippingmethodcode = [[jsonResponse IntOf: @"address2_shippingmethodcode"] intValue];
int entityimage_timestamp = [[jsonResponse IntOf: @"entityimage_timestamp"] intValue];
int timezoneruleversionnumber = [[jsonResponse IntOf: @"timezoneruleversionnumber"] intValue];
int revenue = [[jsonResponse IntOf: @"revenue"] intValue];
int address2_freighttermscode = [[jsonResponse IntOf: @"address2_freighttermscode"] intValue];
int statuscode = [[jsonResponse IntOf: @"statuscode"] intValue];
NSString *createdon = [jsonResponse StringOf: @"createdon"];
int msdyn_travelchargetype = [[jsonResponse IntOf: @"msdyn_travelchargetype"] intValue];
int opendeals_state = [[jsonResponse IntOf: @"opendeals_state"] intValue];
int openrevenue = [[jsonResponse IntOf: @"openrevenue"] intValue];
BOOL donotsendmm = [jsonResponse BoolOf: @"donotsendmm"];
BOOL donotfax = [jsonResponse BoolOf: @"donotfax"];
BOOL donotbulkpostalmail = [jsonResponse BoolOf: @"donotbulkpostalmail"];
NSString *address1_country = [jsonResponse StringOf: @"address1_country"];
int versionnumber = [[jsonResponse IntOf: @"versionnumber"] intValue];
NSString *address1_line1 = [jsonResponse StringOf: @"address1_line1"];
NSString *address1_line2 = [jsonResponse StringOf: @"address1_line2"];
BOOL creditonhold = [jsonResponse BoolOf: @"creditonhold"];
NSString *telephone1 = [jsonResponse StringOf: @"telephone1"];
NSString *v_owningbusinessunit_value = [jsonResponse StringOf: @"_owningbusinessunit_value"];
BOOL donotphone = [jsonResponse BoolOf: @"donotphone"];
NSString *v_transactioncurrencyid_value = [jsonResponse StringOf: @"_transactioncurrencyid_value"];
NSString *accountid = [jsonResponse StringOf: @"accountid"];
BOOL donotbulkemail = [jsonResponse BoolOf: @"donotbulkemail"];
NSString *v_modifiedby_value = [jsonResponse StringOf: @"_modifiedby_value"];
BOOL followemail = [jsonResponse BoolOf: @"followemail"];
int businesstypecode = [[jsonResponse IntOf: @"businesstypecode"] intValue];
NSString *v_createdby_value = [jsonResponse StringOf: @"_createdby_value"];
NSString *address1_city = [jsonResponse StringOf: @"address1_city"];
int territorycode = [[jsonResponse IntOf: @"territorycode"] intValue];
int address2_addresstypecode = [[jsonResponse IntOf: @"address2_addresstypecode"] intValue];
int ownershipcode = [[jsonResponse IntOf: @"ownershipcode"] intValue];
NSString *fax = [jsonResponse StringOf: @"fax"];
BOOL msdyn_taxexempt = [jsonResponse BoolOf: @"msdyn_taxexempt"];
NSString *address1_addressid = [jsonResponse StringOf: @"address1_addressid"];
BOOL participatesinworkflow = [jsonResponse BoolOf: @"participatesinworkflow"];
int accountclassificationcode = [[jsonResponse IntOf: @"accountclassificationcode"] intValue];
NSString *overriddencreatedon = [jsonResponse StringOf: @"overriddencreatedon"];
NSString *address2_addressid = [jsonResponse StringOf: @"address2_addressid"];
NSString *address1_postalcode = [jsonResponse StringOf: @"address1_postalcode"];
NSString *entityimageid = [jsonResponse StringOf: @"entityimageid"];
int shippingmethodcode = [[jsonResponse IntOf: @"shippingmethodcode"] intValue];
NSString *opendeals_date = [jsonResponse StringOf: @"opendeals_date"];
NSString *lastusedincampaign = [jsonResponse StringOf: @"lastusedincampaign"];
NSString *address1_name = [jsonResponse StringOf: @"address1_name"];
NSString *v_msdyn_billingaccount_value = [jsonResponse StringOf: @"_msdyn_billingaccount_value"];
NSString *creditlimit = [jsonResponse StringOf: @"creditlimit"];
NSString *v_msdyn_salestaxcode_value = [jsonResponse StringOf: @"_msdyn_salestaxcode_value"];
NSString *telephone3 = [jsonResponse StringOf: @"telephone3"];
NSString *msdyn_externalaccountid = [jsonResponse StringOf: @"msdyn_externalaccountid"];
NSString *address1_freighttermscode = [jsonResponse StringOf: @"address1_freighttermscode"];
NSString *lastonholdtime = [jsonResponse StringOf: @"lastonholdtime"];
NSString *address2_line1 = [jsonResponse StringOf: @"address2_line1"];
NSString *onholdtime = [jsonResponse StringOf: @"onholdtime"];
NSString *msdyn_workorderinstructions = [jsonResponse StringOf: @"msdyn_workorderinstructions"];
NSString *address2_telephone1 = [jsonResponse StringOf: @"address2_telephone1"];
NSString *address1_fax = [jsonResponse StringOf: @"address1_fax"];
NSString *v_createdonbehalfby_value = [jsonResponse StringOf: @"_createdonbehalfby_value"];
NSString *address2_city = [jsonResponse StringOf: @"address2_city"];
NSString *address2_latitude = [jsonResponse StringOf: @"address2_latitude"];
NSString *creditlimit_base = [jsonResponse StringOf: @"creditlimit_base"];
NSString *address1_telephone2 = [jsonResponse StringOf: @"address1_telephone2"];
NSString *aging90_base = [jsonResponse StringOf: @"aging90_base"];
NSString *address2_postalcode = [jsonResponse StringOf: @"address2_postalcode"];
NSString *address2_name = [jsonResponse StringOf: @"address2_name"];
NSString *primarysatoriid = [jsonResponse StringOf: @"primarysatoriid"];
NSString *v_masterid_value = [jsonResponse StringOf: @"_masterid_value"];
NSString *aging30 = [jsonResponse StringOf: @"aging30"];
NSString *address2_county = [jsonResponse StringOf: @"address2_county"];
NSString *v_originatingleadid_value = [jsonResponse StringOf: @"_originatingleadid_value"];
NSString *emailaddress3 = [jsonResponse StringOf: @"emailaddress3"];
NSString *address1_shippingmethodcode = [jsonResponse StringOf: @"address1_shippingmethodcode"];
NSString *int_facebook = [jsonResponse StringOf: @"int_facebook"];
NSString *address1_stateorprovince = [jsonResponse StringOf: @"address1_stateorprovince"];
NSString *utcconversiontimezonecode = [jsonResponse StringOf: @"utcconversiontimezonecode"];
NSString *sharesoutstanding = [jsonResponse StringOf: @"sharesoutstanding"];
NSString *sic = [jsonResponse StringOf: @"sic"];
NSString *v_preferredsystemuserid_value = [jsonResponse StringOf: @"_preferredsystemuserid_value"];
NSString *address2_longitude = [jsonResponse StringOf: @"address2_longitude"];
NSString *v_defaultpricelevelid_value = [jsonResponse StringOf: @"_defaultpricelevelid_value"];
NSString *address1_primarycontactname = [jsonResponse StringOf: @"address1_primarycontactname"];
NSString *address1_county = [jsonResponse StringOf: @"address1_county"];
NSString *address2_postofficebox = [jsonResponse StringOf: @"address2_postofficebox"];
NSString *v_preferredserviceid_value = [jsonResponse StringOf: @"_preferredserviceid_value"];
NSString *address1_upszone = [jsonResponse StringOf: @"address1_upszone"];
NSString *stageid = [jsonResponse StringOf: @"stageid"];
NSString *address2_composite = [jsonResponse StringOf: @"address2_composite"];
NSString *marketcap = [jsonResponse StringOf: @"marketcap"];
NSString *aging60 = [jsonResponse StringOf: @"aging60"];
NSString *customertypecode = [jsonResponse StringOf: @"customertypecode"];
NSString *msdyn_travelcharge = [jsonResponse StringOf: @"msdyn_travelcharge"];
NSString *address1_postofficebox = [jsonResponse StringOf: @"address1_postofficebox"];
NSString *v_msdyn_preferredresource_value = [jsonResponse StringOf: @"_msdyn_preferredresource_value"];
NSString *yominame = [jsonResponse StringOf: @"yominame"];
NSString *address2_primarycontactname = [jsonResponse StringOf: @"address2_primarycontactname"];
NSString *address2_country = [jsonResponse StringOf: @"address2_country"];
NSString *v_msdyn_serviceterritory_value = [jsonResponse StringOf: @"_msdyn_serviceterritory_value"];
NSString *traversedpath = [jsonResponse StringOf: @"traversedpath"];
NSString *int_twitter = [jsonResponse StringOf: @"int_twitter"];
NSString *aging90 = [jsonResponse StringOf: @"aging90"];
NSString *address1_telephone1 = [jsonResponse StringOf: @"address1_telephone1"];
NSString *msdyn_taxexemptnumber = [jsonResponse StringOf: @"msdyn_taxexemptnumber"];
NSString *address2_telephone3 = [jsonResponse StringOf: @"address2_telephone3"];
NSString *telephone2 = [jsonResponse StringOf: @"telephone2"];
NSString *v_owningteam_value = [jsonResponse StringOf: @"_owningteam_value"];
NSString *address2_line2 = [jsonResponse StringOf: @"address2_line2"];
NSString *msdyn_travelcharge_base = [jsonResponse StringOf: @"msdyn_travelcharge_base"];
NSString *primarytwitterid = [jsonResponse StringOf: @"primarytwitterid"];
NSString *timespentbymeonemailandmeetings = [jsonResponse StringOf: @"timespentbymeonemailandmeetings"];
NSString *v_modifiedbyexternalparty_value = [jsonResponse StringOf: @"_modifiedbyexternalparty_value"];
NSString *v_slaid_value = [jsonResponse StringOf: @"_slaid_value"];
NSString *ftpsiteurl = [jsonResponse StringOf: @"ftpsiteurl"];
NSString *v_preferredequipmentid_value = [jsonResponse StringOf: @"_preferredequipmentid_value"];
NSString *processid = [jsonResponse StringOf: @"processid"];
NSString *address2_telephone2 = [jsonResponse StringOf: @"address2_telephone2"];
NSString *address1_addresstypecode = [jsonResponse StringOf: @"address1_addresstypecode"];
NSString *address1_utcoffset = [jsonResponse StringOf: @"address1_utcoffset"];
NSString *v_parentaccountid_value = [jsonResponse StringOf: @"_parentaccountid_value"];
NSString *v_createdbyexternalparty_value = [jsonResponse StringOf: @"_createdbyexternalparty_value"];
NSString *address2_fax = [jsonResponse StringOf: @"address2_fax"];
NSString *aging60_base = [jsonResponse StringOf: @"aging60_base"];
NSString *v_modifiedonbehalfby_value = [jsonResponse StringOf: @"_modifiedonbehalfby_value"];
NSString *stockexchange = [jsonResponse StringOf: @"stockexchange"];
NSString *preferredappointmentdaycode = [jsonResponse StringOf: @"preferredappointmentdaycode"];
NSString *address1_line3 = [jsonResponse StringOf: @"address1_line3"];
NSString *aging30_base = [jsonResponse StringOf: @"aging30_base"];
NSString *address2_upszone = [jsonResponse StringOf: @"address2_upszone"];
NSString *v_slainvokedid_value = [jsonResponse StringOf: @"_slainvokedid_value"];
NSString *address2_line3 = [jsonResponse StringOf: @"address2_line3"];
NSString *address2_utcoffset = [jsonResponse StringOf: @"address2_utcoffset"];
NSString *address2_stateorprovince = [jsonResponse StringOf: @"address2_stateorprovince"];
NSString *preferredappointmenttimecode = [jsonResponse StringOf: @"preferredappointmenttimecode"];
NSString *emailaddress2 = [jsonResponse StringOf: @"emailaddress2"];
NSString *marketcap_base = [jsonResponse StringOf: @"marketcap_base"];
NSString *address1_telephone3 = [jsonResponse StringOf: @"address1_telephone3"];
NSString *accountcategorycode = [jsonResponse StringOf: @"accountcategorycode"];

Sample JSON Response Body

{
  "@odata.context": "https://mydomain.api.crm.dynamics.com/api/data/v8.2/$metadata#accounts/$entity",
  "@odata.etag": "W/\"1817216\"",
  "paymenttermscode": 1,
  "industrycode": 30,
  "address1_latitude": -33.79655,
  "merged": false,
  "accountnumber": "ACTBBDC3",
  "statecode": 0,
  "emailaddress1": "brian@blueyonderairlines.com",
  "exchangerate": 1.0000000000,
  "openrevenue_state": 1,
  "tickersymbol": "BYAY",
  "name": "Blue Yonder Airlines",
  "websiteurl": "http://blueyonderairlines.com",
  "opendeals": 2,
  "modifiedon": "2018-03-12T16:09:34Z",
  "_owninguser_value": "55e68414-a277-42d6-ba36-d90484708a1d",
  "_primarycontactid_value": "4da0e5b9-88df-e311-b8e5-6c3be5a8b200",
  "importsequencenumber": 105,
  "address1_composite": "111100 Epping Road\r\nNorth Ryde NSW 0001\r\nSydney 0200\r\nAustralia",
  "address1_longitude": 151.13837,
  "donotpostalmail": false,
  "accountratingcode": 1,
  "numberofemployees": 1876,
  "marketingonly": false,
  "revenue_base": 120000000.0000,
  "preferredcontactmethodcode": 1,
  "_territoryid_value": "3337fc3f-62ef-e411-80eb-c4346bace124",
  "_ownerid_value": "55e68414-a277-42d6-ba36-d90484708a1d",
  "entityimage": "/9j/4AAQSkZJRgABAQEAYABgAAD/2wBDAAgGBgcGBQgHBwcJCQgKDBQNDAsLDBkSEw8UHRofHh0aHBwgJC4nICIsIxwcKDcpLDAxNDQ0Hyc5PTgyPC4zNDL/2wBDAQkJCQwLDBgNDRg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K0/T59Ru0ghXqcs3ZR6mu31a5h0Pw55UOA2zyYh6kjr/WvMxs1Nxpx3bPcy+m6anVnpFI4CYgzyEdCxx+dMoor0onjVHeVwooooIOu8N+JYooVsr5wgXiOQ9Meh/wAa1L3wxpl+/nxFo2fkmEjB98f4V57ViG9urYYguZYx6I5FcFTBvn56UuVs9ejmcfZqnXhzJbdyxrFhHpupPbROzqqqct15FZ9STTzXEhknleRzwWc5NR1201JRSk7s8yrKMptwVl0QUUUVRmFFFFABRRRQB1Wm+GLS9soJ3nmVpIw5AIwM1oR+C9PRgXuJ2A7ZAz+lcfHqF/FGqR3k6KowqrIQAKc+pag4w97cMPQyGvOlQxDbtLQ9mGLw0Yq8Ls7q4vtJ8O2xijEaNjIij5Zvr/ia4jVdVn1W686X5VHCRg8KKokknJOSeppK2oYSNJ8zd5dznxeYzrrkS5YrogooorrPOCiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKAP/Z",
  "description": "Blue Yonder Airlines strives to be the most preferred domestic carrier in the United States. Our goal is to provide unmatched standards of travel for our customers, ensure consistent long-term returns for the investors, and provide our employees with an environment for excellence and growth. Blue Yonder Airlines will achieve our goals by offering consistent, high quality service, and reliable, safe, and efficient operations.",
  "customersizecode": 1,
  "entityimage_url": "/Image/download.aspx?Entity=account&Attribute=entityimage&Id=aca19cdd-88df-e311-b8e5-6c3be5a8b200&Timestamp=636564677747626460",
  "openrevenue_date": "2018-04-26T10:02:54Z",
  "openrevenue_base": 5004500.0000,
  "donotemail": false,
  "address2_shippingmethodcode": 1,
  "entityimage_timestamp": 636564677747626460,
  "timezoneruleversionnumber": 0,
  "revenue": 120000000.0000,
  "address2_freighttermscode": 1,
  "statuscode": 1,
  "createdon": "2017-01-20T22:39:16Z",
  "msdyn_travelchargetype": 690970003,
  "opendeals_state": 1,
  "openrevenue": 5004500.0000,
  "donotsendmm": false,
  "donotfax": false,
  "donotbulkpostalmail": false,
  "address1_country": "Australia",
  "versionnumber": 1817216,
  "address1_line1": "111100 Epping Road",
  "address1_line2": "North Ryde NSW 0001",
  "creditonhold": false,
  "telephone1": "555-0135",
  "_owningbusinessunit_value": "c4106190-c81e-e811-a980-000d3a192e9a",
  "donotphone": false,
  "_transactioncurrencyid_value": "f92b569a-d61e-e811-a980-000d3a192e9a",
  "accountid": "aca19cdd-88df-e311-b8e5-6c3be5a8b200",
  "donotbulkemail": false,
  "_modifiedby_value": "e00ba668-e2de-47bc-8f92-ab9573f92ff4",
  "followemail": true,
  "businesstypecode": 1,
  "_createdby_value": "55e68414-a277-42d6-ba36-d90484708a1d",
  "address1_city": "Sydney",
  "territorycode": 1,
  "address2_addresstypecode": 1,
  "ownershipcode": 3,
  "fax": "612-4444-5556",
  "msdyn_taxexempt": false,
  "address1_addressid": "14e08187-8029-4d87-b40c-51c4cfbbdf83",
  "participatesinworkflow": false,
  "accountclassificationcode": 1,
  "overriddencreatedon": "2018-03-03T12:21:52Z",
  "address2_addressid": "5d8eb6c2-7793-41d2-bba1-a8e5bde5a98c",
  "address1_postalcode": "0200",
  "entityimageid": "0bf270bb-0f26-e811-a953-000d3a1c53e4",
  "shippingmethodcode": 1,
  "opendeals_date": "2018-04-26T10:02:54Z",
  "lastusedincampaign": null,
  "address1_name": null,
  "_msdyn_billingaccount_value": null,
  "creditlimit": null,
  "_msdyn_salestaxcode_value": null,
  "telephone3": null,
  "msdyn_externalaccountid": null,
  "address1_freighttermscode": null,
  "lastonholdtime": null,
  "address2_line1": null,
  "onholdtime": null,
  "msdyn_workorderinstructions": null,
  "address2_telephone1": null,
  "address1_fax": null,
  "_createdonbehalfby_value": null,
  "address2_city": null,
  "address2_latitude": null,
  "creditlimit_base": null,
  "address1_telephone2": null,
  "aging90_base": null,
  "address2_postalcode": null,
  "address2_name": null,
  "primarysatoriid": null,
  "_masterid_value": null,
  "aging30": null,
  "address2_county": null,
  "_originatingleadid_value": null,
  "emailaddress3": null,
  "address1_shippingmethodcode": null,
  "int_facebook": null,
  "address1_stateorprovince": null,
  "utcconversiontimezonecode": null,
  "sharesoutstanding": null,
  "sic": null,
  "_preferredsystemuserid_value": null,
  "address2_longitude": null,
  "_defaultpricelevelid_value": null,
  "address1_primarycontactname": null,
  "address1_county": null,
  "address2_postofficebox": null,
  "_preferredserviceid_value": null,
  "address1_upszone": null,
  "stageid": null,
  "address2_composite": null,
  "marketcap": null,
  "aging60": null,
  "customertypecode": null,
  "msdyn_travelcharge": null,
  "address1_postofficebox": null,
  "_msdyn_preferredresource_value": null,
  "yominame": null,
  "address2_primarycontactname": null,
  "address2_country": null,
  "_msdyn_serviceterritory_value": null,
  "traversedpath": null,
  "int_twitter": null,
  "aging90": null,
  "address1_telephone1": null,
  "msdyn_taxexemptnumber": null,
  "address2_telephone3": null,
  "telephone2": null,
  "_owningteam_value": null,
  "address2_line2": null,
  "msdyn_travelcharge_base": null,
  "primarytwitterid": null,
  "timespentbymeonemailandmeetings": null,
  "_modifiedbyexternalparty_value": null,
  "_slaid_value": null,
  "ftpsiteurl": null,
  "_preferredequipmentid_value": null,
  "processid": null,
  "address2_telephone2": null,
  "address1_addresstypecode": null,
  "address1_utcoffset": null,
  "_parentaccountid_value": null,
  "_createdbyexternalparty_value": null,
  "address2_fax": null,
  "aging60_base": null,
  "_modifiedonbehalfby_value": null,
  "stockexchange": null,
  "preferredappointmentdaycode": null,
  "address1_line3": null,
  "aging30_base": null,
  "address2_upszone": null,
  "_slainvokedid_value": null,
  "address2_line3": null,
  "address2_utcoffset": null,
  "address2_stateorprovince": null,
  "preferredappointmenttimecode": null,
  "emailaddress2": null,
  "marketcap_base": null,
  "address1_telephone3": null,
  "accountcategorycode": null
}