Update message status to error
post
/fscmRestApi/resources/11.13.18.05/b2bMessageTransactions/action/updateOrderStatus
Updates the status of a message to Error when import of a sales order ends in error.
Request
Header Parameters
-
Metadata-Context: string
If the REST API supports runtime customizations, the shape of the service may change during runtime. The REST client may isolate itself from these changes or choose to interact with the latest version of the API by specifying this header. For example: Metadata-Context:sandbox="TrackEmployeeFeature".
-
REST-Framework-Version: string
The protocol version between a REST client and service. If the client does not specify this header in the request the server will pick a default version for the API.
Supported Media Types
- application/vnd.oracle.adf.action+json
Root Schema : schema
Type:
Show Source
object-
BuyingPartyId: string
Value that identifies the buying partner identifier associated with the message to be updated.
-
CompletionStatus: string
Value that identifies the current state of the collaboration message. Valid values are Hold, Error, and Success.
-
HeaderId: string
Value that identifies the header identifier of the sales order associated with the message to be updated.
-
messages: array
messages
Details of the error message that occurred during the import of the sales order.
-
OrderNumber: string
Value that identifies the sales order number associated with the message to be updated.
-
RequestedOperationMode: string
Value that identifies whether the sales order import operation is New, Modify, or Cancel.
-
SourceTransactionId: string
Value that identifies the source transaction identifier associated with the message to be updated.
-
SourceTransactionNumber: string
Value that identifies the source transaction number associated with the message to be updated.
-
SourceTransactionSystem: string
Value that identifies the source transaction system associated with the message to be updated.
Nested Schema : messages
Type:
arrayDetails of the error message that occurred during the import of the sales order.
Show Source
-
Array of:
object items
Additional Properties Allowed: additionalProperties
Response
Supported Media Types
- application/json
- application/vnd.oracle.adf.actionresult+json
Default Response
The following table describes the default response for this task.
Root Schema : schema
Type:
Show Source
object-
result(required): string
Returns the status of the update operation as success or failure.