Trying to pass an ISO8601 formated date "DueDate" into shell script. But the code is rendered wrong resulting in a return of error from the api pull. The $KMVAR_DueDate is placed between two sets of "'" and works for other variables and parameters. But it doesn't work with the ISO8601 date in the assignment[due_at] parameter.
The result is successful if I place the date directly into the parameter. Hence, -d 'assignment[due_at]=2020-04-10T03:59:00Z' works. Could anyone help me to troubleshoot what's wrong with my use of $KMVAR_DueDate?