Submitting an Assignment via API

matt5834
Community Novice

Hi - I'm getting a 422 Unprocessable Entity error when I try to test this API call (I'm using Advanced REST Client) :

https://class.yciw.net/api/v1/courses/114/assignments/3784/submissions?as_user_id=2398&submission[su...

I'm using my admin access code in the header. Trying to submit this on behalf of student "2398."

Is it formatted incorrectly? 

Thanks

Matt