Posting JSON with API Action

Take a look at this. Might help: Send nested JSON with server-side API