Chilkat Online Tools

autoit / Salesforce Platform APIs / Create a Record

Back to Collection Items

; This example assumes the Chilkat API to have been previously unlocked.
; See Global Unlock Sample for sample code.

$oHttp = ObjCreate("Chilkat.Http")
Local $bSuccess

; 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"
;   }
; }

$oJson = ObjCreate("Chilkat.JsonObject")
$oJson.UpdateBool("allowSaveOnDuplicate",False)
$oJson.UpdateString("apiName","Object")
$oJson.UpdateString("fields.FieldAPIName","FieldValue")

; Adds the "Authorization: Bearer <access_token>" header.
$oHttp.AuthToken = "<access_token>"
$oHttp.SetRequestHeader "Content-Type","application/json"

Local $oResp = $oHttp.PostJson3("https://domain.com/services/data/v{{version}}/ui-api/records","application/json",$oJson)
If ($oHttp.LastMethodSuccess = False) Then
    ConsoleWrite($oHttp.LastErrorText & @CRLF)
    Exit
EndIf

$oSbResponseBody = ObjCreate("Chilkat.StringBuilder")
$oResp.GetBodySb($oSbResponseBody)

$oJResp = ObjCreate("Chilkat.JsonObject")
$oJResp.LoadSb($oSbResponseBody)
$oJResp.EmitCompact = False

ConsoleWrite("Response Body:" & @CRLF)
ConsoleWrite($oJResp.Emit() & @CRLF)

Local $iRespStatusCode = $oResp.StatusCode
ConsoleWrite("Response Status Code = " & $iRespStatusCode & @CRLF)
If ($iRespStatusCode >= 400) Then
    ConsoleWrite("Response Header:" & @CRLF)
    ConsoleWrite($oResp.Header & @CRLF)
    ConsoleWrite("Failed." & @CRLF)

    Exit
EndIf

; 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

Local $sApiName = $oJResp.StringOf("apiName")
Local $sETag = $oJResp.StringOf("eTag")
Local $sDisplayValue = $oJResp.StringOf("fields.AccountNumber.displayValue")
Local $sValue = $oJResp.StringOf("fields.AccountNumber.value")
Local $sActive__cDisplayValue = $oJResp.StringOf("fields.Active__c.displayValue")
Local $sActive__cValue = $oJResp.StringOf("fields.Active__c.value")
Local $sAnnualRevenueDisplayValue = $oJResp.StringOf("fields.AnnualRevenue.displayValue")
Local $sAnnualRevenueValue = $oJResp.StringOf("fields.AnnualRevenue.value")
Local $sBillingCityDisplayValue = $oJResp.StringOf("fields.BillingCity.displayValue")
Local $sBillingCityValue = $oJResp.StringOf("fields.BillingCity.value")
Local $sBillingCountryDisplayValue = $oJResp.StringOf("fields.BillingCountry.displayValue")
Local $sBillingCountryValue = $oJResp.StringOf("fields.BillingCountry.value")
Local $sBillingPostalCodeDisplayValue = $oJResp.StringOf("fields.BillingPostalCode.displayValue")
Local $sBillingPostalCodeValue = $oJResp.StringOf("fields.BillingPostalCode.value")
Local $sBillingStateDisplayValue = $oJResp.StringOf("fields.BillingState.displayValue")
Local $sBillingStateValue = $oJResp.StringOf("fields.BillingState.value")
Local $sBillingStreetDisplayValue = $oJResp.StringOf("fields.BillingStreet.displayValue")
Local $sBillingStreetValue = $oJResp.StringOf("fields.BillingStreet.value")
Local $sCreatedByDisplayValue = $oJResp.StringOf("fields.CreatedBy.displayValue")
Local $sApiName = $oJResp.StringOf("fields.CreatedBy.value.apiName")
Local $sETag = $oJResp.StringOf("fields.CreatedBy.value.eTag")
Local $sIdDisplayValue = $oJResp.StringOf("fields.CreatedBy.value.fields.Id.displayValue")
Local $sIdValue = $oJResp.StringOf("fields.CreatedBy.value.fields.Id.value")
Local $sNameDisplayValue = $oJResp.StringOf("fields.CreatedBy.value.fields.Name.displayValue")
Local $sNameValue = $oJResp.StringOf("fields.CreatedBy.value.fields.Name.value")
Local $sId = $oJResp.StringOf("fields.CreatedBy.value.id")
Local $sLastModifiedById = $oJResp.StringOf("fields.CreatedBy.value.lastModifiedById")
Local $sLastModifiedDate = $oJResp.StringOf("fields.CreatedBy.value.lastModifiedDate")
Local $sRecordTypeId = $oJResp.StringOf("fields.CreatedBy.value.recordTypeId")
Local $sRecordTypeInfo = $oJResp.StringOf("fields.CreatedBy.value.recordTypeInfo")
Local $sSystemModstamp = $oJResp.StringOf("fields.CreatedBy.value.systemModstamp")
Local $iWeakEtag = $oJResp.IntOf("fields.CreatedBy.value.weakEtag")
Local $sCreatedByIdDisplayValue = $oJResp.StringOf("fields.CreatedById.displayValue")
Local $sCreatedByIdValue = $oJResp.StringOf("fields.CreatedById.value")
Local $sCreatedDateDisplayValue = $oJResp.StringOf("fields.CreatedDate.displayValue")
Local $sCreatedDateValue = $oJResp.StringOf("fields.CreatedDate.value")
Local $sCustomerPriority__cDisplayValue = $oJResp.StringOf("fields.CustomerPriority__c.displayValue")
Local $sCustomerPriority__cValue = $oJResp.StringOf("fields.CustomerPriority__c.value")
Local $sDescriptionDisplayValue = $oJResp.StringOf("fields.Description.displayValue")
Local $sDescriptionValue = $oJResp.StringOf("fields.Description.value")
Local $sFaxDisplayValue = $oJResp.StringOf("fields.Fax.displayValue")
Local $sFaxValue = $oJResp.StringOf("fields.Fax.value")
Local $sIndustryDisplayValue = $oJResp.StringOf("fields.Industry.displayValue")
Local $sIndustryValue = $oJResp.StringOf("fields.Industry.value")
Local $sLastModifiedByDisplayValue = $oJResp.StringOf("fields.LastModifiedBy.displayValue")
Local $sValueApiName = $oJResp.StringOf("fields.LastModifiedBy.value.apiName")
Local $sValueETag = $oJResp.StringOf("fields.LastModifiedBy.value.eTag")
$sIdDisplayValue = $oJResp.StringOf("fields.LastModifiedBy.value.fields.Id.displayValue")
$sIdValue = $oJResp.StringOf("fields.LastModifiedBy.value.fields.Id.value")
$sNameDisplayValue = $oJResp.StringOf("fields.LastModifiedBy.value.fields.Name.displayValue")
$sNameValue = $oJResp.StringOf("fields.LastModifiedBy.value.fields.Name.value")
Local $sValueId = $oJResp.StringOf("fields.LastModifiedBy.value.id")
Local $sValueLastModifiedById = $oJResp.StringOf("fields.LastModifiedBy.value.lastModifiedById")
Local $sValueLastModifiedDate = $oJResp.StringOf("fields.LastModifiedBy.value.lastModifiedDate")
Local $sValueRecordTypeId = $oJResp.StringOf("fields.LastModifiedBy.value.recordTypeId")
Local $sValueRecordTypeInfo = $oJResp.StringOf("fields.LastModifiedBy.value.recordTypeInfo")
Local $sValueSystemModstamp = $oJResp.StringOf("fields.LastModifiedBy.value.systemModstamp")
Local $iValueWeakEtag = $oJResp.IntOf("fields.LastModifiedBy.value.weakEtag")
Local $sLastModifiedByIdDisplayValue = $oJResp.StringOf("fields.LastModifiedById.displayValue")
Local $sLastModifiedByIdValue = $oJResp.StringOf("fields.LastModifiedById.value")
Local $sLastModifiedDateDisplayValue = $oJResp.StringOf("fields.LastModifiedDate.displayValue")
Local $sLastModifiedDateValue = $oJResp.StringOf("fields.LastModifiedDate.value")
$sNameDisplayValue = $oJResp.StringOf("fields.Name.displayValue")
$sNameValue = $oJResp.StringOf("fields.Name.value")
Local $sNumberOfEmployeesDisplayValue = $oJResp.StringOf("fields.NumberOfEmployees.displayValue")
Local $sNumberOfEmployeesValue = $oJResp.StringOf("fields.NumberOfEmployees.value")
Local $sNumberofLocations__cDisplayValue = $oJResp.StringOf("fields.NumberofLocations__c.displayValue")
Local $sNumberofLocations__cValue = $oJResp.StringOf("fields.NumberofLocations__c.value")
Local $sOwnerDisplayValue = $oJResp.StringOf("fields.Owner.displayValue")
$sValueApiName = $oJResp.StringOf("fields.Owner.value.apiName")
$sValueETag = $oJResp.StringOf("fields.Owner.value.eTag")
$sIdDisplayValue = $oJResp.StringOf("fields.Owner.value.fields.Id.displayValue")
$sIdValue = $oJResp.StringOf("fields.Owner.value.fields.Id.value")
$sNameDisplayValue = $oJResp.StringOf("fields.Owner.value.fields.Name.displayValue")
$sNameValue = $oJResp.StringOf("fields.Owner.value.fields.Name.value")
$sValueId = $oJResp.StringOf("fields.Owner.value.id")
$sValueLastModifiedById = $oJResp.StringOf("fields.Owner.value.lastModifiedById")
$sValueLastModifiedDate = $oJResp.StringOf("fields.Owner.value.lastModifiedDate")
$sValueRecordTypeId = $oJResp.StringOf("fields.Owner.value.recordTypeId")
$sValueRecordTypeInfo = $oJResp.StringOf("fields.Owner.value.recordTypeInfo")
$sValueSystemModstamp = $oJResp.StringOf("fields.Owner.value.systemModstamp")
$iValueWeakEtag = $oJResp.IntOf("fields.Owner.value.weakEtag")
Local $sOwnerIdDisplayValue = $oJResp.StringOf("fields.OwnerId.displayValue")
Local $sOwnerIdValue = $oJResp.StringOf("fields.OwnerId.value")
Local $sOwnershipDisplayValue = $oJResp.StringOf("fields.Ownership.displayValue")
Local $sOwnershipValue = $oJResp.StringOf("fields.Ownership.value")
Local $sParentDisplayValue = $oJResp.StringOf("fields.Parent.displayValue")
Local $sParentValue = $oJResp.StringOf("fields.Parent.value")
Local $sParentIdDisplayValue = $oJResp.StringOf("fields.ParentId.displayValue")
Local $sParentIdValue = $oJResp.StringOf("fields.ParentId.value")
Local $sPhoneDisplayValue = $oJResp.StringOf("fields.Phone.displayValue")
Local $sPhoneValue = $oJResp.StringOf("fields.Phone.value")
Local $sRatingDisplayValue = $oJResp.StringOf("fields.Rating.displayValue")
Local $sRatingValue = $oJResp.StringOf("fields.Rating.value")
Local $sSLAExpirationDate__cDisplayValue = $oJResp.StringOf("fields.SLAExpirationDate__c.displayValue")
Local $sSLAExpirationDate__cValue = $oJResp.StringOf("fields.SLAExpirationDate__c.value")
Local $sSLASerialNumber__cDisplayValue = $oJResp.StringOf("fields.SLASerialNumber__c.displayValue")
Local $sSLASerialNumber__cValue = $oJResp.StringOf("fields.SLASerialNumber__c.value")
Local $sSLA__cDisplayValue = $oJResp.StringOf("fields.SLA__c.displayValue")
Local $sSLA__cValue = $oJResp.StringOf("fields.SLA__c.value")
Local $sShippingCityDisplayValue = $oJResp.StringOf("fields.ShippingCity.displayValue")
Local $sShippingCityValue = $oJResp.StringOf("fields.ShippingCity.value")
Local $sShippingCountryDisplayValue = $oJResp.StringOf("fields.ShippingCountry.displayValue")
Local $sShippingCountryValue = $oJResp.StringOf("fields.ShippingCountry.value")
Local $sShippingPostalCodeDisplayValue = $oJResp.StringOf("fields.ShippingPostalCode.displayValue")
Local $sShippingPostalCodeValue = $oJResp.StringOf("fields.ShippingPostalCode.value")
Local $sShippingStateDisplayValue = $oJResp.StringOf("fields.ShippingState.displayValue")
Local $sShippingStateValue = $oJResp.StringOf("fields.ShippingState.value")
Local $sShippingStreetDisplayValue = $oJResp.StringOf("fields.ShippingStreet.displayValue")
Local $sShippingStreetValue = $oJResp.StringOf("fields.ShippingStreet.value")
Local $sSicDisplayValue = $oJResp.StringOf("fields.Sic.displayValue")
Local $sSicValue = $oJResp.StringOf("fields.Sic.value")
Local $sSiteDisplayValue = $oJResp.StringOf("fields.Site.displayValue")
Local $sSiteValue = $oJResp.StringOf("fields.Site.value")
Local $sTickerSymbolDisplayValue = $oJResp.StringOf("fields.TickerSymbol.displayValue")
Local $sTickerSymbolValue = $oJResp.StringOf("fields.TickerSymbol.value")
Local $sTypeDisplayValue = $oJResp.StringOf("fields.Type.displayValue")
Local $sTypeValue = $oJResp.StringOf("fields.Type.value")
Local $sUpsellOpportunity__cDisplayValue = $oJResp.StringOf("fields.UpsellOpportunity__c.displayValue")
Local $sUpsellOpportunity__cValue = $oJResp.StringOf("fields.UpsellOpportunity__c.value")
Local $sWebsiteDisplayValue = $oJResp.StringOf("fields.Website.displayValue")
Local $sWebsiteValue = $oJResp.StringOf("fields.Website.value")
Local $sId = $oJResp.StringOf("id")
Local $sLastModifiedById = $oJResp.StringOf("lastModifiedById")
Local $sLastModifiedDate = $oJResp.StringOf("lastModifiedDate")
Local $sRecordTypeId = $oJResp.StringOf("recordTypeId")
Local $sRecordTypeInfo = $oJResp.StringOf("recordTypeInfo")
Local $systemModstamp = $oJResp.StringOf("systemModstamp")
Local $iWeakEtag = $oJResp.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}"
    }
  ]
}