Dec 09, 2019 11:53 AM
Hello everyone, I have a very simple JSON POST to the Airtable API but am unable to Post an object into the Fields.
{
“fields”: {
“Time”: “{time}”,
“DeviceID”: “{device}”,
“Payload”: “{data}”,
“computedLocation”:{computedLocation}
}
}
In my Airtable, “Time”, “DeviceID”, “Payload” are all fields, yet {computedLocation} is an object which has the following variables: “lat”, “lng”, “radius”, “source” and "status.
My question is how do I parse an object into specific fields in Airtable?
Something like
“Lat”:"{computedLocation.lat}" isn’t working.
Dec 10, 2019 01:29 AM
Dec 10, 2019 06:45 AM
Hi JB, thanks for the support, but still won’t work like this.
Without the " " the system won’t accept the code.
Is there a way to Post the entire “computedLocation”:{“lat”:42…,“lng”:-71…} into an Airtable Cell? I could parse using the Formulas there.
Hope I can explain myself, I’m relatively new to APIs