Cancel Large Volumes of Sales Order Lines Across Orders

Oracle Order Management Fusion Cloud provides the ability to cancel a large volume of sales order lines across orders using a REST API. You can use the REST API to request cancellation of multiple sales order lines across orders and get the status of the request that's submitted for cancellation. For example, all the backordered lines in the last one week may need to be cancelled.

Here's a typical application processing flow for the scenario:

  1. In this example, you have a list of Fulfill Line IDs across orders that you want to cancel. You can use the GET service of the Sales Orders for Order Hub resource to get the fulfill line IDs of the lines that you want to cancel. Alternatively, as described in the Submit Large Volume of Sales Order use case, you can also use a filter criteria to cancel the lines.

  2. You send a request payload using the Sales Order Action Requests REST API to cancel the list of fulfill line IDs.

  3. The response payload includes details of the batch process that is submitted to cancel the fulfill line IDs. As this is an offline process, so the immediate response is always PRE_PROCESSING.

  4. You can get the summarized status of the order line cancellation request by calling the GET service of the Sales Order Action Requests REST API for the request.

  5. The GET service of the Sales Order Action Requests REST API for the request also provides the unique request identifiers that are spawned for each fulfill line ID that you request for cancellation. You can get the status of order line cancellation and error or warning details if any for each order line using the request identifier of each fulfill line ID.

    In this example, there are three fulfill line IDs submitted for cancellation. Two result in success and one in error.

Create One Sales Action Request

Example URL

Use this resource URL format:

POST

curl -u username:password -X POST -H "Content-Type:application/vnd.oracle.adf.resourceitem+json" -d 'request payload' 
"https://servername/fscmRestApi/resources/version/salesOrderActionRequests"

Example Request

Here's an example of the request body in JSON format. You plan to cancel three sales order lines with fulfill Line IDs 300100610023895, 300100610023690, and 300100610023731. Specify ActionCode: ORA_FOM_CANCEL_LINE to indicate that the sales order action request is for order line cancellation. You can also specify CancelReasonCode and Comments if needed.
 {
    "ActionCode": "ORA_FOM_CANCEL_LINE",
    "CancelReasonCode": "ORA_WRONG_ITEM",
    "Comments": "Incorrect Item ordered",
    "requests": [
        {
            "FulfillLineId": 300100610023895
        },
        {
            "FulfillLineId": 300100610023690
        },
        {
            "FulfillLineId": 300100610023731
        }
    ]
}

Example Response Body

Here's an example of the response body in JSON format.

  • You can see one master request and three child action requests for cancelling three sales order lines with Fulfill Line IDs mentioned in the request payload. The master ActionRequestId is 300100610036489. The master action request spawns three child request to handle processing of three individual fulfill line IDs.
    • ActionRequestId 300100610036493 for FulfillLineID 300100610023895
    • ActionRequestId 300100610036494 for FulfillLineID 300100610023690
    • ActionRequestId 300100610036495 for FulfillLineID 300100610023731
  • The orders lines are cancelled through a batch process so the response shows StatusCode as PRE_PROCESSING and ProcessStatus as IN_QUEUE as the batch process is yet to start processing.
    Note the following:
    • TotalRecords: 3
    • TotalFailed: 0
    • TotalPassed: 0

Example Response

Here's an example of the response body in JSON format:

{
    "ActionCode": "ORA_FOM_CANCEL_LINE",
    "ActionRequestId": 300100610036489,
    "ActionRequestTrackingId": 349735,
    "CreatedBy": "SCMOPERATIONS",
    "CreationDate": "2024-02-08T17:11:48.001+00:00",
    "FulfillLineId": null,
    "HeaderId": -1,
    "LastUpdateDate": "2024-02-08T17:11:48.162+00:00",
    "MassActionFlag": true,
    "OutcomeCode": null,
    "StatusCode": "PRE_PROCESSING",
    "Action": null,
    "ProcessId": 308326,
    "TotalRecords": 3,
    "TotalFailed": 0,
    "TotalPassed": 0,
    "ProcessStatus": "IN_QUEUE",
    "FilterCriteria": null,
    "Comments": "Incorrect Item ordered",
    "CancelReasonCode": "ORA_WRONG_ITEM",
    "HoldCode": null,
    "ReleaseReasonCode": null,
    "requests": [
        {
            "ActionCode": "ORA_FOM_CANCEL_LINE",
            "ActionRequestId": 300100610036493,
            "ActionRequestTrackingId": 349735,
            "FulfillLineId": 300100610023895,
            "HeaderId": 300100610023843,
            "MassActionFlag": false,
            "OutcomeCode": null,
            "StatusCode": "PRE_PROCESSING",
            "SummaryMessageText": null,
            "RequestStatus": "IN_QUEUE",
            "links": [
                {
                    "rel": "self",
                    "href": "https://servername/fscmRestApi/resources/version/salesOrderActionRequests/300100610036489/child/requests/300100610036493",
                    "name": "requests",
                    "kind": "item",
                    "properties": {
                        "changeIndicator": "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000001770400000001737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000178"
                    }
                },
                {
                    "rel": "canonical",
                    "href": "https://servername/fscmRestApi/resources/version/salesOrderActionRequests/300100610036489/child/requests/300100610036493",
                    "name": "requests",
                    "kind": "item"
                },
                {
                    "rel": "parent",
                    "href": "https://servername/fscmRestApi/resources/version/salesOrderActionRequests/300100610036489",
                    "name": "salesOrderActionRequests",
                    "kind": "item"
                },
                {
                    "rel": "child",
                    "href": "https://servername/fscmRestApi/resources/version/salesOrderActionRequests/300100610036489/child/requests/300100610036493/child/messageDetails",
                    "name": "messageDetails",
                    "kind": "collection"
                },
                {
                    "rel": "child",
                    "href": "https://servername/fscmRestApi/resources/version/salesOrderActionRequests/300100610036489/child/requests/300100610036493/child/orderDetails",
                    "name": "orderDetails",
                    "kind": "collection"
                },
                {
                    "rel": "child",
                    "href": "https://servername/fscmRestApi/resources/version/salesOrderActionRequests/300100610036489/child/requests/300100610036493/child/orderLineDetails",
                    "name": "orderLineDetails",
                    "kind": "collection"
                }
            ]
        },
        {
            "ActionCode": "ORA_FOM_CANCEL_LINE",
            "ActionRequestId": 300100610036494,
            "ActionRequestTrackingId": 349735,
            "FulfillLineId": 300100610023690,
            "HeaderId": 300100610023665,
            "MassActionFlag": false,
            "OutcomeCode": null,
            "StatusCode": "PRE_PROCESSING",
            "SummaryMessageText": null,
            "RequestStatus": "IN_QUEUE",
            "links": [
                {
                    "rel": "self",
                    "href": "https://servername/fscmRestApi/resources/version/salesOrderActionRequests/300100610036489/child/requests/300100610036494",
                    "name": "requests",
                    "kind": "item",
                    "properties": {
                        "changeIndicator": "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000001770400000001737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000178"
                    }
                },
                {
                    "rel": "canonical",
                    "href": "https://servername/fscmRestApi/resources/version/salesOrderActionRequests/300100610036489/child/requests/300100610036494",
                    "name": "requests",
                    "kind": "item"
                },
                {
                    "rel": "parent",
                    "href": "https://servername/fscmRestApi/resources/version/salesOrderActionRequests/300100610036489",
                    "name": "salesOrderActionRequests",
                    "kind": "item"
                },
                {
                    "rel": "child",
                    "href": "https://servername/fscmRestApi/resources/version/salesOrderActionRequests/300100610036489/child/requests/300100610036494/child/messageDetails",
                    "name": "messageDetails",
                    "kind": "collection"
                },
                {
                    "rel": "child",
                    "href": "https://servername/fscmRestApi/resources/version/salesOrderActionRequests/300100610036489/child/requests/300100610036494/child/orderDetails",
                    "name": "orderDetails",
                    "kind": "collection"
                },
                {
                    "rel": "child",
                    "href": "https://servername/fscmRestApi/resources/version/salesOrderActionRequests/300100610036489/child/requests/300100610036494/child/orderLineDetails",
                    "name": "orderLineDetails",
                    "kind": "collection"
                }
            ]
        },
        {
            "ActionCode": "ORA_FOM_CANCEL_LINE",
            "ActionRequestId": 300100610036495,
            "ActionRequestTrackingId": 349735,
            "FulfillLineId": 300100610023731,
            "HeaderId": 300100610023665,
            "MassActionFlag": false,
            "OutcomeCode": null,
            "StatusCode": "PRE_PROCESSING",
            "SummaryMessageText": null,
            "RequestStatus": "IN_QUEUE",
            "links": [
                {
                    "rel": "self",
                    "href": "https://servername/fscmRestApi/resources/version/salesOrderActionRequests/300100610036489/child/requests/300100610036495",
                    "name": "requests",
                    "kind": "item",
                    "properties": {
                        "changeIndicator": "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000001770400000001737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000178"
                    }
                },
                {
                    "rel": "canonical",
                    "href": "https://servername/fscmRestApi/resources/version/salesOrderActionRequests/300100610036489/child/requests/300100610036495",
                    "name": "requests",
                    "kind": "item"
                },
                {
                    "rel": "parent",
                    "href": "https://servername/fscmRestApi/resources/version/salesOrderActionRequests/300100610036489",
                    "name": "salesOrderActionRequests",
                    "kind": "item"
                },
                {
                    "rel": "child",
                    "href": "https://servername/fscmRestApi/resources/version/salesOrderActionRequests/300100610036489/child/requests/300100610036495/child/messageDetails",
                    "name": "messageDetails",
                    "kind": "collection"
                },
                {
                    "rel": "child",
                    "href": "https://servername/fscmRestApi/resources/version/salesOrderActionRequests/300100610036489/child/requests/300100610036495/child/orderDetails",
                    "name": "orderDetails",
                    "kind": "collection"
                },
                {
                    "rel": "child",
                    "href": "https://servername/fscmRestApi/resources/version/salesOrderActionRequests/300100610036489/child/requests/300100610036495/child/orderLineDetails",
                    "name": "orderLineDetails",
                    "kind": "collection"
                }
            ]
        }
    ],
    "links": [
        {
            "rel": "self",
            "href": "https://servername/fscmRestApi/resources/version/salesOrderActionRequests/300100610036489",
            "name": "salesOrderActionRequests",
            "kind": "item",
            "properties": {
                "changeIndicator": "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000001770400000001737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000178"
            }
        },
        {
            "rel": "canonical",
            "href": "https://servername/fscmRestApi/resources/version/salesOrderActionRequests/300100610036489",
            "name": "salesOrderActionRequests",
            "kind": "item"
        },
        {
            "rel": "child",
            "href": "https://servername/fscmRestApi/resources/version/salesOrderActionRequests/300100610036489/child/requests",
            "name": "requests",
            "kind": "collection"
        }
    ]
}

GET One Sales Order Action Request

Use this resource URL format:

GET

curl -u username:password "https://servername/fscmRestApi/resources/version/salesOrderActionRequests/ActionRequestId"

For example:

curl -u username:password "https://servername/fscmRestApi/resources/version/salesOrderActionRequests/300100610036489"

Example Response

Here's an example of the response body in JSON format. You can review the summarized status of the order line cancellation request.

StatusCode indicates the status of the order line cancellation request for all the fulfill line IDs or order lines. It can be COMPLETE, PRE_PROCESSING, or PROCESSING. Unless StatusCode is COMPLETE, the request is still being processed. Keep checking the status till the StatusCode is marked COMPLETE. OutcomeCode indicates the outcome of the order line cancellation request. It's SUCCESS if all the order lines are cancelled successfully, otherwise it's ERROR. In this example, notice that StatusCode is COMPLETE and OutcomeCode is ERROR. This means the cancellation request has been processed for all the order lines and at least one order line is not cancelled successfully.

Note the following:
  • TotalRecords: 3
  • TotalFailed: 1
  • TotalPassed: 2

ProcessStatus indicates the combined status of StatusCode and OutcomeCode. COMPLETED_WITH_ERRORS indicates that cancellation request is processed for all the order lines but there are errors.

{
    "ActionCode": "ORA_FOM_CANCEL_LINE",
    "ActionRequestId": 300100610036489,
    "ActionRequestTrackingId": 349735,
    "CreatedBy": "SCMOPERATIONS",
    "CreationDate": "2024-02-08T17:11:48.001+00:00",
    "FulfillLineId": null,
    "HeaderId": -1,
    "LastUpdateDate": "2024-02-08T17:11:48.162+00:00",
    "MassActionFlag": true,
    "OutcomeCode": "ERROR",
    "StatusCode": "COMPLETE",
    "Action": "Cancel Line",
    "ProcessId": 308326,
    "TotalRecords": 3,
    "TotalFailed": 1,
    "TotalPassed": 2,
    "ProcessStatus": "COMPLETED_WITH_ERRORS",
    "FilterCriteria": null,
    "Comments": "Incorrect Item ordered",
    "CancelReasonCode": "ORA_WRONG_ITEM",
    "HoldCode": null,
    "ReleaseReasonCode": null,
    "links": [
        {
            "rel": "self",
            "href": "https://servername/fscmRestApi/resources/version/salesOrderActionRequests/300100610036489",
            "name": "salesOrderActionRequests",
            "kind": "item",
            "properties": {
                "changeIndicator": "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000001770400000001737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000178"
            }
        },
        {
            "rel": "canonical",
            "href": "https://servername/fscmRestApi/resources/version/salesOrderActionRequests/300100610036489",
            "name": "salesOrderActionRequests",
            "kind": "item"
        },
        {
            "rel": "child",
            "href": "https://servername/fscmRestApi/resources/version/salesOrderActionRequests/300100610036489/child/requests",
            "name": "requests",
            "kind": "collection"
        }
    ]
}

GET All Requests

Use this resource URL format:

GET

curl -u username:password "https://servername/fscmRestApi/resources/version/salesOrderActionRequests/ActionRequestId/child/requests"

For example:

curl -u username:password "https://servername/fscmRestApi/resources/version/salesOrderActionRequests/300100610036489/child/requests"

Example Response

Here's an example of the response body in JSON format.

If your cancellation request has been completed with errors, then you can review the status of the cancellation request for each order line along with the error or warning details for the order line that wasn't cancelled successfully.

StatusCode indicates the status of the order line cancellation request for each fulfill line ID or order line. It can be COMPLETE, PRE_PROCESSING, or PROCESSING. Unless StatusCode is COMPLETE, the request is still being processed for the order lines. Keep checking the status till the StatusCode is marked COMPLETE. OutcomeCode indicates the outcome of the order line cancellation request for each order line. It's set to SUCCESS if the order line is cancelled successfully, oterwise it's set to ERROR.

You can see that for the FulfillLineId 300100610023895 associated with ActionRequestId 300100610036493, StatusCode = COMPLETE and OutcomeCode = ERROR. This means the request is completed but the order line hasn't been cancelled. You see that the SummaryMessageText = "Included item, option class or option item in a configuration or kit can't be canceled separately. (FOM-4515712) Details: Cancel the configured item or kit to cancel all of its children.". This indicates you attempted to cancel an Included item, option class, or option item line in a configuration or kit without cancelling the configured item or kit, so it wasn't cancelled. Instead, you can cancel the configured item or kit, so it cancels all its children.

For FulfillLineID 300100610023690 and 300100610023731 associated with ActionRequestId 300100610036494 and 300100610036495 respectively, StatusCode = COMPLETE and OutcomeCode = SUCCESS, which means these order lines have been cancelled successfully.

{
    "items": [
        {
            "ActionCode": "ORA_FOM_CANCEL_LINE",
            "ActionRequestId": 300100610036493,
            "ActionRequestTrackingId": 349735,
            "FulfillLineId": 300100610023895,
            "HeaderId": 300100610023843,
            "MassActionFlag": false,
            "OutcomeCode": "ERROR",
            "StatusCode": "COMPLETE",
            "SummaryMessageText": "Included item, option class or option item in a configuration or kit can't be canceled separately. (FOM-4515712) Details: Cancel the configured item or kit to cancel all of its children.",
            "RequestStatus": "FAILED",
            "links": [
                {
                    "rel": "self",
                    "href": "https://servername/fscmRestApi/resources/version/salesOrderActionRequests/300100610036489/child/requests/300100610036493",
                    "name": "requests",
                    "kind": "item",
                    "properties": {
                        "changeIndicator": "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000001770400000001737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000178"
                    }
                },
                {
                    "rel": "canonical",
                    "href": "https://servername/fscmRestApi/resources/version/salesOrderActionRequests/300100610036489/child/requests/300100610036493",
                    "name": "requests",
                    "kind": "item"
                },
                {
                    "rel": "parent",
                    "href": "https://servername/fscmRestApi/resources/version/salesOrderActionRequests/300100610036489",
                    "name": "salesOrderActionRequests",
                    "kind": "item"
                },
                {
                    "rel": "child",
                    "href": "https://servername/fscmRestApi/resources/version/salesOrderActionRequests/300100610036489/child/requests/300100610036493/child/messageDetails",
                    "name": "messageDetails",
                    "kind": "collection"
                },
                {
                    "rel": "child",
                    "href": "https://servername/fscmRestApi/resources/version/salesOrderActionRequests/300100610036489/child/requests/300100610036493/child/orderDetails",
                    "name": "orderDetails",
                    "kind": "collection"
                },
                {
                    "rel": "child",
                    "href": "https://servername/fscmRestApi/resources/version/salesOrderActionRequests/300100610036489/child/requests/300100610036493/child/orderLineDetails",
                    "name": "orderLineDetails",
                    "kind": "collection"
                }
            ]
        },
        {
            "ActionCode": "ORA_FOM_CANCEL_LINE",
            "ActionRequestId": 300100610036494,
            "ActionRequestTrackingId": 349735,
            "FulfillLineId": 300100610023690,
            "HeaderId": 300100610023665,
            "MassActionFlag": false,
            "OutcomeCode": "SUCCESS",
            "StatusCode": "COMPLETE",
            "SummaryMessageText": null,
            "RequestStatus": "COMPLETED",
            "links": [
                {
                    "rel": "self",
                    "href": "https://servername/fscmRestApi/resources/version/salesOrderActionRequests/300100610036489/child/requests/300100610036494",
                    "name": "requests",
                    "kind": "item",
                    "properties": {
                        "changeIndicator": "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000001770400000001737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000178"
                    }
                },
                {
                    "rel": "canonical",
                    "href": "https://servername/fscmRestApi/resources/version/salesOrderActionRequests/300100610036489/child/requests/300100610036494",
                    "name": "requests",
                    "kind": "item"
                },
                {
                    "rel": "parent",
                    "href": "https://servername/fscmRestApi/resources/version/salesOrderActionRequests/300100610036489",
                    "name": "salesOrderActionRequests",
                    "kind": "item"
                },
                {
                    "rel": "child",
                    "href": "https://servername/fscmRestApi/resources/version/salesOrderActionRequests/300100610036489/child/requests/300100610036494/child/messageDetails",
                    "name": "messageDetails",
                    "kind": "collection"
                },
                {
                    "rel": "child",
                    "href": "https://servername/fscmRestApi/resources/version/salesOrderActionRequests/300100610036489/child/requests/300100610036494/child/orderDetails",
                    "name": "orderDetails",
                    "kind": "collection"
                },
                {
                    "rel": "child",
                    "href": "https://servername/fscmRestApi/resources/version/salesOrderActionRequests/300100610036489/child/requests/300100610036494/child/orderLineDetails",
                    "name": "orderLineDetails",
                    "kind": "collection"
                }
            ]
        },
        {
            "ActionCode": "ORA_FOM_CANCEL_LINE",
            "ActionRequestId": 300100610036495,
            "ActionRequestTrackingId": 349735,
            "FulfillLineId": 300100610023731,
            "HeaderId": 300100610023665,
            "MassActionFlag": false,
            "OutcomeCode": "SUCCESS",
            "StatusCode": "COMPLETE",
            "SummaryMessageText": null,
            "RequestStatus": "COMPLETED",
            "links": [
                {
                    "rel": "self",
                    "href": "https://servername/fscmRestApi/resources/version/salesOrderActionRequests/300100610036489/child/requests/300100610036495",
                    "name": "requests",
                    "kind": "item",
                    "properties": {
                        "changeIndicator": "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000001770400000001737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000178"
                    }
                },
                {
                    "rel": "canonical",
                    "href": "https://servername/fscmRestApi/resources/version/salesOrderActionRequests/300100610036489/child/requests/300100610036495",
                    "name": "requests",
                    "kind": "item"
                },
                {
                    "rel": "parent",
                    "href": "https://servername/fscmRestApi/resources/version/salesOrderActionRequests/300100610036489",
                    "name": "salesOrderActionRequests",
                    "kind": "item"
                },
                {
                    "rel": "child",
                    "href": "https://servername/fscmRestApi/resources/version/salesOrderActionRequests/300100610036489/child/requests/300100610036495/child/messageDetails",
                    "name": "messageDetails",
                    "kind": "collection"
                },
                {
                    "rel": "child",
                    "href": "https://servername/fscmRestApi/resources/version/salesOrderActionRequests/300100610036489/child/requests/300100610036495/child/orderDetails",
                    "name": "orderDetails",
                    "kind": "collection"
                },
                {
                    "rel": "child",
                    "href": "https://servername/fscmRestApi/resources/version/salesOrderActionRequests/300100610036489/child/requests/300100610036495/child/orderLineDetails",
                    "name": "orderLineDetails",
                    "kind": "collection"
                }
            ]
        }
    ],
    "count": 3,
    "hasMore": false,
    "limit": 25,
    "offset": 0,
    "links": [
        {
            "rel": "self",
            "href": "https://servername/fscmRestApi/resources/version/salesOrderActionRequests/300100610036489/child/requests",
            "name": "requests",
            "kind": "collection"
        }
    ]
}

GET Details of All Messages for an Action Request

Use this resource URL format:

GET

curl -u username:password "https://servername/fscmRestApi/resources/version/salesOrderActionRequests/ActionRequestId/child/requests/ActionRequestId2/child/messageDetails"

For example:

curl -u username:password "https://servername/fscmRestApi/resources/version/salesOrderActionRequests/300100610036489/child/requests/300100610036493/child/messageDetails"

Example Response

Here's an example of the response body in JSON format.

If your cancel request for an order line has completed with one or more errors, then you can get the details of all the errors logged for the order line. You can see here that one message with MessageId 300100610036499 has been logged for the ActionRequestId 300100610036493 that contains Fulfill Line ID 300100610023895. The MessageType indicates that the message is of type ERROR, MessageText contains the error message for the MessageId, LastUpdateDate shows when the error message was logged, EntityType and EntityDisplayNumber indicates the order line on which error message is logged.

{
    "items": [
        {
            "MessageId": 300100610036499,
            "ActionRequestId": 300100610036493,
            "MessageType": "ERROR",
            "MessageText": "Included item, option class or option item in a configuration or kit can't be canceled separately. (FOM-4515712) Details: Cancel the configured item or kit to cancel all of its children.",
            "LastUpdateDate": "2024-02-08T17:11:57.034+00:00",
            "EntityType": "LINE",
            "EntityDisplayNumber": 1.1.1,
            "links": [
                {
                    "rel": "self",
                    "href": "https://servername/fscmRestApi/resources/version/salesOrderActionRequests/300100610036489/child/requests/300100610036493/child/messageDetails/300100610036499",
                    "name": "messageDetails",
                    "kind": "item"
                },
                {
                    "rel": "canonical",
                    "href": "https://servername/fscmRestApi/resources/version/salesOrderActionRequests/300100610036489/child/requests/300100610036493/child/messageDetails/300100610036499",
                    "name": "messageDetails",
                    "kind": "item"
                },
                {
                    "rel": "parent",
                    "href": "https://servername/fscmRestApi/resources/version/salesOrderActionRequests/300100610036489/child/requests/300100610036493",
                    "name": "requests",
                    "kind": "item"
                }
            ]
        }
    ],
    "count": 1,
    "hasMore": false,
    "limit": 25,
    "offset": 0,
    "links": [
        {
            "rel": "self",
            "href": "https://servername/fscmRestApi/resources/version/salesOrderActionRequests/300100610036489/child/requests/300100610036493/child/messageDetails",
            "name": "messageDetails",
            "kind": "collection"
        }
    ]
}