---
schema_version: "1"
id: 4c45d1c3d9c57259160e80c819e08a27ddc62bd54e847d5aa1532179bfa1a780
title: Apex String
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/insurance_developer_guide/connect_requests_insurance_apex_string.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.insurance_developer_guide.meta/insurance_developer_guide/connect_requests_insurance_apex_string.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 3bdd626b13180431fa3af2e36d710c1a98b34b4438c0b53eac542671ead22cc8
description: Input representation for a key-value pair.
---
# Apex String

Input representation for a key-value pair.

## JSON Example

{
  "key": "FieldName\_\_c",
  "value": "FieldValue"
}

## Properties

| Name | Type | Description | Required or Optional | Available Version |
| --- | --- | --- | --- | --- |
| key | String | API name of the field. | Optional | 65.0 |
| value | String | Value to assign to the field. | Optional | 65.0 |