It is a great enhancement to be able to specify unmaskExpirationDate in getCustomerProfileRequest but I am not able to get it to work. I get this error:
[E00003] The element 'getCustomerProfileRequest' in namespace 'AnetApi/xml/v1/schema/AnetApiSchema.xsd' has invalid child element 'unmaskExpirationDate' in namespace 'AnetApi/xml/v1/schema/AnetApiSchema.xsd'. List of possible elements expected: 'clientId, refId, customerProfileId' in namespace 'AnetApi/xml/v1/schema/AnetApiSchema.xsd'.
Yes, unmaskExpirationDate is supported in getCustomerPaymentProfileRequest, but it has also been added to getCustomerProfileRequest, per the enhancement acknowledged in (bottom of page):
Also, the documentation for getCustomerProfileRequest also was updated some time ago with the addition of unmaskExpirationDate:
So it is my understanding that both getCustomerPaymentProfileRequest, and getCustomerProfileRequest, support the unmaskExpirationDate field.
Christophe, I apologize about that. Going back to the original error you are getting, the error indicates that the element order was incorrect. Most likely, the "unmaskExpirationDate" field was placed before the customerProfileId in the request. It has to be last.