Skip to end of metadata
Go to start of metadata

You are viewing an old version of this content. View the current version.

Compare with Current View Version History

Version 1 Current »

Endpoint: https://gw-tst.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>

  • No labels