IBM Support

IBM Food Trust - Cannot Retrieve Payloads

Troubleshooting


Problem

When using the IBM Food Trust Trace API, a customer may find that payloads cannot be retrieved.

Cause

If payloads are submitted with the form of:
<epcList>
<epc>urn:ibm:ift:product:class:7891103000010.7891103186196</epc>
</epcList>
Since the epcList and epc element were used in the xml, this store the data provided as a epcID in the payload. We can see this when we view the payload:
"epc_ids": [
"urn:ibm:ift:product:class:7891103000010.7891103186196"
        ],
So, if it is desired to retrieve this data based on the epc, one would have to use the trace query on the epcID. If, however, it's desired to have the payload returned via a product trace call through the API then the productList and product element would have to be used in the payload.xml as seen below:
<productList>
<product>urn:ibm:ift:product:class:7891103000010.7891103186196</product>
</productList>
We are in the process of updating the annotated payload.xml and the other payload documentation to include this information.

Document Location

Worldwide

[{"Line of Business":{"code":"LOB59","label":"Sustainability Software"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSNTIG3","label":"IBM Blockchain Transparent Supply"},"ARM Category":[{"code":"a8m0z000000Go65AAC","label":"Payloads"}],"ARM Case Number":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Version(s)"}]

Document Information

Modified date:
01 December 2020

UID

ibm16373938