How to create a task with custom field using AOI

Thanks folks

I added an answer that should work for this case in the topic Phil posted Api & Custom Fields - #18 by Matt_Bramlage that ought to also cover this question (tl;dr: use square brackets like custom_fields[1234567890]=Value as if the ID were a key in an associative array). Thanks!