Get an email account selection intent
Return the intent behind the “Choose the email accounts” task (type EMAIL_ACCOUNT_SELECTION) of an onboarding ticket: the connected email providers proposed for the employee as proposedProviders — each with its saasId, groups, roles, licenses, organization units and credentials recipient — and executedAt once validated. Take the intentId from the task (getTicket or getTasks). proposedProviders has the shape executeEmailAccountSelectionIntent takes as providers: read it, adjust it, send it there to validate the selection. Refused with INTENT_NOT_FOUND.
Authorizations
Use your Primo API key in the Authorization header as Bearer <API_KEY>.
Path Parameters
Response
Intent id — pass it to executeEmailAccountSelectionIntent
The EMAIL_ACCOUNT_SELECTION task ("Choose the email accounts")
The onboarding ticket holding that task. Null if unreadable.
The employee the addresses are for; null until the onboarding creates them
The email providers proposed for the employee when the task opened, in the shape providers takes
When the selection was validated; null while it is open
^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$