curl --location --request POST 'https://api.twenty.com/rest/batch/viewFields' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '[
{
"fieldMetadataId": "4a2b938d-eab6-4929-90ba-f4580aabf65e",
"isVisible": true,
"size": 0,
"position": 0,
"aggregateOperation": "AVG",
"viewId": "5aa272a5-73e4-4f9c-8123-4bac998fdb73"
}
]'{
"data": {
"createViewFields": [
{
"fieldMetadataId": "4a2b938d-eab6-4929-90ba-f4580aabf65e",
"isVisible": true,
"size": 0,
"position": 0,
"aggregateOperation": "AVG",
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"createdAt": "2019-08-24T14:15:22Z",
"updatedAt": "2019-08-24T14:15:22Z",
"deletedAt": "2019-08-24T14:15:22Z",
"viewId": "5aa272a5-73e4-4f9c-8123-4bac998fdb73",
"view": null
}
]
}
}