List Working Hours
Protocol | HTTP 1.1 |
Url | https://secure.telecomstats.co.uk/IVRAPI/Scripts/TODList.aspx |
Port | 443 |
Method | GET |
Required Parameters
Name | Type | Values |
ClientID | Integer | "1234" |
Username | String | "MyUsername" |
Password | String | "MyPassword" |
DDI | String | "08445567676" |
Error Returns
Errors will be returned with the status code HTTP 500:
Error Code | Response | Explanation |
1 | Authentication failed. | An invalid combination of username, password or clientid was supplied. |
2 | Invalid DDI. | DDI not found or doesn't belong to the authenticated account. |
3 | Invalid parameter '[parameter name]' | A parameter was supplied either incorrectly or in the wrong format. |
5 | Missing parameter '[parameter name]' | A parameter was not supplied or was supplied empty. |
10 | Invalid Service | The service registered against the DDI is something other than One2One. |
OK Returns
Data is returned with the status code HTTP 200 as common delimited text.
Column | Type | Description |
ID | Integer | Unique Identifier. |
Master Number | String | The DDI from which the given DDI was cloned. If the number is not a clone this column will be excluded. |
DDI | String | The DDI associated with the data. |
Day | String | The day of the week. |
Start | String | Period start time HH:MM. |
Stop | String | Period end time HH:MM. |