Enable is committed to supporting your development and testing, ensuring integration is simple and robust.
As with any software development, Enable encourages you to test your application with both positive and negative scenarios.
A list of example test cases has been provided for your convenience; however, this list is not intended to be comprehensive and some test cases may not apply to your use of the API.
Please ensure your test cases are relevant to your business and specific use cases.
Test Cases
The table below provides details of suggested test cases.
| Test Case | API Endpoint | Suggested Test Case | Expected Result |
|---|---|---|---|
| 1 | Services | Retrieve Fibre Broadband Availability details for an address by supplying a valid Fibre Service Location Identifier (FSL ID) |
The Fibre Broadband Availability information for the address is returned. The HTTP status code will be a 200 (OK). |
| 2 | Services | Retrieve Fibre Broadband Availability details for an address by supplying an invalid Fibre Service Location Identifier (FSL ID) | An error response is returned. Please refer to Error Codes for the specific error response payload. |
Test Data
| FSL ID | Install Type | Building Class | Dwelling Type | Right Of Way | Proactive | UFB Service Status | Fibre Availability Status | Fibre Install Lead Time | Consent Required | Central Office |
|---|---|---|---|---|---|---|---|---|---|---|
| 30120386CESL43B | Standard Lead | Residential | SDU | No | - | Single | Fibre Installed | Intact | No | Redwood (RED) |
| 30071940CESLCD1 | Standard Lead | Residential | MDU | No | BMDU | None | Coverage Available | Simple | Yes | Central (CEN) |
| 30082924CESL417 | Standard Lead | Business | SDU | No | - | Disconnected | Fibre Previously Installed | Intact | No | Riccarton (RIC) |
| 30126082CESL21E | Standard Lead | Residential | MDU | Yes | - | None | Coverage Available | Complex | Yes | Hornby (HRB) |
| 30216061CESLDD3 | Standard Lead | Residential | SDU | No | PALI | Single | Fibre Installed | Intact | No | Rolleston (ROL) |