Use the NewUser endpoint to provision a new Glance account for a new Glance user.
Endpoint: https://www.glance.net/PAPI/NewUser.asp
Parameters
Be sure to include the required authentication parameters with each request. Also include parameters to describe your new user.
| Parameter | Data Type | Required or Optional |
|---|---|---|
| PartnerUserID | up to 255 characters | Required |
| UserAddress | Glance Address | Required |
| UserPW | up to 49 characters | Optional |
| UserFirst | up to 49 characters | Optional |
| UserLast | up to 49 characters | Optional |
| UserEmail | up to 127 characters | Optional |
| UserRole | up to 70 characters | Optional |
| AudioProvider | integer | Optional |
Parameter Details
PartnerUserID: Your unique ID for this user. You can specify any identifier up to 255 characters long. Some Glance customers use an associate / employee badge number or something similar. You may, if you wish, give the same value here as you give for UserAddress.
UserAddress: A unique Glance Address for this user. Glance Addresses look something like doe.john.example.glance.net or agent001234.example.glance.net and always end in .glance.net.
- Periods and dashes cannot appear at the start of the Glance Address.
- Periods and dashes cannot appear at the end of the Glance Address.
- Only alphanumeric characters are supported as valid characters. Periods and dashes are allowed within the address, they just cannot be present at the start or end.
UserFirst, UserLast: (optional) The new user's first (given) name and last name (surname).
UserEmail: (optional) The new user's email address.
UserRole: (optional) The UserRole parameter specifies the subscriber role for the new user. If you use roles, you must provision them before you assign them. Some Glance customers do not use roles.
AudioProvider: (optional) If you supply a value, Glance will provision an audio conferencing account for the new user. Currently available values are 1 for Glance Free Conferencing or 666 for testing. If you do not need Glance to provide audio conferencing for your users, do not provide this parameter. If you do provide it, this operation returns audio account information in its XML response.
Responses
If the NewUser operation provisioned an audio conferencing account, the returned XML document includes the audio account information, looking something like this:
<?xml version="1.0" standalone="yes"?>
<response>
<status>OK</status>
<dialIn>1 (605) 715-4970</dialIn>
<hostCode>*1391096</hostCode>
<guestCode>1391096</guestCode>
</response>