This endpoint is called to place an order with the supplier to provision a new service or cease/modify an existing service.
The supplier should validate the order request and accept the order if the validation is successful or otherwise reject the order. If the order is rejected, a 422 code should be returned with reason(s) for the rejection in the response.
If the order is accepted, the supplier may return a 202 accepted response without acknowledging the order if further validation/processing is required. In this scenario, the supplier must then send an order update (KCI) to later acknowledge the order and provide the order number.
Alternatively, the supplier can synchronously acknowledge the order by returning a 201 created response with the returned order containing the supplier order number and status of ACKNOWLEDGED. The order can also be committed at this stage by returning the order status of IN_PROGRESS.
Represents a provide order for new service(s) at a particular address.
Order was acknowledged - returned order should contain the supplier order number and appropriate status
Order was accepted and will be acknowledged later via a KCI
Bad request - supplied request was malformed or missing mandatory parameters
Unauthorised access
The client is not permitted to access this resource.
Unprocessable entity - invalid data was provided
Invalid or failed response from the supplier
Supplier API is temporarily unavailable
{- "id": 123,
- "orderType": "NEW",
- "tenant": "TENANT1",
- "address": {
- "id": "200004033694",
- "type": "UPRN"
}, - "serviceOrderItem": {
- "serviceSpecification": {
- "id": "ftthl2r"
}, - "serviceCharacteristics": [
- {
- "name": "ENNI_ID",
- "value": "1"
}
]
}, - "primaryContact": {
- "name": "John Smith",
- "email": "john@smith.com",
- "phoneNumber": "01234 567890"
}, - "secondaryContact": {
- "name": "John Smith",
- "email": "john@smith.com",
- "phoneNumber": "01234 567890"
}, - "appointmentReservationId": 234,
- "appointmentReservationReference": "A234X",
- "requestedCompletionDate": "2022-01-10",
- "engineerTasks": [
- "TEST_SINGLE_DEVICE"
], - "hazards": "Hazardous materials stored on site",
- "onSiteRestrictions": "Restricted access",
- "notes": "Lorem ipsum dolor sit amet..."
}
{- "status": "PENDING_CANCELLATION",
- "supplierReference": "A123X",
- "committedDate": "2022-01-01T09:09:33.001Z",
- "targetDate": "2022-01-01T09:09:33.001Z",
- "id": 123,
- "orderType": "NEW",
- "tenant": "TENANT1",
- "address": {
- "id": "200004033694",
- "type": "UPRN"
}, - "serviceOrderItem": {
- "serviceSpecification": {
- "id": "ftthl2r",
- "name": "FTTH"
}, - "serviceCharacteristics": [
- {
- "name": "ENNI_ID",
- "value": "1"
}
]
}, - "primaryContact": {
- "name": "John Smith",
- "email": "john@smith.com",
- "phoneNumber": "01234 567890"
}, - "secondaryContact": {
- "name": "John Smith",
- "email": "john@smith.com",
- "phoneNumber": "01234 567890"
}, - "appointmentReservationId": 234,
- "appointmentReservationReference": "A234X",
- "requestedCompletionDate": "2022-01-10",
- "engineerTasks": [
- "TEST_SINGLE_DEVICE"
], - "hazards": "Hazardous materials stored on site",
- "onSiteRestrictions": "Restricted access",
- "notes": "Lorem ipsum dolor sit amet..."
}