Skip to main content

Calculation Field Value

A calculation field value consists of its value property of type string or number. The value can be a plaintext string ('Example text'), a rich-text string containing Markdown/ HTML ('# <span style="color: red">Red</span> Headline') or a number (123.456)

Calculation field values are always calculated by the server and therefore cannot be provided to record creation or update endpoints.

Record retrieval

GEThttps://api.tapeapp.com/v1/record/{record_id}

A calculation field value can be retrieved as part of a record retrieval:

➡️    Request
curl https://api.tapeapp.com/v1/record/1 \
-u user_key_replace_with_your_api_key:
⬅️    Response
{
"record_id": 1,
"title": "12 days",
"fields": [
{
"field_Id": 2,
"external_id": "vacation_days",
"type": "calculation",
"field_type": "calculation",
"label": "Vacation days left",
"values": [{ "value": 12 }]
},
{
"field_Id": 2,
"external_id": "linkedin_profile",
"type": "calculation",
"field_type": "calculation",
"label": "LinkedIn Profile",
"values": [
{
"value": "<a target=_blank href='https://www.linkedin.com/in/adam-smith/'>"
}
]
}
]
}