Out Going Messages
Protocol: | HTTP 1.1 |
Url: | https://bch.telecomstats.co.uk/IVRAPI/Scripts/RNP/OGMs.aspx |
Port: | 443 |
Method: | GET or POST |
Required Parameters
Name | Type | Values |
AccountID | Integer | Account Number |
DDI | String | DDI |
Type | String | IntroWhisperGreeting |
Style | Integer | 0 - None1 - Play System Default2 - Record Manually3 - 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 10MbError
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
OK