Using icontrolrest api to configure dos profile in ASM

I am trying to write a icontrolrest API call to configure the dos profile within ASM. When I post the JSON to /mgmt/tm/security/dos/profile it creates the dos profile but I can’t find a way to configure it. Has anyone been successful in getting a JSON uploaded and configuring a dos profile in ASM?

When in the GUI does it actually show up under Security > DoS Protection > DoS Profiles?

The dos profile is created but it is disabled in the application security. When I enable it, none of the configuration is there that I uploaded in the JSON.