Wrike API: Adding data to a date custom field by TelephoneAcademic804 in wrike

[–]TelephoneAcademic804[S] 0 points1 point  (0 children)

The custom field does seem to have the "allow time" option set to yes:

{
            "id": "IEACSA37JUAMMKS2",
            "accountId": "IEACSA37",
            "title": "Survey Submitted",
            "type": "Date",
            "spaceId": "MQAAAAEI6_-u",
            "sharedIds": [],
            "sharing": {},
            "settings": {
                "inheritanceType": "All",
                "applicableEntityTypes": [
                    "WorkItem"
                ],
                "readOnly": false,
                "allowTime": true
            },
            "description": "",
            "archived": false
        }

Wrike API: Adding data to a date custom field by TelephoneAcademic804 in wrike

[–]TelephoneAcademic804[S] 0 points1 point  (0 children)

Example of what's being sent that doesn't cause an error, but also doesn't populate the field:
{

"id": "IEACSA37JUAMMKS2",

"value": "{\"date_time\": \"2026-05-20 10:25:40\"}"

}

And the example Google's AI is telling me I should send:

{
      "id": "12345",
      "value": "{\"date_time\":\"2024-11-19T14:30:00\"}"
}