Chilkat Online Tools

TCL / Salesforce Platform APIs / Create a Record

Back to Collection Items

load ./chilkat.dll

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

set http [new_CkHttp]

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

set json [new_CkJsonObject]

CkJsonObject_UpdateBool $json "allowSaveOnDuplicate" 0
CkJsonObject_UpdateString $json "apiName" "Object"
CkJsonObject_UpdateString $json "fields.FieldAPIName" "FieldValue"

# Adds the "Authorization: Bearer <access_token>" header.
CkHttp_put_AuthToken $http "<access_token>"
CkHttp_SetRequestHeader $http "Content-Type" "application/json"

# resp is a CkHttpResponse
set resp [CkHttp_PostJson3 $http "https://domain.com/services/data/v{{version}}/ui-api/records" "application/json" $json]
if {[CkHttp_get_LastMethodSuccess $http] == 0} then {
    puts [CkHttp_lastErrorText $http]
    delete_CkHttp $http
    delete_CkJsonObject $json
    exit
}

set sbResponseBody [new_CkStringBuilder]

CkHttpResponse_GetBodySb $resp $sbResponseBody

set jResp [new_CkJsonObject]

CkJsonObject_LoadSb $jResp $sbResponseBody
CkJsonObject_put_EmitCompact $jResp 0

puts "Response Body:"
puts [CkJsonObject_emit $jResp]

set respStatusCode [CkHttpResponse_get_StatusCode $resp]
puts "Response Status Code = $respStatusCode"
if {$respStatusCode >= 400} then {
    puts "Response Header:"
    puts [CkHttpResponse_header $resp]
    puts "Failed."
    delete_CkHttpResponse $resp

    delete_CkHttp $http
    delete_CkJsonObject $json
    delete_CkStringBuilder $sbResponseBody
    delete_CkJsonObject $jResp
    exit
}

delete_CkHttpResponse $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

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

delete_CkHttp $http
delete_CkJsonObject $json
delete_CkStringBuilder $sbResponseBody
delete_CkJsonObject $jResp

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