Unreserve Large Volume of Sales Order Lines Across Orders
Oracle Order Management Fusion Cloud provides the ability to unreserve large volume of sales order lines using a REST resource.
You can use a REST resource to request unreserve of multiple sales order lines across orders and get the status of the request that's submitted for unreserve. For example, a high priority customer requests an urgent shipment for an item but enough supply is not available for the requested items. There are several orders for other customers that are reserved for the same item but those can be shipped a few days later. The order manager unreserve the order lines for other customers, so that the order lines for the high priority customer can be reserved and shipped on time.
Here's a typical application processing flow for the scenario:
- In this example, you have a list of Fulfill Line IDs across orders that you want to unreserve. You can use the GET service of Sales Orders for Order Hub resource to get the Fulfill Line IDs of the lines that you want to unreserve. Alternatively, as described in the Submit Large Volume of Sales Order use case, you can use filter criteria in the Sales Order Action Requests resource to get the order lines to unreserve.
- You send a request payload using Sales Order Action Requests REST resource to unreserve the list of Fulfill Line IDs.
- The response payload includes details of the batch process that's submitted to unreserve the Fulfill Line IDs. As this is an offline process, the immediate response is always shown as PRE_PROCESSING.
- You can get the summarized status of the unreserve line request by calling the GET service of the Sales Order Action Requests REST resource for the request.
- The GET service of the Sales Order Action Requests REST resource for the request also provides the unique request identifiers that are spawned for each Fulfill Line ID that you request to unreserve. You can get the status of unreserve request on the line and error or warning details if any for each line using the request identifier of each Fulfill Line ID.
In this example, there are three Fulfill Line IDs submitted to unreserve. Two result in success and one in error.
Create One Sales Action Request
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 unreserve three fulfillment lines with Fulfill Line IDs 300100618055843, 300100618472234, and 300100618472096. Specify ActionCode: ORA_FOM_UNRESERVE_LINE to indicate that the sales order action request is to unreserve all the three lines. The FulfillLineId attribute carries the unique identifier of the lines to be unreserved.
{ "ActionCode": "ORA_FOM_UNRESERVE_LINE", "requests": [ { "FulfillLineId": 300100618055843 }, { "FulfillLineId": 300100618472234 }, { "FulfillLineId": 300100618472096 } ] }
Example Response
- You can see one master request and three child action requests to unreserve
three Fulfill Line IDs mentioned in the request payload. The master
ActionRequestId is 300100619376127. The master action request spawned three
child requests to handle processing of three individual Fulfill line IDs:
- ActionRequestId 300100619376128 for FulfillLineID 300100618055843
- ActionRequestId 300100619376129 for FulfillLineID 300100618472234
- ActionRequestId 300100619376130 for FulfillLineID 300100618472096
The order lines are unreserved through a batch process, hence the response shows StatusCode as PRE_PROCESSING and ProcessStatus as IN_QUEUE as the batch process is yet to start.
Note:
- TotalRecords: 3
- TotalFailed: 0
- TotalPassed: 0
Here's an example of the response body in JSON format.
{ "ActionCode": "ORA_FOM_UNRESERVE_LINE", "ActionRequestId": 300100619376127, "ActionRequestTrackingId": 334716, "CreatedBy": "SCMOPERATIONS", "CreationDate": "2024-10-25T13:13:26.001+00:00", "FulfillLineId": null, "HeaderId": -1, "LastUpdateDate": "2024-10-25T13:13:26.049+00:00", "MassActionFlag": true, "OutcomeCode": null, "StatusCode": "PRE_PROCESSING", "Action": null, "ProcessId": 221367, "TotalRecords": 3, "TotalFailed": 0, "TotalPassed": 0, "ProcessStatus": "IN_QUEUE", "FilterCriteria": null, "Comments": null, "CancelReasonCode": null, "HoldCode": null, "ReleaseReasonCode": null, "RequireReasonCodeFlag": null, "OverrideScheduleDateFlag": null, "ShippingModeCode": null, "SupplierSiteId": null, "SupplierId": null, "RequestedFulfillmentOrganizationId": null, "ShippingCarrierId": null, "ShippingServiceLevelCode": null, "ScheduleShipDate": null, "ScheduleArrivalDate": null, "DemandClassCode": null, "OrderRevisionReasonCode": null, "OrderRevisionComments": null, "RequestedFulfillmentOrganizationCode": null, "RequestedFulfillmentOrganizationName": null, "DemandClass": null, "CustomerPONumber": null, "ShipmentPriorityCode": null, "SalespersonId": null, "ShippingInstructions": null, "PaymentTermsCode": null, "TransactionLineTypeCode": null, "FreightTermsCode": null, "FOBPointCode": null, "PackingInstructions": null, "EnforceSingleShipmentFlag": null, "CancelBackordersFlag": null, "RequestTypeCode": null, "CustomerPOLineNumber": null, "ShipSetName": null, "RequestedDate": null, "EarliestAcceptableDate": null, "LatestAcceptableDate": null, "ShippingCarrier": null, "SupplierName": null, "SupplierSiteName": null, "ShippingServiceLevel": null, "ShippingMode": null, "AdditionalInformation": null, "ShipmentPriority": null, "FreightTerms": null, "RequestType": null, "FOBPoint": null, "PaymentTerms": null, "Subinventory": null, "SubinventoryCode": null, "requests": [ { "ActionCode": "ORA_FOM_UNRESERVE_LINE", "ActionRequestId": 300100619376128, "ActionRequestTrackingId": 334716, "FulfillLineId": 300100618055843, "HeaderId": 300100618055837, "MassActionFlag": false, "OutcomeCode": null, "StatusCode": "PRE_PROCESSING", "SummaryMessageText": null, "RequestStatus": "IN_QUEUE", "links": [ { "rel": "self", "href": "https://servername/fscmRestApi/resources/version/salesOrderActionRequests/300100619376127/child/requests/300100619376128", "name": "requests", "kind": "item", "properties": { "changeIndicator": "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000001770400000001737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000178" } }, { "rel": "canonical", "href": "https://servername/fscmRestApi/resources/version/salesOrderActionRequests/300100619376127/child/requests/300100619376128", "name": "requests", "kind": "item" }, { "rel": "parent", "href": "https://servername/fscmRestApi/resources/version/salesOrderActionRequests/300100619376127", "name": "salesOrderActionRequests", "kind": "item" }, { "rel": "child", "href": "https://servername/fscmRestApi/resources/version/salesOrderActionRequests/300100619376127/child/requests/300100619376128/child/messageDetails", "name": "messageDetails", "kind": "collection" }, { "rel": "child", "href": "https://servername/fscmRestApi/resources/version/salesOrderActionRequests/300100619376127/child/requests/300100619376128/child/orderDetails", "name": "orderDetails", "kind": "collection" }, { "rel": "child", "href": "https://servername/fscmRestApi/resources/version/salesOrderActionRequests/300100619376127/child/requests/300100619376128/child/orderLineDetails", "name": "orderLineDetails", "kind": "collection" } ] }, { "ActionCode": "ORA_FOM_UNRESERVE_LINE", "ActionRequestId": 300100619376129, "ActionRequestTrackingId": 334716, "FulfillLineId": 300100618472234, "HeaderId": 300100618472094, "MassActionFlag": false, "OutcomeCode": null, "StatusCode": "PRE_PROCESSING", "SummaryMessageText": null, "RequestStatus": "IN_QUEUE", "links": [ { "rel": "self", "href": "https://servername/fscmRestApi/resources/version/salesOrderActionRequests/300100619376127/child/requests/300100619376129", "name": "requests", "kind": "item", "properties": { "changeIndicator": "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000001770400000001737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000178" } }, { "rel": "canonical", "href": "https://servername/fscmRestApi/resources/version/salesOrderActionRequests/300100619376127/child/requests/300100619376129", "name": "requests", "kind": "item" }, { "rel": "parent", "href": "https://servername/fscmRestApi/resources/version/salesOrderActionRequests/300100619376127", "name": "salesOrderActionRequests", "kind": "item" }, { "rel": "child", "href": "https://servername/fscmRestApi/resources/version/salesOrderActionRequests/300100619376127/child/requests/300100619376129/child/messageDetails", "name": "messageDetails", "kind": "collection" }, { "rel": "child", "href": "https://servername/fscmRestApi/resources/version/salesOrderActionRequests/300100619376127/child/requests/300100619376129/child/orderDetails", "name": "orderDetails", "kind": "collection" }, { "rel": "child", "href": "https://servername/fscmRestApi/resources/version/salesOrderActionRequests/300100619376127/child/requests/300100619376129/child/orderLineDetails", "name": "orderLineDetails", "kind": "collection" } ] }, { "ActionCode": "ORA_FOM_UNRESERVE_LINE", "ActionRequestId": 300100619376130, "ActionRequestTrackingId": 334716, "FulfillLineId": 300100618472096, "HeaderId": 300100618472094, "MassActionFlag": false, "OutcomeCode": null, "StatusCode": "PRE_PROCESSING", "SummaryMessageText": null, "RequestStatus": "IN_QUEUE", "links": [ { "rel": "self", "href": "https://servername/fscmRestApi/resources/version/salesOrderActionRequests/300100619376127/child/requests/300100619376130", "name": "requests", "kind": "item", "properties": { "changeIndicator": "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000001770400000001737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000178" } }, { "rel": "canonical", "href": "https://servername/fscmRestApi/resources/version/salesOrderActionRequests/300100619376127/child/requests/300100619376130", "name": "requests", "kind": "item" }, { "rel": "parent", "href": "https://servername/fscmRestApi/resources/version/salesOrderActionRequests/300100619376127", "name": "salesOrderActionRequests", "kind": "item" }, { "rel": "child", "href": "https://servername/fscmRestApi/resources/version/salesOrderActionRequests/300100619376127/child/requests/300100619376130/child/messageDetails", "name": "messageDetails", "kind": "collection" }, { "rel": "child", "href": "https://servername/fscmRestApi/resources/version/salesOrderActionRequests/300100619376127/child/requests/300100619376130/child/orderDetails", "name": "orderDetails", "kind": "collection" }, { "rel": "child", "href": "https://servername/fscmRestApi/resources/version/salesOrderActionRequests/300100619376127/child/requests/300100619376130/child/orderLineDetails", "name": "orderLineDetails", "kind": "collection" } ] } ], "links": [ { "rel": "self", "href": "https://servername/fscmRestApi/resources/version/salesOrderActionRequests/300100619376127", "name": "salesOrderActionRequests", "kind": "item", "properties": { "changeIndicator": "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000001770400000001737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000178" } }, { "rel": "canonical", "href": "https://servername/fscmRestApi/resources/version/salesOrderActionRequests/300100619376127", "name": "salesOrderActionRequests", "kind": "item" }, { "rel": "child", "href": "https://servername/fscmRestApi/resources/version/salesOrderActionRequests/300100619376127/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/300100619376127"
Example Response
You can review the summarized status of the unreserve line request.
StatusCode indicates the status of the unreserve line request for all the Fulfill line IDs. It can be COMPLETE, PRE_PROCESSING, or PROCESSING. Unless the StatusCode is COMPLETE, request is still being processed. Keep checking the status until the StatusCode is marked as COMPLETE. OutcomeCode indicates the outcome of the unreserve line request. It's set to SUCCESS, if all the lines are unreserved successfully, otherwise it's set to ERROR. In this example, notice that StatusCode is COMPLETE and OutcomeCode is ERROR. This means the unreserve line request has been processed for all the lines, and at least one line is not unreserved.
Note:
- TotalRecords: 3
- TotalFailed: 1
- TotalPassed: 2
ProcessStatus indicates the combined status of StatusCode and OutcomeCode. COMPLETED_WITH_ERRORS indicates that unreserve line request is processed for all the lines but there are errors.
Here's an example of the response body in JSON format.
{ "ActionCode": "ORA_FOM_UNRESERVE_LINE", "ActionRequestId": 300100619376127, "ActionRequestTrackingId": 334716, "CreatedBy": "SCMOPERATIONS", "CreationDate": "2024-10-25T13:13:26.001+00:00", "FulfillLineId": null, "HeaderId": -1, "LastUpdateDate": "2024-10-25T13:16:02+00:00", "MassActionFlag": true, "OutcomeCode": "ERROR", "StatusCode": "COMPLETE", "Action": "Unreserve Line", "ProcessId": 221367, "TotalRecords": 3, "TotalFailed": 1, "TotalPassed": 2, "ProcessStatus": "COMPLETED_WITH_ERRORS", "FilterCriteria": null, "Comments": null, "CancelReasonCode": null, "HoldCode": null, "ReleaseReasonCode": null, "RequireReasonCodeFlag": null, "OverrideScheduleDateFlag": null, "ShippingModeCode": null, "SupplierSiteId": null, "SupplierId": null, "RequestedFulfillmentOrganizationId": null, "ShippingCarrierId": null, "ShippingServiceLevelCode": null, "ScheduleShipDate": null, "ScheduleArrivalDate": null, "DemandClassCode": null, "OrderRevisionReasonCode": null, "OrderRevisionComments": null, "RequestedFulfillmentOrganizationCode": null, "RequestedFulfillmentOrganizationName": null, "DemandClass": null, "CustomerPONumber": null, "ShipmentPriorityCode": null, "SalespersonId": null, "ShippingInstructions": null, "PaymentTermsCode": null, "TransactionLineTypeCode": null, "FreightTermsCode": null, "FOBPointCode": null, "PackingInstructions": null, "EnforceSingleShipmentFlag": null, "CancelBackordersFlag": null, "RequestTypeCode": null, "CustomerPOLineNumber": null, "ShipSetName": null, "RequestedDate": null, "EarliestAcceptableDate": null, "LatestAcceptableDate": null, "ShippingCarrier": null, "SupplierName": null, "SupplierSiteName": null, "ShippingServiceLevel": null, "ShippingMode": null, "AdditionalInformation": null, "ShipmentPriority": null, "FreightTerms": null, "RequestType": null, "FOBPoint": null, "PaymentTerms": null, "Subinventory": null, "SubinventoryCode": null, "links": [ { "rel": "self", "href": "https://servername/fscmRestApi/resources/version/salesOrderActionRequests/300100619376127", "name": "salesOrderActionRequests", "kind": "item", "properties": { "changeIndicator": "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000001770400000001737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000178" } }, { "rel": "canonical", "href": "https://servername/fscmRestApi/resources/version/salesOrderActionRequests/300100619376127", "name": "salesOrderActionRequests", "kind": "item" }, { "rel": "child", "href": "https://servername/fscmRestApi/resources/version/salesOrderActionRequests/300100619376127/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//300100619376127/child/requests"
Example Response
If your unreserve line request completed with errors, then you can review the status of the unreserve line request for each line along with the error or warning details.
StatusCode indicates the status of the unreserve line request for each Fulfill line ID. It can be COMPLETE, PRE_PROCESSING, or PROCESSING. Unless the StatusCode is COMPLETE, request is still being processed for the line. Keep checking the status until the StatusCode is marked as COMPLETE. OutcomeCode indicates the outcome of the unreserve line request for each line. It's set to SUCCESS, if the line is unreserved successfully, otherwise it's set to ERROR.
- You can see that for the FulfillLineId 300100618055843 and 300100618472234 associated with ActionRequestId 300100619376128 and 300100619376129 respectively, StatusCode = COMPLETE and OutcomeCode = SUCCESS, which means these lines were unreserved successfully.
- For the FulfillLineId 300100618472096 associated with ActionRequestId 300100619376130, StatusCode = COMPLETE and OutcomeCode = ERROR. This means the request is completed but the line is not unreserved. You can see that the SummaryMessageText = "Order line isn't reserved. (FOM-4515767) Details: The orchestration process of the order line has no reservation task, or the order line isn't reserved yet.". This indicates that the line isn't reserved, hence it wasn't unreserved.
Here's an example of the response body in JSON format.
{ "items": [ { "ActionCode": "ORA_FOM_UNRESERVE_LINE", "ActionRequestId": 300100619376128, "ActionRequestTrackingId": 334716, "FulfillLineId": 300100618055843, "HeaderId": 300100618055837, "MassActionFlag": false, "OutcomeCode": "SUCCESS", "StatusCode": "COMPLETE", "SummaryMessageText": null, "RequestStatus": "COMPLETED", "links": [ { "rel": "self", "href": "https://servername/fscmRestApi/resources/version/salesOrderActionRequests/300100619376127/child/requests/300100619376128", "name": "requests", "kind": "item", "properties": { "changeIndicator": "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000001770400000001737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000378" } }, { "rel": "canonical", "href": "https://servername/fscmRestApi/resources/version/salesOrderActionRequests/300100619376127/child/requests/300100619376128", "name": "requests", "kind": "item" }, { "rel": "parent", "href": "https://servername/fscmRestApi/resources/version/salesOrderActionRequests/300100619376127", "name": "salesOrderActionRequests", "kind": "item" }, { "rel": "child", "href": "https://servername/fscmRestApi/resources/version/salesOrderActionRequests/300100619376127/child/requests/300100619376128/child/messageDetails", "name": "messageDetails", "kind": "collection" }, { "rel": "child", "href": "https://servername/fscmRestApi/resources/version/salesOrderActionRequests/300100619376127/child/requests/300100619376128/child/orderDetails", "name": "orderDetails", "kind": "collection" }, { "rel": "child", "href": "https://servername/fscmRestApi/resources/version/salesOrderActionRequests/300100619376127/child/requests/300100619376128/child/orderLineDetails", "name": "orderLineDetails", "kind": "collection" } ] }, { "ActionCode": "ORA_FOM_UNRESERVE_LINE", "ActionRequestId": 300100619376129, "ActionRequestTrackingId": 334716, "FulfillLineId": 300100618472234, "HeaderId": 300100618472094, "MassActionFlag": false, "OutcomeCode": "SUCCESS", "StatusCode": "COMPLETE", "SummaryMessageText": null, "RequestStatus": "COMPLETED", "links": [ { "rel": "self", "href": "https://servername/fscmRestApi/resources/version/salesOrderActionRequests/300100619376127/child/requests/300100619376129", "name": "requests", "kind": "item", "properties": { "changeIndicator": "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000001770400000001737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000378" } }, { "rel": "canonical", "href": "https://servername/fscmRestApi/resources/version/salesOrderActionRequests/300100619376127/child/requests/300100619376129", "name": "requests", "kind": "item" }, { "rel": "parent", "href": "https://servername/fscmRestApi/resources/version/salesOrderActionRequests/300100619376127", "name": "salesOrderActionRequests", "kind": "item" }, { "rel": "child", "href": "https://servername/fscmRestApi/resources/version/salesOrderActionRequests/300100619376127/child/requests/300100619376129/child/messageDetails", "name": "messageDetails", "kind": "collection" }, { "rel": "child", "href": "https://servername/fscmRestApi/resources/version/salesOrderActionRequests/300100619376127/child/requests/300100619376129/child/orderDetails", "name": "orderDetails", "kind": "collection" }, { "rel": "child", "href": "https://servername/fscmRestApi/resources/version/salesOrderActionRequests/300100619376127/child/requests/300100619376129/child/orderLineDetails", "name": "orderLineDetails", "kind": "collection" } ] }, { "ActionCode": "ORA_FOM_UNRESERVE_LINE", "ActionRequestId": 300100619376130, "ActionRequestTrackingId": 334716, "FulfillLineId": 300100618472096, "HeaderId": 300100618472094, "MassActionFlag": false, "OutcomeCode": "ERROR", "StatusCode": "COMPLETE", "SummaryMessageText": "Order line isn't reserved. (FOM-4515767) Details: The orchestration process of the order line has no reservation task, or the order line isn't reserved yet.", "RequestStatus": "FAILED", "links": [ { "rel": "self", "href": "https://servername/fscmRestApi/resources/version/salesOrderActionRequests/300100619376127/child/requests/300100619376130", "name": "requests", "kind": "item", "properties": { "changeIndicator": "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000001770400000001737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000178" } }, { "rel": "canonical", "href": "https://servername/fscmRestApi/resources/version/salesOrderActionRequests/300100619376127/child/requests/300100619376130", "name": "requests", "kind": "item" }, { "rel": "parent", "href": "https://servername/fscmRestApi/resources/version/salesOrderActionRequests/300100619376127", "name": "salesOrderActionRequests", "kind": "item" }, { "rel": "child", "href": "https://servername/fscmRestApi/resources/version/salesOrderActionRequests/300100619376127/child/requests/300100619376130/child/messageDetails", "name": "messageDetails", "kind": "collection" }, { "rel": "child", "href": "https://servername/fscmRestApi/resources/version/salesOrderActionRequests/300100619376127/child/requests/300100619376130/child/orderDetails", "name": "orderDetails", "kind": "collection" }, { "rel": "child", "href": "https://servername/fscmRestApi/resources/version/salesOrderActionRequests/300100619376127/child/requests/300100619376130/child/orderLineDetails", "name": "orderLineDetails", "kind": "collection" } ] } ], "count": 3, "hasMore": false, "limit": 25, "offset": 0, "links": [ { "rel": "self", "href": "https://servername/fscmRestApi/resources/version/salesOrderActionRequests/300100619376127/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/300100619376127/child/requests/300100619376130/child/messageDetails"
Example Response
If your unreserve line request for a line has completed with one or more errors, then you can get the details of all the errors logged for the line. You can see here that one message with MessageId 300100619374204 has been logged for the ActionRequestId 300100619376130 that contains Fulfill LIne ID 300100618472096. 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 LINE indicates that the error message is logged on the line, and EntityDisplayNumber indicates the line number on which the error is logged.
Here's an example of the response body in JSON format.
{ "items": [ { "MessageId": 300100619374204, "ActionRequestId": 300100619376130, "MessageType": "ERROR", "MessageText": "Order line isn't reserved. (FOM-4515767) Details: The orchestration process of the order line has no reservation task, or the order line isn't reserved yet.", "LastUpdateDate": "2024-10-25T13:13:44.198+00:00", "EntityType": "LINE", "EntityDisplayNumber": "1-1", "links": [ { "rel": "self", "href": "https://servername/fscmRestApi/resources/version/salesOrderActionRequests/300100619376127/child/requests/300100619376130/child/messageDetails/300100619374204", "name": "messageDetails", "kind": "item" }, { "rel": "canonical", "href": "https://servername/fscmRestApi/resources/version/salesOrderActionRequests/300100619376127/child/requests/300100619376130/child/messageDetails/300100619374204", "name": "messageDetails", "kind": "item" }, { "rel": "parent", "href": "https://servername/fscmRestApi/resources/version/salesOrderActionRequests/300100619376127/child/requests/300100619376130", "name": "requests", "kind": "item" } ] } ], "count": 1, "hasMore": false, "limit": 25, "offset": 0, "links": [ { "rel": "self", "href": "https://servername/fscmRestApi/resources/version/salesOrderActionRequests/300100619376127/child/requests/300100619376130/child/messageDetails", "name": "messageDetails", "kind": "collection" } ] }