Is it weird to have an identifier such as (_id) on a request which you send to the API, which "enriches" the request and sends back a response with the same identifier (but obviously more enriched data)?
For example - you send request {_id: 1111} and get back a response {_id: 1111, occurence: new, etc}.
The reason why I feel it is a bit strange is because I am essentially sending and receiving the same field so my brain says it is code smell, but when looking at it logically it makes sense since I am sending over something that needs to be enriched (make certain calculations based on the identifier) and the reason that I have an identifier on the response is so that I can match the results back on the front end.
Hopefully, this makes sense and if you guys need more details please just let me know and I will add them.
Thanks all!