Workday Web Services - Update Primary Institutional Email Address
Having an issue adding a primary institutional email address to a student record that doesn't have one.
We manage identities with a separate identity management solution and when it modifies the email address we need to feed that back to Workday. Issue I'm having is being unable to find the correct syntax to specify the new email address is to be primary. It works fine if the user already has a valid email address, but if they don't I need to specify that the new one is primary. Tough to grab from the API documentation how that's supposed to be formatted (fully admitting the issue is probably me).
Here's the error I get when I try to pass in the updated email:
`Validation error occurred. Subject person must have exactly one primary institutional email address in order to have non-primary entries. The primary contact information may be either previously entered or included within this request.`