Hi Dojo,
In a situation where we do a Set, via REST, to a specific parameter that has dependencies with other parameters, when we receive the associated GET, is it possible to retrieve (in an easy way) the sequence number in order to identify the dependencies?
As David Pernes already said, you will not be able to get the sequence number from HTTP Sessions within a protocol and if this is critical for your API implementation then it should be part of the HTTP data and not rely on the TCP frame.
As you can see from the help, you only have access to headers, message body, and response status code.
You would need to use a QAction to get anything more than what is provided in a protocol HTTP Session. However, most libraries are designed to abstract you from this kind of "low-level" information.
You would most likely have to find a library that implements HTTP communication but exposes TCP layer information or implement it yourself using "raw" sockets and building the TCP and HTTP communication stacks.
If your goal is just to keep a linking between a SET and a GET I would suggest the implementation of a buffer mechanism.
This buffer would make the sets, trigger the gets, and when a get is done it would trigger the next set.
Not sure from the protocol.xml we can access a TCP frame field.
If sequence is important for Session layer i guess it should be available somehow from a Header or from actual Body Data of the reply.
Could you use PostMan or other tool and evaluate the HTTP Headers of the replied information of your product's API ?