Suggested Email Alias
Endpoint: https://gw.its.yale.edu/soa-gateway/IAMStart/v1/CheckEmailAlias
Service Type : REST
Supported Rest Actions : POST
Authorization: Basic (s_servicenow)
Headers Required:
Content-Type : application/json or application/xml
Accept: application/json or application/xml . Provides xml response if not set
Body:
{
"Request": {
"Netid": "<netid of logged in user>",
"EmailAlias": "<requested email alias>"
}
}
Returns:
When Email Alias exists (True Response):
<Response>
<EmailAlias>
<exists>true</exists>
<suggestedAlias>suggested.email.alias</suggestedAlias>
</EmailAlias>
<Footer>
<Version>1.0</Version>
</Footer>
</Response>
When Email Alias does not exist (false response):
<Response>
<EmailAlias>
<exists>false</exists>
</EmailAlias>
<Footer>
<Version>1.0</Version>
</Footer>
</Response>