Order Feasibility API

(0 reviews)

Testing

Chorus NZ is committed to making integration with our APIs easy and robust and we are available to provide support for your development and testing.

For information on access and setup requirements for our emulation environment (EMMA) for testing the fibre APIs, see Emulation Environment (EMMA).

On this page, you will find information on suggested test cases and test data.

Test cases

As with any software development, Chorus encourages you to test your application with both positive and negative scenarios. The test cases we have provided are for your convenience, but are not intended to be comprehensive. Some test cases may not apply to your use of the API. Please extend with test cases specific to your business and use cases.

Comprehensive testing of your application should also include:

  • API response time
  • different types of requests
  • different types of data
  • handling errors and exceptions.

Learn more about our error codes.

The following suggested test cases are designed to assist you with performing feasibility checks, as part of initiating a fibre order.

We can supply specialised test data for the following test cases. To find out more, contact API Support.

IDTest caseExpected result
FOF1Submit a POST orderFeasibility to query Connect Primary order type in different residential scenarios (no intact ONTs available).The API will return a 200 response and an order feasibility outcome with reason and code.
FOF2Submit a POST orderFeasibility to query Connect Primary or Connect Secondary order type in different residential scenarios (with intact ONTs available).The API will return a 200 response and an order feasibility outcome with reason and code.
FOF3Submit a POST orderFeasibility to query Connect Additional ONT order type in different residential or business scenarios.The API will return a 200 response and an order feasibility outcome with reason and code.
FOF4Submit a POST orderFeasibility to query Transfer Primary or Connect and Replace order type in different residential scenarios.The API will return a 200 response and an order feasibility outcome with reason and code.
FOF5Submit a POST orderFeasibility to query Change Offer or Modify Attribute order type in different residential scenarios.The API will return a 200 response and an order feasibility outcome with reason and code.
FOF6Submit a POST orderFeasibility to query Disconnect Primary order type in different residential scenarios.The API will return a 200 response and an order feasibility outcome with reason and code.
FOF7Submit a POST orderFeasibility to query Connect Primary order type in different business scenarios (no intact ONTs available).The API will return a 200 response and an order feasibility outcome with reason and code.

For sample error response messages, see the API Specification.

Test data

Postman collection

We have provided a Postman collection file to make it easy to test this API, which includes examples of requests that will generate responses within the EMMA environment.

If you have any questions about your test data needs or need to request access, contact API Support.

Note: You’ll also require your Azure Client ID and Client Secret to obtain a token as part of the global variables.

The following common scenarios are intended as a guide and for use with the variable names and values, which must be set prior to running the Postman collection.

Note: These scenarios are all based on Product Offer Zone: UFB and Market Segment: Residential, unless noted. Depending on what products you offer, some scenarios may not apply.

Test caseOrder typeONTsActive productsActive product owned by RSPSite visitCSE (private or public)Test case comment
FOF1.1Connect PrimaryNonen/an/aMandatoryOptionalFull install required
FOF1.2Connect PrimaryNonen/an/aMandatoryOptionalGreenfield location
FOF1.3Connect PrimaryNonen/an/aNot returnedNot OfferedMDU/ROW consent, design and build required
FOF1.4Connect PrimaryNonen/an/aNot returnedNot OfferedManual feasibility required
FOF1.5Connect PrimaryNonen/an/aTo be determinedTo be determinedSite visit to be determined
FOF2.1Connect Primary1 ONTNonen/aOptionalOptionalIntact ONT activation
FOF2.2Connect Primary1 ONTNonen/aOptionalOptionalIntact ONT activation using tail extension (if applicable)
FOF2.3Connect Primary1 ONTNoneNoOptionalOptionalIntact ONT activation using Voice (if applicable)
FOF2.4Connect Primary2+ ONTs2 activeNoOptionalOptionalMultiple Primaries scenario
FOF2.5Connect Secondary1 ONT2 activeNoOptionalOptionalIntact ONT activation
FOF3.1Connect Additional ONT1 ONT1 activen/aMandatoryOptional
FOF4.1Transfer Primary1 ONT1 activeNoOptionalOptional
FOF4.2Transfer Primary1 ONT1 activeNoMandatoryOptionalReplace ONT scenario
FOF4.3Transfer Secondary1 ONT2 activeNoOptionalOptional
FOF4.4Connect & Replace1 ONT1 activeNoOptionalOptional
FOF5.1Change Offer1 ONT1 activeYesOptionalOptional
FOF5.2Modify Attribute1 ONT1 activeYesOptionalOptionalInternal ONT relocation / premise networking
FOF6.1Disconnect Primary1 ONT1 activeYesNot RequiredNot Offered
FOF7.1Connect PrimaryNonen/an/aMandatoryOptionalBusiness offer - Full install required (non-Fibre In A Day location)
FOF7.2Connect PrimaryNonen/an/aMandatoryOptionalBusiness offer - Full install required (Fibre In A Day location)

Reviews