Voicemail Update

Updated by RM

Protocol:

HTTP 1.1

Url:

https://bch.telecomstats.co.uk/IVRAPI/Scripts/RNP/voicemail.aspx

Port:

443

Method:

GET or POST

Required Parameters

Name

Type

Values

AccountID

Integer

Account Number

DDI

String

DDI

Type

Integer

0 -Combined1 -Out Of Hours2 -Busy/Unanswered

Style

Integer

1 - System Default2 - User recordered3 - User provided

Optional Parameters (Style=3)

Name

Type

Values

FileName (Get)

String

Name of File to Upload

confirmationemail (Get)

String

Confirmation email address for file upload

POST DATA

URL/Base64 Encoded Data

Binary File Data of the file to upload

Note when uploading a file via the Post Field (when style = 3) the file first needs to be Base64 then URL Encodede.g.' First Base64 encodetmp_data = System.Convert.ToBase64String(binary_data)' Next URL Encodepost_data = System.Web.HttpUtility.UrlEncode(tmp_data)Maximum File Size is currently 10Mb

Error Returns

Errors will be returned with the status code HTTP 500:

Response

Explanation

Missing parameter '[param]'

A parameter was not supplied or was supplied empty.

Authentication failed.

An invalid combination of username, password or clientid was supplied.

Success Returns

Success


How did we do?