Roger Blanchard
447 posts
Registered:
29 Jun 2018
08 Apr 2021
Link to this post
Is there a way to determine what transport is responsible for a CRUD operation?
We have a need to determine if a customer record was created using the WEB transport.
The use case is our customer's website will be making a REST call into our app for the purpose of creating/updating a customer record when they order product online. Our customer wants to take a specific action when a customer is created by the website.
I was thinking just add a new field in the Customer table like CreatedBy or something similar and have the website set this field.
I was not sure if there was a more elegant way.
Thanks