# Request an amendment to an inflight Ethernet order. This endpoint is called to request amendment(s) to an existing inflight Ethernet order. The changes are given per site (by role) and for the order item (the circuit). Ethernet orders can't be amended through /service-order-amendments. Suppliers limit what can be amended and combined. BT Wholesale Ethernet amends one order item per request, so one amendment changes either one site or the order item, not both. A change the supplier can't make is rejected by a KCI asking the tenant to resubmit. The Fibre Cafe will validate the request and generate an amendment reference which is returned. If the order amendment is rejected immediately then a 400 code will be returned with reason(s) for the rejection in the response. The order amendment will then be sent to the supplier for processing and further updates will be sent via KCIs - this could include a rejection if the amendment does not meet supplier validation/processing rules. Endpoint: POST /ethernet/service-order-amendments Version: 1.22 Security: oauth2 ## Header parameters: - `X-Request-ID` (string, required) Unique identifier to identify request and response events across the Fibre Cafe gateway - `X-Conversation-ID` (string, required) Identifier to track message journey across the Fibre Cafe gateway ## Request fields (application/json): - `orderId` (number, required) Unique identifier for the Ethernet order to be amended Example: 123 - `siteInformation` (array) Changes to the order's sites, one entry per site, identified by role - `siteInformation.role` (string, required) The role of the site in an Ethernet connection Enum: "A-END", "B-END", "MULTI-POINT" - `siteInformation.name` (string) Name of the site, e.g. the company at the site Example: "Acme Ltd head office" - `siteInformation.siteCharacteristics` (array) Site characteristics to change, by name - `siteInformation.siteCharacteristics.name` (string, required) Name of the characteristic Example: "POINT_OF_INTERCONNECT" - `siteInformation.siteCharacteristics.value` (string, required) Value for this characteristic Example: "1G1G" - `siteInformation.wayleave` (any) Particulars regarding permissions at a given site. - `siteInformation.primaryContact` (object) Represents a contact available at the given address. - `siteInformation.primaryContact.name` (string, required) Contact name Example: "John Smith" - `siteInformation.primaryContact.email` (string) Contact email address (if available) Example: "john@smith.com" - `siteInformation.primaryContact.phoneNumber` (string, required) Contact phone number Example: "01234 567890" - `siteInformation.secondaryContact` (object) Represents a contact available at the given address. - `siteInformation.hazards` (string) Hazard information about the site - `siteInformation.onSiteRestrictions` (string) Information about access restrictions at the site - `siteInformation.notes` (string) Notes about the site - `siteInformation.appointmentReservationId` (number) Unique identifier for a newly reserved appointment for the site (if applicable) - `ethernetOrderItem` (object) Changes to the Ethernet order's item (the circuit) - `ethernetOrderItem.requestedCompletionDate` (string) The new requested completion date Example: "2022-01-10" - `ethernetOrderItem.serviceCharacteristics` (array) Service characteristics to change, by name - e.g. BANDWIDTH - `ethernetOrderItem.serviceCharacteristics.name` (string, required) Name of the service characteristic Example: "LINE_PROFILE" ## Response 201 fields (application/json): - `id` (number, required) - `supplierReference` (string) - `status` (string, required) State model for amendment and cancellation requests. Enum: "RECEIVED_BY_GATEWAY", "PENDING", "FAILED_TO_SEND", "REJECTED", "COMPLETED" - `orderId` (number, required) Unique identifier for the Ethernet order to be amended Example: 123 - `siteInformation` (array) Changes to the order's sites, one entry per site, identified by role - `siteInformation.role` (string, required) The role of the site in an Ethernet connection Enum: "A-END", "B-END", "MULTI-POINT" - `siteInformation.name` (string) Name of the site, e.g. the company at the site Example: "Acme Ltd head office" - `siteInformation.siteCharacteristics` (array) Site characteristics to change, by name - `siteInformation.siteCharacteristics.name` (string, required) Name of the characteristic Example: "POINT_OF_INTERCONNECT" - `siteInformation.siteCharacteristics.value` (string, required) Value for this characteristic Example: "1G1G" - `siteInformation.wayleave` (any) Particulars regarding permissions at a given site. - `siteInformation.primaryContact` (object) Represents a contact available at the given address. - `siteInformation.primaryContact.name` (string, required) Contact name Example: "John Smith" - `siteInformation.primaryContact.email` (string) Contact email address (if available) Example: "john@smith.com" - `siteInformation.primaryContact.phoneNumber` (string, required) Contact phone number Example: "01234 567890" - `siteInformation.secondaryContact` (object) Represents a contact available at the given address. - `siteInformation.hazards` (string) Hazard information about the site - `siteInformation.onSiteRestrictions` (string) Information about access restrictions at the site - `siteInformation.notes` (string) Notes about the site - `siteInformation.appointmentReservationId` (number) Unique identifier for a newly reserved appointment for the site (if applicable) - `ethernetOrderItem` (object) Changes to the Ethernet order's item (the circuit) - `ethernetOrderItem.requestedCompletionDate` (string) The new requested completion date Example: "2022-01-10" - `ethernetOrderItem.serviceCharacteristics` (array) Service characteristics to change, by name - e.g. BANDWIDTH - `ethernetOrderItem.serviceCharacteristics.name` (string, required) Name of the service characteristic Example: "LINE_PROFILE" ## Response 400 fields (application/json): - `uuid` (string, required) Unique identifier of this error - for tracing purposes Example: "87432dfb-2e47-4532-a1b7-4b113d48867d" - `code` (string, required) Fibre Cafe error codes Enum: "GATEWAY_FAULT", "INVALID_REQUEST", "MALFORMED_REQUEST", "NOT_AUTHORISED", "NOT_FOUND", "NOT_IMPLEMENTED", "SUPPLIER_FAULT", "SUPPLIER_TIMED_OUT", "TENANT_FAULT" - `messages` (array, required) Message describing the error Example: ["e.g. Invalid value for field x - accepted values are y"] ## Response 401 fields (application/json): - `uuid` (string, required) Unique identifier of this error - for tracing purposes Example: "87432dfb-2e47-4532-a1b7-4b113d48867d" - `code` (string, required) Fibre Cafe error codes Enum: "GATEWAY_FAULT", "INVALID_REQUEST", "MALFORMED_REQUEST", "NOT_AUTHORISED", "NOT_FOUND", "NOT_IMPLEMENTED", "SUPPLIER_FAULT", "SUPPLIER_TIMED_OUT", "TENANT_FAULT" - `messages` (array, required) Message describing the error Example: ["e.g. Invalid value for field x - accepted values are y"] ## Response 422 fields (application/json): - `uuid` (string, required) Unique identifier of this error - for tracing purposes Example: "87432dfb-2e47-4532-a1b7-4b113d48867d" - `code` (string, required) Fibre Cafe error codes Enum: "GATEWAY_FAULT", "INVALID_REQUEST", "MALFORMED_REQUEST", "NOT_AUTHORISED", "NOT_FOUND", "NOT_IMPLEMENTED", "SUPPLIER_FAULT", "SUPPLIER_TIMED_OUT", "TENANT_FAULT" - `messages` (array, required) Message describing the error Example: ["e.g. Invalid value for field x - accepted values are y"] ## Response 500 fields (application/json): - `uuid` (string, required) Unique identifier of this error - for tracing purposes Example: "87432dfb-2e47-4532-a1b7-4b113d48867d" - `code` (string, required) Fibre Cafe error codes Enum: "GATEWAY_FAULT", "INVALID_REQUEST", "MALFORMED_REQUEST", "NOT_AUTHORISED", "NOT_FOUND", "NOT_IMPLEMENTED", "SUPPLIER_FAULT", "SUPPLIER_TIMED_OUT", "TENANT_FAULT" - `messages` (array, required) Message describing the error Example: ["e.g. Invalid value for field x - accepted values are y"] ## Response 403 fields ## Response 503 fields