REST API - Create Account and populate custom fields

REST API - Create Account and populate custom fields

I'm able to create accounts successfully using this approach:

I want to be able to create and account and at the same time populate some custom fields we have in our system.  In the create resource section:

It shows how you can create a resource and populate custom fields by adding the following to the JSON string:
"RESOURCECUSTOMFIELD":[
            {
               "CUSTOMLABEL":"Secure Resource",
               "CUSTOMVALUE":"YES"
            }...
  
I've tried adding the following to the create account call:

"ACCOUNTCUSTOMFIELD":[
            {
               "CUSTOMLABEL":"Secure Resource",
               "CUSTOMVALUE":"YES"
            }...
    
I've However this does not seem to actually populate the custom field.  Anyone manage to get custom fields on accounts populated via the rest api??

Thanks

Kevin

              New to ADManager Plus?

                New to ADSelfService Plus?