question

Upvotes
Accepted
3 0 1 3

When modifying an order, does the Order Ref Key change?

I am using the REDI C# Order API and modifying an existing order. When I receive the CacheControlAction for this order, the Order Ref Key has changed. Is this expected and normal behavior to receive a new Order Ref Key for a modified order?

#technology#productredi-apiorderorder-entry
icon clock
10 |1500

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

Upvotes
Accepted
83.1k 281 53 77

@elf

Thank you for reaching out to us.

I have tested it on the REDIPlus UI application.

When I updated the order on the Message Monitor, the Order Ref Key is also changed.

1713339673604.png

After updating the order, the new entry looks like this:

1713339704559.png

According to this information, it is an expected behavior.


1713339673604.png (50.4 KiB)
1713339704559.png (29.0 KiB)
icon clock
10 |1500

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

Thanks for confirming. Is there I field I can use when receiving the update via the OrderCacheHandler to indicate this this order was a modification?
Upvotes
83.1k 281 53 77

@elf

I checked the document and found the Action parameter in the CacheEvent.

1713411725243.png

You may try to tag the order with the ClientData property.

For more information, please refer to the REDI EMS API Specification document.


1713411725243.png (59.8 KiB)
icon clock
10 |1500

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

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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