Get one transaction record

get

/fscmRestApi/resources/11.13.18.05/b2bMessageTransactions/{MessageGUID}

Request

Path Parameters
  • The value of this parameter could be a hash of the key that is used to uniquely identify the resource item. The client should not generate the hash key value. Instead, the client should query on the collection resource with a filter to navigate to a specific resource item. For example: products?q=InventoryItemId=
Query Parameters
  • This parameter specifies dependencies which are fields that are set before and rolled back after generating the response. Generally they are used to preview the effects of an attribute change. The fields specified in this parameter are always set in the resource instance in question. When a child resource collection is requested and the parameter is set, the fields will be set in the parent resource instance before generating the resource collection payload. The value of this query parameter is a set of dependency fields. Example: dependency=ProductId=2

    Format: <attr1>=<val1>,<attr2>=<value2>
  • When this parameter is provided, the specified children are included in the resource payload (instead of just a link). The value of this query parameter is "all" or "". More than one child can be specified using comma as a separator. Example: ?expand=Employees,Localizations. Nested children can also be provided following the format "Child.NestedChild" (Example: ?expand=Employees.Managers). If a nested child is provided (Example: Employees.Managers), the missing children will be processed implicitly. For example, "?expand=Employees.Managers" is the same as "?expand=Employees,Employees.Managers" (which will expand Employees and Managers).
  • This parameter filters the resource fields. Only the specified fields are returned, which means that if no fields are specified, no fields are returned (useful to get only the links). If an indirect child resource is provided (Example: Employees.Managers), the missing children will be processed implicitly. For example, "?fields=Employees.Managers:Empname" is the same as "?fields=;Employees:;Employees.Managers:Empname" (which will only return the "Empname" field for Managers). the value of this query parameter is a list of resource fields. The attribute can be a direct (Example: Employees) or indirect (Example: Employees.Managers) child. It cannot be combined with expand query parameter. If both are provided, only fields will be considered.

    Format: ?fields=Attribute1,Attribute2

    Format for fields in child resource: ?fields=Accessor1:Attribute1,Attribute2
  • This parameter can be used to show only certain links while accessing a singular resource or a resource collection. The parameter value format is a comma-separated list of : <link_relation>

    Example:
    self,canonical
  • The resource item payload will be filtered in order to contain only data (no links section, for example).
Header Parameters
  • 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".
  • 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.

There's no request body for this operation.

Back to Top

Response

Supported Media Types

Default Response

The following table describes the default response for this task.
Headers
  • 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".
  • 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.
Body ()
Root Schema : b2bMessageTransactions-item-response
Type: object
Show Source
  • Read Only: true
    Maximum Length: 255
    Number that identifies the access key of the referenced inbound fiscal document.
  • Read Only: true
    Value that uniquely identifies the alternate delivery method for the message.
  • Maximum Length: 10
    Contains one of the following values: true or false. If true, then the messages are processed using an alternate delivery method. If false, then the messages are processed using the primary delivery method. The default value is false.
  • Attachments
    Title: Attachments
    The attachments resource is used to view, create, and update attachments.
  • Maximum Length: 256
    Value that identifies the change order.
  • Read Only: true
    Maximum Length: 255
    Provides a collaboration name or a plan scenario name.
  • Maximum Length: 100
    Value that indicates the status of the confirmation message. Valid values are Received, Required, and Not Required.
  • Maximum Length: 64
    Value that uniquely identifies the correlation ID to be retrieved and added to processing configuration.
  • Read Only: true
    Date when the record was created.
  • Read Only: true
    Maximum Length: 255
    Unique identifier for the customer account.
  • Read Only: true
    Maximum Length: 255
    Name of the customer.
  • Read Only: true
    Maximum Length: 255
    Number that uniquely identifies the customer.
  • Delivery Attempts
    Title: Delivery Attempts
    The Delivery Attempts resource gets the failed or error status message transactions reprocessed in Oracle Fusion Collaboration Messaging Framework. If the delivery attempt fails, the message information includes the error subtype and description.
  • Read Only: true
    Value that uniquely identifies the delivery method for the message.
  • Maximum Length: 100
    Value that indicates if the collaboration document operation is for an outbound or inbound collaboration.
  • Read Only: true
    Maximum Length: 256
    Description of the collaboration document.
  • Value that uniquely identifies the collaboration documents. It's a primary key that the application generates.
  • Read Only: true
    Maximum Length: 256
    Name of the collaboration document.
  • Value that uniquely identifies the collaboration document operation.
  • Maximum Length: 2048
    Text of the message for the error that occurred during message transaction.
  • Read Only: true
    Value that describes the reason for the error for which the record processing failed.
  • Maximum Length: 100
    Value that identifies the type of error. Valid values include Object Retrieval and Outbound Processing.
  • Read Only: true
    Value that uniquely identifies the external message definition associated with the message.
  • Value that uniquely identifies the external partner. It's a primary key that the application generates.
  • Maximum Length: 512
    Value that identifies the file name used in processing the message.
  • Value that uniquely identifies the business flow instance in the SOA infrastructure.
  • Read Only: true
    Maximum Length: 255
    Indicates whether the event payload has a value.
  • Read Only: true
    Maximum Length: 255
    Indicates whether the response document has a value.
  • Value that identifies the original payload to be processed by Oracle Fusion Collaboration Messaging Framework for outbound processing.
  • Value that identifies the count of records in the inbound message payload.
  • Read Only: true
    Maximum Length: 255
    Number that identifies the invoice.
  • Maximum Length: 100
    Discriminator value that identifies the messages to be searched for in the collaboration messaging transactions log and the attributes that are used to search. Valid values include PurchaseOrderToSuppllier, InvoiceFromSupplier, and so on.
  • Read Only: true
    Date when the record was last updated.
  • Total number of lines in the B2B message.
  • Links
  • Maximum Length: 64
    Value that uniquely identifies the business-to-business message transaction. It has different prefixes for outbound and inbound processing.
  • Value that uniquely identifies the collaboration message. It's a primary key that the application generates.
  • Value that uniquely identifies the business-to-business message transaction. It's a primary key that the application generates when it creates a message log record. This attribute is required.
  • Value that identifies the current state of the message. For example, Undelivered.
  • Maximum Length: 256
    Name of the collaboration message. For example, OutboundProcessPurchaseOrder.
  • Maximum Length: 256
    The first partner key value, which provides additional information about the partner for message processing.
  • Maximum Length: 256
    The second partner key value, which provides additional information about the partner for message processing.
  • Maximum Length: 256
    The third partner key value, which provides additional information about the partner for message processing.
  • Maximum Length: 256
    The fourth partner key value, which provides additional information about the partner for message processing.
  • Maximum Length: 256
    The fifth partner key value, which provides additional information about the partner for message processing.
  • Maximum Length: 256
    The sixth partner key value, which provides additional information about the partner for message processing.
  • Read Only: true
    Maximum Length: 255
    Unique identifier for the purchase order.
  • Title: Order
    Maximum Length: 256
    The value that identifies the Order Number column in the log table.
  • Value that identifies the transformed payload to be processed by Oracle Fusion Collaboration Messaging Framework for outbound processing.
  • Maximum Length: 256
    The first object key value, which provides additional information about the object for message processing.
  • Maximum Length: 256
    The second object key value, which provides additional information about the object for message processing.
  • Maximum Length: 512
    The third object key value, which provides additional information about the object for message processing.
  • Maximum Length: 512
    The fourth object key value, which provides additional information about the object for message processing.
  • Maximum Length: 512
    The fifth object key value, which provides additional information about the object for message processing.
  • Maximum Length: 256
    The sixth object key value, which provides additional information about the object for message processing.
  • Maximum Length: 100
    Value that identifies the types of application-specific partner keys. For example, Legal Entity or Supplier Site.
  • Value that uniquely identifies the trading partner message. It's a primary key that the application generates.
  • Maximum Length: 256
    Name of the trading partner message.
  • Maximum Length: 100
    Value that identifies whether the payload is retrieved from the application for message processing. Valid values are null, Y, or the original message GUID. Null indicates that the payload isn't retrieved from the application, Y indicates that it will be retrieved, and the original message GUID indicates that the payload was retrieved and this message is a part of the message listed.
  • Read Only: true
    Maximum Length: 255
    Unique identifier for the purchase order.
  • Maximum Length: 1
    Contains one of the following values: true or false. If true, then the log message is a primary message. If false, then the log message isn't a primary message. This attribute doesn't have a default value.
  • Maximum Length: 256
    Abbreviation that identifies the acknowledgment confirmation status of the trading partner.
  • Maximum Length: 3072
    Describes the acknowledgment confirmation error or warning that occurred during message processing.
  • Maximum Length: 10
    Time taken to process the message.
  • Read Only: true
    Maximum Length: 30
    This will show the lookup code for the provider type of Service Provider. This will used on the UI only.
  • Title: Meaning
    Read Only: true
    Maximum Length: 80
    This will show the lookup meaning for the provider type of service provider.
  • Maximum Length: 64
    Value that uniquely identifies the publication. This value is generated by outbound processing while publishing messages to trading partners.
  • Message Confirmations
    Title: Message Confirmations
    The Message Confirmations resource gets the confirm business object document received from the trading partner when the outbound message is set up for the confirm business object document in Oracle Fusion Collaboration Messaging Framework.
  • Maximum Length: 32
    Value that uniquely identifies the file that contains the message payload in the Oracle content repository.
  • Read Only: true
    Value indicating how long the message is retained.
  • Read Only: true
    Maximum Length: 100
    Value that indicates the message's retention duration type.
  • Read Only: true
    Maximum Length: 255
    The date indicating the end of the message retention period.
  • Number of attempts made to deliver the message transaction.
  • Read Only: true
    Maximum Length: 255
    Revision number of the purchase orders.
  • Maximum Length: 64
    Value that uniquely identifies the sender of the message.
  • Number of attachments attached to outbound message.
  • Maximum Length: 2048
    List of attachments in the application payload.
  • Value that uniquely identifies the service provider.
  • Maximum Length: 256
    Name of the service provider.
  • Maximum Length: 100
    Value that identifies the service provider's partner ID from the partner properties.
  • Maximum Length: 100
    Value that identifies the service provider's partner ID type from the partner properties.
  • Read Only: true
    Maximum Length: 255
    Unique identifier for the intra transit shipment.
  • Read Only: true
    Size of the input document used in message processing.
  • Read Only: true
    Size of the output document generated during message processing.
  • Read Only: true
    Maximum Length: 255
    Legal entity is a company, organization, or individual that's responsible for purchasing goods or services from a supplier.
  • Title: Sold to Legal Entity
    Maximum Length: 256
    Value that identifies Sold to Entity Name column from the log table.
  • Maximum Length: 100
    Value that identifies the current state of the collaboration message. Valid values are Hold, Error, and Success.
  • Date when the collaboration message log was created. The value must be in the ISO8601 format.
  • Total number of sublines in the B2B message.
  • Read Only: true
    Maximum Length: 255
    Name of supplier.
  • Read Only: true
    Maximum Length: 255
    Number that uniquely identifies the supplier.
  • Read Only: true
    Maximum Length: 255
    Name of a supplier site.
  • Maximum Length: 10
    Contains one of the following values, true or false. If true, then this is a test message. If false, then this isn't a test message. This attribute doesn't have a default value.
  • Total number of attachments in the application payload.
  • Maximum Length: 100
    Value that uniquely identifies the trading partner. It's a primary key that the application generates.
  • Maximum Length: 100
    Value that identifies the type of trading partner, for example, name.
  • Read Only: true
    Maximum Length: 255
    Cash receipt number of the cash receipt.
  • Read Only: true
    Maximum Length: 1
    Default Value: Y
    Checkbox to show if the service provider is user defined or not.
  • Read Only: true
    Maximum Length: 255
    Value that identifies the version of the purchase order.
Nested Schema : Attachments
Type: array
Title: Attachments
The attachments resource is used to view, create, and update attachments.
Show Source
Nested Schema : Delivery Attempts
Type: array
Title: Delivery Attempts
The Delivery Attempts resource gets the failed or error status message transactions reprocessed in Oracle Fusion Collaboration Messaging Framework. If the delivery attempt fails, the message information includes the error subtype and description.
Show Source
Nested Schema : Message Confirmations
Type: array
Title: Message Confirmations
The Message Confirmations resource gets the confirm business object document received from the trading partner when the outbound message is set up for the confirm business object document in Oracle Fusion Collaboration Messaging Framework.
Show Source
Nested Schema : b2bMessageTransactions-Attachments-item-response
Type: object
Show Source
Nested Schema : b2bMessageTransactions-deliveryAttempts-item-response
Type: object
Show Source
Nested Schema : b2bMessageTransactions-receiptConfirmations-item-response
Type: object
Show Source
Back to Top

Examples

This example describes how to get one transaction record.

Example cURL Command

Use the following cURL command to submit a request on the REST resource:

curl -u username:password "https://servername/fscmRestApi/resources/version/b2bMessageTransactions/MessageGUID"

For example, the following command gets one transaction record where the message GUID is OUT_19043:

curl -u username:password "https://servername/fscmRestApi/resources/version/b2bMessageTransactions/OUT_19043"

Example Response Body

The following shows an example of the response body in JSON format.

{
  "MessageLogId" : 300100119640009,
  "MessageGUID" : "OUT_19043",
  "ServiceProviderId" : 50066,
  "ServiceProviderName" : "SEFAZ",
  "Status" : "Sent",
  "StatusDate" : "2017-07-26T11:19:20.103+00:00",
  "TestFlag" : false,
  "Error" : null,
  "ErrorType" : null,
  "MessageName" : "BR_ORA_CONFIRM_NFE_1.00_OUT",
  "MessageId" : 60078,
  "ProcessingDuration" : null,
  "RetryCount" : 0,
  "SenderMessageId" : null,
  "DocumentOperationId" : 60077,
  "ExternalPartnerId" : null,
  "TradingPartnerId" : null,
  "TradingPartnerIdType" : null,
  "PartnerMessageName" : "ORA_SZ_BR_CONFIRM_NFE_1.00_OUT",
  "PartnerMessageId" : 8031,
  "PartnerKeyType" : "ServiceProvider",
  "CorrelationId" : null,
  "ProcessingCode" : null,
  "ProcessingDetail" : null,
  "SentAttachments" : null,
  "TotalAttachments" : null,
  "SentAttachmentsList" : null,
  "DocumentId" : 60077,
  "Direction" : "Out",
  "DocumentName" : "PROCESS_BR_NFE_CONFIRMATION_OUT",
  "MessageLogStatus" : "History",
  "PublicationId" : null,
  "PrimaryRecipientFlag" : false,
  "ConfirmationStatus" : null,
  "links" : [ {
    "rel" : "self",
    "href" : "https://servername/fscmRestApi/resources/version/b2bMessageTransactions/OUT_19043",
    "name" : "b2bMessageTransactions",
    "kind" : "item",
    "properties" : {
      "changeIndicator" : "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000001770400000001737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000178"
    }
  }, {
    "rel" : "canonical",
    "href" : "https://servername/fscmRestApi/resources/version/b2bMessageTransactions/OUT_19043",
    "name" : "b2bMessageTransactions",
    "kind" : "item"
  }, {
    "rel" : "lov",
    "href" : "https://servername/fscmRestApi/resources/version/b2bMessageTransactions/OUT_19043/lov/ErrorTypeLOV",
    "name" : "ErrorTypeLOV",
    "kind" : "collection"
  }, {
    "rel" : "lov",
    "href" : "https://servername/fscmRestApi/resources/version/b2bMessageTransactions/OUT_19043/lov/ConfirmationStatusLOV",
    "name" : "ConfirmationStatusLOV",
    "kind" : "collection"
  }, {
    "rel" : "lov",
    "href" : "https://servername/fscmRestApi/resources/version/b2bMessageTransactions/OUT_19043/lov/ErrorSubTypeLOV",
    "name" : "ErrorSubTypeLOV",
    "kind" : "collection"
  }, {
    "rel" : "lov",
    "href" : "https://servername/fscmRestApi/resources/version/b2bMessageTransactions/OUT_19043/lov/ProcessingStatusLOV",
    "name" : "ProcessingStatusLOV",
    "kind" : "collection"
  }, {
    "rel" : "lov",
    "href" : "https://servername/fscmRestApi/resources/version/b2bMessageTransactions/OUT_19043/lov/MessageDirectionLOV",
    "name" : "MessageDirectionLOV",
    "kind" : "collection"
  }, {
    "rel" : "lov",
    "href" : "https://servername/fscmRestApi/resources/version/b2bMessageTransactions/OUT_19043/lov/ExternalPartnerIdTypeLOV",
    "name" : "ExternalPartnerIdTypeLOV",
    "kind" : "collection"
  }, {
    "rel" : "child",
    "href" : "https://servername/fscmRestApi/resources/version/b2bMessageTransactions/OUT_19043/child/deliveryAttempts",
    "name" : "deliveryAttempts",
    "kind" : "collection"
  }, {
    "rel" : "child",
    "href" : "https://servername/fscmRestApi/resources/version/b2bMessageTransactions/OUT_19043/child/receiptConfirmations",
    "name" : "receiptConfirmations",
    "kind" : "collection"
  } ]
}
Back to Top