question

Dheeraj Bharambe avatar image
Dheeraj Bharambe asked

Unable to decode the supplied X-External-Context-ID header. The X-External-Context-ID should match the value sent by the corresponding event notification.

How can I get the X-External-Context-ID if I want to send the PUT request update and issuance of an import letter of credit?


There is no description for that field that we need to pass in the header and it's also the required field.


An encoded string that contains the details of an ILC issuance transaction that is waiting for a response from the external system. This field is only supplied in the ILC Events API where the user must subscribe to.
API - Otherissue token
1 comment
10 |600

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Radu Cristian Ilina avatar image Radu Cristian Ilina commented ·

Hello Dheeraj,

We have acknowledged your request and are investigating internally to provide you the best answer in regards to your question.

Thank you,
Radu

0 Likes 0 ·

1 Answer

Radu Cristian Ilina avatar image
Radu Cristian Ilina answered

Hello Dheeraj,

If transitioning to the Exchange step, a notification message is sent out by Fusion Trade Innovation to FFDC. The X-External-Context-ID parameter is included in this message.
Following Fusion Trade Innovation's workflow, the exchange step will proceed if a DeferredResponse dedicated to it is received by Fusion Trade Innovation.

For an OpenAPI scenario, the DeferredResponse is represented by a PUT request from the FinTech. The exchange step to be continued by the PUT request is identified by the value of the request's "X-External-Context-ID" header, which should then match from the value sent.

If the OpenAPI workflow is followed as stated, the Fusion Trade Innovation workflow is as follows:

  1. Fusion Trade Innovation user creates ILC issue, starts on the Log step.
  2. User attaches document and inputs basic transaction details.
  3. User clicks OK and will proceed to the Exchange step. During this action, the notification message will be sent to FFDC and to the Fintech containing the externalcontextId value. This is an unique ID used by Fusion Trade Innovation to identify which event should receive the PUT request.
  4. Notification is received by the Fintech, reviews the content and sends the PUT message to Fusion Trade Innovation with the X-External-Context-ID value which comes from the externalContextId field from the notification message and the transaction id which also comes from the same message.

Thank you,
Radu

10 |600

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.