Has anyone used the APIs to create work items with custom attributes?
The documentation (https://developer.genesys.cloud/commdigital/taskmanagement/task-management-custom-attributes) shows they are added as a key value pair:
{
"name": "Workitem with custom attributes",
"customFields" : { "custom_attribute_text":"Text for custom attribute", "custom_attribute_2_integer":100 }
}
But when using the API explorer (create, patch or bulk add work items), custom attributes are added as a key object pair:
{
"name": "dumm",
"customFields": {
"custom_key": {
"some_key": "some_value"
}
}
}
It's not clear how to format the object. Any ideas? Or is this a bug in the API explorer?
#PlatformAPI------------------------------
Stuart Gielen
IT Lead
------------------------------