The docs say that when calling createCustomerProfileRequest using the CIM XML method, we can set the validationMode set to blank or use "none".
When I set it to blank, I received back the following error:
[E00003] The 'AnetApi/xml/v1/schema/AnetApiSchema.xsd:validationMode' element is invalid - The value '' is invalid according to its datatype 'AnetApi/xml/v1/schema/AnetApiSchema.xsd:validationModeEnum' - The Enumeration constraint failed.
Tim
Solved! Go to Solution.
01-06-2012 02:05 PM
I can confirm that if you don't want to include a validationMode setting, then the element should be left out of the XML completely. This is generally true for all of our APIs. I'll make a note of this documentation so that the wording is updated to be more precise in future revisions.
Thanks for the feedback!
01-12-2012 01:55 PM
When it said blank, I think it mean not to send the <validationMode /> at all.
01-06-2012 02:15 PM
I agree -- Not sending it at all validates, but blank (empty string) is not the same as null (no value).
Can someone at Authorize clarify this?
01-06-2012 02:24 PM
I can confirm that if you don't want to include a validationMode setting, then the element should be left out of the XML completely. This is generally true for all of our APIs. I'll make a note of this documentation so that the wording is updated to be more precise in future revisions.
Thanks for the feedback!
01-12-2012 01:55 PM