Back to Collection Items
' This example assumes the Chilkat API to have been previously unlocked.
' See Global Unlock Sample for sample code.
Dim http As New ChilkatHttp
Dim success As Long
' 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,
' "fields": {
' "FieldAPIName": "FieldValue"
' }
' }
Dim json As New ChilkatJsonObject
success = json.UpdateBool("allowSaveOnDuplicate",0)
success = json.UpdateString("fields.FieldAPIName","FieldValue")
' Adds the "Authorization: Bearer <access_token>" header.
http.AuthToken = "<access_token>"
http.SetRequestHeader "Content-Type","application/json"
Dim sbRequestBody As New ChilkatStringBuilder
success = json.EmitSb(sbRequestBody)
Dim resp As ChilkatHttpResponse
Set resp = http.PTextSb("PATCH","https://domain.com/services/data/v{{version}}/ui-api/records/:RECORD_ID",sbRequestBody,"utf-8","application/json",0,0)
If (http.LastMethodSuccess = 0) Then
Debug.Print http.LastErrorText
Exit Sub
End If
Dim sbResponseBody As New ChilkatStringBuilder
success = resp.GetBodySb(sbResponseBody)
Dim jResp As New ChilkatJsonObject
success = jResp.LoadSb(sbResponseBody)
jResp.EmitCompact = 0
Debug.Print "Response Body:"
Debug.Print jResp.Emit()
Dim respStatusCode As Long
respStatusCode = resp.StatusCode
Debug.Print "Response Status Code = " & respStatusCode
If (respStatusCode >= 400) Then
Debug.Print "Response Header:"
Debug.Print resp.Header
Debug.Print "Failed."
Exit Sub
End If
' Sample JSON response:
' (Sample code for parsing the JSON response is shown below)
' {
' "apiName": "Account",
' "childRelationships": {},
' "eTag": "1be6f040e46732e79a0999d6fea9fe7d",
' "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:04",
' "value": "2023-09-27T16:04:41.000Z"
' },
' "Name": {
' "displayValue": null,
' "value": "My Renamed 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:04:41.000Z",
' "recordTypeId": "012000000000000AAA",
' "recordTypeInfo": null,
' "systemModstamp": "2023-09-27T16:04:41.000Z",
' "weakEtag": 1695830681000
' }
' Sample code for parsing the JSON response...
' Use this online tool to generate parsing code from sample JSON: Generate JSON Parsing Code
Dim apiName As String
apiName = jResp.StringOf("apiName")
Dim eTag As String
eTag = jResp.StringOf("eTag")
Dim DisplayValue As String
DisplayValue = jResp.StringOf("fields.AccountNumber.displayValue")
Dim Value As String
Value = jResp.StringOf("fields.AccountNumber.value")
Dim Active__cDisplayValue As String
Active__cDisplayValue = jResp.StringOf("fields.Active__c.displayValue")
Dim Active__cValue As String
Active__cValue = jResp.StringOf("fields.Active__c.value")
Dim AnnualRevenueDisplayValue As String
AnnualRevenueDisplayValue = jResp.StringOf("fields.AnnualRevenue.displayValue")
Dim AnnualRevenueValue As String
AnnualRevenueValue = jResp.StringOf("fields.AnnualRevenue.value")
Dim BillingCityDisplayValue As String
BillingCityDisplayValue = jResp.StringOf("fields.BillingCity.displayValue")
Dim BillingCityValue As String
BillingCityValue = jResp.StringOf("fields.BillingCity.value")
Dim BillingCountryDisplayValue As String
BillingCountryDisplayValue = jResp.StringOf("fields.BillingCountry.displayValue")
Dim BillingCountryValue As String
BillingCountryValue = jResp.StringOf("fields.BillingCountry.value")
Dim BillingPostalCodeDisplayValue As String
BillingPostalCodeDisplayValue = jResp.StringOf("fields.BillingPostalCode.displayValue")
Dim BillingPostalCodeValue As String
BillingPostalCodeValue = jResp.StringOf("fields.BillingPostalCode.value")
Dim BillingStateDisplayValue As String
BillingStateDisplayValue = jResp.StringOf("fields.BillingState.displayValue")
Dim BillingStateValue As String
BillingStateValue = jResp.StringOf("fields.BillingState.value")
Dim BillingStreetDisplayValue As String
BillingStreetDisplayValue = jResp.StringOf("fields.BillingStreet.displayValue")
Dim BillingStreetValue As String
BillingStreetValue = jResp.StringOf("fields.BillingStreet.value")
Dim CreatedByDisplayValue As String
CreatedByDisplayValue = jResp.StringOf("fields.CreatedBy.displayValue")
Dim ApiName As String
ApiName = jResp.StringOf("fields.CreatedBy.value.apiName")
Dim ETag As String
ETag = jResp.StringOf("fields.CreatedBy.value.eTag")
Dim IdDisplayValue As String
IdDisplayValue = jResp.StringOf("fields.CreatedBy.value.fields.Id.displayValue")
Dim IdValue As String
IdValue = jResp.StringOf("fields.CreatedBy.value.fields.Id.value")
Dim NameDisplayValue As String
NameDisplayValue = jResp.StringOf("fields.CreatedBy.value.fields.Name.displayValue")
Dim NameValue As String
NameValue = jResp.StringOf("fields.CreatedBy.value.fields.Name.value")
Dim Id As String
Id = jResp.StringOf("fields.CreatedBy.value.id")
Dim LastModifiedById As String
LastModifiedById = jResp.StringOf("fields.CreatedBy.value.lastModifiedById")
Dim LastModifiedDate As String
LastModifiedDate = jResp.StringOf("fields.CreatedBy.value.lastModifiedDate")
Dim RecordTypeId As String
RecordTypeId = jResp.StringOf("fields.CreatedBy.value.recordTypeId")
Dim RecordTypeInfo As String
RecordTypeInfo = jResp.StringOf("fields.CreatedBy.value.recordTypeInfo")
Dim SystemModstamp As String
SystemModstamp = jResp.StringOf("fields.CreatedBy.value.systemModstamp")
Dim WeakEtag As Long
WeakEtag = jResp.IntOf("fields.CreatedBy.value.weakEtag")
Dim CreatedByIdDisplayValue As String
CreatedByIdDisplayValue = jResp.StringOf("fields.CreatedById.displayValue")
Dim CreatedByIdValue As String
CreatedByIdValue = jResp.StringOf("fields.CreatedById.value")
Dim CreatedDateDisplayValue As String
CreatedDateDisplayValue = jResp.StringOf("fields.CreatedDate.displayValue")
Dim CreatedDateValue As String
CreatedDateValue = jResp.StringOf("fields.CreatedDate.value")
Dim CustomerPriority__cDisplayValue As String
CustomerPriority__cDisplayValue = jResp.StringOf("fields.CustomerPriority__c.displayValue")
Dim CustomerPriority__cValue As String
CustomerPriority__cValue = jResp.StringOf("fields.CustomerPriority__c.value")
Dim DescriptionDisplayValue As String
DescriptionDisplayValue = jResp.StringOf("fields.Description.displayValue")
Dim DescriptionValue As String
DescriptionValue = jResp.StringOf("fields.Description.value")
Dim FaxDisplayValue As String
FaxDisplayValue = jResp.StringOf("fields.Fax.displayValue")
Dim FaxValue As String
FaxValue = jResp.StringOf("fields.Fax.value")
Dim IndustryDisplayValue As String
IndustryDisplayValue = jResp.StringOf("fields.Industry.displayValue")
Dim IndustryValue As String
IndustryValue = jResp.StringOf("fields.Industry.value")
Dim LastModifiedByDisplayValue As String
LastModifiedByDisplayValue = jResp.StringOf("fields.LastModifiedBy.displayValue")
Dim ValueApiName As String
ValueApiName = jResp.StringOf("fields.LastModifiedBy.value.apiName")
Dim ValueETag As String
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")
Dim ValueId As String
ValueId = jResp.StringOf("fields.LastModifiedBy.value.id")
Dim ValueLastModifiedById As String
ValueLastModifiedById = jResp.StringOf("fields.LastModifiedBy.value.lastModifiedById")
Dim ValueLastModifiedDate As String
ValueLastModifiedDate = jResp.StringOf("fields.LastModifiedBy.value.lastModifiedDate")
Dim ValueRecordTypeId As String
ValueRecordTypeId = jResp.StringOf("fields.LastModifiedBy.value.recordTypeId")
Dim ValueRecordTypeInfo As String
ValueRecordTypeInfo = jResp.StringOf("fields.LastModifiedBy.value.recordTypeInfo")
Dim ValueSystemModstamp As String
ValueSystemModstamp = jResp.StringOf("fields.LastModifiedBy.value.systemModstamp")
Dim ValueWeakEtag As Long
ValueWeakEtag = jResp.IntOf("fields.LastModifiedBy.value.weakEtag")
Dim LastModifiedByIdDisplayValue As String
LastModifiedByIdDisplayValue = jResp.StringOf("fields.LastModifiedById.displayValue")
Dim LastModifiedByIdValue As String
LastModifiedByIdValue = jResp.StringOf("fields.LastModifiedById.value")
Dim LastModifiedDateDisplayValue As String
LastModifiedDateDisplayValue = jResp.StringOf("fields.LastModifiedDate.displayValue")
Dim LastModifiedDateValue As String
LastModifiedDateValue = jResp.StringOf("fields.LastModifiedDate.value")
NameDisplayValue = jResp.StringOf("fields.Name.displayValue")
NameValue = jResp.StringOf("fields.Name.value")
Dim NumberOfEmployeesDisplayValue As String
NumberOfEmployeesDisplayValue = jResp.StringOf("fields.NumberOfEmployees.displayValue")
Dim NumberOfEmployeesValue As String
NumberOfEmployeesValue = jResp.StringOf("fields.NumberOfEmployees.value")
Dim NumberofLocations__cDisplayValue As String
NumberofLocations__cDisplayValue = jResp.StringOf("fields.NumberofLocations__c.displayValue")
Dim NumberofLocations__cValue As String
NumberofLocations__cValue = jResp.StringOf("fields.NumberofLocations__c.value")
Dim OwnerDisplayValue As String
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")
Dim OwnerIdDisplayValue As String
OwnerIdDisplayValue = jResp.StringOf("fields.OwnerId.displayValue")
Dim OwnerIdValue As String
OwnerIdValue = jResp.StringOf("fields.OwnerId.value")
Dim OwnershipDisplayValue As String
OwnershipDisplayValue = jResp.StringOf("fields.Ownership.displayValue")
Dim OwnershipValue As String
OwnershipValue = jResp.StringOf("fields.Ownership.value")
Dim ParentDisplayValue As String
ParentDisplayValue = jResp.StringOf("fields.Parent.displayValue")
Dim ParentValue As String
ParentValue = jResp.StringOf("fields.Parent.value")
Dim ParentIdDisplayValue As String
ParentIdDisplayValue = jResp.StringOf("fields.ParentId.displayValue")
Dim ParentIdValue As String
ParentIdValue = jResp.StringOf("fields.ParentId.value")
Dim PhoneDisplayValue As String
PhoneDisplayValue = jResp.StringOf("fields.Phone.displayValue")
Dim PhoneValue As String
PhoneValue = jResp.StringOf("fields.Phone.value")
Dim RatingDisplayValue As String
RatingDisplayValue = jResp.StringOf("fields.Rating.displayValue")
Dim RatingValue As String
RatingValue = jResp.StringOf("fields.Rating.value")
Dim SLAExpirationDate__cDisplayValue As String
SLAExpirationDate__cDisplayValue = jResp.StringOf("fields.SLAExpirationDate__c.displayValue")
Dim SLAExpirationDate__cValue As String
SLAExpirationDate__cValue = jResp.StringOf("fields.SLAExpirationDate__c.value")
Dim SLASerialNumber__cDisplayValue As String
SLASerialNumber__cDisplayValue = jResp.StringOf("fields.SLASerialNumber__c.displayValue")
Dim SLASerialNumber__cValue As String
SLASerialNumber__cValue = jResp.StringOf("fields.SLASerialNumber__c.value")
Dim SLA__cDisplayValue As String
SLA__cDisplayValue = jResp.StringOf("fields.SLA__c.displayValue")
Dim SLA__cValue As String
SLA__cValue = jResp.StringOf("fields.SLA__c.value")
Dim ShippingCityDisplayValue As String
ShippingCityDisplayValue = jResp.StringOf("fields.ShippingCity.displayValue")
Dim ShippingCityValue As String
ShippingCityValue = jResp.StringOf("fields.ShippingCity.value")
Dim ShippingCountryDisplayValue As String
ShippingCountryDisplayValue = jResp.StringOf("fields.ShippingCountry.displayValue")
Dim ShippingCountryValue As String
ShippingCountryValue = jResp.StringOf("fields.ShippingCountry.value")
Dim ShippingPostalCodeDisplayValue As String
ShippingPostalCodeDisplayValue = jResp.StringOf("fields.ShippingPostalCode.displayValue")
Dim ShippingPostalCodeValue As String
ShippingPostalCodeValue = jResp.StringOf("fields.ShippingPostalCode.value")
Dim ShippingStateDisplayValue As String
ShippingStateDisplayValue = jResp.StringOf("fields.ShippingState.displayValue")
Dim ShippingStateValue As String
ShippingStateValue = jResp.StringOf("fields.ShippingState.value")
Dim ShippingStreetDisplayValue As String
ShippingStreetDisplayValue = jResp.StringOf("fields.ShippingStreet.displayValue")
Dim ShippingStreetValue As String
ShippingStreetValue = jResp.StringOf("fields.ShippingStreet.value")
Dim SicDisplayValue As String
SicDisplayValue = jResp.StringOf("fields.Sic.displayValue")
Dim SicValue As String
SicValue = jResp.StringOf("fields.Sic.value")
Dim SiteDisplayValue As String
SiteDisplayValue = jResp.StringOf("fields.Site.displayValue")
Dim SiteValue As String
SiteValue = jResp.StringOf("fields.Site.value")
Dim TickerSymbolDisplayValue As String
TickerSymbolDisplayValue = jResp.StringOf("fields.TickerSymbol.displayValue")
Dim TickerSymbolValue As String
TickerSymbolValue = jResp.StringOf("fields.TickerSymbol.value")
Dim TypeDisplayValue As String
TypeDisplayValue = jResp.StringOf("fields.Type.displayValue")
Dim TypeValue As String
TypeValue = jResp.StringOf("fields.Type.value")
Dim UpsellOpportunity__cDisplayValue As String
UpsellOpportunity__cDisplayValue = jResp.StringOf("fields.UpsellOpportunity__c.displayValue")
Dim UpsellOpportunity__cValue As String
UpsellOpportunity__cValue = jResp.StringOf("fields.UpsellOpportunity__c.value")
Dim WebsiteDisplayValue As String
WebsiteDisplayValue = jResp.StringOf("fields.Website.displayValue")
Dim WebsiteValue As String
WebsiteValue = jResp.StringOf("fields.Website.value")
Dim id As String
id = jResp.StringOf("id")
Dim lastModifiedById As String
lastModifiedById = jResp.StringOf("lastModifiedById")
Dim lastModifiedDate As String
lastModifiedDate = jResp.StringOf("lastModifiedDate")
Dim recordTypeId As String
recordTypeId = jResp.StringOf("recordTypeId")
Dim recordTypeInfo As String
recordTypeInfo = jResp.StringOf("recordTypeInfo")
Dim systemModstamp As String
systemModstamp = jResp.StringOf("systemModstamp")
Dim weakEtag As Long
weakEtag = jResp.IntOf("weakEtag")
Curl Command
curl -X PATCH
-H "Authorization: Bearer <access_token>"
-H "Content-Type: application/json"
-d '{
"allowSaveOnDuplicate": false,
"fields": {
"FieldAPIName": "FieldValue"
}
}'
https://domain.com/services/data/v{{version}}/ui-api/records/:RECORD_ID
Postman Collection Item JSON
{
"name": "Update a Record",
"event": [
{
"listen": "prerequest",
"script": {
"exec": [
""
],
"type": "text/javascript"
}
}
],
"request": {
"method": "PATCH",
"header": [
{
"key": "Content-Type",
"type": "text",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"allowSaveOnDuplicate\": false,\n \"fields\": {\n \"FieldAPIName\": \"FieldValue\"\n }\n}"
},
"url": {
"raw": "{{_endpoint}}/services/data/v{{version}}/ui-api/records/:RECORD_ID",
"host": [
"{{_endpoint}}"
],
"path": [
"services",
"data",
"v{{version}}",
"ui-api",
"records",
":RECORD_ID"
],
"variable": [
{
"key": "RECORD_ID",
"value": "",
"description": "Record ID"
}
]
},
"description": "Update a record's data.\nUser Interface API enforces Salesforce validation rules. If a validation rule fails, the response is an Error with Output.\n\nWhen you make a PATCH request to update a record, make sure that the record hasn’t changed since the user started editing it. To find out whether it’s safe to save a record, pass the If-Modified-Since HTTP header in the request.\n\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": "Update a Record",
"originalRequest": {
"method": "PATCH",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"allowSaveOnDuplicate\": false,\n \"fields\": {\n \"Name\": \"My Renamed Account\"\n }\n}"
},
"url": {
"raw": "{{_endpoint}}/services/data/v{{version}}/ui-api/records/:RECORD_ID",
"host": [
"{{_endpoint}}"
],
"path": [
"services",
"data",
"v{{version}}",
"ui-api",
"records",
":RECORD_ID"
],
"variable": [
{
"key": "RECORD_ID",
"value": "0011Q00002Z2P5jQAF",
"description": "Record ID"
}
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Date",
"value": "Wed, 27 Sep 2023 16:04:41 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": "\"1be6f040e46732e79a0999d6fea9fe7d\""
},
{
"key": "Content-Type",
"value": "application/json;charset=UTF-8"
},
{
"key": "Transfer-Encoding",
"value": "chunked"
}
],
"cookie": [
],
"body": "{\n \"apiName\": \"Account\",\n \"childRelationships\": {},\n \"eTag\": \"1be6f040e46732e79a0999d6fea9fe7d\",\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:04\",\n \"value\": \"2023-09-27T16:04:41.000Z\"\n },\n \"Name\": {\n \"displayValue\": null,\n \"value\": \"My Renamed 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:04:41.000Z\",\n \"recordTypeId\": \"012000000000000AAA\",\n \"recordTypeInfo\": null,\n \"systemModstamp\": \"2023-09-27T16:04:41.000Z\",\n \"weakEtag\": 1695830681000\n}"
}
]
}