Overview
This API is used to determine whether a specific Cumulus username is available for use (or already occupied).
Usage
To check the availability of a specific Cumulus username:
- Create a "CheckUsernameAvailability" request
- Specify the "Username" to check
- Authorise the request with valid API credentials
Business Rules
- Username parameter must be provided
- Caller must have a Cumulus username realm
- Username must not include the realm in the call.
The system will append the caller's realm to the username. If a realm is provided, the API will return an undesired result.
- The username must not exceed 80 characters after the caller's realm is appended by the system.
- Only usernames pertaining to the caller realm are matched.
- Only Cumulus usernames pertaining to the End User Portal instance would be matched.
SOAP Example
Sample Request
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:emersion:api">
<soapenv:Header/>
<soapenv:Body>
<urn:CheckUsernameAvailability>
<urn:Username>user_name</urn:Username>
</urn:CheckUsernameAvailability>
</soapenv:Body>
</soapenv:Envelope>
Field Descriptions
All field names are case sensitive. Check enumerated values in the descriptions to confirm capitalisation and spacing. See field types for additional information..
| Name | Description | Required? | Field Type | Character limit | Value Examples |
|---|---|---|---|---|---|
Username | A Cumulus username without the log in realm. | Yes | String | Username, after appending caller realm, should not exceed 80 characters | user_name |
Error Handling
| Error Message | Description |
|---|---|
Username must be provided | This is thrown when user does not provide Username parameter or the provided Username parameter is blank |
Caller does not have a Cumulus User Realm assigned. | This is thrown when caller does not have a Cumulus username realm |
Username too long. | This is thrown when provided username, after appending realm, exceeds 80 characters |
Could not find a Product Rate Card for arguments provided |