Back to Collection Items
var
http: TChilkatHttp;
success: Integer;
json: TChilkatJsonObject;
resp: IChilkatHttpResponse;
sbResponseBody: TChilkatStringBuilder;
jResp: TChilkatJsonObject;
respStatusCode: Integer;
apiName: WideString;
eTag: WideString;
DisplayValue: WideString;
Value: WideString;
Active__cDisplayValue: WideString;
Active__cValue: WideString;
AnnualRevenueDisplayValue: WideString;
AnnualRevenueValue: WideString;
BillingCityDisplayValue: WideString;
BillingCityValue: WideString;
BillingCountryDisplayValue: WideString;
BillingCountryValue: WideString;
BillingPostalCodeDisplayValue: WideString;
BillingPostalCodeValue: WideString;
BillingStateDisplayValue: WideString;
BillingStateValue: WideString;
BillingStreetDisplayValue: WideString;
BillingStreetValue: WideString;
CreatedByDisplayValue: WideString;
ApiName: WideString;
ETag: WideString;
IdDisplayValue: WideString;
IdValue: WideString;
NameDisplayValue: WideString;
NameValue: WideString;
Id: WideString;
LastModifiedById: WideString;
LastModifiedDate: WideString;
RecordTypeId: WideString;
RecordTypeInfo: WideString;
SystemModstamp: WideString;
WeakEtag: Integer;
CreatedByIdDisplayValue: WideString;
CreatedByIdValue: WideString;
CreatedDateDisplayValue: WideString;
CreatedDateValue: WideString;
CustomerPriority__cDisplayValue: WideString;
CustomerPriority__cValue: WideString;
DescriptionDisplayValue: WideString;
DescriptionValue: WideString;
FaxDisplayValue: WideString;
FaxValue: WideString;
IndustryDisplayValue: WideString;
IndustryValue: WideString;
LastModifiedByDisplayValue: WideString;
ValueApiName: WideString;
ValueETag: WideString;
ValueId: WideString;
ValueLastModifiedById: WideString;
ValueLastModifiedDate: WideString;
ValueRecordTypeId: WideString;
ValueRecordTypeInfo: WideString;
ValueSystemModstamp: WideString;
ValueWeakEtag: Integer;
LastModifiedByIdDisplayValue: WideString;
LastModifiedByIdValue: WideString;
LastModifiedDateDisplayValue: WideString;
LastModifiedDateValue: WideString;
NumberOfEmployeesDisplayValue: WideString;
NumberOfEmployeesValue: WideString;
NumberofLocations__cDisplayValue: WideString;
NumberofLocations__cValue: WideString;
OwnerDisplayValue: WideString;
OwnerIdDisplayValue: WideString;
OwnerIdValue: WideString;
OwnershipDisplayValue: WideString;
OwnershipValue: WideString;
ParentDisplayValue: WideString;
ParentValue: WideString;
ParentIdDisplayValue: WideString;
ParentIdValue: WideString;
PhoneDisplayValue: WideString;
PhoneValue: WideString;
RatingDisplayValue: WideString;
RatingValue: WideString;
SLAExpirationDate__cDisplayValue: WideString;
SLAExpirationDate__cValue: WideString;
SLASerialNumber__cDisplayValue: WideString;
SLASerialNumber__cValue: WideString;
SLA__cDisplayValue: WideString;
SLA__cValue: WideString;
ShippingCityDisplayValue: WideString;
ShippingCityValue: WideString;
ShippingCountryDisplayValue: WideString;
ShippingCountryValue: WideString;
ShippingPostalCodeDisplayValue: WideString;
ShippingPostalCodeValue: WideString;
ShippingStateDisplayValue: WideString;
ShippingStateValue: WideString;
ShippingStreetDisplayValue: WideString;
ShippingStreetValue: WideString;
SicDisplayValue: WideString;
SicValue: WideString;
SiteDisplayValue: WideString;
SiteValue: WideString;
TickerSymbolDisplayValue: WideString;
TickerSymbolValue: WideString;
TypeDisplayValue: WideString;
TypeValue: WideString;
UpsellOpportunity__cDisplayValue: WideString;
UpsellOpportunity__cValue: WideString;
WebsiteDisplayValue: WideString;
WebsiteValue: WideString;
id: WideString;
lastModifiedById: WideString;
lastModifiedDate: WideString;
recordTypeId: WideString;
recordTypeInfo: WideString;
systemModstamp: WideString;
weakEtag: Integer;
begin
// This example assumes the Chilkat API to have been previously unlocked.
// See Global Unlock Sample for sample code.
http := TChilkatHttp.Create(Self);
// 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"
// }
// }
json := TChilkatJsonObject.Create(Self);
json.UpdateBool('allowSaveOnDuplicate',0);
json.UpdateString('apiName','Object');
json.UpdateString('fields.FieldAPIName','FieldValue');
// Adds the "Authorization: Bearer <access_token>" header.
http.AuthToken := '<access_token>';
http.SetRequestHeader('Content-Type','application/json');
resp := http.PostJson3('https://domain.com/services/data/v{{version}}/ui-api/records','application/json',json.ControlInterface);
if (http.LastMethodSuccess = 0) then
begin
Memo1.Lines.Add(http.LastErrorText);
Exit;
end;
sbResponseBody := TChilkatStringBuilder.Create(Self);
resp.GetBodySb(sbResponseBody.ControlInterface);
jResp := TChilkatJsonObject.Create(Self);
jResp.LoadSb(sbResponseBody.ControlInterface);
jResp.EmitCompact := 0;
Memo1.Lines.Add('Response Body:');
Memo1.Lines.Add(jResp.Emit());
respStatusCode := resp.StatusCode;
Memo1.Lines.Add('Response Status Code = ' + IntToStr(respStatusCode));
if (respStatusCode >= 400) then
begin
Memo1.Lines.Add('Response Header:');
Memo1.Lines.Add(resp.Header);
Memo1.Lines.Add('Failed.');
Exit;
end;
// 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
apiName := jResp.StringOf('apiName');
eTag := jResp.StringOf('eTag');
DisplayValue := jResp.StringOf('fields.AccountNumber.displayValue');
Value := jResp.StringOf('fields.AccountNumber.value');
Active__cDisplayValue := jResp.StringOf('fields.Active__c.displayValue');
Active__cValue := jResp.StringOf('fields.Active__c.value');
AnnualRevenueDisplayValue := jResp.StringOf('fields.AnnualRevenue.displayValue');
AnnualRevenueValue := jResp.StringOf('fields.AnnualRevenue.value');
BillingCityDisplayValue := jResp.StringOf('fields.BillingCity.displayValue');
BillingCityValue := jResp.StringOf('fields.BillingCity.value');
BillingCountryDisplayValue := jResp.StringOf('fields.BillingCountry.displayValue');
BillingCountryValue := jResp.StringOf('fields.BillingCountry.value');
BillingPostalCodeDisplayValue := jResp.StringOf('fields.BillingPostalCode.displayValue');
BillingPostalCodeValue := jResp.StringOf('fields.BillingPostalCode.value');
BillingStateDisplayValue := jResp.StringOf('fields.BillingState.displayValue');
BillingStateValue := jResp.StringOf('fields.BillingState.value');
BillingStreetDisplayValue := jResp.StringOf('fields.BillingStreet.displayValue');
BillingStreetValue := jResp.StringOf('fields.BillingStreet.value');
CreatedByDisplayValue := jResp.StringOf('fields.CreatedBy.displayValue');
ApiName := jResp.StringOf('fields.CreatedBy.value.apiName');
ETag := jResp.StringOf('fields.CreatedBy.value.eTag');
IdDisplayValue := jResp.StringOf('fields.CreatedBy.value.fields.Id.displayValue');
IdValue := jResp.StringOf('fields.CreatedBy.value.fields.Id.value');
NameDisplayValue := jResp.StringOf('fields.CreatedBy.value.fields.Name.displayValue');
NameValue := jResp.StringOf('fields.CreatedBy.value.fields.Name.value');
Id := jResp.StringOf('fields.CreatedBy.value.id');
LastModifiedById := jResp.StringOf('fields.CreatedBy.value.lastModifiedById');
LastModifiedDate := jResp.StringOf('fields.CreatedBy.value.lastModifiedDate');
RecordTypeId := jResp.StringOf('fields.CreatedBy.value.recordTypeId');
RecordTypeInfo := jResp.StringOf('fields.CreatedBy.value.recordTypeInfo');
SystemModstamp := jResp.StringOf('fields.CreatedBy.value.systemModstamp');
WeakEtag := jResp.IntOf('fields.CreatedBy.value.weakEtag');
CreatedByIdDisplayValue := jResp.StringOf('fields.CreatedById.displayValue');
CreatedByIdValue := jResp.StringOf('fields.CreatedById.value');
CreatedDateDisplayValue := jResp.StringOf('fields.CreatedDate.displayValue');
CreatedDateValue := jResp.StringOf('fields.CreatedDate.value');
CustomerPriority__cDisplayValue := jResp.StringOf('fields.CustomerPriority__c.displayValue');
CustomerPriority__cValue := jResp.StringOf('fields.CustomerPriority__c.value');
DescriptionDisplayValue := jResp.StringOf('fields.Description.displayValue');
DescriptionValue := jResp.StringOf('fields.Description.value');
FaxDisplayValue := jResp.StringOf('fields.Fax.displayValue');
FaxValue := jResp.StringOf('fields.Fax.value');
IndustryDisplayValue := jResp.StringOf('fields.Industry.displayValue');
IndustryValue := jResp.StringOf('fields.Industry.value');
LastModifiedByDisplayValue := jResp.StringOf('fields.LastModifiedBy.displayValue');
ValueApiName := jResp.StringOf('fields.LastModifiedBy.value.apiName');
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');
ValueId := jResp.StringOf('fields.LastModifiedBy.value.id');
ValueLastModifiedById := jResp.StringOf('fields.LastModifiedBy.value.lastModifiedById');
ValueLastModifiedDate := jResp.StringOf('fields.LastModifiedBy.value.lastModifiedDate');
ValueRecordTypeId := jResp.StringOf('fields.LastModifiedBy.value.recordTypeId');
ValueRecordTypeInfo := jResp.StringOf('fields.LastModifiedBy.value.recordTypeInfo');
ValueSystemModstamp := jResp.StringOf('fields.LastModifiedBy.value.systemModstamp');
ValueWeakEtag := jResp.IntOf('fields.LastModifiedBy.value.weakEtag');
LastModifiedByIdDisplayValue := jResp.StringOf('fields.LastModifiedById.displayValue');
LastModifiedByIdValue := jResp.StringOf('fields.LastModifiedById.value');
LastModifiedDateDisplayValue := jResp.StringOf('fields.LastModifiedDate.displayValue');
LastModifiedDateValue := jResp.StringOf('fields.LastModifiedDate.value');
NameDisplayValue := jResp.StringOf('fields.Name.displayValue');
NameValue := jResp.StringOf('fields.Name.value');
NumberOfEmployeesDisplayValue := jResp.StringOf('fields.NumberOfEmployees.displayValue');
NumberOfEmployeesValue := jResp.StringOf('fields.NumberOfEmployees.value');
NumberofLocations__cDisplayValue := jResp.StringOf('fields.NumberofLocations__c.displayValue');
NumberofLocations__cValue := jResp.StringOf('fields.NumberofLocations__c.value');
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');
OwnerIdDisplayValue := jResp.StringOf('fields.OwnerId.displayValue');
OwnerIdValue := jResp.StringOf('fields.OwnerId.value');
OwnershipDisplayValue := jResp.StringOf('fields.Ownership.displayValue');
OwnershipValue := jResp.StringOf('fields.Ownership.value');
ParentDisplayValue := jResp.StringOf('fields.Parent.displayValue');
ParentValue := jResp.StringOf('fields.Parent.value');
ParentIdDisplayValue := jResp.StringOf('fields.ParentId.displayValue');
ParentIdValue := jResp.StringOf('fields.ParentId.value');
PhoneDisplayValue := jResp.StringOf('fields.Phone.displayValue');
PhoneValue := jResp.StringOf('fields.Phone.value');
RatingDisplayValue := jResp.StringOf('fields.Rating.displayValue');
RatingValue := jResp.StringOf('fields.Rating.value');
SLAExpirationDate__cDisplayValue := jResp.StringOf('fields.SLAExpirationDate__c.displayValue');
SLAExpirationDate__cValue := jResp.StringOf('fields.SLAExpirationDate__c.value');
SLASerialNumber__cDisplayValue := jResp.StringOf('fields.SLASerialNumber__c.displayValue');
SLASerialNumber__cValue := jResp.StringOf('fields.SLASerialNumber__c.value');
SLA__cDisplayValue := jResp.StringOf('fields.SLA__c.displayValue');
SLA__cValue := jResp.StringOf('fields.SLA__c.value');
ShippingCityDisplayValue := jResp.StringOf('fields.ShippingCity.displayValue');
ShippingCityValue := jResp.StringOf('fields.ShippingCity.value');
ShippingCountryDisplayValue := jResp.StringOf('fields.ShippingCountry.displayValue');
ShippingCountryValue := jResp.StringOf('fields.ShippingCountry.value');
ShippingPostalCodeDisplayValue := jResp.StringOf('fields.ShippingPostalCode.displayValue');
ShippingPostalCodeValue := jResp.StringOf('fields.ShippingPostalCode.value');
ShippingStateDisplayValue := jResp.StringOf('fields.ShippingState.displayValue');
ShippingStateValue := jResp.StringOf('fields.ShippingState.value');
ShippingStreetDisplayValue := jResp.StringOf('fields.ShippingStreet.displayValue');
ShippingStreetValue := jResp.StringOf('fields.ShippingStreet.value');
SicDisplayValue := jResp.StringOf('fields.Sic.displayValue');
SicValue := jResp.StringOf('fields.Sic.value');
SiteDisplayValue := jResp.StringOf('fields.Site.displayValue');
SiteValue := jResp.StringOf('fields.Site.value');
TickerSymbolDisplayValue := jResp.StringOf('fields.TickerSymbol.displayValue');
TickerSymbolValue := jResp.StringOf('fields.TickerSymbol.value');
TypeDisplayValue := jResp.StringOf('fields.Type.displayValue');
TypeValue := jResp.StringOf('fields.Type.value');
UpsellOpportunity__cDisplayValue := jResp.StringOf('fields.UpsellOpportunity__c.displayValue');
UpsellOpportunity__cValue := jResp.StringOf('fields.UpsellOpportunity__c.value');
WebsiteDisplayValue := jResp.StringOf('fields.Website.displayValue');
WebsiteValue := jResp.StringOf('fields.Website.value');
id := jResp.StringOf('id');
lastModifiedById := jResp.StringOf('lastModifiedById');
lastModifiedDate := jResp.StringOf('lastModifiedDate');
recordTypeId := jResp.StringOf('recordTypeId');
recordTypeInfo := jResp.StringOf('recordTypeInfo');
systemModstamp := jResp.StringOf('systemModstamp');
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}"
}
]
}