Chilkat Online Tools

C++ / Salesforce Platform APIs / Create a Record

Back to Collection Items

#include <CkHttp.h>
#include <CkJsonObject.h>
#include <CkHttpResponse.h>
#include <CkStringBuilder.h>

void ChilkatSample(void)
    {
    // This example assumes the Chilkat API to have been previously unlocked.
    // See Global Unlock Sample for sample code.

    CkHttp http;
    bool success;

    // Use this online tool to generate code from sample JSON: Generate Code to Create JSON

    // The following JSON is sent in the request body.

    // {
    //   "allowSaveOnDuplicate": false,
    //   "apiName": "Object",
    //   "fields": {
    //     "FieldAPIName": "FieldValue"
    //   }
    // }

    CkJsonObject json;
    json.UpdateBool("allowSaveOnDuplicate",false);
    json.UpdateString("apiName","Object");
    json.UpdateString("fields.FieldAPIName","FieldValue");

    // Adds the "Authorization: Bearer <access_token>" header.
    http.put_AuthToken("<access_token>");
    http.SetRequestHeader("Content-Type","application/json");

    CkHttpResponse *resp = http.PostJson3("https://domain.com/services/data/v{{version}}/ui-api/records","application/json",json);
    if (http.get_LastMethodSuccess() == false) {
        std::cout << http.lastErrorText() << "\r\n";
        return;
    }

    CkStringBuilder sbResponseBody;
    resp->GetBodySb(sbResponseBody);

    CkJsonObject jResp;
    jResp.LoadSb(sbResponseBody);
    jResp.put_EmitCompact(false);

    std::cout << "Response Body:" << "\r\n";
    std::cout << jResp.emit() << "\r\n";

    int respStatusCode = resp->get_StatusCode();
    std::cout << "Response Status Code = " << respStatusCode << "\r\n";
    if (respStatusCode >= 400) {
        std::cout << "Response Header:" << "\r\n";
        std::cout << resp->header() << "\r\n";
        std::cout << "Failed." << "\r\n";
        delete resp;
        return;
    }

    delete resp;

    // Sample JSON response:
    // (Sample code for parsing the JSON response is shown below)

    // {
    //   "apiName": "Account",
    //   "childRelationships": {},
    //   "eTag": "057ae0953591faed613c5e19a086f7a8",
    //   "fields": {
    //     "AccountNumber": {
    //       "displayValue": null,
    //       "value": null
    //     },
    //     "Active__c": {
    //       "displayValue": null,
    //       "value": null
    //     },
    //     "AnnualRevenue": {
    //       "displayValue": null,
    //       "value": null
    //     },
    //     "BillingCity": {
    //       "displayValue": null,
    //       "value": null
    //     },
    //     "BillingCountry": {
    //       "displayValue": null,
    //       "value": null
    //     },
    //     "BillingPostalCode": {
    //       "displayValue": null,
    //       "value": null
    //     },
    //     "BillingState": {
    //       "displayValue": null,
    //       "value": null
    //     },
    //     "BillingStreet": {
    //       "displayValue": null,
    //       "value": null
    //     },
    //     "CreatedBy": {
    //       "displayValue": "Philippe Ozil",
    //       "value": {
    //         "apiName": "User",
    //         "childRelationships": {},
    //         "eTag": "cc07f7ef1b08ddbd75074c69512dd388",
    //         "fields": {
    //           "Id": {
    //             "displayValue": null,
    //             "value": "005B0000003TOI6IAO"
    //           },
    //           "Name": {
    //             "displayValue": null,
    //             "value": "Philippe Ozil"
    //           }
    //         },
    //         "id": "005B0000003TOI6IAO",
    //         "lastModifiedById": "005B0000003TOI6IAO",
    //         "lastModifiedDate": "2023-02-02T10:32:12.000Z",
    //         "recordTypeId": null,
    //         "recordTypeInfo": null,
    //         "systemModstamp": "2023-09-27T15:47:51.000Z",
    //         "weakEtag": 1695829671000
    //       }
    //     },
    //     "CreatedById": {
    //       "displayValue": null,
    //       "value": "005B0000003TOI6IAO"
    //     },
    //     "CreatedDate": {
    //       "displayValue": "27/09/2023 18:01",
    //       "value": "2023-09-27T16:01:14.000Z"
    //     },
    //     "CustomerPriority__c": {
    //       "displayValue": null,
    //       "value": null
    //     },
    //     "Description": {
    //       "displayValue": null,
    //       "value": null
    //     },
    //     "Fax": {
    //       "displayValue": null,
    //       "value": null
    //     },
    //     "Industry": {
    //       "displayValue": null,
    //       "value": null
    //     },
    //     "LastModifiedBy": {
    //       "displayValue": "Philippe Ozil",
    //       "value": {
    //         "apiName": "User",
    //         "childRelationships": {},
    //         "eTag": "cc07f7ef1b08ddbd75074c69512dd388",
    //         "fields": {
    //           "Id": {
    //             "displayValue": null,
    //             "value": "005B0000003TOI6IAO"
    //           },
    //           "Name": {
    //             "displayValue": null,
    //             "value": "Philippe Ozil"
    //           }
    //         },
    //         "id": "005B0000003TOI6IAO",
    //         "lastModifiedById": "005B0000003TOI6IAO",
    //         "lastModifiedDate": "2023-02-02T10:32:12.000Z",
    //         "recordTypeId": null,
    //         "recordTypeInfo": null,
    //         "systemModstamp": "2023-09-27T15:47:51.000Z",
    //         "weakEtag": 1695829671000
    //       }
    //     },
    //     "LastModifiedById": {
    //       "displayValue": null,
    //       "value": "005B0000003TOI6IAO"
    //     },
    //     "LastModifiedDate": {
    //       "displayValue": "27/09/2023 18:01",
    //       "value": "2023-09-27T16:01:14.000Z"
    //     },
    //     "Name": {
    //       "displayValue": null,
    //       "value": "My New Account"
    //     },
    //     "NumberOfEmployees": {
    //       "displayValue": null,
    //       "value": null
    //     },
    //     "NumberofLocations__c": {
    //       "displayValue": null,
    //       "value": null
    //     },
    //     "Owner": {
    //       "displayValue": "Philippe Ozil",
    //       "value": {
    //         "apiName": "User",
    //         "childRelationships": {},
    //         "eTag": "cc07f7ef1b08ddbd75074c69512dd388",
    //         "fields": {
    //           "Id": {
    //             "displayValue": null,
    //             "value": "005B0000003TOI6IAO"
    //           },
    //           "Name": {
    //             "displayValue": null,
    //             "value": "Philippe Ozil"
    //           }
    //         },
    //         "id": "005B0000003TOI6IAO",
    //         "lastModifiedById": "005B0000003TOI6IAO",
    //         "lastModifiedDate": "2023-02-02T10:32:12.000Z",
    //         "recordTypeId": null,
    //         "recordTypeInfo": null,
    //         "systemModstamp": "2023-09-27T15:47:51.000Z",
    //         "weakEtag": 1695829671000
    //       }
    //     },
    //     "OwnerId": {
    //       "displayValue": null,
    //       "value": "005B0000003TOI6IAO"
    //     },
    //     "Ownership": {
    //       "displayValue": null,
    //       "value": null
    //     },
    //     "Parent": {
    //       "displayValue": null,
    //       "value": null
    //     },
    //     "ParentId": {
    //       "displayValue": null,
    //       "value": null
    //     },
    //     "Phone": {
    //       "displayValue": null,
    //       "value": null
    //     },
    //     "Rating": {
    //       "displayValue": null,
    //       "value": null
    //     },
    //     "SLAExpirationDate__c": {
    //       "displayValue": null,
    //       "value": null
    //     },
    //     "SLASerialNumber__c": {
    //       "displayValue": null,
    //       "value": null
    //     },
    //     "SLA__c": {
    //       "displayValue": null,
    //       "value": null
    //     },
    //     "ShippingCity": {
    //       "displayValue": null,
    //       "value": null
    //     },
    //     "ShippingCountry": {
    //       "displayValue": null,
    //       "value": null
    //     },
    //     "ShippingPostalCode": {
    //       "displayValue": null,
    //       "value": null
    //     },
    //     "ShippingState": {
    //       "displayValue": null,
    //       "value": null
    //     },
    //     "ShippingStreet": {
    //       "displayValue": null,
    //       "value": null
    //     },
    //     "Sic": {
    //       "displayValue": null,
    //       "value": null
    //     },
    //     "Site": {
    //       "displayValue": null,
    //       "value": null
    //     },
    //     "TickerSymbol": {
    //       "displayValue": null,
    //       "value": null
    //     },
    //     "Type": {
    //       "displayValue": null,
    //       "value": null
    //     },
    //     "UpsellOpportunity__c": {
    //       "displayValue": null,
    //       "value": null
    //     },
    //     "Website": {
    //       "displayValue": null,
    //       "value": null
    //     }
    //   },
    //   "id": "0011Q00002Z2P5jQAF",
    //   "lastModifiedById": "005B0000003TOI6IAO",
    //   "lastModifiedDate": "2023-09-27T16:01:14.000Z",
    //   "recordTypeId": "012000000000000AAA",
    //   "recordTypeInfo": null,
    //   "systemModstamp": "2023-09-27T16:01:14.000Z",
    //   "weakEtag": 1695830474000
    // }

    // Sample code for parsing the JSON response...
    // Use this online tool to generate parsing code from sample JSON: Generate JSON Parsing Code

    // Chilkat functions returning "const char *" return a pointer to temporary internal memory owned and managed by Chilkat.

    const char *apiName = jResp.stringOf("apiName");
    const char *eTag = jResp.stringOf("eTag");
    const char *DisplayValue = jResp.stringOf("fields.AccountNumber.displayValue");
    const char *Value = jResp.stringOf("fields.AccountNumber.value");
    const char *Active__cDisplayValue = jResp.stringOf("fields.Active__c.displayValue");
    const char *Active__cValue = jResp.stringOf("fields.Active__c.value");
    const char *AnnualRevenueDisplayValue = jResp.stringOf("fields.AnnualRevenue.displayValue");
    const char *AnnualRevenueValue = jResp.stringOf("fields.AnnualRevenue.value");
    const char *BillingCityDisplayValue = jResp.stringOf("fields.BillingCity.displayValue");
    const char *BillingCityValue = jResp.stringOf("fields.BillingCity.value");
    const char *BillingCountryDisplayValue = jResp.stringOf("fields.BillingCountry.displayValue");
    const char *BillingCountryValue = jResp.stringOf("fields.BillingCountry.value");
    const char *BillingPostalCodeDisplayValue = jResp.stringOf("fields.BillingPostalCode.displayValue");
    const char *BillingPostalCodeValue = jResp.stringOf("fields.BillingPostalCode.value");
    const char *BillingStateDisplayValue = jResp.stringOf("fields.BillingState.displayValue");
    const char *BillingStateValue = jResp.stringOf("fields.BillingState.value");
    const char *BillingStreetDisplayValue = jResp.stringOf("fields.BillingStreet.displayValue");
    const char *BillingStreetValue = jResp.stringOf("fields.BillingStreet.value");
    const char *CreatedByDisplayValue = jResp.stringOf("fields.CreatedBy.displayValue");
    const char *ApiName = jResp.stringOf("fields.CreatedBy.value.apiName");
    const char *ETag = jResp.stringOf("fields.CreatedBy.value.eTag");
    const char *IdDisplayValue = jResp.stringOf("fields.CreatedBy.value.fields.Id.displayValue");
    const char *IdValue = jResp.stringOf("fields.CreatedBy.value.fields.Id.value");
    const char *NameDisplayValue = jResp.stringOf("fields.CreatedBy.value.fields.Name.displayValue");
    const char *NameValue = jResp.stringOf("fields.CreatedBy.value.fields.Name.value");
    const char *Id = jResp.stringOf("fields.CreatedBy.value.id");
    const char *LastModifiedById = jResp.stringOf("fields.CreatedBy.value.lastModifiedById");
    const char *LastModifiedDate = jResp.stringOf("fields.CreatedBy.value.lastModifiedDate");
    const char *RecordTypeId = jResp.stringOf("fields.CreatedBy.value.recordTypeId");
    const char *RecordTypeInfo = jResp.stringOf("fields.CreatedBy.value.recordTypeInfo");
    const char *SystemModstamp = jResp.stringOf("fields.CreatedBy.value.systemModstamp");
    int WeakEtag = jResp.IntOf("fields.CreatedBy.value.weakEtag");
    const char *CreatedByIdDisplayValue = jResp.stringOf("fields.CreatedById.displayValue");
    const char *CreatedByIdValue = jResp.stringOf("fields.CreatedById.value");
    const char *CreatedDateDisplayValue = jResp.stringOf("fields.CreatedDate.displayValue");
    const char *CreatedDateValue = jResp.stringOf("fields.CreatedDate.value");
    const char *CustomerPriority__cDisplayValue = jResp.stringOf("fields.CustomerPriority__c.displayValue");
    const char *CustomerPriority__cValue = jResp.stringOf("fields.CustomerPriority__c.value");
    const char *DescriptionDisplayValue = jResp.stringOf("fields.Description.displayValue");
    const char *DescriptionValue = jResp.stringOf("fields.Description.value");
    const char *FaxDisplayValue = jResp.stringOf("fields.Fax.displayValue");
    const char *FaxValue = jResp.stringOf("fields.Fax.value");
    const char *IndustryDisplayValue = jResp.stringOf("fields.Industry.displayValue");
    const char *IndustryValue = jResp.stringOf("fields.Industry.value");
    const char *LastModifiedByDisplayValue = jResp.stringOf("fields.LastModifiedBy.displayValue");
    const char *ValueApiName = jResp.stringOf("fields.LastModifiedBy.value.apiName");
    const char *ValueETag = jResp.stringOf("fields.LastModifiedBy.value.eTag");
    IdDisplayValue = jResp.stringOf("fields.LastModifiedBy.value.fields.Id.displayValue");
    IdValue = jResp.stringOf("fields.LastModifiedBy.value.fields.Id.value");
    NameDisplayValue = jResp.stringOf("fields.LastModifiedBy.value.fields.Name.displayValue");
    NameValue = jResp.stringOf("fields.LastModifiedBy.value.fields.Name.value");
    const char *ValueId = jResp.stringOf("fields.LastModifiedBy.value.id");
    const char *ValueLastModifiedById = jResp.stringOf("fields.LastModifiedBy.value.lastModifiedById");
    const char *ValueLastModifiedDate = jResp.stringOf("fields.LastModifiedBy.value.lastModifiedDate");
    const char *ValueRecordTypeId = jResp.stringOf("fields.LastModifiedBy.value.recordTypeId");
    const char *ValueRecordTypeInfo = jResp.stringOf("fields.LastModifiedBy.value.recordTypeInfo");
    const char *ValueSystemModstamp = jResp.stringOf("fields.LastModifiedBy.value.systemModstamp");
    int ValueWeakEtag = jResp.IntOf("fields.LastModifiedBy.value.weakEtag");
    const char *LastModifiedByIdDisplayValue = jResp.stringOf("fields.LastModifiedById.displayValue");
    const char *LastModifiedByIdValue = jResp.stringOf("fields.LastModifiedById.value");
    const char *LastModifiedDateDisplayValue = jResp.stringOf("fields.LastModifiedDate.displayValue");
    const char *LastModifiedDateValue = jResp.stringOf("fields.LastModifiedDate.value");
    NameDisplayValue = jResp.stringOf("fields.Name.displayValue");
    NameValue = jResp.stringOf("fields.Name.value");
    const char *NumberOfEmployeesDisplayValue = jResp.stringOf("fields.NumberOfEmployees.displayValue");
    const char *NumberOfEmployeesValue = jResp.stringOf("fields.NumberOfEmployees.value");
    const char *NumberofLocations__cDisplayValue = jResp.stringOf("fields.NumberofLocations__c.displayValue");
    const char *NumberofLocations__cValue = jResp.stringOf("fields.NumberofLocations__c.value");
    const char *OwnerDisplayValue = jResp.stringOf("fields.Owner.displayValue");
    ValueApiName = jResp.stringOf("fields.Owner.value.apiName");
    ValueETag = jResp.stringOf("fields.Owner.value.eTag");
    IdDisplayValue = jResp.stringOf("fields.Owner.value.fields.Id.displayValue");
    IdValue = jResp.stringOf("fields.Owner.value.fields.Id.value");
    NameDisplayValue = jResp.stringOf("fields.Owner.value.fields.Name.displayValue");
    NameValue = jResp.stringOf("fields.Owner.value.fields.Name.value");
    ValueId = jResp.stringOf("fields.Owner.value.id");
    ValueLastModifiedById = jResp.stringOf("fields.Owner.value.lastModifiedById");
    ValueLastModifiedDate = jResp.stringOf("fields.Owner.value.lastModifiedDate");
    ValueRecordTypeId = jResp.stringOf("fields.Owner.value.recordTypeId");
    ValueRecordTypeInfo = jResp.stringOf("fields.Owner.value.recordTypeInfo");
    ValueSystemModstamp = jResp.stringOf("fields.Owner.value.systemModstamp");
    ValueWeakEtag = jResp.IntOf("fields.Owner.value.weakEtag");
    const char *OwnerIdDisplayValue = jResp.stringOf("fields.OwnerId.displayValue");
    const char *OwnerIdValue = jResp.stringOf("fields.OwnerId.value");
    const char *OwnershipDisplayValue = jResp.stringOf("fields.Ownership.displayValue");
    const char *OwnershipValue = jResp.stringOf("fields.Ownership.value");
    const char *ParentDisplayValue = jResp.stringOf("fields.Parent.displayValue");
    const char *ParentValue = jResp.stringOf("fields.Parent.value");
    const char *ParentIdDisplayValue = jResp.stringOf("fields.ParentId.displayValue");
    const char *ParentIdValue = jResp.stringOf("fields.ParentId.value");
    const char *PhoneDisplayValue = jResp.stringOf("fields.Phone.displayValue");
    const char *PhoneValue = jResp.stringOf("fields.Phone.value");
    const char *RatingDisplayValue = jResp.stringOf("fields.Rating.displayValue");
    const char *RatingValue = jResp.stringOf("fields.Rating.value");
    const char *SLAExpirationDate__cDisplayValue = jResp.stringOf("fields.SLAExpirationDate__c.displayValue");
    const char *SLAExpirationDate__cValue = jResp.stringOf("fields.SLAExpirationDate__c.value");
    const char *SLASerialNumber__cDisplayValue = jResp.stringOf("fields.SLASerialNumber__c.displayValue");
    const char *SLASerialNumber__cValue = jResp.stringOf("fields.SLASerialNumber__c.value");
    const char *SLA__cDisplayValue = jResp.stringOf("fields.SLA__c.displayValue");
    const char *SLA__cValue = jResp.stringOf("fields.SLA__c.value");
    const char *ShippingCityDisplayValue = jResp.stringOf("fields.ShippingCity.displayValue");
    const char *ShippingCityValue = jResp.stringOf("fields.ShippingCity.value");
    const char *ShippingCountryDisplayValue = jResp.stringOf("fields.ShippingCountry.displayValue");
    const char *ShippingCountryValue = jResp.stringOf("fields.ShippingCountry.value");
    const char *ShippingPostalCodeDisplayValue = jResp.stringOf("fields.ShippingPostalCode.displayValue");
    const char *ShippingPostalCodeValue = jResp.stringOf("fields.ShippingPostalCode.value");
    const char *ShippingStateDisplayValue = jResp.stringOf("fields.ShippingState.displayValue");
    const char *ShippingStateValue = jResp.stringOf("fields.ShippingState.value");
    const char *ShippingStreetDisplayValue = jResp.stringOf("fields.ShippingStreet.displayValue");
    const char *ShippingStreetValue = jResp.stringOf("fields.ShippingStreet.value");
    const char *SicDisplayValue = jResp.stringOf("fields.Sic.displayValue");
    const char *SicValue = jResp.stringOf("fields.Sic.value");
    const char *SiteDisplayValue = jResp.stringOf("fields.Site.displayValue");
    const char *SiteValue = jResp.stringOf("fields.Site.value");
    const char *TickerSymbolDisplayValue = jResp.stringOf("fields.TickerSymbol.displayValue");
    const char *TickerSymbolValue = jResp.stringOf("fields.TickerSymbol.value");
    const char *TypeDisplayValue = jResp.stringOf("fields.Type.displayValue");
    const char *TypeValue = jResp.stringOf("fields.Type.value");
    const char *UpsellOpportunity__cDisplayValue = jResp.stringOf("fields.UpsellOpportunity__c.displayValue");
    const char *UpsellOpportunity__cValue = jResp.stringOf("fields.UpsellOpportunity__c.value");
    const char *WebsiteDisplayValue = jResp.stringOf("fields.Website.displayValue");
    const char *WebsiteValue = jResp.stringOf("fields.Website.value");
    const char *id = jResp.stringOf("id");
    const char *lastModifiedById = jResp.stringOf("lastModifiedById");
    const char *lastModifiedDate = jResp.stringOf("lastModifiedDate");
    const char *recordTypeId = jResp.stringOf("recordTypeId");
    const char *recordTypeInfo = jResp.stringOf("recordTypeInfo");
    const char *systemModstamp = jResp.stringOf("systemModstamp");
    int weakEtag = jResp.IntOf("weakEtag");
    }

Curl Command

curl -X POST
	-H "Authorization: Bearer <access_token>"
	-H "Content-Type: application/json"
	-d '{
    "allowSaveOnDuplicate": false,
    "apiName": "Object",
    "fields": {
        "FieldAPIName": "FieldValue"
    }
}'
https://domain.com/services/data/v{{version}}/ui-api/records

Postman Collection Item JSON

{
  "name": "Create a Record",
  "event": [
    {
      "listen": "prerequest",
      "script": {
        "exec": [
          ""
        ],
        "type": "text/javascript"
      }
    }
  ],
  "request": {
    "method": "POST",
    "header": [
      {
        "key": "Content-Type",
        "value": "application/json",
        "type": "text"
      }
    ],
    "body": {
      "mode": "raw",
      "raw": "{\n    \"allowSaveOnDuplicate\": false,\n    \"apiName\": \"Object\",\n    \"fields\": {\n        \"FieldAPIName\": \"FieldValue\"\n    }\n}"
    },
    "url": {
      "raw": "{{_endpoint}}/services/data/v{{version}}/ui-api/records",
      "host": [
        "{{_endpoint}}"
      ],
      "path": [
        "services",
        "data",
        "v{{version}}",
        "ui-api",
        "records"
      ]
    },
    "description": "Create a record. First, make a request to the Clone Record Default or Create Record Default resources to get the default metadata and data for the record.\nAs of API version 43.0, if you pass read-only fields in a request body, the response is an Error with Output."
  },
  "response": [
    {
      "name": "Create a Record",
      "originalRequest": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "body": {
          "mode": "raw",
          "raw": "{\n    \"allowSaveOnDuplicate\": false,\n    \"apiName\": \"Account\",\n    \"fields\": {\n        \"Name\": \"My New Account\"\n    }\n}"
        },
        "url": {
          "raw": "{{_endpoint}}/services/data/v{{version}}/ui-api/records",
          "host": [
            "{{_endpoint}}"
          ],
          "path": [
            "services",
            "data",
            "v{{version}}",
            "ui-api",
            "records"
          ]
        }
      },
      "status": "Created",
      "code": 201,
      "_postman_previewlanguage": "json",
      "header": [
        {
          "key": "Date",
          "value": "Wed, 27 Sep 2023 16:01:13 GMT"
        },
        {
          "key": "Strict-Transport-Security",
          "value": "max-age=63072000; includeSubDomains"
        },
        {
          "key": "X-Content-Type-Options",
          "value": "nosniff"
        },
        {
          "key": "X-XSS-Protection",
          "value": "1; mode=block"
        },
        {
          "key": "X-Robots-Tag",
          "value": "none"
        },
        {
          "key": "Cache-Control",
          "value": "no-cache,must-revalidate,max-age=0,no-store,private"
        },
        {
          "key": "ETag",
          "value": "\"057ae0953591faed613c5e19a086f7a8--gzip\""
        },
        {
          "key": "Content-Type",
          "value": "application/json;charset=UTF-8"
        },
        {
          "key": "Vary",
          "value": "Accept-Encoding"
        },
        {
          "key": "Content-Encoding",
          "value": "gzip"
        },
        {
          "key": "Transfer-Encoding",
          "value": "chunked"
        }
      ],
      "cookie": [
      ],
      "body": "{\n    \"apiName\": \"Account\",\n    \"childRelationships\": {},\n    \"eTag\": \"057ae0953591faed613c5e19a086f7a8\",\n    \"fields\": {\n        \"AccountNumber\": {\n            \"displayValue\": null,\n            \"value\": null\n        },\n        \"Active__c\": {\n            \"displayValue\": null,\n            \"value\": null\n        },\n        \"AnnualRevenue\": {\n            \"displayValue\": null,\n            \"value\": null\n        },\n        \"BillingCity\": {\n            \"displayValue\": null,\n            \"value\": null\n        },\n        \"BillingCountry\": {\n            \"displayValue\": null,\n            \"value\": null\n        },\n        \"BillingPostalCode\": {\n            \"displayValue\": null,\n            \"value\": null\n        },\n        \"BillingState\": {\n            \"displayValue\": null,\n            \"value\": null\n        },\n        \"BillingStreet\": {\n            \"displayValue\": null,\n            \"value\": null\n        },\n        \"CreatedBy\": {\n            \"displayValue\": \"Philippe Ozil\",\n            \"value\": {\n                \"apiName\": \"User\",\n                \"childRelationships\": {},\n                \"eTag\": \"cc07f7ef1b08ddbd75074c69512dd388\",\n                \"fields\": {\n                    \"Id\": {\n                        \"displayValue\": null,\n                        \"value\": \"005B0000003TOI6IAO\"\n                    },\n                    \"Name\": {\n                        \"displayValue\": null,\n                        \"value\": \"Philippe Ozil\"\n                    }\n                },\n                \"id\": \"005B0000003TOI6IAO\",\n                \"lastModifiedById\": \"005B0000003TOI6IAO\",\n                \"lastModifiedDate\": \"2023-02-02T10:32:12.000Z\",\n                \"recordTypeId\": null,\n                \"recordTypeInfo\": null,\n                \"systemModstamp\": \"2023-09-27T15:47:51.000Z\",\n                \"weakEtag\": 1695829671000\n            }\n        },\n        \"CreatedById\": {\n            \"displayValue\": null,\n            \"value\": \"005B0000003TOI6IAO\"\n        },\n        \"CreatedDate\": {\n            \"displayValue\": \"27/09/2023 18:01\",\n            \"value\": \"2023-09-27T16:01:14.000Z\"\n        },\n        \"CustomerPriority__c\": {\n            \"displayValue\": null,\n            \"value\": null\n        },\n        \"Description\": {\n            \"displayValue\": null,\n            \"value\": null\n        },\n        \"Fax\": {\n            \"displayValue\": null,\n            \"value\": null\n        },\n        \"Industry\": {\n            \"displayValue\": null,\n            \"value\": null\n        },\n        \"LastModifiedBy\": {\n            \"displayValue\": \"Philippe Ozil\",\n            \"value\": {\n                \"apiName\": \"User\",\n                \"childRelationships\": {},\n                \"eTag\": \"cc07f7ef1b08ddbd75074c69512dd388\",\n                \"fields\": {\n                    \"Id\": {\n                        \"displayValue\": null,\n                        \"value\": \"005B0000003TOI6IAO\"\n                    },\n                    \"Name\": {\n                        \"displayValue\": null,\n                        \"value\": \"Philippe Ozil\"\n                    }\n                },\n                \"id\": \"005B0000003TOI6IAO\",\n                \"lastModifiedById\": \"005B0000003TOI6IAO\",\n                \"lastModifiedDate\": \"2023-02-02T10:32:12.000Z\",\n                \"recordTypeId\": null,\n                \"recordTypeInfo\": null,\n                \"systemModstamp\": \"2023-09-27T15:47:51.000Z\",\n                \"weakEtag\": 1695829671000\n            }\n        },\n        \"LastModifiedById\": {\n            \"displayValue\": null,\n            \"value\": \"005B0000003TOI6IAO\"\n        },\n        \"LastModifiedDate\": {\n            \"displayValue\": \"27/09/2023 18:01\",\n            \"value\": \"2023-09-27T16:01:14.000Z\"\n        },\n        \"Name\": {\n            \"displayValue\": null,\n            \"value\": \"My New Account\"\n        },\n        \"NumberOfEmployees\": {\n            \"displayValue\": null,\n            \"value\": null\n        },\n        \"NumberofLocations__c\": {\n            \"displayValue\": null,\n            \"value\": null\n        },\n        \"Owner\": {\n            \"displayValue\": \"Philippe Ozil\",\n            \"value\": {\n                \"apiName\": \"User\",\n                \"childRelationships\": {},\n                \"eTag\": \"cc07f7ef1b08ddbd75074c69512dd388\",\n                \"fields\": {\n                    \"Id\": {\n                        \"displayValue\": null,\n                        \"value\": \"005B0000003TOI6IAO\"\n                    },\n                    \"Name\": {\n                        \"displayValue\": null,\n                        \"value\": \"Philippe Ozil\"\n                    }\n                },\n                \"id\": \"005B0000003TOI6IAO\",\n                \"lastModifiedById\": \"005B0000003TOI6IAO\",\n                \"lastModifiedDate\": \"2023-02-02T10:32:12.000Z\",\n                \"recordTypeId\": null,\n                \"recordTypeInfo\": null,\n                \"systemModstamp\": \"2023-09-27T15:47:51.000Z\",\n                \"weakEtag\": 1695829671000\n            }\n        },\n        \"OwnerId\": {\n            \"displayValue\": null,\n            \"value\": \"005B0000003TOI6IAO\"\n        },\n        \"Ownership\": {\n            \"displayValue\": null,\n            \"value\": null\n        },\n        \"Parent\": {\n            \"displayValue\": null,\n            \"value\": null\n        },\n        \"ParentId\": {\n            \"displayValue\": null,\n            \"value\": null\n        },\n        \"Phone\": {\n            \"displayValue\": null,\n            \"value\": null\n        },\n        \"Rating\": {\n            \"displayValue\": null,\n            \"value\": null\n        },\n        \"SLAExpirationDate__c\": {\n            \"displayValue\": null,\n            \"value\": null\n        },\n        \"SLASerialNumber__c\": {\n            \"displayValue\": null,\n            \"value\": null\n        },\n        \"SLA__c\": {\n            \"displayValue\": null,\n            \"value\": null\n        },\n        \"ShippingCity\": {\n            \"displayValue\": null,\n            \"value\": null\n        },\n        \"ShippingCountry\": {\n            \"displayValue\": null,\n            \"value\": null\n        },\n        \"ShippingPostalCode\": {\n            \"displayValue\": null,\n            \"value\": null\n        },\n        \"ShippingState\": {\n            \"displayValue\": null,\n            \"value\": null\n        },\n        \"ShippingStreet\": {\n            \"displayValue\": null,\n            \"value\": null\n        },\n        \"Sic\": {\n            \"displayValue\": null,\n            \"value\": null\n        },\n        \"Site\": {\n            \"displayValue\": null,\n            \"value\": null\n        },\n        \"TickerSymbol\": {\n            \"displayValue\": null,\n            \"value\": null\n        },\n        \"Type\": {\n            \"displayValue\": null,\n            \"value\": null\n        },\n        \"UpsellOpportunity__c\": {\n            \"displayValue\": null,\n            \"value\": null\n        },\n        \"Website\": {\n            \"displayValue\": null,\n            \"value\": null\n        }\n    },\n    \"id\": \"0011Q00002Z2P5jQAF\",\n    \"lastModifiedById\": \"005B0000003TOI6IAO\",\n    \"lastModifiedDate\": \"2023-09-27T16:01:14.000Z\",\n    \"recordTypeId\": \"012000000000000AAA\",\n    \"recordTypeInfo\": null,\n    \"systemModstamp\": \"2023-09-27T16:01:14.000Z\",\n    \"weakEtag\": 1695830474000\n}"
    }
  ]
}